Hello community, here is the log from the commit of package python-django-grappelli for openSUSE:Factory checked in at 2018-12-13 19:48:43 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-django-grappelli (Old) and /work/SRC/openSUSE:Factory/.python-django-grappelli.new.28833 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-django-grappelli" Thu Dec 13 19:48:43 2018 rev:13 rq:657114 version:2.12.1 Changes: -------- --- /work/SRC/openSUSE:Factory/python-django-grappelli/python-django-grappelli.changes 2015-05-07 09:22:21.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.python-django-grappelli.new.28833/python-django-grappelli.changes 2018-12-13 19:48:47.800673609 +0100 @@ -1,0 +2,9 @@ +Tue Dec 11 09:52:58 UTC 2018 - Tomáš Chvátal <tchva...@suse.com> + +- Update to 2.12.1: + * Many changes to enumerate + * Support for new djangos +- Switch to singlespec +- Run tests + +------------------------------------------------------------------- Old: ---- django-grappelli-2.6.4.tar.gz New: ---- 2.12.1.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-django-grappelli.spec ++++++ --- /var/tmp/diff_new_pack.RU9ZLT/_old 2018-12-13 19:48:49.716671132 +0100 +++ /var/tmp/diff_new_pack.RU9ZLT/_new 2018-12-13 19:48:49.720671127 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-django-grappelli # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 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 @@ -12,48 +12,51 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # +%{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-django-grappelli -Version: 2.6.4 +Version: 2.12.1 Release: 0 -Url: http://django-grappelli.readthedocs.org/ -Summary: A jazzy skin for the Django Admin-Interface -License: BSD-2-Clause and LGPL-2.1+ +Summary: A skin for the Django Admin-Interface +License: BSD-2-Clause AND LGPL-2.1-or-later Group: Development/Languages/Python -Source: https://pypi.python.org/packages/source/d/django-grappelli/django-grappelli-%{version}.tar.gz -BuildRoot: %{_tmppath}/%{name}-%{version}-build +URL: https://github.com/sehmaschine/django-grappelli +Source: https://github.com/sehmaschine/django-grappelli/archive/%{version}.tar.gz +BuildRequires: %{python_module Django} +BuildRequires: %{python_module py >= 1.7} +BuildRequires: %{python_module pytest >= 3.9} +BuildRequires: %{python_module pytest-django >= 3.4} +BuildRequires: %{python_module setuptools} BuildRequires: fdupes -BuildRequires: python-devel -BuildRequires: python-setuptools -Requires: python-django -%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 +BuildRequires: python-rpm-macros +Requires: python-Django BuildArch: noarch -%endif +%python_subpackages %description -A jazzy skin for the Django Admin-Interface (only available for standard-compliant browsers). +A jazzy skin for the Django Admin-Interface. %prep %setup -q -n django-grappelli-%{version} -find -name *.orig -o -name .\* -type f -delete -# drop executable bit -find -type f -executable -print0 | xargs -0 chmod -x %build -python setup.py build +%python_build %install -python setup.py install --prefix=%{_prefix} --root=%{buildroot} -%fdupes %{buildroot}%{python_sitelib} +%python_install +%python_expand %fdupes %{buildroot}%{$python_sitelib} -%files -%defattr(-,root,root,-) -%doc AUTHORS LICENSE README.rst +%check +export PYTHONDONTWRITEBYTECODE=1 +export DJANGO_SETTINGS_MODULE=test_project.settings +%python_expand PYTHONPATH=`pwd` py.test-%{$python_version} grappelli/tests + +%files %{python_files} +%license LICENSE +%doc AUTHORS README.rst %{python_sitelib}/* %changelog ++++++ django-grappelli-2.6.4.tar.gz -> 2.12.1.tar.gz ++++++ ++++ 49913 lines of diff (skipped)