forked from pool/python-hypothesis
Accepting request 394510 from home:TheBlackCat:branches:devel:languages:python
Update to 3.1.3 OBS-URL: https://build.opensuse.org/request/show/394510 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-hypothesis?expand=0&rev=6
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-hypothesis
|
||||
#
|
||||
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -17,7 +17,7 @@
|
||||
|
||||
|
||||
Name: python-hypothesis
|
||||
Version: 1.16.0
|
||||
Version: 3.1.3
|
||||
Release: 0
|
||||
Summary: A library for property based testing
|
||||
License: MPL-2.0
|
||||
@@ -26,11 +26,18 @@ Url: https://github.com/DRMacIver/hypothesis
|
||||
Source: https://pypi.python.org/packages/source/h/hypothesis/hypothesis-%{version}.tar.gz
|
||||
BuildRequires: python-devel
|
||||
BuildRequires: python-setuptools
|
||||
Requires: python-Django >= 1.7
|
||||
Requires: python-fake-factory >= 0.5.2
|
||||
Requires: python-numpy >= 1.9.0
|
||||
Requires: python-pytest >= 2.7.0
|
||||
Requires: python-pytz
|
||||
BuildRequires: python-Django >= 1.7
|
||||
BuildRequires: python-enum34
|
||||
BuildRequires: python-fake-factory >= 0.5.2
|
||||
BuildRequires: python-numpy >= 1.9.0
|
||||
BuildRequires: python-pytest >= 2.7.0
|
||||
BuildRequires: python-pytz
|
||||
Requires: python-enum34
|
||||
Recommends: python-Django >= 1.7
|
||||
Recommends: python-fake-factory >= 0.5.2
|
||||
Recommends: python-numpy >= 1.9.0
|
||||
Recommends: python-pytest >= 2.7.0
|
||||
Recommends: python-pytz
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
%if 0%{?suse_version} && 0%{?suse_version} <= 1110
|
||||
%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
|
||||
@@ -62,6 +69,9 @@ python setup.py build
|
||||
%install
|
||||
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
||||
|
||||
%check
|
||||
python setup.py test
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc README.rst
|
||||
|
Reference in New Issue
Block a user