python-hypothesis/python-hypothesis.spec

77 lines
2.4 KiB
RPMSpec
Raw Normal View History

2019-12-03 17:35:36 +08:00
%{?python_enable_dependency_generator}
Name: python-hypothesis
2024-02-20 14:41:49 +08:00
Version: 6.98.9
2022-07-08 11:19:09 +08:00
Release: 1
2019-12-03 17:35:36 +08:00
Summary: based testing for python code
License: MPLv2.0
2023-06-18 09:31:33 +08:00
URL: https://github.com/HypothesisWorks/hypothesis
2024-02-20 14:41:49 +08:00
Source0: https://files.pythonhosted.org/packages/b3/93/45cc0666c848efe13871668b2aa5aa210425598aad671d6974da8a78d0e6/hypothesis-6.98.9.tar.gz
2019-12-03 17:35:36 +08:00
BuildRequires: python-sphinx
BuildArch: noarch
%description
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.
%package -n python3-hypothesis
Summary: based testing for python code
%{?python_provide:%python_provide python3-hypothesis}
Obsoletes: platform-python-hypothesis < %{version}-%{release}
BuildRequires: python3-devel python3-setuptools python3dist(attrs)
%description -n python3-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 3 version.
%package help
Summary: help document for the python-hypothesis
%description help
Help document for the python-hypothesis
%prep
2023-06-18 09:31:33 +08:00
%autosetup -n hypothesis-%{version} -p1
2019-12-03 17:35:36 +08:00
%build
%py3_build
%install
%py3_install
%files help
%doc README.rst
%files -n python3-hypothesis
2023-06-18 09:31:33 +08:00
%license LICENSE.txt
%{python3_sitelib}/_hypothesis_*.py
%{python3_sitelib}/__pycache__/_hypothesis_*.pyc
2022-07-08 11:19:09 +08:00
%{_bindir}/hypothesis
2019-12-03 17:35:36 +08:00
%{python3_sitelib}/hypothesis-*.egg-info
%{python3_sitelib}/hypothesis/
%changelog
2024-02-20 14:41:49 +08:00
* Tue Feb 20 2024 jiangxinyu <jiangxinyu@kylinos.cn> - 6.98.9-1
- Update package to version 6.98.9
2023-06-18 09:31:33 +08:00
* Sun Jun 18 2023 Dongxing Wang <dxwangk@isoftstone.com> - 6.79.0-1
- Upgrade package to version 6.79.0
2022-07-08 11:19:09 +08:00
* Thu Jul 7 2022 wulei <wulei80@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
2020-08-08 16:14:10 +08:00
* 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
2019-12-03 17:35:36 +08:00
* Thu Nov 28 2019 likexin<likexin4@huawei.com> - 3.66.11-2
- Package init