pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/www/py-django-contrib-comments py-django-contrib-comme...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e09061cd12f7
branches:  trunk
changeset: 453168:e09061cd12f7
user:      adam <adam%pkgsrc.org@localhost>
date:      Tue May 25 04:51:46 2021 +0000

description:
py-django-contrib-comments: updated to 2.1.0

2.1.0

Dropped support for Django 1.11, 2.0, and 2.1.
Added the delete_stale_comments management command.
Added db_index to object_pk and is_removed fields.
Altered object_pk from TextField to CharField(max_length=64) so that the field can be indexed on MySQL, too. Warning: if you attach comments to objects whose primary key is serialized to more than 64 
characters, you should provide a custom Comment model (more about that in the documentation) with an appropriate object_pk field.
Confirmed support for Python 3.9.
Added support for Django 3.2.

diffstat:

 www/py-django-contrib-comments/Makefile |   6 +++---
 www/py-django-contrib-comments/PLIST    |  17 ++++++++++++++++-
 www/py-django-contrib-comments/distinfo |  10 +++++-----
 3 files changed, 24 insertions(+), 9 deletions(-)

diffs (81 lines):

diff -r a308f5b128a4 -r e09061cd12f7 www/py-django-contrib-comments/Makefile
--- a/www/py-django-contrib-comments/Makefile   Tue May 25 04:49:08 2021 +0000
+++ b/www/py-django-contrib-comments/Makefile   Tue May 25 04:51:46 2021 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.5 2021/01/16 10:15:22 adam Exp $
+# $NetBSD: Makefile,v 1.6 2021/05/25 04:51:46 adam Exp $
 
-DISTNAME=      django-contrib-comments-2.0.0
+DISTNAME=      django-contrib-comments-2.1.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    www python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=d/django-contrib-comments/}
@@ -10,7 +10,7 @@
 COMMENT=       Framework to attach comments to any Django model
 LICENSE=       modified-bsd
 
-DEPENDS+=      ${PYPKGPREFIX}-django>=1.11:../../www/py-django
+DEPENDS+=      ${PYPKGPREFIX}-django>=2.2:../../www/py-django
 
 USE_LANGUAGES= # none
 
diff -r a308f5b128a4 -r e09061cd12f7 www/py-django-contrib-comments/PLIST
--- a/www/py-django-contrib-comments/PLIST      Tue May 25 04:49:08 2021 +0000
+++ b/www/py-django-contrib-comments/PLIST      Tue May 25 04:51:46 2021 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.3 2021/01/16 10:15:22 adam Exp $
+@comment $NetBSD: PLIST,v 1.4 2021/05/25 04:51:46 adam Exp $
 ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
 ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
 ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
@@ -14,6 +14,9 @@
 ${PYSITELIB}/django_comments/admin.py
 ${PYSITELIB}/django_comments/admin.pyc
 ${PYSITELIB}/django_comments/admin.pyo
+${PYSITELIB}/django_comments/apps.py
+${PYSITELIB}/django_comments/apps.pyc
+${PYSITELIB}/django_comments/apps.pyo
 ${PYSITELIB}/django_comments/compat.py
 ${PYSITELIB}/django_comments/compat.pyc
 ${PYSITELIB}/django_comments/compat.pyo
@@ -173,6 +176,15 @@
 ${PYSITELIB}/django_comments/locale/zh_Hans/LC_MESSAGES/django.po
 ${PYSITELIB}/django_comments/locale/zh_Hant/LC_MESSAGES/django.mo
 ${PYSITELIB}/django_comments/locale/zh_Hant/LC_MESSAGES/django.po
+${PYSITELIB}/django_comments/management/__init__.py
+${PYSITELIB}/django_comments/management/__init__.pyc
+${PYSITELIB}/django_comments/management/__init__.pyo
+${PYSITELIB}/django_comments/management/commands/__init__.py
+${PYSITELIB}/django_comments/management/commands/__init__.pyc
+${PYSITELIB}/django_comments/management/commands/__init__.pyo
+${PYSITELIB}/django_comments/management/commands/delete_stale_comments.py
+${PYSITELIB}/django_comments/management/commands/delete_stale_comments.pyc
+${PYSITELIB}/django_comments/management/commands/delete_stale_comments.pyo
 ${PYSITELIB}/django_comments/managers.py
 ${PYSITELIB}/django_comments/managers.pyc
 ${PYSITELIB}/django_comments/managers.pyo
@@ -185,6 +197,9 @@
 ${PYSITELIB}/django_comments/migrations/0003_add_submit_date_index.py
 ${PYSITELIB}/django_comments/migrations/0003_add_submit_date_index.pyc
 ${PYSITELIB}/django_comments/migrations/0003_add_submit_date_index.pyo
+${PYSITELIB}/django_comments/migrations/0004_add_object_pk_is_removed_index.py
+${PYSITELIB}/django_comments/migrations/0004_add_object_pk_is_removed_index.pyc
+${PYSITELIB}/django_comments/migrations/0004_add_object_pk_is_removed_index.pyo
 ${PYSITELIB}/django_comments/migrations/__init__.py
 ${PYSITELIB}/django_comments/migrations/__init__.pyc
 ${PYSITELIB}/django_comments/migrations/__init__.pyo
diff -r a308f5b128a4 -r e09061cd12f7 www/py-django-contrib-comments/distinfo
--- a/www/py-django-contrib-comments/distinfo   Tue May 25 04:49:08 2021 +0000
+++ b/www/py-django-contrib-comments/distinfo   Tue May 25 04:51:46 2021 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.5 2021/01/16 10:15:22 adam Exp $
+$NetBSD: distinfo,v 1.6 2021/05/25 04:51:46 adam Exp $
 
-SHA1 (django-contrib-comments-2.0.0.tar.gz) = d10c0cf041e05a29206e425e67d029329562094c
-RMD160 (django-contrib-comments-2.0.0.tar.gz) = 2265b78e228bc0cee4004ee53c18f728d327107f
-SHA512 (django-contrib-comments-2.0.0.tar.gz) = 43d71a3fdf630b2ec708634eeac808bf4d8f9b534c37458a5523de3a8e67625767894c42c791c4326eed50c0ecd4ffd7f75a0f25f0eaae6e3da74cc071ec6007
-Size (django-contrib-comments-2.0.0.tar.gz) = 848477 bytes
+SHA1 (django-contrib-comments-2.1.0.tar.gz) = baab84e83472f465eb51051aa0e6002857625591
+RMD160 (django-contrib-comments-2.1.0.tar.gz) = 5b9b189dcd513bfbae11ac2744c8b795172e32e1
+SHA512 (django-contrib-comments-2.1.0.tar.gz) = c17c9372b47395a54e8dca656a2c12c0962751cd9e05819c3f44368e62048399693e1291d7bcbb460f6aabf02a8af100f088758ba0f5037eb9902fe526687396
+Size (django-contrib-comments-2.1.0.tar.gz) = 189916 bytes



Home | Main Index | Thread Index | Old Index