commit fdf836d01cb7bd14af5bdc397da719fccb1b5a86 Author: CentOS Sources Date: Tue May 7 05:50:12 2019 -0400 import python-hypothesis-3.44.24-6.el8 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..2aff7e7 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/hypothesis-3.44.24.tar.gz diff --git a/.python-hypothesis.metadata b/.python-hypothesis.metadata new file mode 100644 index 0000000..f2fdbb7 --- /dev/null +++ b/.python-hypothesis.metadata @@ -0,0 +1 @@ +aedb18222bbbb7e9f50d5dd58c5c7d156f0ab4af SOURCES/hypothesis-3.44.24.tar.gz diff --git a/SOURCES/hypothesis-3.12.0-offline.patch b/SOURCES/hypothesis-3.12.0-offline.patch new file mode 100644 index 0000000..3da7157 --- /dev/null +++ b/SOURCES/hypothesis-3.12.0-offline.patch @@ -0,0 +1,10 @@ +--- hypothesis-python-3.12.0/docs/conf.py.orig 2017-07-06 23:59:48.000000000 -0700 ++++ hypothesis-python-3.12.0/docs/conf.py 2017-07-10 22:27:58.643985059 -0700 +@@ -40,7 +40,6 @@ + 'sphinx.ext.doctest', + 'sphinx.ext.extlinks', + 'sphinx.ext.viewcode', +- 'sphinx.ext.intersphinx', + ] + + templates_path = ['_templates'] diff --git a/SPECS/python-hypothesis.spec b/SPECS/python-hypothesis.spec new file mode 100644 index 0000000..7064e6f --- /dev/null +++ b/SPECS/python-hypothesis.spec @@ -0,0 +1,204 @@ +%{?python_enable_dependency_generator} +%global srcname hypothesis + +Name: python-%{srcname} +Version: 3.44.24 +Release: 6%{?dist} +Summary: Library for property based testing + +License: MPLv2.0 +URL: https://github.com/HypothesisWorks/hypothesis-python +Source0: %{url}/archive/%{version}/%{srcname}-%{version}.tar.gz +# disable Sphinx extensions that require Internet access +Patch0: %{srcname}-3.12.0-offline.patch + +# Manpage +BuildRequires: %{_bindir}/sphinx-build + +BuildArch: noarch + +%global _description \ +Hypothesis is a library for testing your Python code against a much\ +larger range of examples than you would ever want to write by\ +hand. It’s based on the Haskell library, Quickcheck, and is designed\ +to integrate seamlessly into your existing Python unit testing work\ +flow. + +%description %{_description} + +%package -n python3-%{srcname} +Summary: %{summary} +%{?python_provide:%python_provide python3-%{srcname}} +Obsoletes: platform-python-%{srcname} < %{version}-%{release} +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3dist(attrs) +BuildRequires: python3dist(coverage) +Suggests: python%{python3_version}dist(pytz) +Suggests: python%{python3_version}dist(numpy) >= 1.9.0 +Suggests: python%{python3_version}dist(pytest) >= 2.8.0 + +%description -n python3-%{srcname} %{_description} + +%prep +%autosetup -n %{srcname}-python-%{version} -p1 + +%build +%py3_build +PYTHONPATH=src READTHEDOCS=True sphinx-build -b man docs docs/_build/man + +%install +%py3_install +%{__install} -Dpm0644 -t %{buildroot}%{_mandir}/man1 docs/_build/man/hypothesis.1 + +%files -n python3-%{srcname} +%license LICENSE.txt +%doc README.rst +%{python3_sitelib}/hypothesis-*.egg-info +%{python3_sitelib}/hypothesis/ +%{_mandir}/man1/hypothesis.1* + +%changelog +* Mon Jul 09 2018 Petr Viktorin - 3.44.24-6 +- Remove the python2 subpackage + https://bugzilla.redhat.com/show_bug.cgi?id=1590811 + +* Mon Jun 25 2018 Petr Viktorin - 3.44.24-5 +- Allow Python 2 for build + see https://hurl.corp.redhat.com/rhel8-py2 + +* Sun Feb 11 2018 Igor Gnatenko - 3.44.24-4 +- Pick up automatic dependency from generator + +* Sat Feb 10 2018 Igor Gnatenko - 3.44.24-3 +- Add missing dependency on enum34 + +* Fri Feb 09 2018 Fedora Release Engineering - 3.44.24-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Sun Jan 28 2018 Igor Gnatenko - 3.44.24-1 +- Update to 3.44.24 + +* Sat Jan 20 2018 Igor Gnatenko - 3.44.18-1 +- Update to 3.44.18 + +* Mon Jan 15 2018 Igor Gnatenko - 3.44.17-1 +- Update to 3.44.17 + +* Sun Jan 14 2018 Igor Gnatenko - 3.44.16-1 +- Update to 3.44.16 + +* Tue Jan 09 2018 Igor Gnatenko - 3.44.14-1 +- Update to 3.44.14 + +* Mon Jan 08 2018 Igor Gnatenko - 3.44.12-1 +- Update to 3.44.12 + +* Sun Dec 24 2017 Igor Gnatenko - 3.44.4-1 +- Update to 3.44.4 + +* Wed Dec 13 2017 Igor Gnatenko - 3.42.2-1 +- Update to 3.42.2 + +* Thu Nov 23 2017 Igor Gnatenko - 3.38.4-1 +- Update to 3.38.4 + +* Sun Nov 19 2017 Igor Gnatenko - 3.38.0-1 +- Update to 3.38.0 + +* Mon Nov 13 2017 Igor Gnatenko - 3.37.0-1 +- Update to 3.37.0 + +* Sun Nov 12 2017 Igor Gnatenko - 3.36.1-1 +- Update to 3.36.1 + +* Tue Nov 07 2017 Igor Gnatenko - 3.36.0-2 +- Use better Obsoletes for platform-python + +* Tue Nov 07 2017 Igor Gnatenko - 3.36.0-1 +- Update to 3.36.0 + +* Mon Nov 06 2017 Igor Gnatenko - 3.34.1-1 +- Update to 3.34.1 + +* Sat Nov 04 2017 Igor Gnatenko - 3.34.0-1 +- Update to 3.34.0 + +* Thu Nov 02 2017 Igor Gnatenko - 3.33.1-1 +- Update to 3.33.1 + +* Thu Aug 24 2017 Miro Hrončok - 3.12.0-4 +- Rebuilt for rhbz#1484607 + +* Thu Aug 10 2017 Tomas Orsava - 3.12.0-3 +- Added the platform-python subpackage + +* Thu Jul 27 2017 Fedora Release Engineering - 3.12.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Mon Jul 10 2017 Michel Alexandre Salim - 3.12.0-1 +- Update to 3.12.0 +- Reenable docs in EPEL7 + +* Sat Feb 11 2017 Fedora Release Engineering - 3.4.0-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Fri Dec 09 2016 Charalampos Stratakis - 3.4.0-3 +- Rebuild for Python 3.6 + +* Tue Jul 19 2016 Fedora Release Engineering - 3.4.0-2 +- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages + +* Sun May 29 2016 Michel Alexandre Salim - 3.4.0-1 +- Update to 3.4.0 +- Version the explicit Provides + +* Wed May 04 2016 Nathaniel McCallum - 3.1.3-1 +- Update to 3.1.3 +- Remove unused code +- Remove unused dependencies + +* Sun Feb 14 2016 Michel Salim - 2.0.0-1 +- Update to 2.0.0 + +* Thu Feb 04 2016 Fedora Release Engineering - 1.11.2-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Tue Nov 10 2015 Fedora Release Engineering +- Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5 + +* Fri Sep 25 2015 Michel Salim - 1.11.2-1 +- Update to 1.11.2 + +* Sun Sep 20 2015 Michel Alexandre Salim - 1.11.1-1 +- Update to 1.11.1 + +* Wed Sep 2 2015 Michel Alexandre Salim - 1.11.0-1 +- Update to 1.11.0 + +* Tue Sep 1 2015 Michel Alexandre Salim - 1.10.6-3 +- Re-disable tests for now + +* Tue Sep 1 2015 Michel Alexandre Salim - 1.10.6-2 +- Disable Python3 tests - need debugging on ARM builders + +* Mon Aug 31 2015 Michel Alexandre Salim - 1.10.6-1 +- Update to 1.10.6 +- Enable tests + +* Fri Aug 7 2015 Michel Alexandre Salim - 1.10.0-1 +- Update to 1.10 + +* Wed Jul 29 2015 Michel Alexandre Salim - 1.9.0-1 +- Update to 1.9.0 + +* Fri Jul 24 2015 Michel Alexandre Salim - 1.8.5-2 +- Remove she-bang from tools/mergedbs.py +- Include manpage + +* Fri Jul 24 2015 Michel Alexandre Salim - 1.8.5-1 +- Update to 1.8.5 +- Make Python3 build unconditional + +* Thu Jul 23 2015 Michel Alexandre Salim - 1.8.2-1 +- Initial package