pkgsrc-Changes archive

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

CVS commit: pkgsrc/www/py-django-mptt



Module Name:    pkgsrc
Committed By:   adam
Date:           Tue Oct 10 16:34:20 UTC 2023

Modified Files:
        pkgsrc/www/py-django-mptt: Makefile PLIST distinfo

Log Message:
py-django-mptt: updated to 0.15.0

0.15

Since I unfortunately still depend on django-mptt in prehistoric projects I took it upon me to make it runnable again. This doesn't mean I want to maintain the package.
Added Django 4.2.
Dropped Python < 3.9, Django < 3.2.
Started using ruff and more rules.
Dropped the index_together check on Django 5 and better. Django 5 only supports Meta.indexes.
Optimized tree rebuilding.
Added support for the Django admin theme switcher.
Switched to hatchling.


To generate a diff of this commit:
cvs rdiff -u -r1.22 -r1.23 pkgsrc/www/py-django-mptt/Makefile
cvs rdiff -u -r1.11 -r1.12 pkgsrc/www/py-django-mptt/PLIST
cvs rdiff -u -r1.18 -r1.19 pkgsrc/www/py-django-mptt/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/www/py-django-mptt/Makefile
diff -u pkgsrc/www/py-django-mptt/Makefile:1.22 pkgsrc/www/py-django-mptt/Makefile:1.23
--- pkgsrc/www/py-django-mptt/Makefile:1.22     Tue Aug  8 12:13:06 2023
+++ pkgsrc/www/py-django-mptt/Makefile  Tue Oct 10 16:34:20 2023
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.22 2023/08/08 12:13:06 adam Exp $
+# $NetBSD: Makefile,v 1.23 2023/10/10 16:34:20 adam Exp $
 
-DISTNAME=      django-mptt-0.14.0
-PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
+DISTNAME=      django_mptt-0.15.0
+PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:S/_/-/}
 CATEGORIES=    www python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=d/django-mptt/}
 
@@ -10,12 +10,13 @@ HOMEPAGE=   https://github.com/django-mptt
 COMMENT=       Utilities for implementing Modified Preorder Tree Traversal
 LICENSE=       mit
 
-DEPENDS+=      ${PYPKGPREFIX}-django>=3:../../www/py-django3
+TOOL_DEPENDS+= ${PYPKGPREFIX}-hatchling-[0-9]*:../../devel/py-hatchling
+DEPENDS+=      ${PYPKGPREFIX}-django>=3.2:../../www/py-django3
 DEPENDS+=      ${PYPKGPREFIX}-django-js-asset-[0-9]*:../../www/py-django-js-asset
 
 USE_LANGUAGES= # none
 
-PYTHON_VERSIONS_INCOMPATIBLE=  27
+PYTHON_VERSIONS_INCOMPATIBLE=  27 38
 
-.include "../../lang/python/egg.mk"
+.include "../../lang/python/wheel.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/www/py-django-mptt/PLIST
diff -u pkgsrc/www/py-django-mptt/PLIST:1.11 pkgsrc/www/py-django-mptt/PLIST:1.12
--- pkgsrc/www/py-django-mptt/PLIST:1.11        Tue Aug  8 12:13:06 2023
+++ pkgsrc/www/py-django-mptt/PLIST     Tue Oct 10 16:34:20 2023
@@ -1,31 +1,25 @@
-@comment $NetBSD: PLIST,v 1.11 2023/08/08 12:13:06 adam Exp $
-${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
-${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
-${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
-${PYSITELIB}/${EGG_INFODIR}/not-zip-safe
-${PYSITELIB}/${EGG_INFODIR}/requires.txt
-${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+@comment $NetBSD: PLIST,v 1.12 2023/10/10 16:34:20 adam Exp $
+${PYSITELIB}/${WHEEL_INFODIR}/INSTALLER
+${PYSITELIB}/${WHEEL_INFODIR}/METADATA
+${PYSITELIB}/${WHEEL_INFODIR}/RECORD
+${PYSITELIB}/${WHEEL_INFODIR}/REQUESTED
+${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
+${PYSITELIB}/${WHEEL_INFODIR}/direct_url.json
+${PYSITELIB}/${WHEEL_INFODIR}/licenses/LICENSE
 ${PYSITELIB}/mptt/__init__.py
 ${PYSITELIB}/mptt/__init__.pyc
-${PYSITELIB}/mptt/__init__.pyo
 ${PYSITELIB}/mptt/admin.py
 ${PYSITELIB}/mptt/admin.pyc
-${PYSITELIB}/mptt/admin.pyo
 ${PYSITELIB}/mptt/apps.py
 ${PYSITELIB}/mptt/apps.pyc
-${PYSITELIB}/mptt/apps.pyo
 ${PYSITELIB}/mptt/compat.py
 ${PYSITELIB}/mptt/compat.pyc
-${PYSITELIB}/mptt/compat.pyo
 ${PYSITELIB}/mptt/exceptions.py
 ${PYSITELIB}/mptt/exceptions.pyc
-${PYSITELIB}/mptt/exceptions.pyo
 ${PYSITELIB}/mptt/fields.py
 ${PYSITELIB}/mptt/fields.pyc
-${PYSITELIB}/mptt/fields.pyo
 ${PYSITELIB}/mptt/forms.py
 ${PYSITELIB}/mptt/forms.pyc
-${PYSITELIB}/mptt/forms.pyo
 ${PYSITELIB}/mptt/locale/da/LC_MESSAGES/django.mo
 ${PYSITELIB}/mptt/locale/da/LC_MESSAGES/django.po
 ${PYSITELIB}/mptt/locale/de/LC_MESSAGES/django.mo
@@ -60,19 +54,14 @@ ${PYSITELIB}/mptt/locale/zh_Hant/LC_MESS
 ${PYSITELIB}/mptt/locale/zh_Hant/LC_MESSAGES/django.po
 ${PYSITELIB}/mptt/managers.py
 ${PYSITELIB}/mptt/managers.pyc
-${PYSITELIB}/mptt/managers.pyo
 ${PYSITELIB}/mptt/models.py
 ${PYSITELIB}/mptt/models.pyc
-${PYSITELIB}/mptt/models.pyo
 ${PYSITELIB}/mptt/querysets.py
 ${PYSITELIB}/mptt/querysets.pyc
-${PYSITELIB}/mptt/querysets.pyo
 ${PYSITELIB}/mptt/settings.py
 ${PYSITELIB}/mptt/settings.pyc
-${PYSITELIB}/mptt/settings.pyo
 ${PYSITELIB}/mptt/signals.py
 ${PYSITELIB}/mptt/signals.pyc
-${PYSITELIB}/mptt/signals.pyo
 ${PYSITELIB}/mptt/static/mptt/arrow-move-black.png
 ${PYSITELIB}/mptt/static/mptt/arrow-move-white.png
 ${PYSITELIB}/mptt/static/mptt/disclosure-down-black.png
@@ -88,13 +77,9 @@ ${PYSITELIB}/mptt/templates/admin/mptt_c
 ${PYSITELIB}/mptt/templates/admin/mptt_filter.html
 ${PYSITELIB}/mptt/templatetags/__init__.py
 ${PYSITELIB}/mptt/templatetags/__init__.pyc
-${PYSITELIB}/mptt/templatetags/__init__.pyo
 ${PYSITELIB}/mptt/templatetags/mptt_admin.py
 ${PYSITELIB}/mptt/templatetags/mptt_admin.pyc
-${PYSITELIB}/mptt/templatetags/mptt_admin.pyo
 ${PYSITELIB}/mptt/templatetags/mptt_tags.py
 ${PYSITELIB}/mptt/templatetags/mptt_tags.pyc
-${PYSITELIB}/mptt/templatetags/mptt_tags.pyo
 ${PYSITELIB}/mptt/utils.py
 ${PYSITELIB}/mptt/utils.pyc
-${PYSITELIB}/mptt/utils.pyo

Index: pkgsrc/www/py-django-mptt/distinfo
diff -u pkgsrc/www/py-django-mptt/distinfo:1.18 pkgsrc/www/py-django-mptt/distinfo:1.19
--- pkgsrc/www/py-django-mptt/distinfo:1.18     Tue Aug  8 12:13:06 2023
+++ pkgsrc/www/py-django-mptt/distinfo  Tue Oct 10 16:34:20 2023
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.18 2023/08/08 12:13:06 adam Exp $
+$NetBSD: distinfo,v 1.19 2023/10/10 16:34:20 adam Exp $
 
-BLAKE2s (django-mptt-0.14.0.tar.gz) = 9b1d66dc804a2e16b069fb918fc31f154f609f43b7c73ee8970d68b3aebf67ff
-SHA512 (django-mptt-0.14.0.tar.gz) = 2b3fd766b66b4d448af1bbb966355b59f4a6cd00935f49b9543d18159959bc1d31143ffafffa39c530b314b126a873ac943f7c2ec778da211836ad9ae9c309bc
-Size (django-mptt-0.14.0.tar.gz) = 103453 bytes
+BLAKE2s (django_mptt-0.15.0.tar.gz) = 131898caaed6f5a960db446ac99af549860e9a1ef79faf4cc8319313a3b059d4
+SHA512 (django_mptt-0.15.0.tar.gz) = 31d237fe218e592560db7b9d74dc9e937afebfcf6c9434bf88049b514c74dec693e8140471887f5622b67f99f492f2872ae90745208766ab8d611dd03a044e83
+Size (django_mptt-0.15.0.tar.gz) = 69646 bytes



Home | Main Index | Thread Index | Old Index