From 644c4fc6378320bf20f7b21897ce0ad1db698a8bc906538e956c0d32a4f3e891 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Fri, 30 Jun 2017 07:30:34 +0000 Subject: [PATCH] Accepting request 507214 from home:alois:branches:devel:languages:python OBS-URL: https://build.opensuse.org/request/show/507214 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-hypothesis?expand=0&rev=11 --- hypothesis-3.11.6.tar.gz | 3 +++ hypothesis-3.6.1.tar.gz | 3 --- python-hypothesis.changes | 8 ++++++++ python-hypothesis.spec | 29 ++++++++++++++++++----------- 4 files changed, 29 insertions(+), 14 deletions(-) create mode 100644 hypothesis-3.11.6.tar.gz delete mode 100644 hypothesis-3.6.1.tar.gz diff --git a/hypothesis-3.11.6.tar.gz b/hypothesis-3.11.6.tar.gz new file mode 100644 index 0000000..4574d2b --- /dev/null +++ b/hypothesis-3.11.6.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:54262436f4921107c5c5a06c80789c05f3a619d798208273d5779559e264e0d5 +size 85103 diff --git a/hypothesis-3.6.1.tar.gz b/hypothesis-3.6.1.tar.gz deleted file mode 100644 index 1e7c0e9..0000000 --- a/hypothesis-3.6.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:d4a0aa584ee4654819b8bfc8b5791669ad229eb1db949716543d7c31219cb35b -size 75106 diff --git a/python-hypothesis.changes b/python-hypothesis.changes index be5930f..1ba9d9e 100644 --- a/python-hypothesis.changes +++ b/python-hypothesis.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Thu Jun 29 17:51:17 UTC 2017 - aloisio@gmx.com + +- Update to version 3.11.6 + (see https://github.com/HypothesisWorks/hypothesis-python/blob/3.11.6/docs/changes.rst) +- Added fdupes +- Updated homepage URL + ------------------------------------------------------------------- Tue Feb 21 14:06:42 UTC 2017 - jmatejek@suse.com diff --git a/python-hypothesis.spec b/python-hypothesis.spec index 9f44841..55fed25 100644 --- a/python-hypothesis.spec +++ b/python-hypothesis.spec @@ -16,21 +16,32 @@ # -%bcond_with test - %{?!python_module:%define python_module() python-%{**} python3-%{**}} +%if 0%{?suse_version} > 1320 +%define oldpython python2 +%else %define oldpython python +%endif +%bcond_with test Name: python-hypothesis -Version: 3.6.1 +Version: 3.11.6 Release: 0 Summary: A library for property based testing License: MPL-2.0 Group: Development/Languages/Python -Url: https://github.com/DRMacIver/hypothesis +Url: https://github.com/HypothesisWorks/hypothesis-python Source: https://files.pythonhosted.org/packages/source/h/hypothesis/hypothesis-%{version}.tar.gz BuildRequires: %{python_module setuptools} +BuildRequires: fdupes BuildRequires: python-enum34 BuildRequires: python-rpm-macros +Recommends: python-Django >= 1.7 +Recommends: python-Faker >= 0.7.0 +Recommends: python-numpy >= 1.9.0 +Recommends: python-pytest >= 2.7.0 +Recommends: python-pytz +BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildArch: noarch %if %{with test} BuildRequires: %{python_module Django >= 1.7} BuildRequires: %{python_module Faker >= 0.7.0} @@ -41,13 +52,6 @@ BuildRequires: %{python_module pytz} %ifpython2 Requires: %{oldpython}-enum34 %endif -Recommends: python-Django >= 1.7 -Recommends: python-Faker >= 0.7.0 -Recommends: python-numpy >= 1.9.0 -Recommends: python-pytest >= 2.7.0 -Recommends: python-pytz -BuildRoot: %{_tmppath}/%{name}-%{version}-build -BuildArch: noarch %python_subpackages %description @@ -67,12 +71,15 @@ work on Jython or on Python 3.0 through 3.2. %prep %setup -q -n hypothesis-%{version} +# remove shebang +sed -e '1d' -i src/hypothesis/tools/mergedbs.py %build %python_build %install %python_install +%python_expand %fdupes -s %{buildroot}%{$python_sitelib} %if %{with test} %check