Compare commits
No commits in common. "3056a5f2df220c4c9fd093b42132accef7544f4b" and "5e7a23e25ffb84cbf590dbe64f025f58fbad64ac" have entirely different histories.
3056a5f2df
...
5e7a23e25f
10
hypothesis-3.12.0-offline.patch
Normal file
10
hypothesis-3.12.0-offline.patch
Normal file
@ -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']
|
||||||
BIN
hypothesis-3.66.11.tar.gz
Normal file
BIN
hypothesis-3.66.11.tar.gz
Normal file
Binary file not shown.
Binary file not shown.
@ -1,11 +1,12 @@
|
|||||||
%{?python_enable_dependency_generator}
|
%{?python_enable_dependency_generator}
|
||||||
Name: python-hypothesis
|
Name: python-hypothesis
|
||||||
Version: 6.47.0
|
Version: 3.66.11
|
||||||
Release: 1
|
Release: 2
|
||||||
Summary: based testing for python code
|
Summary: based testing for python code
|
||||||
License: MPLv2.0
|
License: MPLv2.0
|
||||||
URL: https://github.com/HypothesisWorks/hypothesis-python
|
URL: https://github.com/HypothesisWorks/hypothesis-python
|
||||||
Source0: https://github.com/HypothesisWorks/hypothesis/archive/hypothesis-python-%{version}.tar.gz
|
Source0: %{url}/archive/hypothesis-python-%{version}/hypothesis-%{version}.tar.gz
|
||||||
|
Patch0: hypothesis-3.12.0-offline.patch
|
||||||
BuildRequires: python-sphinx
|
BuildRequires: python-sphinx
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
@ -14,6 +15,16 @@ This package provides a library called hypothesis for testing Python code,
|
|||||||
which has more examples and is based on the Haskell library, Quickcheck,
|
which has more examples and is based on the Haskell library, Quickcheck,
|
||||||
which is used to integrate directly into your existing Python unit testing work.
|
which is used to integrate directly into your existing Python unit testing work.
|
||||||
|
|
||||||
|
%package -n python2-hypothesis
|
||||||
|
Summary: based testing for python code
|
||||||
|
%{?python_provide:%python_provide python2-hypothesis}
|
||||||
|
BuildRequires: python2-devel python2-setuptools python2dist(attrs)
|
||||||
|
|
||||||
|
%description -n python2-hypothesis
|
||||||
|
This package provides a library called hypothesis for testing Python code,
|
||||||
|
which has more examples and is based on the Haskell library, Quickcheck,
|
||||||
|
which is used to integrate directly into your existing Python unit testing work.
|
||||||
|
Python 2 version.
|
||||||
|
|
||||||
%package -n python3-hypothesis
|
%package -n python3-hypothesis
|
||||||
Summary: based testing for python code
|
Summary: based testing for python code
|
||||||
@ -35,37 +46,31 @@ Help document for the python-hypothesis
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -n hypothesis-hypothesis-python-%{version}/hypothesis-python -p1
|
%autosetup -n hypothesis-hypothesis-python-%{version}/hypothesis-python -p1
|
||||||
sed -i -e '/sphinx.ext.intersphinx/d' docs/conf.py
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
%py2_build
|
||||||
%py3_build
|
%py3_build
|
||||||
|
PYTHONPATH=src READTHEDOCS=True sphinx-build -b man docs docs/_build/man
|
||||||
|
|
||||||
%install
|
%install
|
||||||
|
%py2_install
|
||||||
%py3_install
|
%py3_install
|
||||||
|
%{__install} -Dpm0644 -t %{buildroot}%{_mandir}/man1 docs/_build/man/hypothesis.1
|
||||||
|
|
||||||
%files help
|
%files help
|
||||||
|
%{_mandir}/man1/hypothesis.1*
|
||||||
%doc README.rst
|
%doc README.rst
|
||||||
|
|
||||||
|
%files -n python2-hypothesis
|
||||||
|
%doc ../LICENSE.txt
|
||||||
|
%{python2_sitelib}/hypothesis-*.egg-info/
|
||||||
|
%{python2_sitelib}/hypothesis/
|
||||||
|
|
||||||
%files -n python3-hypothesis
|
%files -n python3-hypothesis
|
||||||
%doc ../LICENSE.txt
|
%doc ../LICENSE.txt
|
||||||
%{python3_sitelib}/_hypothesis_pytestplugin.py
|
|
||||||
%{python3_sitelib}/__pycache__/_hypothesis_pytestplugin*.pyc
|
|
||||||
%{_bindir}/hypothesis
|
|
||||||
%{python3_sitelib}/hypothesis-*.egg-info
|
%{python3_sitelib}/hypothesis-*.egg-info
|
||||||
%{python3_sitelib}/hypothesis/
|
%{python3_sitelib}/hypothesis/
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Thu Oct 27 2022 Ge Wang <wangge20@h-partners.com> - 6.47.0-1
|
|
||||||
- Upgrade to 6.47.0
|
|
||||||
|
|
||||||
* Tue Mar 2 2021 lingsheng<lingsheng@huawei.com> - 5.20.3-2
|
|
||||||
- Disable Sphinx extensions that require Internet access
|
|
||||||
|
|
||||||
* Sat Aug 8 2020 tianwei<tianwei12@huawei.com> - 5.20.3-1
|
|
||||||
- update release to 5.20.3
|
|
||||||
|
|
||||||
* Wed Jun 24 2020 lingsheng<lingsheng@huawei.com> - 3.66.11-3
|
|
||||||
- Add support for positional only arguments
|
|
||||||
|
|
||||||
* Thu Nov 28 2019 likexin<likexin4@huawei.com> - 3.66.11-2
|
* Thu Nov 28 2019 likexin<likexin4@huawei.com> - 3.66.11-2
|
||||||
- Package init
|
- Package init
|
||||||
|
|||||||
@ -1,4 +0,0 @@
|
|||||||
version_control: github
|
|
||||||
src_repo: HypothesisWorks/hypothesis
|
|
||||||
tag_prefix: hypothesis-python-
|
|
||||||
seperator: .
|
|
||||||
Loading…
x
Reference in New Issue
Block a user