diff --git a/python-hypothesis.spec b/python-hypothesis.spec index 0255881..aea8437 100644 --- a/python-hypothesis.spec +++ b/python-hypothesis.spec @@ -1,5 +1,20 @@ +%if 0%{?el9} +%bcond_without bootstrap +%else +%bcond_with bootstrap +%endif + +%if %{with bootstrap} +# Needs pytest and others, but hypothesis is built sooner than pytest when bootstrapping +%bcond_with tests +%bcond_with doc +%else +%bcond_without tests +%bcond_without doc +%endif + Name: python-hypothesis -Version: 6.24.2 +Version: 6.36.0 Release: %autorelease Summary: Library for property based testing @@ -9,10 +24,6 @@ Source0: %{url}/archive/hypothesis-python-%{version}/hypothesis-%{version BuildArch: noarch -# Needs pytest and others, but hypothesis is built sooner than pytest when bootstrapping -%bcond_without tests -%bcond_without doc - BuildRequires: python%{python3_pkgversion}-devel BuildRequires: pyproject-rpm-macros >= 0-43 @@ -109,6 +120,8 @@ k="$k and not test_data_frames_with_timestamp_columns" %files -n python%{python3_pkgversion}-hypothesis -f %{pyproject_files} %license ../LICENSE.txt %doc README.rst +%{python3_sitelib}/_hypothesis_pytestplugin.py +%{python3_sitelib}/__pycache__/_hypothesis_pytestplugin*.pyc %{_bindir}/hypothesis %if %{with doc} %{_mandir}/man1/hypothesis.1* diff --git a/sources b/sources index 34bd5a4..662ed3d 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (hypothesis-6.24.2.tar.gz) = 9e4ee194fe561f8a39a26ab63cad4b6f093b2fcb56d02a5adfc4bdee1d7ccf55e6712d1af41d17155c6e88ecc75e6f191cf2761c2d71c2c052d7e8259cff0326 +SHA512 (hypothesis-6.36.0.tar.gz) = afff635df30552aa8165a28e2dd02e01cd265e22793d788b8a7009f5d3f85fee6330423eed405f64a13d8749c852b81b3d21b4c48f3b3b3a3682e8cdd4cdf238