Hello community, here is the log from the commit of package python-patsy for openSUSE:Factory checked in at 2020-09-09 18:01:55 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-patsy (Old) and /work/SRC/openSUSE:Factory/.python-patsy.new.3399 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-patsy" Wed Sep 9 18:01:55 2020 rev:5 rq:833202 version:0.5.1 Changes: -------- --- /work/SRC/openSUSE:Factory/python-patsy/python-patsy.changes 2018-11-01 14:44:32.570876581 +0100 +++ /work/SRC/openSUSE:Factory/.python-patsy.new.3399/python-patsy.changes 2020-09-09 18:08:26.675553307 +0200 @@ -1,0 +2,15 @@ +Wed Sep 9 07:23:26 UTC 2020 - pgaj...@suse.com + +- provide pullrequest url to previous change + +------------------------------------------------------------------- +Tue Sep 8 12:58:21 UTC 2020 - pgaj...@suse.com + +- run tests +- added patches + fix https://github.com/pydata/patsy/pull/162 + + python-patsy-remove-nose.patch +- added sources + + _multibuild + +------------------------------------------------------------------- New: ---- _multibuild python-patsy-remove-nose.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-patsy.spec ++++++ --- /var/tmp/diff_new_pack.67ekpO/_old 2020-09-09 18:08:28.999555425 +0200 +++ /var/tmp/diff_new_pack.67ekpO/_new 2020-09-09 18:08:29.003555429 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-patsy # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,8 +18,16 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} # Tests have dependency loop with pandas -%bcond_with tests -Name: python-patsy +%global flavor @BUILD_FLAVOR@%{nil} +%if "%{flavor}" == "test" +%define test 1 +%define pkg_suffix -test +%bcond_without test +%else +%define pkg_suffix %{nil} +%bcond_with test +%endif +Name: python-patsy%{pkg_suffix} Version: 0.5.1 Release: 0 Summary: A Python package for statistical models and design matrices @@ -27,6 +35,9 @@ Group: Development/Languages/Python URL: https://github.com/pydata/patsy Source: https://files.pythonhosted.org/packages/source/p/patsy/patsy-%{version}.tar.gz +# patsy is EOL https://github.com/pydata/patsy/pull/162#issuecomment-688831172 +# https://github.com/pydata/patsy/pull/163 +Patch0: python-patsy-remove-nose.patch BuildRequires: %{python_module numpy-devel} BuildRequires: %{python_module scipy} BuildRequires: %{python_module setuptools} @@ -37,9 +48,11 @@ Requires: python-six Recommends: python-scipy BuildArch: noarch -%if %{with tests} +%if %{with test} BuildRequires: %{python_module nose} BuildRequires: %{python_module pandas} +BuildRequires: %{python_module patsy = %{version}} +BuildRequires: %{python_module pytest} %endif %python_subpackages @@ -52,23 +65,30 @@ %prep %setup -q -n patsy-%{version} +%patch0 -p1 +%if !%{with test} %build %python_build +%endif +%if !%{with test} %install %python_install %python_expand %fdupes %{buildroot}%{$python_sitelib} +%endif -%if %{with tests} +%if %{with test} %check -%python_expand nosetests-%{$python_bin_suffix} --all-modules patsy +%pytest %endif +%if !%{with test} %files %{python_files} %license LICENSE.txt %doc README.rst %{python_sitelib}/patsy/ %{python_sitelib}/patsy-%{version}-py*.egg-info +%endif %changelog ++++++ _multibuild ++++++ <multibuild> <package>test</package> </multibuild> ++++++ python-patsy-remove-nose.patch ++++++ ++++ 1398 lines (skipped)