forked from pool/python-hypothesis
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
This commit is contained in:
parent
6dabaefcb1
commit
644c4fc637
3
hypothesis-3.11.6.tar.gz
Normal file
3
hypothesis-3.11.6.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:54262436f4921107c5c5a06c80789c05f3a619d798208273d5779559e264e0d5
|
||||
size 85103
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:d4a0aa584ee4654819b8bfc8b5791669ad229eb1db949716543d7c31219cb35b
|
||||
size 75106
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user