From fd384a458df03fe2b60bf13788d6c73a01eefc1fbb2c72801512ff2db788d623 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Wed, 11 Nov 2020 12:23:09 +0000 Subject: [PATCH] - update to 5.41.2: * long list of changes and improvements, see https://hypothesis.readthedocs.io/en/latest/changes.html#v5-41-2 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-hypothesis?expand=0&rev=136 --- _service | 2 +- hypothesis-python-5.24.2.obscpio | 3 --- hypothesis-python-5.41.2.obscpio | 3 +++ hypothesis-python.obsinfo | 6 +++--- python-hypothesis.changes | 7 +++++++ python-hypothesis.spec | 13 ++++++++++++- 6 files changed, 26 insertions(+), 8 deletions(-) delete mode 100644 hypothesis-python-5.24.2.obscpio create mode 100644 hypothesis-python-5.41.2.obscpio diff --git a/_service b/_service index 21ca395..493430d 100644 --- a/_service +++ b/_service @@ -3,7 +3,7 @@ https://github.com/HypothesisWorks/hypothesis.git git - hypothesis-python-5.24.2 + hypothesis-python-5.41.2 @PARENT_TAG@ hypothesispython(.*) hypothesis-python diff --git a/hypothesis-python-5.24.2.obscpio b/hypothesis-python-5.24.2.obscpio deleted file mode 100644 index 88bf70c..0000000 --- a/hypothesis-python-5.24.2.obscpio +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:6b5de4dd128f7d901deea855fc7e8fd9062d1cf47e8a371d57a289a18c9e9df9 -size 2410508 diff --git a/hypothesis-python-5.41.2.obscpio b/hypothesis-python-5.41.2.obscpio new file mode 100644 index 0000000..b2f65ef --- /dev/null +++ b/hypothesis-python-5.41.2.obscpio @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5cc6dccaef45140cf26b633c2e6e5c116823f674981db7d34568fbba7bbbd8a4 +size 2564108 diff --git a/hypothesis-python.obsinfo b/hypothesis-python.obsinfo index f7f57e8..a55749e 100644 --- a/hypothesis-python.obsinfo +++ b/hypothesis-python.obsinfo @@ -1,5 +1,5 @@ name: hypothesis-python -version: 5.24.2 -mtime: 1597261342 -commit: 06c4e050af7a5460682afabd2f580f45c93b56ef +version: 5.41.2 +mtime: 1604845701 +commit: 6a668da91a3b2b8b42c76496589392feea58645a diff --git a/python-hypothesis.changes b/python-hypothesis.changes index b946d45..8395956 100644 --- a/python-hypothesis.changes +++ b/python-hypothesis.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Wed Nov 11 12:15:41 UTC 2020 - Dirk Mueller + +- update to 5.41.2: + * long list of changes and improvements, see + https://hypothesis.readthedocs.io/en/latest/changes.html#v5-41-2 + ------------------------------------------------------------------- Wed Aug 12 20:51:26 UTC 2020 - Benjamin Greiner diff --git a/python-hypothesis.spec b/python-hypothesis.spec index 3f9daf9..efefedb 100644 --- a/python-hypothesis.spec +++ b/python-hypothesis.spec @@ -33,7 +33,7 @@ ExclusiveArch: do_not_build %bcond_with test %endif Name: python-hypothesis%{psuffix} -Version: 5.24.2 +Version: 5.41.2 Release: 0 Summary: A library for property based testing License: MPL-2.0 @@ -51,6 +51,8 @@ BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-attrs >= 19.2.0 Requires: python-sortedcontainers >= 2.1.0 +Requires(post): update-alternatives +Requires(preun): update-alternatives Recommends: python-Django >= 2.2 Recommends: python-dpcontracts >= 0.4 Recommends: python-lark-parser >= 0.6.5 @@ -108,6 +110,14 @@ sed -i 's/assert (arr == 0.0)/assert np.asarray(arr == 0.0)/' tests/numpy/test_g %python_expand %fdupes %{buildroot}%{$python_sitelib} %endif +%python_clone -a %{buildroot}%{_bindir}/hypothesis + +%post +%python_install_alternative hypothesis + +%postun +%python_uninstall_alternative hypothesis + %check %if %{with test} # theses tests try to write into global python_sitelib @@ -121,6 +131,7 @@ skiptests+=" or test_can_learn_to_normalize_the_unnormalized" %files %{python_files} %license LICENSE.txt %doc README.rst +%python_alternative %{_bindir}/hypothesis %{python_sitelib}/hypothesis %{python_sitelib}/hypothesis-%{version}-py*.egg-info %endif