|
|
378e1f4 |
%global pypiname validators
|
|
|
378e1f4 |
|
|
|
378e1f4 |
Name: python-%{pypiname}
|
|
|
378e1f4 |
Version: 0.12.0
|
|
|
1f4ae59 |
Release: 6%{?dist}
|
|
|
378e1f4 |
Summary: Data Validation in python for Humans
|
|
|
378e1f4 |
|
|
|
378e1f4 |
License: BSD
|
|
|
378e1f4 |
URL: https://github.com/kvesteri/validators
|
|
|
378e1f4 |
Source0: https://files.pythonhosted.org/packages/source/v/%{pypiname}/%{pypiname}-%{version}.tar.gz
|
|
|
378e1f4 |
|
|
|
378e1f4 |
BuildArch: noarch
|
|
|
378e1f4 |
BuildRequires: python3-decorator
|
|
|
378e1f4 |
BuildRequires: python3-devel
|
|
|
378e1f4 |
BuildRequires: python3-pytest
|
|
|
378e1f4 |
BuildRequires: python3-six
|
|
|
378e1f4 |
|
|
|
378e1f4 |
%description
|
|
|
378e1f4 |
Python has all kinds of data validation tools, but every one of them seems to
|
|
|
378e1f4 |
require defining a schema or form. I wanted to create a simple validation
|
|
|
378e1f4 |
library where validating a simple value does not require defining a form or
|
|
|
378e1f4 |
a schema.
|
|
|
378e1f4 |
|
|
|
378e1f4 |
%package -n python3-%{pypiname}
|
|
|
378e1f4 |
|
|
|
378e1f4 |
Summary: Data Validation in python for Humans
|
|
|
378e1f4 |
|
|
|
378e1f4 |
Requires: python3-six
|
|
|
378e1f4 |
Requires: python3-decorator
|
|
|
378e1f4 |
|
|
|
378e1f4 |
%{?python_provide:%python_provide python3-%{pypiname}}
|
|
|
378e1f4 |
|
|
|
378e1f4 |
%description -n python3-%{pypiname}
|
|
|
378e1f4 |
Python has all kinds of data validation tools, but every one of them seems to
|
|
|
378e1f4 |
require defining a schema or form. I wanted to create a simple validation
|
|
|
378e1f4 |
library where validating a simple value does not require defining a form or
|
|
|
378e1f4 |
a schema.
|
|
|
378e1f4 |
|
|
|
378e1f4 |
%prep
|
|
|
378e1f4 |
%setup -q -n %{pypiname}-%{version}
|
|
|
378e1f4 |
|
|
|
378e1f4 |
%build
|
|
|
378e1f4 |
%py3_build
|
|
|
378e1f4 |
|
|
|
378e1f4 |
%install
|
|
|
378e1f4 |
%py3_install
|
|
|
378e1f4 |
|
|
|
378e1f4 |
%check
|
|
|
378e1f4 |
/usr/bin/pytest-3
|
|
|
378e1f4 |
|
|
|
378e1f4 |
%files -n python3-%{pypiname}
|
|
|
378e1f4 |
%license LICENSE
|
|
|
378e1f4 |
%doc README.rst CHANGES.rst
|
|
|
378e1f4 |
%{python3_sitelib}/%{pypiname}*
|
|
|
378e1f4 |
|
|
|
378e1f4 |
%changelog
|
|
|
1f4ae59 |
* Fri Oct 12 2018 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 0.12.0-6
|
|
|
1f4ae59 |
- Python2 binary package has been removed
|
|
|
1f4ae59 |
See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal
|
|
|
1f4ae59 |
|
|
|
c100db4 |
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.12.0-5
|
|
|
c100db4 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
c100db4 |
|
|
|
a0b96a8 |
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 0.12.0-4
|
|
|
a0b96a8 |
- Rebuilt for Python 3.7
|
|
|
a0b96a8 |
|
|
|
fb6c2f2 |
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.12.0-3
|
|
|
fb6c2f2 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
fb6c2f2 |
|
|
|
378e1f4 |
* Sat Jan 06 2018 williamjmorenor@gmail.com - 0.12.0-2
|
|
|
378e1f4 |
- Initial import
|
|
|
378e1f4 |
|
|
|
378e1f4 |
* Mon Dec 25 2017 williamjmorenor@gmail.com - 0.12.0-1
|
|
|
378e1f4 |
- Initial packaging
|
|
|
378e1f4 |
Skip docs build with sphinx because a lot of extensions
|