pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/www A replacement for django-admin-sortable using an u...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/2e519836ef47
branches:  trunk
changeset: 370416:2e519836ef47
user:      adam <adam%pkgsrc.org@localhost>
date:      Tue Oct 17 06:54:44 2017 +0000

description:
A replacement for django-admin-sortable using an unintrusive approach.

This plugin is a generic drag-and-drop ordering module for sorting objects in
the List, the Stacked- and the Tabular-Inlines Views in the Django Admin
interface.

This module offers simple mixin classes which enrich the functionality of any
existing class derived from admin.ModelAdmin, admin.StackedInline or
admin.TabularInline.

Thus it makes it very easy to integrate with existing models and their model
admin interfaces. Existing models can inherit from models.Model or any other
class derived thereof. No special base class is required.

diffstat:

 www/Makefile                           |   3 +-
 www/py-django-admin-sortable2/DESCR    |  13 ++++++++
 www/py-django-admin-sortable2/Makefile |  18 +++++++++++
 www/py-django-admin-sortable2/PLIST    |  55 ++++++++++++++++++++++++++++++++++
 www/py-django-admin-sortable2/distinfo |   6 +++
 5 files changed, 94 insertions(+), 1 deletions(-)

diffs (125 lines):

diff -r 7b570f592698 -r 2e519836ef47 www/Makefile
--- a/www/Makefile      Tue Oct 17 06:53:32 2017 +0000
+++ b/www/Makefile      Tue Oct 17 06:54:44 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1275 2017/10/17 06:53:32 adam Exp $
+# $NetBSD: Makefile,v 1.1276 2017/10/17 06:54:44 adam Exp $
 #
 
 COMMENT=       Packages related to the World Wide Web
@@ -626,6 +626,7 @@
 SUBDIR+=       py-curl
 SUBDIR+=       py-daphne
 SUBDIR+=       py-django
+SUBDIR+=       py-django-admin-sortable2
 SUBDIR+=       py-django-appconf
 SUBDIR+=       py-django-appmedia
 SUBDIR+=       py-django-classy-tags
diff -r 7b570f592698 -r 2e519836ef47 www/py-django-admin-sortable2/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/py-django-admin-sortable2/DESCR       Tue Oct 17 06:54:44 2017 +0000
@@ -0,0 +1,13 @@
+A replacement for django-admin-sortable using an unintrusive approach.
+
+This plugin is a generic drag-and-drop ordering module for sorting objects in
+the List, the Stacked- and the Tabular-Inlines Views in the Django Admin
+interface.
+
+This module offers simple mixin classes which enrich the functionality of any
+existing class derived from admin.ModelAdmin, admin.StackedInline or
+admin.TabularInline.
+
+Thus it makes it very easy to integrate with existing models and their model
+admin interfaces. Existing models can inherit from models.Model or any other
+class derived thereof. No special base class is required.
diff -r 7b570f592698 -r 2e519836ef47 www/py-django-admin-sortable2/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/py-django-admin-sortable2/Makefile    Tue Oct 17 06:54:44 2017 +0000
@@ -0,0 +1,18 @@
+# $NetBSD: Makefile,v 1.1 2017/10/17 06:54:44 adam Exp $
+
+DISTNAME=      django-admin-sortable2-0.6.16
+PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES=    www python
+MASTER_SITES=  ${MASTER_SITE_PYPI:=d/django-admin-sortable2/}
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://github.com/jrief/django-admin-sortable2
+COMMENT=       Generic drag-and-drop sorting for Views in the Django Admin
+LICENSE=       mit
+
+DEPENDS+=      ${PYPKGPREFIX}-django>=1.8:../../www/py-django
+
+USE_LANGUAGES=         # empty
+
+.include "../../lang/python/egg.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 7b570f592698 -r 2e519836ef47 www/py-django-admin-sortable2/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/py-django-admin-sortable2/PLIST       Tue Oct 17 06:54:44 2017 +0000
@@ -0,0 +1,55 @@
+@comment $NetBSD: PLIST,v 1.1 2017/10/17 06:54:44 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}/top_level.txt
+${PYSITELIB}/adminsortable2/__init__.py
+${PYSITELIB}/adminsortable2/__init__.pyc
+${PYSITELIB}/adminsortable2/__init__.pyo
+${PYSITELIB}/adminsortable2/admin.py
+${PYSITELIB}/adminsortable2/admin.pyc
+${PYSITELIB}/adminsortable2/admin.pyo
+${PYSITELIB}/adminsortable2/locale/de/LC_MESSAGES/django.mo
+${PYSITELIB}/adminsortable2/locale/de/LC_MESSAGES/django.po
+${PYSITELIB}/adminsortable2/locale/en/LC_MESSAGES/django.mo
+${PYSITELIB}/adminsortable2/locale/en/LC_MESSAGES/django.po
+${PYSITELIB}/adminsortable2/locale/es/LC_MESSAGES/django.mo
+${PYSITELIB}/adminsortable2/locale/es/LC_MESSAGES/django.po
+${PYSITELIB}/adminsortable2/locale/fr/LC_MESSAGES/django.mo
+${PYSITELIB}/adminsortable2/locale/fr/LC_MESSAGES/django.po
+${PYSITELIB}/adminsortable2/locale/it/LC_MESSAGES/django.mo
+${PYSITELIB}/adminsortable2/locale/it/LC_MESSAGES/django.po
+${PYSITELIB}/adminsortable2/locale/pl/LC_MESSAGES/django.mo
+${PYSITELIB}/adminsortable2/locale/pl/LC_MESSAGES/django.po
+${PYSITELIB}/adminsortable2/locale/ru/LC_MESSAGES/django.mo
+${PYSITELIB}/adminsortable2/locale/ru/LC_MESSAGES/django.po
+${PYSITELIB}/adminsortable2/locale/uk/LC_MESSAGES/django.mo
+${PYSITELIB}/adminsortable2/locale/uk/LC_MESSAGES/django.po
+${PYSITELIB}/adminsortable2/management/__init__.py
+${PYSITELIB}/adminsortable2/management/__init__.pyc
+${PYSITELIB}/adminsortable2/management/__init__.pyo
+${PYSITELIB}/adminsortable2/management/commands/__init__.py
+${PYSITELIB}/adminsortable2/management/commands/__init__.pyc
+${PYSITELIB}/adminsortable2/management/commands/__init__.pyo
+${PYSITELIB}/adminsortable2/management/commands/reorder.py
+${PYSITELIB}/adminsortable2/management/commands/reorder.pyc
+${PYSITELIB}/adminsortable2/management/commands/reorder.pyo
+${PYSITELIB}/adminsortable2/models.py
+${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/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.widget-1.11.4.js
+${PYSITELIB}/adminsortable2/static/adminsortable2/js/list-sortable.js
+${PYSITELIB}/adminsortable2/static/adminsortable2/js/plugins/admincompat.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
diff -r 7b570f592698 -r 2e519836ef47 www/py-django-admin-sortable2/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/py-django-admin-sortable2/distinfo    Tue Oct 17 06:54:44 2017 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2017/10/17 06:54:44 adam Exp $
+
+SHA1 (django-admin-sortable2-0.6.16.tar.gz) = 39f90b65471a4f4716dc3242e9260ba47eee3196
+RMD160 (django-admin-sortable2-0.6.16.tar.gz) = 13f41c42dece07f016c33e5984b0af7d605bd5cf
+SHA512 (django-admin-sortable2-0.6.16.tar.gz) = e883b815876a72cf764df91c5ea678ee98b5059fd253d86d917c24fef92d40140fcb59ecbfbe8c05811c5f2b914f2403db6b720ab824c7301dba534dc67ec84b
+Size (django-admin-sortable2-0.6.16.tar.gz) = 50215 bytes



Home | Main Index | Thread Index | Old Index