commit python-hypothesis for openSUSE:Factory
Hello community, here is the log from the commit of package python-hypothesis for openSUSE:Factory checked in at 2017-02-27 18:35:21 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-hypothesis (Old) and /work/SRC/openSUSE:Factory/.python-hypothesis.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "python-hypothesis" Changes: -------- --- /work/SRC/openSUSE:Factory/python-hypothesis/python-hypothesis.changes 2016-05-19 12:03:41.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.python-hypothesis.new/python-hypothesis.changes 2017-02-27 18:35:22.363491468 +0100 @@ -1,0 +2,13 @@ +Tue Feb 21 14:06:42 UTC 2017 - jmatejek@suse.com + +- update for singlespec +- test requirements are now conditional --with=test, to shorten build loop + for new submission + (this will be reverted soon) +- update to 3.6.1 + * better thread safety + * support for --hypothesis-show-statistics in pytest + * better python 3.4 support + * renamed fake-factory dependency to Faker + +------------------------------------------------------------------- Old: ---- hypothesis-3.1.3.tar.gz New: ---- hypothesis-3.6.1.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-hypothesis.spec ++++++ --- /var/tmp/diff_new_pack.bgz8IS/_old 2017-02-27 18:35:22.891416878 +0100 +++ /var/tmp/diff_new_pack.bgz8IS/_new 2017-02-27 18:35:22.895416313 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-hypothesis # -# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2017 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 @@ -16,34 +16,39 @@ # +%bcond_with test + +%{?!python_module:%define python_module() python-%{**} python3-%{**}} +%define oldpython python Name: python-hypothesis -Version: 3.1.3 +Version: 3.6.1 Release: 0 Summary: A library for property based testing License: MPL-2.0 Group: Development/Languages/Python Url: https://github.com/DRMacIver/hypothesis Source: https://files.pythonhosted.org/packages/source/h/hypothesis/hypothesis-%{version}.tar.gz -BuildRequires: python-devel -BuildRequires: python-setuptools -BuildRequires: python-Django >= 1.7 +BuildRequires: %{python_module setuptools} 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 +BuildRequires: python-rpm-macros +%if %{with test} +BuildRequires: %{python_module Django >= 1.7} +BuildRequires: %{python_module Faker >= 0.7.0} +BuildRequires: %{python_module numpy >= 1.9.0} +BuildRequires: %{python_module pytest >= 2.7.0} +BuildRequires: %{python_module pytz} +%endif +%ifpython2 +Requires: %{oldpython}-enum34 +%endif Recommends: python-Django >= 1.7 -Recommends: python-fake-factory >= 0.5.2 +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 -%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()")} -%else BuildArch: noarch -%endif +%python_subpackages %description Hypothesis is a library for testing your Python code against a much larger range @@ -64,15 +69,17 @@ %setup -q -n hypothesis-%{version} %build -python setup.py build +%python_build %install -python setup.py install --prefix=%{_prefix} --root=%{buildroot} +%python_install +%if %{with test} %check -python setup.py test +%python_exec setup.py test +%endif -%files +%files %{python_files} %defattr(-,root,root,-) %doc README.rst %{python_sitelib}/* ++++++ hypothesis-3.1.3.tar.gz -> hypothesis-3.6.1.tar.gz ++++++ ++++ 3324 lines of diff (skipped)
participants (1)
-
root@hilbertn.suse.de