forked from pool/python-hypothesis
		
	- Update to 3.42.2:
* Few tiny fixes - Switch to github tarball to contain tests - Make sure to state all buildtime dependencies OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-hypothesis?expand=0&rev=39
This commit is contained in:
		
				
					committed by
					
						
						Git OBS Bridge
					
				
			
			
				
	
			
			
			
						parent
						
							615516b926
						
					
				
				
					commit
					7dc25f55da
				
			
							
								
								
									
										3
									
								
								3.42.2.tar.gz
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										3
									
								
								3.42.2.tar.gz
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,3 @@
 | 
			
		||||
version https://git-lfs.github.com/spec/v1
 | 
			
		||||
oid sha256:522d33c65022c0b182b3e354525c14bd86ce7f8808644a11d36970c218bcf65b
 | 
			
		||||
size 480878
 | 
			
		||||
@@ -1,3 +0,0 @@
 | 
			
		||||
version https://git-lfs.github.com/spec/v1
 | 
			
		||||
oid sha256:24a4e05da648fdd634925e0312c7046050d2146a487e3752c45ba6a03c5983ba
 | 
			
		||||
size 132819
 | 
			
		||||
@@ -1,3 +1,11 @@
 | 
			
		||||
-------------------------------------------------------------------
 | 
			
		||||
Thu Dec 14 15:00:24 UTC 2017 - tchvatal@suse.com
 | 
			
		||||
 | 
			
		||||
- Update to 3.42.2:
 | 
			
		||||
  * Few tiny fixes
 | 
			
		||||
- Switch to github tarball to contain tests
 | 
			
		||||
- Make sure to state all buildtime dependencies
 | 
			
		||||
 | 
			
		||||
-------------------------------------------------------------------
 | 
			
		||||
Tue Dec 12 00:54:26 UTC 2017 - arun@gmx.de
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -23,32 +23,37 @@
 | 
			
		||||
%define oldpython python
 | 
			
		||||
%endif
 | 
			
		||||
Name:           python-hypothesis
 | 
			
		||||
Version:        3.42.1
 | 
			
		||||
Version:        3.42.2
 | 
			
		||||
Release:        0
 | 
			
		||||
Summary:        A library for property based testing
 | 
			
		||||
License:        MPL-2.0
 | 
			
		||||
Group:          Development/Languages/Python
 | 
			
		||||
Url:            https://github.com/HypothesisWorks/hypothesis-python
 | 
			
		||||
Source:         https://files.pythonhosted.org/packages/source/h/hypothesis/hypothesis-%{version}.tar.gz
 | 
			
		||||
Source:         https://github.com/HypothesisWorks/hypothesis-python/archive/%{version}.tar.gz
 | 
			
		||||
BuildRequires:  %{python_module Django >= 1.8}
 | 
			
		||||
BuildRequires:  %{python_module Faker >= 0.7.0}
 | 
			
		||||
BuildRequires:  %{python_module attrs}
 | 
			
		||||
BuildRequires:  %{python_module coverage}
 | 
			
		||||
BuildRequires:  %{python_module flaky}
 | 
			
		||||
BuildRequires:  %{python_module mock}
 | 
			
		||||
BuildRequires:  %{python_module numpy >= 1.9.0}
 | 
			
		||||
BuildRequires:  %{python_module pandas}
 | 
			
		||||
BuildRequires:  %{python_module pytest >= 2.8.0}
 | 
			
		||||
BuildRequires:  %{python_module pytz}
 | 
			
		||||
BuildRequires:  %{python_module setuptools}
 | 
			
		||||
BuildRequires:  fdupes
 | 
			
		||||
BuildRequires:  python-enum34
 | 
			
		||||
BuildRequires:  python-ipaddress
 | 
			
		||||
BuildRequires:  python-rpm-macros
 | 
			
		||||
Requires:       python-attrs
 | 
			
		||||
Requires:       python-coverage
 | 
			
		||||
Recommends:     python-Django >= 1.7
 | 
			
		||||
Recommends:     python-Django >= 1.8
 | 
			
		||||
Recommends:     python-Faker >= 0.7.0
 | 
			
		||||
Recommends:     python-numpy >= 1.9.0
 | 
			
		||||
Recommends:     python-pytest >= 2.7.0
 | 
			
		||||
Recommends:     python-pytest >= 2.8.0
 | 
			
		||||
Recommends:     python-pandas
 | 
			
		||||
Recommends:     python-pytz
 | 
			
		||||
BuildArch:      noarch
 | 
			
		||||
# test requirements
 | 
			
		||||
BuildRequires:  %{python_module Django >= 1.7}
 | 
			
		||||
BuildRequires:  %{python_module Faker >= 0.7.0}
 | 
			
		||||
BuildRequires:  %{python_module coverage}
 | 
			
		||||
BuildRequires:  %{python_module numpy >= 1.9.0}
 | 
			
		||||
BuildRequires:  %{python_module pytest >= 2.7.0}
 | 
			
		||||
BuildRequires:  %{python_module pytz}
 | 
			
		||||
%ifpython2
 | 
			
		||||
Requires:       %{oldpython}-enum34
 | 
			
		||||
%endif
 | 
			
		||||
@@ -66,7 +71,9 @@ PyPy3 until they support a 3.3 compatible version of the language). It does *not
 | 
			
		||||
work on Jython or on Python 3.0 through 3.2.
 | 
			
		||||
 | 
			
		||||
%prep
 | 
			
		||||
%setup -q -n hypothesis-%{version}
 | 
			
		||||
%setup -q -n hypothesis-python-%{version}
 | 
			
		||||
# remove py2/3 and django tests as they fail
 | 
			
		||||
rm -rf tests/py3 tests/py2 tests/django
 | 
			
		||||
 | 
			
		||||
%build
 | 
			
		||||
%python_build
 | 
			
		||||
@@ -76,10 +83,9 @@ work on Jython or on Python 3.0 through 3.2.
 | 
			
		||||
%python_expand %fdupes -s %{buildroot}%{$python_sitelib}
 | 
			
		||||
 | 
			
		||||
%check
 | 
			
		||||
%python_exec setup.py test
 | 
			
		||||
%python_exec setup.py test 
 | 
			
		||||
 | 
			
		||||
%files %{python_files}
 | 
			
		||||
%defattr(-,root,root,-)
 | 
			
		||||
%doc README.rst
 | 
			
		||||
%{python_sitelib}/*
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user