Dirk Mueller 2020-11-11 12:23:09 +00:00 committed by Git OBS Bridge
parent 55a827aaae
commit fd384a458d
6 changed files with 26 additions and 8 deletions

View File

@ -3,7 +3,7 @@
<service name="obs_scm" mode="disabled">
<param name="url">https://github.com/HypothesisWorks/hypothesis.git</param>
<param name="scm">git</param>
<param name="revision">hypothesis-python-5.24.2</param>
<param name="revision">hypothesis-python-5.41.2</param>
<param name="versionformat">@PARENT_TAG@</param>
<param name="versionrewrite-pattern">hypothesispython(.*)</param>
<param name="subdir">hypothesis-python</param>

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:6b5de4dd128f7d901deea855fc7e8fd9062d1cf47e8a371d57a289a18c9e9df9
size 2410508

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:5cc6dccaef45140cf26b633c2e6e5c116823f674981db7d34568fbba7bbbd8a4
size 2564108

View File

@ -1,5 +1,5 @@
name: hypothesis-python
version: 5.24.2
mtime: 1597261342
commit: 06c4e050af7a5460682afabd2f580f45c93b56ef
version: 5.41.2
mtime: 1604845701
commit: 6a668da91a3b2b8b42c76496589392feea58645a

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Wed Nov 11 12:15:41 UTC 2020 - Dirk Mueller <dmueller@suse.com>
- 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 <code@bnavigator.de>

View File

@ -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