Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-django-pandas for openSUSE:Factory checked in at 2022-11-23 09:48:06 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-django-pandas (Old) and /work/SRC/openSUSE:Factory/.python-django-pandas.new.1597 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-django-pandas" Wed Nov 23 09:48:06 2022 rev:5 rq:1037363 version:0.6.6 Changes: -------- --- /work/SRC/openSUSE:Factory/python-django-pandas/python-django-pandas.changes 2021-12-26 15:30:43.095369204 +0100 +++ /work/SRC/openSUSE:Factory/.python-django-pandas.new.1597/python-django-pandas.changes 2022-11-23 09:48:31.715173616 +0100 @@ -1,0 +2,8 @@ +Tue Nov 22 16:29:30 UTC 2022 - Daniel Garcia <daniel.gar...@suse.com> + +- Remove python-six dependency +- Remove python_module macro definition +- Do not distribute tests with package +- More specific python_sitelib in %files + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-django-pandas.spec ++++++ --- /var/tmp/diff_new_pack.kzUo0g/_old 2022-11-23 09:48:32.491177665 +0100 +++ /var/tmp/diff_new_pack.kzUo0g/_new 2022-11-23 09:48:32.507177749 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-django-pandas # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,10 +16,8 @@ # -%{?!python_module:%define python_module() python-%{**} python3-%{**}} %define skip_python2 1 %define skip_python36 1 -%define skip_python39 1 Name: python-django-pandas Version: 0.6.6 Release: 0 @@ -32,14 +30,12 @@ BuildRequires: python-rpm-macros Requires: python-Django Requires: python-pandas >= 0.14.1 -Requires: python-six BuildArch: noarch # SECTION test requirements BuildRequires: %{python_module Django} BuildRequires: %{python_module pandas >= 0.20.1} BuildRequires: %{python_module pytest-django} BuildRequires: %{python_module semver >= 2.10.1} -BuildRequires: %{python_module six} # /SECTION %python_subpackages @@ -50,6 +46,10 @@ %setup -q -n django-pandas-%{version} sed -i 's/==/>=/;/coverage/d' setup.py +# Remove python-six deps from tests +sed -i '/python_2_unicode_compatible/, 1d' django_pandas/tests/models.py +# Remove python-six deps from requires +sed -i '/six/, 1d' setup.py %build %python_build @@ -57,6 +57,8 @@ %install %python_install %python_expand %fdupes %{buildroot}%{$python_sitelib} +# Do not distribute tests with package +%python_expand rm -rf %{buildroot}%{$python_sitelib}/django_pandas/tests %check %python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} $python runtests.py @@ -64,6 +66,7 @@ %files %{python_files} %doc AUTHORS.rst CHANGES.rst README.rst %license LICENSE.rst -%{python_sitelib}/* +%{python_sitelib}/django_pandas +%{python_sitelib}/django_pandas-%{version}*-info %changelog