Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/www/py-django-reversion py-django-reversion: updated t...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/2c91af201011
branches:  trunk
changeset: 433530:2c91af201011
user:      adam <adam%pkgsrc.org@localhost>
date:      Wed Jun 03 15:27:44 2020 +0000

description:
py-django-reversion: updated to 3.0.7

3.0.7:
- Removing deprecated usages of `ugettest_lazy`
- Slovenian translation

3.0.6:
- Packaging improvements
- Removing deprecated usages of `force_text`
- Documentation fixes

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`

3.0.4:
- Remove `django.contrib.admin` dependency from django-reversion.
- README refactor
- Testing against Django 2.2

3.0.3:
- Improved performance of many reversion database queries using `EXISTS` subquery
- Added support for Django 2.1 `view` permission

3.0.2:
- Removed squashed migrations, as they subtly messed up the Django migrations framework

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

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

diffstat:

 www/py-django-reversion/Makefile |   9 +++++----
 www/py-django-reversion/PLIST    |  19 +++----------------
 www/py-django-reversion/distinfo |  10 +++++-----
 3 files changed, 13 insertions(+), 25 deletions(-)

diffs (91 lines):

diff -r 4d087ec1afd0 -r 2c91af201011 www/py-django-reversion/Makefile
--- a/www/py-django-reversion/Makefile  Wed Jun 03 15:26:13 2020 +0000
+++ b/www/py-django-reversion/Makefile  Wed Jun 03 15:27:44 2020 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.23 2020/05/31 20:45:17 joerg Exp $
+# $NetBSD: Makefile,v 1.24 2020/06/03 15:27:44 adam Exp $
 
-DISTNAME=      django-reversion-2.0.13
+DISTNAME=      django-reversion-3.0.7
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    www python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=d/django-reversion/}
@@ -10,10 +10,11 @@
 COMMENT=       Version control facilities for Django
 LICENSE=       modified-bsd
 
-# django-3 removed django.utils.six
-DEPENDS+=      ${PYPKGPREFIX}-django>=1.8<3:../../www/py-django
+DEPENDS+=      ${PYPKGPREFIX}-django>=1.11:../../www/py-django
 
 USE_LANGUAGES= # none
 
+PYTHON_VERSIONS_INCOMPATIBLE=  27
+
 .include "../../lang/python/egg.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 4d087ec1afd0 -r 2c91af201011 www/py-django-reversion/PLIST
--- a/www/py-django-reversion/PLIST     Wed Jun 03 15:26:13 2020 +0000
+++ b/www/py-django-reversion/PLIST     Wed Jun 03 15:27:44 2020 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.12 2017/12/10 08:56:29 adam Exp $
+@comment $NetBSD: PLIST,v 1.13 2020/06/03 15:27:44 adam Exp $
 ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
 ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
 ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
@@ -11,9 +11,6 @@
 ${PYSITELIB}/reversion/admin.py
 ${PYSITELIB}/reversion/admin.pyc
 ${PYSITELIB}/reversion/admin.pyo
-${PYSITELIB}/reversion/compat.py
-${PYSITELIB}/reversion/compat.pyc
-${PYSITELIB}/reversion/compat.pyo
 ${PYSITELIB}/reversion/errors.py
 ${PYSITELIB}/reversion/errors.pyc
 ${PYSITELIB}/reversion/errors.pyo
@@ -47,6 +44,8 @@
 ${PYSITELIB}/reversion/locale/ru/LC_MESSAGES/django.po
 ${PYSITELIB}/reversion/locale/sk/LC_MESSAGES/django.mo
 ${PYSITELIB}/reversion/locale/sk/LC_MESSAGES/django.po
+${PYSITELIB}/reversion/locale/sl_SI/LC_MESSAGES/django.mo
+${PYSITELIB}/reversion/locale/sl_SI/LC_MESSAGES/django.po
 ${PYSITELIB}/reversion/locale/sv/LC_MESSAGES/django.mo
 ${PYSITELIB}/reversion/locale/sv/LC_MESSAGES/django.po
 ${PYSITELIB}/reversion/locale/uk/LC_MESSAGES/django.mo
@@ -70,21 +69,9 @@
 ${PYSITELIB}/reversion/middleware.py
 ${PYSITELIB}/reversion/middleware.pyc
 ${PYSITELIB}/reversion/middleware.pyo
-${PYSITELIB}/reversion/migrations/0001_initial.py
-${PYSITELIB}/reversion/migrations/0001_initial.pyc
-${PYSITELIB}/reversion/migrations/0001_initial.pyo
 ${PYSITELIB}/reversion/migrations/0001_squashed_0004_auto_20160611_1202.py
 ${PYSITELIB}/reversion/migrations/0001_squashed_0004_auto_20160611_1202.pyc
 ${PYSITELIB}/reversion/migrations/0001_squashed_0004_auto_20160611_1202.pyo
-${PYSITELIB}/reversion/migrations/0002_auto_20141216_1509.py
-${PYSITELIB}/reversion/migrations/0002_auto_20141216_1509.pyc
-${PYSITELIB}/reversion/migrations/0002_auto_20141216_1509.pyo
-${PYSITELIB}/reversion/migrations/0003_auto_20160601_1600.py
-${PYSITELIB}/reversion/migrations/0003_auto_20160601_1600.pyc
-${PYSITELIB}/reversion/migrations/0003_auto_20160601_1600.pyo
-${PYSITELIB}/reversion/migrations/0004_auto_20160611_1202.py
-${PYSITELIB}/reversion/migrations/0004_auto_20160611_1202.pyc
-${PYSITELIB}/reversion/migrations/0004_auto_20160611_1202.pyo
 ${PYSITELIB}/reversion/migrations/__init__.py
 ${PYSITELIB}/reversion/migrations/__init__.pyc
 ${PYSITELIB}/reversion/migrations/__init__.pyo
diff -r 4d087ec1afd0 -r 2c91af201011 www/py-django-reversion/distinfo
--- a/www/py-django-reversion/distinfo  Wed Jun 03 15:26:13 2020 +0000
+++ b/www/py-django-reversion/distinfo  Wed Jun 03 15:27:44 2020 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.20 2018/02/02 08:08:10 adam Exp $
+$NetBSD: distinfo,v 1.21 2020/06/03 15:27:44 adam Exp $
 
-SHA1 (django-reversion-2.0.13.tar.gz) = 6aeff1f2da50d8208739286567e5b9424a65302f
-RMD160 (django-reversion-2.0.13.tar.gz) = 393b732ef2fb6a33b1aee6c6faf864f0b091ab37
-SHA512 (django-reversion-2.0.13.tar.gz) = 77316c54404c2f4712f967ac8a0d6cc55c365dc435fbc1bd0ce39fad92dee8386c7cb93411e050ae06fdfbde56aae9752e0c5e76bd680042d61e696b9fa2ff2c
-Size (django-reversion-2.0.13.tar.gz) = 65238 bytes
+SHA1 (django-reversion-3.0.7.tar.gz) = b5f4d0fbad61099494be568bb387fbf4f8c72f33
+RMD160 (django-reversion-3.0.7.tar.gz) = 4376c81d1ef903aa07f550883a3721f43b896bc4
+SHA512 (django-reversion-3.0.7.tar.gz) = 8efe785bd71965248749cfcbd608e82a753533ec3826e230f7e2265f855c3bd297cc644076abbb401e28533799a357ce322b3f97e54c0633e62333757d4a188f
+Size (django-reversion-3.0.7.tar.gz) = 67504 bytes


Home | Main Index | Thread Index | Old Index