14
0
2023-11-07 01:01:42 +00:00
committed by Git OBS Bridge
parent 153772f14e
commit 563326da29
4 changed files with 18 additions and 11 deletions

View File

@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue Nov 7 00:51:52 UTC 2023 - Mia Herkt <mia@0x0.st>
- Update to 0.22.0
See https://github.com/python-validators/validators/compare/0.20.0...0.22.0
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Apr 21 12:38:30 UTC 2023 - Dirk Müller <dmueller@suse.com> Fri Apr 21 12:38:30 UTC 2023 - Dirk Müller <dmueller@suse.com>

View File

@@ -16,23 +16,23 @@
# #
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%{?sle15_python_module_pythons} %{?sle15_python_module_pythons}
Name: python-validators Name: python-validators
Version: 0.20.0 Version: 0.22.0
Release: 0 Release: 0
Summary: Python Data Validation Summary: Python Data Validation
License: MIT License: MIT
Group: Development/Languages/Python Group: Development/Languages/Python
URL: https://github.com/kvesteri/validators URL: https://github.com/kvesteri/validators
Source: https://files.pythonhosted.org/packages/source/v/validators/validators-%{version}.tar.gz Source: https://files.pythonhosted.org/packages/source/v/validators/validators-%{version}.tar.gz
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools} BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: dos2unix
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
Requires: python-decorator >= 3.4.0
BuildArch: noarch BuildArch: noarch
# SECTION test requirements # SECTION test requirements
BuildRequires: %{python_module decorator >= 3.4.0}
BuildRequires: %{python_module pytest} BuildRequires: %{python_module pytest}
# /SECTION # /SECTION
%python_subpackages %python_subpackages
@@ -42,20 +42,21 @@ Python Data Validation for Humans.
%prep %prep
%setup -q -n validators-%{version} %setup -q -n validators-%{version}
dos2unix README.md
%build %build
%python_build %pyproject_wheel
%install %install
%python_install %pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib} %python_expand %fdupes %{buildroot}%{$python_sitelib}
%check %check
%pytest %pytest
%files %{python_files} %files %{python_files}
%doc CHANGES.rst README.rst %doc README.md
%license LICENSE %license LICENSE
%{python_sitelib}/* %{python_sitelib}/validators*
%changelog %changelog

BIN
validators-0.20.0.tar.gz (Stored with Git LFS)

Binary file not shown.

3
validators-0.22.0.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:77b2689b172eeeb600d9605ab86194641670cdb73b60afd577142a9397873370
size 41479