|
|
@ -1,8 +1,8 @@
|
|
|
|
%global srcname hypothesis
|
|
|
|
%global srcname hypothesis
|
|
|
|
|
|
|
|
|
|
|
|
Name: python-%{srcname}
|
|
|
|
Name: python-%{srcname}
|
|
|
|
Version: 3.12.0
|
|
|
|
Version: 3.33.1
|
|
|
|
Release: 4%{?dist}
|
|
|
|
Release: 1%{?dist}
|
|
|
|
Summary: Library for property based testing
|
|
|
|
Summary: Library for property based testing
|
|
|
|
|
|
|
|
|
|
|
|
License: MPLv2.0
|
|
|
|
License: MPLv2.0
|
|
|
@ -28,9 +28,13 @@ flow.
|
|
|
|
%package -n python2-%{srcname}
|
|
|
|
%package -n python2-%{srcname}
|
|
|
|
Summary: %{summary}
|
|
|
|
Summary: %{summary}
|
|
|
|
BuildRequires: python2-devel
|
|
|
|
BuildRequires: python2-devel
|
|
|
|
|
|
|
|
BuildRequires: python2-attrs
|
|
|
|
|
|
|
|
BuildRequires: python2-coverage
|
|
|
|
BuildRequires: python2-enum34
|
|
|
|
BuildRequires: python2-enum34
|
|
|
|
Requires: python2-enum34
|
|
|
|
|
|
|
|
%{?python_provide:%python_provide python2-%{srcname}}
|
|
|
|
%{?python_provide:%python_provide python2-%{srcname}}
|
|
|
|
|
|
|
|
Requires: python2-attrs
|
|
|
|
|
|
|
|
Requires: python2-coverage
|
|
|
|
|
|
|
|
Requires: python2-enum34
|
|
|
|
%if ! (0%{?rhel} && 0%{?rhel} <= 7)
|
|
|
|
%if ! (0%{?rhel} && 0%{?rhel} <= 7)
|
|
|
|
Suggests: python2-numpy
|
|
|
|
Suggests: python2-numpy
|
|
|
|
Suggests: python2-pytz
|
|
|
|
Suggests: python2-pytz
|
|
|
@ -44,7 +48,11 @@ Python 2 version.
|
|
|
|
Summary: %{summary}
|
|
|
|
Summary: %{summary}
|
|
|
|
BuildRequires: python3-devel
|
|
|
|
BuildRequires: python3-devel
|
|
|
|
BuildRequires: python3-setuptools
|
|
|
|
BuildRequires: python3-setuptools
|
|
|
|
|
|
|
|
BuildRequires: python3-attrs
|
|
|
|
|
|
|
|
BuildRequires: python3-coverage
|
|
|
|
%{?python_provide:%python_provide python3-%{srcname}}
|
|
|
|
%{?python_provide:%python_provide python3-%{srcname}}
|
|
|
|
|
|
|
|
Requires: python3-attrs
|
|
|
|
|
|
|
|
Requires: python3-coverage
|
|
|
|
%if ! (0%{?rhel} && 0%{?rhel} <= 7)
|
|
|
|
%if ! (0%{?rhel} && 0%{?rhel} <= 7)
|
|
|
|
Suggests: python3-numpy
|
|
|
|
Suggests: python3-numpy
|
|
|
|
Suggests: python3-pytz
|
|
|
|
Suggests: python3-pytz
|
|
|
@ -58,9 +66,6 @@ Python 2 version.
|
|
|
|
%prep
|
|
|
|
%prep
|
|
|
|
%autosetup -n %{srcname}-python-%{version} -p1
|
|
|
|
%autosetup -n %{srcname}-python-%{version} -p1
|
|
|
|
|
|
|
|
|
|
|
|
# remove shebang, mergedbs gets installed in sitelib
|
|
|
|
|
|
|
|
%{__sed} -i -e 1,2d src/hypothesis/tools/mergedbs.py
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%build
|
|
|
|
%py2_build
|
|
|
|
%py2_build
|
|
|
|
%py3_build
|
|
|
|
%py3_build
|
|
|
@ -86,6 +91,9 @@ PYTHONPATH=src READTHEDOCS=True sphinx-build -b man docs docs/_build/man
|
|
|
|
%{_mandir}/man1/hypothesis.1*
|
|
|
|
%{_mandir}/man1/hypothesis.1*
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Thu Nov 02 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 3.33.1-1
|
|
|
|
|
|
|
|
- Update to 3.33.1
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Aug 24 2017 Miro Hrončok <mhroncok@redhat.com> - 3.12.0-4
|
|
|
|
* Thu Aug 24 2017 Miro Hrončok <mhroncok@redhat.com> - 3.12.0-4
|
|
|
|
- Rebuilt for rhbz#1484607
|
|
|
|
- Rebuilt for rhbz#1484607
|
|
|
|
|
|
|
|
|
|
|
|