Sat Dec 2 07:17:54 2023 UTC (177d)
py-django-admin-sortable2: updated to 2.1.10

2.1.10

Do not create sourcemaps in production build.
2.1.9

Folder testapp is not published on PyPI anymore.
2.1.8

Fix: In combination with django-nested-admin integration fails with an error in inlien formsets.
2.1.7

Yanked.
2.1.6

Add support for Django-4.2.
2.1.5

Fix: In SortableInlineAdminMixin.get_fields(), convert potential tuple to list in order to append extra elements.
2.1.4

Fix: It not is not possible anymore, to move items beyond the last item, i.e. after an empty extra rows for new items or even after the row with the "Add another chapter" link.
2.1.3

Fix 328: Replace uglify against terser to minify JavaScript files.
2.1.2

Fix 320: Adding Jinja2 as template engine didn't work because it is unable to handle file references using pathlib.Path.
2.1.1

Enlarge top/down buttons on top of header of SortableTabularInline.
2.1

Introduce classes adminsortable2.admin.SortableStackedInline and adminsortable2.admin.SortableTabularInline to resort items to the begin or end of the list of those inlines.
Add support for Django-4.1.
2.0.5

Fix: When using an InlineAdmin with a self defined form, the default ordering has been ignored.
Fix: Skip instance check, if model used in an InlineAdmin is a proxy model.
2.0.4

Fix 309: Prevent JavaScrip error when using *InlineAdmin without sortable list view.
Internally use Python's pathlib instead of os.path.
In DEBUG mode, load unminimized JavaScript.
2.0.3

Fix 304: ModelAdmin not inheriting from SortableAdminMixin prevented sortable Stacked-/TabluraInlineAdmin be sortable.
2.0.2

Fix 303: Use CSRF-Token from input field rather than from Cookie.
2.0.1

Fix 302: Django's ManifestStaticFilesStorage references missing file adminsortable2.js.map.
2.0

Drop support for Django 3.2 and lower.
Replace jQuery-UI's sortable against Sortable.js.
Use TypeScript instead of JavaScript for all client side code.
Remove all extended Django admin templates: This allows a smoother upgrade for future Django versions.
New feature: Select multiple rows and drag them to a new position.


(adam)
diff -r1.18 -r1.19 pkgsrc/www/py-django-admin-sortable2/Makefile
diff -r1.18 -r1.19 pkgsrc/www/py-django-admin-sortable2/distinfo
diff -r1.4 -r1.5 pkgsrc/www/py-django-admin-sortable2/PLIST

cvs diff -r1.18 -r1.19 pkgsrc/www/py-django-admin-sortable2/Makefile (expand / switch to unified diff)

--- pkgsrc/www/py-django-admin-sortable2/Makefile 2023/09/01 05:24:59 1.18
+++ pkgsrc/www/py-django-admin-sortable2/Makefile 2023/12/02 07:17:54 1.19
@@ -1,20 +1,22 @@ @@ -1,20 +1,22 @@
1# $NetBSD: Makefile,v 1.18 2023/09/01 05:24:59 adam Exp $ 1# $NetBSD: Makefile,v 1.19 2023/12/02 07:17:54 adam Exp $
2 2
3DISTNAME= django-admin-sortable2-1.0.4 3DISTNAME= django-admin-sortable2-2.1.10
4PKGNAME= ${PYPKGPREFIX}-${DISTNAME} 4PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
5CATEGORIES= www python 5CATEGORIES= www python
6MASTER_SITES= ${MASTER_SITE_PYPI:=d/django-admin-sortable2/} 6MASTER_SITES= ${MASTER_SITE_PYPI:=d/django-admin-sortable2/}
7 7
8MAINTAINER= pkgsrc-users@NetBSD.org 8MAINTAINER= pkgsrc-users@NetBSD.org
9HOMEPAGE= https://github.com/jrief/django-admin-sortable2 9HOMEPAGE= https://github.com/jrief/django-admin-sortable2
10COMMENT= Generic drag-and-drop sorting for Views in the Django Admin 10COMMENT= Generic drag-and-drop sorting for Views in the Django Admin
11LICENSE= mit 11LICENSE= mit
12 12
13DEPENDS+= ${PYPKGPREFIX}-django>=3:../../www/py-django3 13TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools-[0-9]*:../../devel/py-setuptools
 14TOOL_DEPENDS+= ${PYPKGPREFIX}-wheel-[0-9]*:../../devel/py-wheel
 15DEPENDS+= ${PYPKGPREFIX}-django>=4:../../www/py-django
14 16
15USE_LANGUAGES= # none 17USE_LANGUAGES= # none
16 18
17PYTHON_VERSIONS_INCOMPATIBLE= 27 19PYTHON_VERSIONS_INCOMPATIBLE= 27
18 20
19.include "../../lang/python/egg.mk" 21.include "../../lang/python/wheel.mk"
20.include "../../mk/bsd.pkg.mk" 22.include "../../mk/bsd.pkg.mk"

cvs diff -r1.18 -r1.19 pkgsrc/www/py-django-admin-sortable2/distinfo (expand / switch to unified diff)

--- pkgsrc/www/py-django-admin-sortable2/distinfo 2023/09/01 05:24:59 1.18
+++ pkgsrc/www/py-django-admin-sortable2/distinfo 2023/12/02 07:17:54 1.19
@@ -1,5 +1,5 @@ @@ -1,5 +1,5 @@
1$NetBSD: distinfo,v 1.18 2023/09/01 05:24:59 adam Exp $ 1$NetBSD: distinfo,v 1.19 2023/12/02 07:17:54 adam Exp $
2 2
3BLAKE2s (django-admin-sortable2-1.0.4.tar.gz) = 2b0eb6523ebd20c16c52e07e2a77acc2944a0fb02f9fe4179e90dc7cfaa15d83 3BLAKE2s (django-admin-sortable2-2.1.10.tar.gz) = 88d996d2a1cd1261d282d5f67afdee9cface8582a3a86bb7dc5c2eee4a455281
4SHA512 (django-admin-sortable2-1.0.4.tar.gz) = 2c3028683bb168c0c6aba9b14b009bef5800c0aa93044334f05c71301b182b4107a1370cd841cb9aa7cd544b334d960a5d90be2460e943af0ed9dc6ebf38f6d5 4SHA512 (django-admin-sortable2-2.1.10.tar.gz) = c79f11d8bee09aaf4d3c0d68cf510309bf655de6ce4e81c946852afde1c2d3f8e4a2c0768b0f09564167ed690b26315f8f1bf484d1da3812f03ee4456cba8ec6
5Size (django-admin-sortable2-1.0.4.tar.gz) = 56563 bytes 5Size (django-admin-sortable2-2.1.10.tar.gz) = 61352 bytes

cvs diff -r1.4 -r1.5 pkgsrc/www/py-django-admin-sortable2/PLIST (expand / switch to unified diff)

--- pkgsrc/www/py-django-admin-sortable2/PLIST 2020/09/11 09:35:58 1.4
+++ pkgsrc/www/py-django-admin-sortable2/PLIST 2023/12/02 07:17:54 1.5
@@ -1,20 +1,19 @@ @@ -1,20 +1,19 @@
1@comment $NetBSD: PLIST,v 1.4 2020/09/11 09:35:58 adam Exp $ 1@comment $NetBSD: PLIST,v 1.5 2023/12/02 07:17:54 adam Exp $
2${PYSITELIB}/${EGG_INFODIR}/PKG-INFO 2${PYSITELIB}/${WHEEL_INFODIR}/LICENSE
3${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt 3${PYSITELIB}/${WHEEL_INFODIR}/METADATA
4${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt 4${PYSITELIB}/${WHEEL_INFODIR}/RECORD
5${PYSITELIB}/${EGG_INFODIR}/not-zip-safe 5${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
6${PYSITELIB}/${EGG_INFODIR}/requires.txt 6${PYSITELIB}/${WHEEL_INFODIR}/top_level.txt
7${PYSITELIB}/${EGG_INFODIR}/top_level.txt 
8${PYSITELIB}/adminsortable2/__init__.py 7${PYSITELIB}/adminsortable2/__init__.py
9${PYSITELIB}/adminsortable2/__init__.pyc 8${PYSITELIB}/adminsortable2/__init__.pyc
10${PYSITELIB}/adminsortable2/__init__.pyo 9${PYSITELIB}/adminsortable2/__init__.pyo
11${PYSITELIB}/adminsortable2/admin.py 10${PYSITELIB}/adminsortable2/admin.py
12${PYSITELIB}/adminsortable2/admin.pyc 11${PYSITELIB}/adminsortable2/admin.pyc
13${PYSITELIB}/adminsortable2/admin.pyo 12${PYSITELIB}/adminsortable2/admin.pyo
14${PYSITELIB}/adminsortable2/locale/de/LC_MESSAGES/django.mo 13${PYSITELIB}/adminsortable2/locale/de/LC_MESSAGES/django.mo
15${PYSITELIB}/adminsortable2/locale/de/LC_MESSAGES/django.po 14${PYSITELIB}/adminsortable2/locale/de/LC_MESSAGES/django.po
16${PYSITELIB}/adminsortable2/locale/en/LC_MESSAGES/django.mo 15${PYSITELIB}/adminsortable2/locale/en/LC_MESSAGES/django.mo
17${PYSITELIB}/adminsortable2/locale/en/LC_MESSAGES/django.po 16${PYSITELIB}/adminsortable2/locale/en/LC_MESSAGES/django.po
18${PYSITELIB}/adminsortable2/locale/es/LC_MESSAGES/django.mo 17${PYSITELIB}/adminsortable2/locale/es/LC_MESSAGES/django.mo
19${PYSITELIB}/adminsortable2/locale/es/LC_MESSAGES/django.po 18${PYSITELIB}/adminsortable2/locale/es/LC_MESSAGES/django.po
20${PYSITELIB}/adminsortable2/locale/fr/LC_MESSAGES/django.mo 19${PYSITELIB}/adminsortable2/locale/fr/LC_MESSAGES/django.mo
@@ -31,30 +30,23 @@ ${PYSITELIB}/adminsortable2/management/_ @@ -31,30 +30,23 @@ ${PYSITELIB}/adminsortable2/management/_
31${PYSITELIB}/adminsortable2/management/__init__.pyc 30${PYSITELIB}/adminsortable2/management/__init__.pyc
32${PYSITELIB}/adminsortable2/management/__init__.pyo 31${PYSITELIB}/adminsortable2/management/__init__.pyo
33${PYSITELIB}/adminsortable2/management/commands/__init__.py 32${PYSITELIB}/adminsortable2/management/commands/__init__.py
34${PYSITELIB}/adminsortable2/management/commands/__init__.pyc 33${PYSITELIB}/adminsortable2/management/commands/__init__.pyc
35${PYSITELIB}/adminsortable2/management/commands/__init__.pyo 34${PYSITELIB}/adminsortable2/management/commands/__init__.pyo
36${PYSITELIB}/adminsortable2/management/commands/reorder.py 35${PYSITELIB}/adminsortable2/management/commands/reorder.py
37${PYSITELIB}/adminsortable2/management/commands/reorder.pyc 36${PYSITELIB}/adminsortable2/management/commands/reorder.pyc
38${PYSITELIB}/adminsortable2/management/commands/reorder.pyo 37${PYSITELIB}/adminsortable2/management/commands/reorder.pyo
39${PYSITELIB}/adminsortable2/models.py 38${PYSITELIB}/adminsortable2/models.py
40${PYSITELIB}/adminsortable2/models.pyc 39${PYSITELIB}/adminsortable2/models.pyc
41${PYSITELIB}/adminsortable2/models.pyo 40${PYSITELIB}/adminsortable2/models.pyo
42${PYSITELIB}/adminsortable2/static/adminsortable2/css/sortable.css 41${PYSITELIB}/adminsortable2/static/adminsortable2/css/sortable.css
43${PYSITELIB}/adminsortable2/static/adminsortable2/icons/drag.png 42${PYSITELIB}/adminsortable2/static/adminsortable2/icons/drag.png
44${PYSITELIB}/adminsortable2/static/adminsortable2/js/inline-sortable.js 43${PYSITELIB}/adminsortable2/static/adminsortable2/js/adminsortable2.js
45${PYSITELIB}/adminsortable2/static/adminsortable2/js/inline-stacked.js 44${PYSITELIB}/adminsortable2/static/adminsortable2/js/adminsortable2.min.js
46${PYSITELIB}/adminsortable2/static/adminsortable2/js/inline-tabular.js 
47${PYSITELIB}/adminsortable2/static/adminsortable2/js/libs/jquery.ui.core-1.11.4.js 
48${PYSITELIB}/adminsortable2/static/adminsortable2/js/libs/jquery.ui.core-1.7.1.js 
49${PYSITELIB}/adminsortable2/static/adminsortable2/js/libs/jquery.ui.mouse-1.11.4.js 
50${PYSITELIB}/adminsortable2/static/adminsortable2/js/libs/jquery.ui.sortable-1.11.4.js 
51${PYSITELIB}/adminsortable2/static/adminsortable2/js/libs/jquery.ui.sortable-1.7.1.js 
52${PYSITELIB}/adminsortable2/static/adminsortable2/js/libs/jquery.ui.touch-punch-0.2.3.js 
53${PYSITELIB}/adminsortable2/static/adminsortable2/js/libs/jquery.ui.touch-punch.min-0.2.3.js 
54${PYSITELIB}/adminsortable2/static/adminsortable2/js/libs/jquery.ui.widget-1.11.4.js 
55${PYSITELIB}/adminsortable2/static/adminsortable2/js/list-sortable.js 
56${PYSITELIB}/adminsortable2/static/adminsortable2/js/plugins/admincompat.js 
57${PYSITELIB}/adminsortable2/templates/adminsortable2/change_list.html 45${PYSITELIB}/adminsortable2/templates/adminsortable2/change_list.html
58${PYSITELIB}/adminsortable2/templates/adminsortable2/includes/fieldset.html 46${PYSITELIB}/adminsortable2/templates/adminsortable2/edit_inline/stacked-django-4.0.html
59${PYSITELIB}/adminsortable2/templates/adminsortable2/stacked.html 47${PYSITELIB}/adminsortable2/templates/adminsortable2/edit_inline/stacked-django-4.1.html
60${PYSITELIB}/adminsortable2/templates/adminsortable2/tabular.html 48${PYSITELIB}/adminsortable2/templates/adminsortable2/edit_inline/stacked-django-4.2.html
 49${PYSITELIB}/adminsortable2/templates/adminsortable2/edit_inline/tabular-django-4.0.html
 50${PYSITELIB}/adminsortable2/templates/adminsortable2/edit_inline/tabular-django-4.1.html
 51${PYSITELIB}/adminsortable2/templates/adminsortable2/edit_inline/tabular-django-4.2.html
 52${PYSITELIB}/adminsortable2/templates/adminsortable2/edit_inline/tabular-django-4.2.html.orig