commit python-django-reversion for openSUSE:Factory

2020-02-20 Thread root
Hello community,

here is the log from the commit of package python-django-reversion for 
openSUSE:Factory checked in at 2020-02-20 14:59:29

Comparing /work/SRC/openSUSE:Factory/python-django-reversion (Old)
 and  /work/SRC/openSUSE:Factory/.python-django-reversion.new.26092 (New)


Package is "python-django-reversion"

Thu Feb 20 14:59:29 2020 rev:12 rq:777600 version:3.0.7

Changes:

--- 
/work/SRC/openSUSE:Factory/python-django-reversion/python-django-reversion.changes
  2019-12-07 15:07:27.483863225 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-django-reversion.new.26092/python-django-reversion.changes
   2020-02-20 14:59:31.378775770 +0100
@@ -1,0 +2,10 @@
+Thu Feb 20 08:55:04 UTC 2020 - Tomáš Chvátal 
+
+- Update to 3.0.7:
+  * Packaging improvements (@michael-k).
+  * Removing deprecated usages of force_text (@Tenzer).
+  * Documentation fixes (@chicheng).
+  * Removing deprecated usages of ugettext_lazy (@François GUÉRIN).
+  * Slovenian translation (@Bor Plestenjak).
+
+---

Old:

  django-reversion-3.0.5.tar.gz

New:

  django-reversion-3.0.7.tar.gz



Other differences:
--
++ python-django-reversion.spec ++
--- /var/tmp/diff_new_pack.vJb2zY/_old  2020-02-20 14:59:31.926776845 +0100
+++ /var/tmp/diff_new_pack.vJb2zY/_new  2020-02-20 14:59:31.926776845 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-django-reversion
 #
-# Copyright (c) 2019 SUSE LLC
+# 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
@@ -19,11 +19,11 @@
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 %define skip_python2 1
 Name:   python-django-reversion
-Version:3.0.5
+Version:3.0.7
 Release:0
 Summary:A Django extension that provides version control for model 
instances
 License:BSD-3-Clause
-URL:http://github.com/etianen/django-reversion
+URL:https://github.com/etianen/django-reversion
 Source: 
https://files.pythonhosted.org/packages/source/d/django-reversion/django-reversion-%{version}.tar.gz
 BuildRequires:  %{python_module Django > 1.11}
 BuildRequires:  %{python_module mysqlclient}

++ django-reversion-3.0.5.tar.gz -> django-reversion-3.0.7.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/django-reversion-3.0.5/CHANGELOG.rst 
new/django-reversion-3.0.7/CHANGELOG.rst
--- old/django-reversion-3.0.5/CHANGELOG.rst2019-12-02 19:23:48.0 
+0100
+++ new/django-reversion-3.0.7/CHANGELOG.rst2020-02-17 16:16:23.0 
+0100
@@ -3,11 +3,27 @@
 django-reversion changelog
 ==
 
+3.0.7 - 17/02/2010
+--
+
+- Removing deprecated usages of `ugettest_lazy` (@François GUÉRIN).
+- Slovenian translation (@Bor Plestenjak).
+
+
+3.0.6 - 17/02/2020
+--
+
+- Packaging improvements (@michael-k).
+- Removing deprecated usages of `force_text` (@Tenzer).
+- Documentation fixes (@chicheng).
+
+
 3.0.5 - 02/12/2019
+--
 
 - Improved performance of `get_deleted` for large datasets (@jeremy-engel).
 - Django 3.0 compatibility (@claudep).
-- Drops Django <= 1.11 compatibility (@claudep).
+- Drops Django < 1.11 compatibility (@claudep).
 - Fixed errors in manageement commands when `django.contrib.admin` is not in 
`INSTALLED_APPS` (@irtimir).
 
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/django-reversion-3.0.5/PKG-INFO 
new/django-reversion-3.0.7/PKG-INFO
--- old/django-reversion-3.0.5/PKG-INFO 2019-12-02 19:24:32.0 +0100
+++ new/django-reversion-3.0.7/PKG-INFO 2020-02-17 16:17:12.0 +0100
@@ -1,12 +1,93 @@
-Metadata-Version: 1.1
+Metadata-Version: 1.2
 Name: django-reversion
-Version: 3.0.5
+Version: 3.0.7
 Summary: An extension to the Django web framework that provides version 
control for model instances.
 Home-page: http://github.com/etianen/django-reversion
 Author: Dave Hall
 Author-email: d...@etianen.com
 License: BSD
-Description: UNKNOWN
+Description: 
+django-reversion
+
+
+|PyPI latest| |PyPI Version| |PyPI License| |TravisCI| |Docs|
+
+
+**django-reversion** is an extension to the Django web framework that 
provides
+version control for model instances.
+
+Requirements
+
+
+- Python 3.6 or later
+- Django 1.11 or later
+
+Features
+
+
+-  Roll back to any point 

commit python-django-reversion for openSUSE:Factory

2019-12-07 Thread root
Hello community,

here is the log from the commit of package python-django-reversion for 
openSUSE:Factory checked in at 2019-12-07 15:07:07

Comparing /work/SRC/openSUSE:Factory/python-django-reversion (Old)
 and  /work/SRC/openSUSE:Factory/.python-django-reversion.new.4691 (New)


Package is "python-django-reversion"

Sat Dec  7 15:07:07 2019 rev:11 rq:754684 version:3.0.5

Changes:

--- 
/work/SRC/openSUSE:Factory/python-django-reversion/python-django-reversion.changes
  2019-05-22 15:42:08.482427028 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-django-reversion.new.4691/python-django-reversion.changes
2019-12-07 15:07:27.483863225 +0100
@@ -1,0 +2,16 @@
+Fri Dec  6 13:42:03 UTC 2019 - Tomáš Chvátal 
+
+- Fix the requires on the Django as it really works with > 1.11 and
+  does not support python 2 anymore
+
+---
+Thu Dec  5 23:22:25 UTC 2019 - Martin Herkt <9+suse@cirno.systems>
+
+- Update to 3.0.5:
+  * Improved performance of `get_deleted` for large datasets.
+  * Django 3.0 compatibility.
+  * Drops Django <= 1.11 compatibility.
+  * Fixed errors in manageement commands when
+`django.contrib.admin` is not in `INSTALLED_APPS`.
+
+---

Old:

  django-reversion-3.0.4.tar.gz

New:

  django-reversion-3.0.5.tar.gz



Other differences:
--
++ python-django-reversion.spec ++
--- /var/tmp/diff_new_pack.l0sUko/_old  2019-12-07 15:07:32.119862568 +0100
+++ /var/tmp/diff_new_pack.l0sUko/_new  2019-12-07 15:07:32.123862568 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-django-reversion
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,18 +17,21 @@
 
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
+%define skip_python2 1
 Name:   python-django-reversion
-Version:3.0.4
+Version:3.0.5
 Release:0
 Summary:A Django extension that provides version control for model 
instances
 License:BSD-3-Clause
-Group:  Development/Languages/Python
 URL:http://github.com/etianen/django-reversion
 Source: 
https://files.pythonhosted.org/packages/source/d/django-reversion/django-reversion-%{version}.tar.gz
+BuildRequires:  %{python_module Django > 1.11}
+BuildRequires:  %{python_module mysqlclient}
+BuildRequires:  %{python_module psycopg2}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
-Requires:   python-Django
+Requires:   python-Django > 1.11
 Obsoletes:  python-django-reversion-doc
 Obsoletes:  python-django-reversion-lang
 BuildArch:  noarch
@@ -52,6 +55,10 @@
 %python_install
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
+%check
+# Tests need running PGSQL and MYSQL
+#%%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} $python 
tests/manage.py test tests
+
 %files %{python_files}
 %doc README.rst CHANGELOG.rst
 %license LICENSE

++ django-reversion-3.0.4.tar.gz -> django-reversion-3.0.5.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/django-reversion-3.0.4/CHANGELOG.rst 
new/django-reversion-3.0.5/CHANGELOG.rst
--- old/django-reversion-3.0.4/CHANGELOG.rst2019-05-22 10:39:00.0 
+0200
+++ new/django-reversion-3.0.5/CHANGELOG.rst2019-12-02 19:23:48.0 
+0100
@@ -3,6 +3,14 @@
 django-reversion changelog
 ==
 
+3.0.5 - 02/12/2019
+
+- Improved performance of `get_deleted` for large datasets (@jeremy-engel).
+- Django 3.0 compatibility (@claudep).
+- Drops Django <= 1.11 compatibility (@claudep).
+- Fixed errors in manageement commands when `django.contrib.admin` is not in 
`INSTALLED_APPS` (@irtimir).
+
+
 3.0.4 - 22/05/2019
 --
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/django-reversion-3.0.4/PKG-INFO 
new/django-reversion-3.0.5/PKG-INFO
--- old/django-reversion-3.0.4/PKG-INFO 2019-05-22 10:39:50.0 +0200
+++ new/django-reversion-3.0.5/PKG-INFO 2019-12-02 19:24:32.0 +0100
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: django-reversion
-Version: 3.0.4
+Version: 3.0.5
 Summary: An extension to the Django web framework that provides version 
control for model instances.
 Home-page: http://github.com/etianen/django-reversion
 Author: Dave Hall
@@ -14,8 +14,7 @@
 Classifier: License :: OSI Approved :: BSD License
 Classifier: Operating System :: OS 

commit python-django-reversion for openSUSE:Factory

2019-05-22 Thread root
Hello community,

here is the log from the commit of package python-django-reversion for 
openSUSE:Factory checked in at 2019-05-22 15:41:21

Comparing /work/SRC/openSUSE:Factory/python-django-reversion (Old)
 and  /work/SRC/openSUSE:Factory/.python-django-reversion.new.5148 (New)


Package is "python-django-reversion"

Wed May 22 15:41:21 2019 rev:10 rq:704709 version:3.0.4

Changes:

--- 
/work/SRC/openSUSE:Factory/python-django-reversion/python-django-reversion.changes
  2019-05-05 21:22:12.581406368 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-django-reversion.new.5148/python-django-reversion.changes
2019-05-22 15:42:08.482427028 +0200
@@ -1,0 +2,7 @@
+Wed May 22 10:51:51 UTC 2019 - Tomáš Chvátal 
+
+- Update to 3.0.4:
+  * Various dependency fixes
+- Upstreamed -Remove-django.contrib.admin-dependency.patch
+
+---

Old:

  -Remove-django.contrib.admin-dependency.patch
  django-reversion-3.0.3.tar.gz

New:

  django-reversion-3.0.4.tar.gz



Other differences:
--
++ python-django-reversion.spec ++
--- /var/tmp/diff_new_pack.YDYylW/_old  2019-05-22 15:42:09.706427022 +0200
+++ /var/tmp/diff_new_pack.YDYylW/_new  2019-05-22 15:42:09.714427022 +0200
@@ -18,15 +18,13 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-django-reversion
-Version:3.0.3
+Version:3.0.4
 Release:0
 Summary:A Django extension that provides version control for model 
instances
 License:BSD-3-Clause
 Group:  Development/Languages/Python
 URL:http://github.com/etianen/django-reversion
 Source: 
https://files.pythonhosted.org/packages/source/d/django-reversion/django-reversion-%{version}.tar.gz
-# PATCH-FIX-UPSTREAM - -Remove-django.contrib.admin-dependency.patch -- 
https://github.com/etianen/django-reversion/issues/744
-Patch0: -Remove-django.contrib.admin-dependency.patch
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
@@ -46,7 +44,6 @@
 
 %prep
 %setup -q -n django-reversion-%{version}
-%autopatch -p1
 
 %build
 %python_build

++ django-reversion-3.0.3.tar.gz -> django-reversion-3.0.4.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/django-reversion-3.0.3/CHANGELOG.rst 
new/django-reversion-3.0.4/CHANGELOG.rst
--- old/django-reversion-3.0.3/CHANGELOG.rst2019-01-24 11:20:24.0 
+0100
+++ new/django-reversion-3.0.4/CHANGELOG.rst2019-05-22 10:39:00.0 
+0200
@@ -3,6 +3,14 @@
 django-reversion changelog
 ==
 
+3.0.4 - 22/05/2019
+--
+
+- Remove `django.contrib.admin` dependency from django-reversion (Aitor Ruano).
+- README refactor (@rhenter).
+- Testing against Django 2.2 (@claudep).
+
+
 3.0.3 - 24/01/2019
 --
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/django-reversion-3.0.3/PKG-INFO 
new/django-reversion-3.0.4/PKG-INFO
--- old/django-reversion-3.0.3/PKG-INFO 2019-01-24 11:21:11.0 +0100
+++ new/django-reversion-3.0.4/PKG-INFO 2019-05-22 10:39:50.0 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: django-reversion
-Version: 3.0.3
+Version: 3.0.4
 Summary: An extension to the Django web framework that provides version 
control for model instances.
 Home-page: http://github.com/etianen/django-reversion
 Author: Dave Hall
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/django-reversion-3.0.3/README.rst 
new/django-reversion-3.0.4/README.rst
--- old/django-reversion-3.0.3/README.rst   2019-01-24 11:20:24.0 
+0100
+++ new/django-reversion-3.0.4/README.rst   2019-05-22 10:39:00.0 
+0200
@@ -1,22 +1,31 @@
+
 django-reversion
 
 
+|PyPI latest| |PyPI Version| |PyPI License| |TravisCI| |Docs|
+
+
 **django-reversion** is an extension to the Django web framework that provides
 version control for model instances.
 
+Requirements
+
+
+- Python 2.7 or later
+- Django 1.11 or later
+
 Features
-
+
 
 -  Roll back to any point in a model instance's history.
 -  Recover deleted model instances.
 -  Simple admin integration.
 
-
 Documentation
--
+=
+
+Check out the latest ``django-reversion`` documentation at `Getting Started 
`_
 
-Please read the `Getting Started `_
-guide for more information.
 
 Issue tracking and source code can be found at the
 `main project website 

commit python-django-reversion for openSUSE:Factory

2019-05-05 Thread root
Hello community,

here is the log from the commit of package python-django-reversion for 
openSUSE:Factory checked in at 2019-05-05 21:22:11

Comparing /work/SRC/openSUSE:Factory/python-django-reversion (Old)
 and  /work/SRC/openSUSE:Factory/.python-django-reversion.new.5148 (New)


Package is "python-django-reversion"

Sun May  5 21:22:11 2019 rev:9 rq:700613 version:3.0.3

Changes:

--- 
/work/SRC/openSUSE:Factory/python-django-reversion/python-django-reversion.changes
  2019-04-30 13:01:19.814157133 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-django-reversion.new.5148/python-django-reversion.changes
2019-05-05 21:22:12.581406368 +0200
@@ -1,0 +2,6 @@
+Sat May  4 15:55:42 UTC 2019 - Martin Herkt <9+suse@cirno.systems>
+
+- Add -Remove-django.contrib.admin-dependency.patch
+  https://github.com/etianen/django-reversion/issues/744
+
+---

New:

  -Remove-django.contrib.admin-dependency.patch



Other differences:
--
++ python-django-reversion.spec ++
--- /var/tmp/diff_new_pack.Q7rE1I/_old  2019-05-05 21:22:13.025407577 +0200
+++ /var/tmp/diff_new_pack.Q7rE1I/_new  2019-05-05 21:22:13.025407577 +0200
@@ -25,6 +25,8 @@
 Group:  Development/Languages/Python
 URL:http://github.com/etianen/django-reversion
 Source: 
https://files.pythonhosted.org/packages/source/d/django-reversion/django-reversion-%{version}.tar.gz
+# PATCH-FIX-UPSTREAM - -Remove-django.contrib.admin-dependency.patch -- 
https://github.com/etianen/django-reversion/issues/744
+Patch0: -Remove-django.contrib.admin-dependency.patch
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
@@ -44,6 +46,7 @@
 
 %prep
 %setup -q -n django-reversion-%{version}
+%autopatch -p1
 
 %build
 %python_build

++ -Remove-django.contrib.admin-dependency.patch ++
>From be5b03e937eef547f80be1cf84a125df1655f53b Mon Sep 17 00:00:00 2001
From: Aitor Ruano 
Date: Tue, 2 Apr 2019 13:08:28 +0200
Subject: [PATCH] Remove django.contrib.admin dependency from django-reversion

---
 reversion/models.py | 25 +
 1 file changed, 17 insertions(+), 8 deletions(-)

diff --git a/reversion/models.py b/reversion/models.py
index de91e3cc..93c3a9f7 100644
--- a/reversion/models.py
+++ b/reversion/models.py
@@ -1,21 +1,26 @@
 from __future__ import unicode_literals
+
 from collections import defaultdict
 from itertools import chain, groupby
+
+from django.apps import apps
+from django.conf import settings
 from django.contrib.contenttypes.fields import GenericForeignKey
 from django.contrib.contenttypes.models import ContentType
-from django.conf import settings
-from django.contrib.admin.models import LogEntry
 from django.core import serializers
-from django.core.serializers.base import DeserializationError
 from django.core.exceptions import ObjectDoesNotExist
-from django.db import models, IntegrityError, transaction, router, connections
+from django.core.serializers.base import DeserializationError
+from django.db import IntegrityError, connections, models, router, transaction
 from django.db.models.deletion import Collector
 from django.db.models.expressions import RawSQL
-from django.utils.functional import cached_property
-from django.utils.translation import ugettext_lazy as _, ugettext
 from django.utils.encoding import force_text, python_2_unicode_compatible
+from django.utils.functional import cached_property
+from django.utils.translation import ugettext
+from django.utils.translation import ugettext_lazy as _
+
 from reversion.errors import RevertError
-from reversion.revisions import _get_options, _get_content_type, 
_follow_relations_recursive
+from reversion.revisions import (_follow_relations_recursive,
+ _get_content_type, _get_options)
 
 
 def _safe_revert(versions):
@@ -61,7 +66,11 @@ class Revision(models.Model):
 )
 
 def get_comment(self):
-return LogEntry(change_message=self.comment).get_change_message()
+try:
+LogEntry = apps.get_model('admin.LogEntry')
+return LogEntry(change_message=self.comment).get_change_message()
+except LookupError:
+return self.comment
 
 def revert(self, delete=False):
 # Group the models by the database of the serialized model.



commit python-django-reversion for openSUSE:Factory

2019-04-30 Thread root
Hello community,

here is the log from the commit of package python-django-reversion for 
openSUSE:Factory checked in at 2019-04-30 13:01:16

Comparing /work/SRC/openSUSE:Factory/python-django-reversion (Old)
 and  /work/SRC/openSUSE:Factory/.python-django-reversion.new.5536 (New)


Package is "python-django-reversion"

Tue Apr 30 13:01:16 2019 rev:8 rq:697479 version:3.0.3

Changes:

--- 
/work/SRC/openSUSE:Factory/python-django-reversion/python-django-reversion.changes
  2019-03-12 09:55:17.951515522 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-django-reversion.new.5536/python-django-reversion.changes
2019-04-30 13:01:19.814157133 +0200
@@ -1,0 +2,7 @@
+Wed Apr 24 12:34:53 UTC 2019 - Tomáš Chvátal 
+
+- Do not mess around with doc/lang subpackages, the docs are
+  all online and the lang split actually breaks as the lang part
+  is hard-required for the python to work in most cases
+
+---



Other differences:
--
++ python-django-reversion.spec ++
--- /var/tmp/diff_new_pack.URPt8l/_old  2019-04-30 13:01:20.642156886 +0200
+++ /var/tmp/diff_new_pack.URPt8l/_new  2019-04-30 13:01:20.646156885 +0200
@@ -28,34 +28,12 @@
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
-# SECTION documentation requirements
-BuildRequires:  %{python_module Django}
-BuildRequires:  %{python_module Sphinx}
-# /SECTION
 Requires:   python-Django
-Recommends: %{name}-lang = %{version}
+Obsoletes:  python-django-reversion-doc
+Obsoletes:  python-django-reversion-lang
 BuildArch:  noarch
 %python_subpackages
 
-%package lang
-Summary:Translations for package %{name}
-Group:  System/Localization
-Requires:   %{name} = %{version}
-Provides:   %{name}-lang-all = %{version}
-Supplements:%{name}
-BuildArch:  noarch
-
-%package doc
-Summary:Documentation for %{name}
-Group:  Documentation/HTML
-Requires:   %{name} = %{version}
-
-%description doc
-This package contains documentation files for %{name}.
-
-%description lang
-Provides translations for the "%{name}" package.
-
 %description
 Django-reversion is an extension to the Django web framework that provides
 version control for model instances.
@@ -69,37 +47,14 @@
 
 %build
 %python_build
-if [ ! -d html ]; then
-%python_exec setup.py develop --user
-sphinx-build docs html
-rm -r html/.buildinfo html/.doctrees
-fi
 
 %install
 %python_install
-%find_lang django
-%python_expand grep -F "%{$python_sitelib}" django.lang > 
django_%{$python_bin_suffix}.lang
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
 %files %{python_files}
 %doc README.rst CHANGELOG.rst
 %license LICENSE
 %{python_sitelib}/*
-%exclude %{python_sitelib}/reversion/locale
-
-%files -n %{name}-doc
-%doc html
-
-%if %have_python2 && ! 0%{?skip_python2}
-%files -n %{python2_prefix}-django-reversion-lang -f 
django_%{python2_bin_suffix}.lang
-%license LICENSE
-%{python2_sitelib}/reversion/locale
-%endif
-
-%if %have_python3 && ! 0%{?skip_python3}
-%files -n %{python3_prefix}-django-reversion-lang -f 
django_%{python3_bin_suffix}.lang
-%license LICENSE
-%{python3_sitelib}/reversion/locale
-%endif
 
 %changelog




commit python-django-reversion for openSUSE:Factory

2019-03-12 Thread root
Hello community,

here is the log from the commit of package python-django-reversion for 
openSUSE:Factory checked in at 2019-03-12 09:55:13

Comparing /work/SRC/openSUSE:Factory/python-django-reversion (Old)
 and  /work/SRC/openSUSE:Factory/.python-django-reversion.new.28833 (New)


Package is "python-django-reversion"

Tue Mar 12 09:55:13 2019 rev:7 rq:683913 version:3.0.3

Changes:

--- 
/work/SRC/openSUSE:Factory/python-django-reversion/python-django-reversion.changes
  2019-01-25 22:45:03.235103306 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-django-reversion.new.28833/python-django-reversion.changes
   2019-03-12 09:55:17.951515522 +0100
@@ -1,0 +2,5 @@
+Mon Mar 11 14:21:35 UTC 2019 - Tomáš Chvátal 
+
+- Fix typo python2->python3
+
+---



Other differences:
--
++ python-django-reversion.spec ++
--- /var/tmp/diff_new_pack.0iKd8R/_old  2019-03-12 09:55:18.655515382 +0100
+++ /var/tmp/diff_new_pack.0iKd8R/_new  2019-03-12 09:55:18.659515381 +0100
@@ -96,7 +96,7 @@
 %{python2_sitelib}/reversion/locale
 %endif
 
-%if %have_python2 && ! 0%{?skip_python3}
+%if %have_python3 && ! 0%{?skip_python3}
 %files -n %{python3_prefix}-django-reversion-lang -f 
django_%{python3_bin_suffix}.lang
 %license LICENSE
 %{python3_sitelib}/reversion/locale




commit python-django-reversion for openSUSE:Factory

2019-01-25 Thread root
Hello community,

here is the log from the commit of package python-django-reversion for 
openSUSE:Factory checked in at 2019-01-25 22:45:02

Comparing /work/SRC/openSUSE:Factory/python-django-reversion (Old)
 and  /work/SRC/openSUSE:Factory/.python-django-reversion.new.28833 (New)


Package is "python-django-reversion"

Fri Jan 25 22:45:02 2019 rev:6 rq:668406 version:3.0.3

Changes:

--- 
/work/SRC/openSUSE:Factory/python-django-reversion/python-django-reversion.changes
  2018-11-08 09:49:26.113032991 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-django-reversion.new.28833/python-django-reversion.changes
   2019-01-25 22:45:03.235103306 +0100
@@ -1,0 +2,8 @@
+Thu Jan 24 16:37:04 UTC 2019 - Martin Herkt <9+suse@cirno.systems>
+
+- Update to version 3.0.3:
+  * Improved performance of many reversion database queries using
+`EXISTS` subquery.
+  * Added support for Django 2.1 `view` permission.
+
+---

Old:

  django-reversion-3.0.2.tar.gz

New:

  django-reversion-3.0.3.tar.gz



Other differences:
--
++ python-django-reversion.spec ++
--- /var/tmp/diff_new_pack.KIAGcM/_old  2019-01-25 22:45:03.955102418 +0100
+++ /var/tmp/diff_new_pack.KIAGcM/_new  2019-01-25 22:45:03.959102413 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-django-reversion
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 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
@@ -18,7 +18,7 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-django-reversion
-Version:3.0.2
+Version:3.0.3
 Release:0
 Summary:A Django extension that provides version control for model 
instances
 License:BSD-3-Clause

++ django-reversion-3.0.2.tar.gz -> django-reversion-3.0.3.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/django-reversion-3.0.2/CHANGELOG.rst 
new/django-reversion-3.0.3/CHANGELOG.rst
--- old/django-reversion-3.0.2/CHANGELOG.rst2018-11-05 10:52:13.0 
+0100
+++ new/django-reversion-3.0.3/CHANGELOG.rst2019-01-24 11:20:24.0 
+0100
@@ -3,6 +3,13 @@
 django-reversion changelog
 ==
 
+3.0.3 - 24/01/2019
+--
+
+- Improved performance of many reversion database queries using `EXISTS` 
subquery (@MRigal).
+- Added support for Django 2.1 `view` permission (@ofw).
+
+
 3.0.2 - 05/11/2018
 --
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/django-reversion-3.0.2/PKG-INFO 
new/django-reversion-3.0.3/PKG-INFO
--- old/django-reversion-3.0.2/PKG-INFO 2018-11-05 10:53:25.0 +0100
+++ new/django-reversion-3.0.3/PKG-INFO 2019-01-24 11:21:11.0 +0100
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: django-reversion
-Version: 3.0.2
+Version: 3.0.3
 Summary: An extension to the Django web framework that provides version 
control for model instances.
 Home-page: http://github.com/etianen/django-reversion
 Author: Dave Hall
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/django-reversion-3.0.2/django_reversion.egg-info/PKG-INFO 
new/django-reversion-3.0.3/django_reversion.egg-info/PKG-INFO
--- old/django-reversion-3.0.2/django_reversion.egg-info/PKG-INFO   
2018-11-05 10:53:25.0 +0100
+++ new/django-reversion-3.0.3/django_reversion.egg-info/PKG-INFO   
2019-01-24 11:21:11.0 +0100
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: django-reversion
-Version: 3.0.2
+Version: 3.0.3
 Summary: An extension to the Django web framework that provides version 
control for model instances.
 Home-page: http://github.com/etianen/django-reversion
 Author: Dave Hall
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/django-reversion-3.0.2/reversion/__init__.py 
new/django-reversion-3.0.3/reversion/__init__.py
--- old/django-reversion-3.0.2/reversion/__init__.py2018-11-05 
10:52:13.0 +0100
+++ new/django-reversion-3.0.3/reversion/__init__.py2019-01-24 
11:20:24.0 +0100
@@ -36,4 +36,4 @@
 get_registered_models,
 )
 
-__version__ = VERSION = (3, 0, 2)
+__version__ = VERSION = (3, 0, 3)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/django-reversion-3.0.2/reversion/admin.py 
new/django-reversion-3.0.3/reversion/admin.py
--- old/django-reversion-3.0.2/reversion/admin.py   2018-11-05 
10:52:13.0 

commit python-django-reversion for openSUSE:Factory

2018-11-08 Thread root
Hello community,

here is the log from the commit of package python-django-reversion for 
openSUSE:Factory checked in at 2018-11-08 09:49:21

Comparing /work/SRC/openSUSE:Factory/python-django-reversion (Old)
 and  /work/SRC/openSUSE:Factory/.python-django-reversion.new (New)


Package is "python-django-reversion"

Thu Nov  8 09:49:21 2018 rev:5 rq:646707 version:3.0.2

Changes:

--- 
/work/SRC/openSUSE:Factory/python-django-reversion/python-django-reversion.changes
  2018-10-31 13:20:00.463137946 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-django-reversion.new/python-django-reversion.changes
 2018-11-08 09:49:26.113032991 +0100
@@ -1,0 +2,7 @@
+Tue Nov  6 17:12:16 UTC 2018 - Martin Herkt <9+suse@cirno.systems>
+
+- Update to version 3.0.2:
+  * Removed squashed migrations, as they subtly messed up the
+Django migrations framework
+
+---

Old:

  django-reversion-3.0.1.tar.gz

New:

  django-reversion-3.0.2.tar.gz



Other differences:
--
++ python-django-reversion.spec ++
--- /var/tmp/diff_new_pack.1cq9r5/_old  2018-11-08 09:49:27.281031613 +0100
+++ /var/tmp/diff_new_pack.1cq9r5/_new  2018-11-08 09:49:27.285031608 +0100
@@ -18,7 +18,7 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-django-reversion
-Version:3.0.1
+Version:3.0.2
 Release:0
 Summary:A Django extension that provides version control for model 
instances
 License:BSD-3-Clause

++ django-reversion-3.0.1.tar.gz -> django-reversion-3.0.2.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/django-reversion-3.0.1/CHANGELOG.rst 
new/django-reversion-3.0.2/CHANGELOG.rst
--- old/django-reversion-3.0.1/CHANGELOG.rst2018-10-23 16:29:55.0 
+0200
+++ new/django-reversion-3.0.2/CHANGELOG.rst2018-11-05 10:52:13.0 
+0100
@@ -3,6 +3,12 @@
 django-reversion changelog
 ==
 
+3.0.2 - 05/11/2018
+--
+
+- Removed squashed migrations, as they subtly messed up the Django migrations 
framework (@etianen).
+
+
 3.0.1 - 23/10/2018
 --
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/django-reversion-3.0.1/PKG-INFO 
new/django-reversion-3.0.2/PKG-INFO
--- old/django-reversion-3.0.1/PKG-INFO 2018-10-23 16:31:16.0 +0200
+++ new/django-reversion-3.0.2/PKG-INFO 2018-11-05 10:53:25.0 +0100
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: django-reversion
-Version: 3.0.1
+Version: 3.0.2
 Summary: An extension to the Django web framework that provides version 
control for model instances.
 Home-page: http://github.com/etianen/django-reversion
 Author: Dave Hall
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/django-reversion-3.0.1/django_reversion.egg-info/PKG-INFO 
new/django-reversion-3.0.2/django_reversion.egg-info/PKG-INFO
--- old/django-reversion-3.0.1/django_reversion.egg-info/PKG-INFO   
2018-10-23 16:31:16.0 +0200
+++ new/django-reversion-3.0.2/django_reversion.egg-info/PKG-INFO   
2018-11-05 10:53:25.0 +0100
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: django-reversion
-Version: 3.0.1
+Version: 3.0.2
 Summary: An extension to the Django web framework that provides version 
control for model instances.
 Home-page: http://github.com/etianen/django-reversion
 Author: Dave Hall
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/django-reversion-3.0.1/django_reversion.egg-info/SOURCES.txt 
new/django-reversion-3.0.2/django_reversion.egg-info/SOURCES.txt
--- old/django-reversion-3.0.1/django_reversion.egg-info/SOURCES.txt
2018-10-23 16:31:16.0 +0200
+++ new/django-reversion-3.0.2/django_reversion.egg-info/SOURCES.txt
2018-11-05 10:53:25.0 +0100
@@ -83,11 +83,7 @@
 reversion/management/commands/__init__.py
 reversion/management/commands/createinitialrevisions.py
 reversion/management/commands/deleterevisions.py
-reversion/migrations/0001_initial.py
 reversion/migrations/0001_squashed_0004_auto_20160611_1202.py
-reversion/migrations/0002_auto_20141216_1509.py
-reversion/migrations/0003_auto_20160601_1600.py
-reversion/migrations/0004_auto_20160611_1202.py
 reversion/migrations/__init__.py
 reversion/templates/reversion/change_list.html
 reversion/templates/reversion/object_history.html
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/django-reversion-3.0.1/reversion/__init__.py 
new/django-reversion-3.0.2/reversion/__init__.py
--- old/django-reversion-3.0.1/reversion/__init__.py 

commit python-django-reversion for openSUSE:Factory

2018-10-31 Thread root
Hello community,

here is the log from the commit of package python-django-reversion for 
openSUSE:Factory checked in at 2018-10-31 13:15:25

Comparing /work/SRC/openSUSE:Factory/python-django-reversion (Old)
 and  /work/SRC/openSUSE:Factory/.python-django-reversion.new (New)


Package is "python-django-reversion"

Wed Oct 31 13:15:25 2018 rev:4 rq:645378 version:3.0.1

Changes:

--- 
/work/SRC/openSUSE:Factory/python-django-reversion/python-django-reversion.changes
  2018-07-21 10:25:26.614954237 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-django-reversion.new/python-django-reversion.changes
 2018-10-31 13:20:00.463137946 +0100
@@ -1,0 +2,9 @@
+Mon Oct 29 22:26:50 UTC 2018 - Martin Herkt <9+suse@cirno.systems>
+
+- Update to version 3.0.1:
+  * Added squashed migrations back in to allow older installations
+to upgrade
+  * Fixed TypeError exception when accessing m2m_data attribute
+from a field that points to Django’s User model
+
+---

Old:

  django-reversion-3.0.0.tar.gz

New:

  django-reversion-3.0.1.tar.gz



Other differences:
--
++ python-django-reversion.spec ++
--- /var/tmp/diff_new_pack.sxbcRl/_old  2018-10-31 13:20:02.987135572 +0100
+++ /var/tmp/diff_new_pack.sxbcRl/_new  2018-10-31 13:20:03.003135558 +0100
@@ -12,13 +12,13 @@
 # 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-reversion
-Version:3.0.0
+Version:3.0.1
 Release:0
 Summary:A Django extension that provides version control for model 
instances
 License:BSD-3-Clause

++ django-reversion-3.0.0.tar.gz -> django-reversion-3.0.1.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/django-reversion-3.0.0/CHANGELOG.rst 
new/django-reversion-3.0.1/CHANGELOG.rst
--- old/django-reversion-3.0.0/CHANGELOG.rst2018-07-19 13:22:54.0 
+0200
+++ new/django-reversion-3.0.1/CHANGELOG.rst2018-10-23 16:29:55.0 
+0200
@@ -3,6 +3,14 @@
 django-reversion changelog
 ==
 
+3.0.1 - 23/10/2018
+--
+
+- Added squashed migrations back in to allow older installations to upgrade 
(Christopher Thorne).
+- Fixed TypeError exception when accessing m2m_data attribute from a field 
that points to Django’s User model
+  (@denisroldan).
+
+
 3.0.0 - 19/07/2018
 --
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/django-reversion-3.0.0/PKG-INFO 
new/django-reversion-3.0.1/PKG-INFO
--- old/django-reversion-3.0.0/PKG-INFO 2018-07-19 13:23:52.0 +0200
+++ new/django-reversion-3.0.1/PKG-INFO 2018-10-23 16:31:16.0 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: django-reversion
-Version: 3.0.0
+Version: 3.0.1
 Summary: An extension to the Django web framework that provides version 
control for model instances.
 Home-page: http://github.com/etianen/django-reversion
 Author: Dave Hall
@@ -17,4 +17,5 @@
 Classifier: Programming Language :: Python :: 2.7
 Classifier: Programming Language :: Python :: 3.5
 Classifier: Programming Language :: Python :: 3.6
+Classifier: Programming Language :: Python :: 3.7
 Classifier: Framework :: Django
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/django-reversion-3.0.0/django_reversion.egg-info/PKG-INFO 
new/django-reversion-3.0.1/django_reversion.egg-info/PKG-INFO
--- old/django-reversion-3.0.0/django_reversion.egg-info/PKG-INFO   
2018-07-19 13:23:52.0 +0200
+++ new/django-reversion-3.0.1/django_reversion.egg-info/PKG-INFO   
2018-10-23 16:31:16.0 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: django-reversion
-Version: 3.0.0
+Version: 3.0.1
 Summary: An extension to the Django web framework that provides version 
control for model instances.
 Home-page: http://github.com/etianen/django-reversion
 Author: Dave Hall
@@ -17,4 +17,5 @@
 Classifier: Programming Language :: Python :: 2.7
 Classifier: Programming Language :: Python :: 3.5
 Classifier: Programming Language :: Python :: 3.6
+Classifier: Programming Language :: Python :: 3.7
 Classifier: Framework :: Django
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/django-reversion-3.0.0/django_reversion.egg-info/SOURCES.txt 
new/django-reversion-3.0.1/django_reversion.egg-info/SOURCES.txt
--- 

commit python-django-reversion for openSUSE:Factory

2018-07-21 Thread root
Hello community,

here is the log from the commit of package python-django-reversion for 
openSUSE:Factory checked in at 2018-07-21 10:25:26

Comparing /work/SRC/openSUSE:Factory/python-django-reversion (Old)
 and  /work/SRC/openSUSE:Factory/.python-django-reversion.new (New)


Package is "python-django-reversion"

Sat Jul 21 10:25:26 2018 rev:3 rq:624238 version:3.0.0

Changes:

--- 
/work/SRC/openSUSE:Factory/python-django-reversion/python-django-reversion.changes
  2018-05-30 12:37:41.519634302 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-django-reversion.new/python-django-reversion.changes
 2018-07-21 10:25:26.614954237 +0200
@@ -1,0 +2,20 @@
+Fri Jul 20 10:00:17 UTC 2018 - 9+suse@cirno.systems
+
+- Update to version 3.0.0:
+  * Breaking: 'Revision.commment' now contains the raw JSON change
+message generated by django admin, rather than a string.
+Accesing 'Revision.comment' directly is no longer recommended.
+Instead, use 'Revision.get_comment()'.
+  * Breaking: django-reversion now uses '_base_manager' to
+calculate deleted models, not '_default_manager'. This change
+will only affect models that perform default filtering in their
+'_default_manager'
+  * Added 'request_creates_revision' hook to 'RevisionMiddleware'
+and 'views.create_revision'.
+  * Added 'revision_request_creates_revision' hook to
+'views.RevisionMixinView'.
+  * Added '--meta' flag to './manage.py createrevisions'
+  * Fixed bug when reverting deleted nested inlines
+  * Added tests for django 2.1
+
+---

Old:

  django-reversion-2.0.13.tar.gz

New:

  django-reversion-3.0.0.tar.gz



Other differences:
--
++ python-django-reversion.spec ++
--- /var/tmp/diff_new_pack.84DZvh/_old  2018-07-21 10:25:27.030954136 +0200
+++ /var/tmp/diff_new_pack.84DZvh/_new  2018-07-21 10:25:27.030954136 +0200
@@ -18,7 +18,7 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-django-reversion
-Version:2.0.13
+Version:3.0.0
 Release:0
 Summary:A Django extension that provides version control for model 
instances
 License:BSD-3-Clause

++ django-reversion-2.0.13.tar.gz -> django-reversion-3.0.0.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/django-reversion-2.0.13/CHANGELOG.rst 
new/django-reversion-3.0.0/CHANGELOG.rst
--- old/django-reversion-2.0.13/CHANGELOG.rst   2018-01-23 11:36:05.0 
+0100
+++ new/django-reversion-3.0.0/CHANGELOG.rst2018-07-19 13:22:54.0 
+0200
@@ -3,7 +3,22 @@
 django-reversion changelog
 ==
 
-2.0.13 - 23/01/2017
+3.0.0 - 19/07/2018
+--
+
+- **Breaking:** ``Revision.commment`` now contains the raw JSON change message 
generated by django admin, rather than
+  a string. Accesing ``Revision.comment`` directly is no longer recommended. 
Instead, use ``Revision.get_comment()``.
+  (@RamezIssac).
+- **BREAKING:** django-reversion now uses ``_base_manager`` to calculate 
deleted models, not ``_default_manager``. This
+  change will only affect models that perform default filtering in their 
``_default_manager`` (@ivissani).
+- Added ``request_creates_revision`` hook to ``RevisionMiddleware`` and 
``views.create_revision``. (@kklingenberg).
+- Added ``revision_request_creates_revision`` hook to 
``views.RevisionMixinView``. (@kklingenberg).
+- Added ``--meta`` flag to ``./manage.py createrevisions`` (@massover).
+- Fixed bug when reverting deleted nested inlines (Primož Kariž).
+- Added tests for django 2.1 (@claudep).
+
+
+2.0.13 - 23/01/2018
 ---
 
 - Improve performance of ``get_deleted()`` for Oracle (@passuf).
@@ -161,7 +176,7 @@
 class YourVersionAdmin(VersionAdmin):
 
 def reversion_register(self, model, **options):
-options["ignore_duplicate_revisions"] = True
+options["ignore_duplicates"] = True
 super(YourVersionAdmin, self).reversion_register(model, 
**options)
 
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/django-reversion-2.0.13/PKG-INFO 
new/django-reversion-3.0.0/PKG-INFO
--- old/django-reversion-2.0.13/PKG-INFO2018-01-23 11:37:21.0 
+0100
+++ new/django-reversion-3.0.0/PKG-INFO 2018-07-19 13:23:52.0 +0200
@@ -1,12 +1,11 @@
 Metadata-Version: 1.1
 Name: django-reversion
-Version: 2.0.13
+Version: 3.0.0
 Summary: An extension to the Django web framework that provides version 
control for model instances.
 Home-page: http://github.com/etianen/django-reversion
 Author: Dave Hall
 Author-email: 

commit python-django-reversion for openSUSE:Factory

2018-05-30 Thread root
Hello community,

here is the log from the commit of package python-django-reversion for 
openSUSE:Factory checked in at 2018-05-30 12:23:04

Comparing /work/SRC/openSUSE:Factory/python-django-reversion (Old)
 and  /work/SRC/openSUSE:Factory/.python-django-reversion.new (New)


Package is "python-django-reversion"

Wed May 30 12:23:04 2018 rev:2 rq:612645 version:2.0.13

Changes:

--- 
/work/SRC/openSUSE:Factory/python-django-reversion/python-django-reversion.changes
  2015-04-25 11:23:04.0 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-django-reversion.new/python-django-reversion.changes
 2018-05-30 12:37:41.519634302 +0200
@@ -1,0 +2,11 @@
+Mon May 28 03:09:07 UTC 2018 - 9+suse@cirno.systems
+
+- Rewrite spec file to current conventions
+  * Build documentation
+  * lang packages
+  * Not running tests as these require configuring MySQL and PostgreSQL
+- Update to version 2.0.13:
+  * Years worth of changes, including a breaking major version bump.
+See CHANGELOG.rst in the package documentation path for details.
+
+---

Old:

  django-reversion-1.8.6.tar.gz

New:

  django-reversion-2.0.13.tar.gz



Other differences:
--
++ python-django-reversion.spec ++
--- /var/tmp/diff_new_pack.Kcriic/_old  2018-05-30 12:37:42.235611689 +0200
+++ /var/tmp/diff_new_pack.Kcriic/_new  2018-05-30 12:37:42.239611563 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-django-reversion
 #
-# 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
@@ -16,47 +16,90 @@
 #
 
 
+%{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-django-reversion
-Version:1.8.6
+Version:2.0.13
 Release:0
-Url:http://github.com/etianen/django-reversion
-Summary:An app that provides comprehensive version control facilities 
for Django
+Summary:A Django extension that provides version control for model 
instances
 License:BSD-3-Clause
 Group:  Development/Languages/Python
-Source: 
https://pypi.python.org/packages/source/d/django-reversion/django-reversion-%{version}.tar.gz
-BuildRoot:  %{_tmppath}/%{name}-%{version}-build
-BuildRequires:  python-devel
-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
+URL:http://github.com/etianen/django-reversion
+Source: 
https://files.pythonhosted.org/packages/source/d/django-reversion/django-reversion-%{version}.tar.gz
+BuildRequires:  %{python_module setuptools}
+BuildRequires:  fdupes
+BuildRequires:  python-rpm-macros
+# SECTION documentation requirements
+BuildRequires:  %{python_module Django}
+BuildRequires:  %{python_module Sphinx}
+# /SECTION
+Requires:   python-Django
+Recommends: %{name}-lang = %{version}
 BuildArch:  noarch
-%endif
+%python_subpackages
 
-%description
-django-reversion is an extension to the Django web framework that provides
-comprehensive version control facilities.
+%package lang
+Summary:Translations for package %{name}
+Group:  System/Localization
+Requires:   %{name} = %{version}
+Provides:   %{name}-lang-all = %{version}
+Supplements:%{name}
+BuildArch:  noarch
+
+%package doc
+Summary:Documentation for %{name}
+Group:  Documentation/HTML
+Requires:   %{name} = %{version}
 
-* Roll back to any point in a model's history - an unlimited undo facility!
-* Recover deleted models - never lose data again!
-* Admin integration for maximum usability.
-* Group related changes into revisions that can be rolled back in a single 
transaction.
-* Automatically save a new version whenever your model changes using Django's 
flexible signalling framework.
-* Automate your revision management with easy-to-use middleware.
+%description doc
+This package contains documentation files for %{name}.
+
+%description lang
+Provides translations for the "%{name}" package.
+
+%description
+Django-reversion is an extension to the Django web framework that provides
+version control for model instances.
 
+-  Roll back to any point in a model instance's history.
+-  Recover deleted model instances.
+-  Simple admin integration.
 
 %prep
 %setup -q -n django-reversion-%{version}
 
 %build
-python setup.py build
+%python_build
+if [ ! -d html ]; then
+%python_exec setup.py develop