pkgsrc-Changes archive

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

CVS commit: pkgsrc/www/py-django-admin-sortable2



Module Name:    pkgsrc
Committed By:   adam
Date:           Sat Dec  2 07:17:54 UTC 2023

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

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.18 -r1.19 pkgsrc/www/py-django-admin-sortable2/Makefile \
    pkgsrc/www/py-django-admin-sortable2/distinfo
cvs rdiff -u -r1.4 -r1.5 pkgsrc/www/py-django-admin-sortable2/PLIST

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-admin-sortable2/Makefile
diff -u pkgsrc/www/py-django-admin-sortable2/Makefile:1.18 pkgsrc/www/py-django-admin-sortable2/Makefile:1.19
--- pkgsrc/www/py-django-admin-sortable2/Makefile:1.18  Fri Sep  1 05:24:59 2023
+++ pkgsrc/www/py-django-admin-sortable2/Makefile       Sat Dec  2 07:17:54 2023
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.18 2023/09/01 05:24:59 adam Exp $
+# $NetBSD: Makefile,v 1.19 2023/12/02 07:17:54 adam Exp $
 
-DISTNAME=      django-admin-sortable2-1.0.4
+DISTNAME=      django-admin-sortable2-2.1.10
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    www python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=d/django-admin-sortable2/}
@@ -10,11 +10,13 @@ HOMEPAGE=   https://github.com/jrief/djang
 COMMENT=       Generic drag-and-drop sorting for Views in the Django Admin
 LICENSE=       mit
 
-DEPENDS+=      ${PYPKGPREFIX}-django>=3:../../www/py-django3
+TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools-[0-9]*:../../devel/py-setuptools
+TOOL_DEPENDS+= ${PYPKGPREFIX}-wheel-[0-9]*:../../devel/py-wheel
+DEPENDS+=      ${PYPKGPREFIX}-django>=4:../../www/py-django
 
 USE_LANGUAGES= # none
 
 PYTHON_VERSIONS_INCOMPATIBLE=  27
 
-.include "../../lang/python/egg.mk"
+.include "../../lang/python/wheel.mk"
 .include "../../mk/bsd.pkg.mk"
Index: pkgsrc/www/py-django-admin-sortable2/distinfo
diff -u pkgsrc/www/py-django-admin-sortable2/distinfo:1.18 pkgsrc/www/py-django-admin-sortable2/distinfo:1.19
--- pkgsrc/www/py-django-admin-sortable2/distinfo:1.18  Fri Sep  1 05:24:59 2023
+++ pkgsrc/www/py-django-admin-sortable2/distinfo       Sat Dec  2 07:17:54 2023
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.18 2023/09/01 05:24:59 adam Exp $
+$NetBSD: distinfo,v 1.19 2023/12/02 07:17:54 adam Exp $
 
-BLAKE2s (django-admin-sortable2-1.0.4.tar.gz) = 2b0eb6523ebd20c16c52e07e2a77acc2944a0fb02f9fe4179e90dc7cfaa15d83
-SHA512 (django-admin-sortable2-1.0.4.tar.gz) = 2c3028683bb168c0c6aba9b14b009bef5800c0aa93044334f05c71301b182b4107a1370cd841cb9aa7cd544b334d960a5d90be2460e943af0ed9dc6ebf38f6d5
-Size (django-admin-sortable2-1.0.4.tar.gz) = 56563 bytes
+BLAKE2s (django-admin-sortable2-2.1.10.tar.gz) = 88d996d2a1cd1261d282d5f67afdee9cface8582a3a86bb7dc5c2eee4a455281
+SHA512 (django-admin-sortable2-2.1.10.tar.gz) = c79f11d8bee09aaf4d3c0d68cf510309bf655de6ce4e81c946852afde1c2d3f8e4a2c0768b0f09564167ed690b26315f8f1bf484d1da3812f03ee4456cba8ec6
+Size (django-admin-sortable2-2.1.10.tar.gz) = 61352 bytes

Index: pkgsrc/www/py-django-admin-sortable2/PLIST
diff -u pkgsrc/www/py-django-admin-sortable2/PLIST:1.4 pkgsrc/www/py-django-admin-sortable2/PLIST:1.5
--- pkgsrc/www/py-django-admin-sortable2/PLIST:1.4      Fri Sep 11 09:35:58 2020
+++ pkgsrc/www/py-django-admin-sortable2/PLIST  Sat Dec  2 07:17:54 2023
@@ -1,10 +1,9 @@
-@comment $NetBSD: PLIST,v 1.4 2020/09/11 09:35:58 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.5 2023/12/02 07:17:54 adam Exp $
+${PYSITELIB}/${WHEEL_INFODIR}/LICENSE
+${PYSITELIB}/${WHEEL_INFODIR}/METADATA
+${PYSITELIB}/${WHEEL_INFODIR}/RECORD
+${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
+${PYSITELIB}/${WHEEL_INFODIR}/top_level.txt
 ${PYSITELIB}/adminsortable2/__init__.py
 ${PYSITELIB}/adminsortable2/__init__.pyc
 ${PYSITELIB}/adminsortable2/__init__.pyo
@@ -41,20 +40,13 @@ ${PYSITELIB}/adminsortable2/models.pyc
 ${PYSITELIB}/adminsortable2/models.pyo
 ${PYSITELIB}/adminsortable2/static/adminsortable2/css/sortable.css
 ${PYSITELIB}/adminsortable2/static/adminsortable2/icons/drag.png
-${PYSITELIB}/adminsortable2/static/adminsortable2/js/inline-sortable.js
-${PYSITELIB}/adminsortable2/static/adminsortable2/js/inline-stacked.js
-${PYSITELIB}/adminsortable2/static/adminsortable2/js/inline-tabular.js
-${PYSITELIB}/adminsortable2/static/adminsortable2/js/libs/jquery.ui.core-1.11.4.js
-${PYSITELIB}/adminsortable2/static/adminsortable2/js/libs/jquery.ui.core-1.7.1.js
-${PYSITELIB}/adminsortable2/static/adminsortable2/js/libs/jquery.ui.mouse-1.11.4.js
-${PYSITELIB}/adminsortable2/static/adminsortable2/js/libs/jquery.ui.sortable-1.11.4.js
-${PYSITELIB}/adminsortable2/static/adminsortable2/js/libs/jquery.ui.sortable-1.7.1.js
-${PYSITELIB}/adminsortable2/static/adminsortable2/js/libs/jquery.ui.touch-punch-0.2.3.js
-${PYSITELIB}/adminsortable2/static/adminsortable2/js/libs/jquery.ui.touch-punch.min-0.2.3.js
-${PYSITELIB}/adminsortable2/static/adminsortable2/js/libs/jquery.ui.widget-1.11.4.js
-${PYSITELIB}/adminsortable2/static/adminsortable2/js/list-sortable.js
-${PYSITELIB}/adminsortable2/static/adminsortable2/js/plugins/admincompat.js
+${PYSITELIB}/adminsortable2/static/adminsortable2/js/adminsortable2.js
+${PYSITELIB}/adminsortable2/static/adminsortable2/js/adminsortable2.min.js
 ${PYSITELIB}/adminsortable2/templates/adminsortable2/change_list.html
-${PYSITELIB}/adminsortable2/templates/adminsortable2/includes/fieldset.html
-${PYSITELIB}/adminsortable2/templates/adminsortable2/stacked.html
-${PYSITELIB}/adminsortable2/templates/adminsortable2/tabular.html
+${PYSITELIB}/adminsortable2/templates/adminsortable2/edit_inline/stacked-django-4.0.html
+${PYSITELIB}/adminsortable2/templates/adminsortable2/edit_inline/stacked-django-4.1.html
+${PYSITELIB}/adminsortable2/templates/adminsortable2/edit_inline/stacked-django-4.2.html
+${PYSITELIB}/adminsortable2/templates/adminsortable2/edit_inline/tabular-django-4.0.html
+${PYSITELIB}/adminsortable2/templates/adminsortable2/edit_inline/tabular-django-4.1.html
+${PYSITELIB}/adminsortable2/templates/adminsortable2/edit_inline/tabular-django-4.2.html
+${PYSITELIB}/adminsortable2/templates/adminsortable2/edit_inline/tabular-django-4.2.html.orig



Home | Main Index | Thread Index | Old Index