From b616ac3cf1073053a4bc04065ec40b52d5e4b409 Mon Sep 17 00:00:00 2001 From: Dan Langille Date: Tue, 20 Apr 2021 17:21:22 +0000 Subject: add www/py-django-smart-selects allows you to quickly filter or group "chained" models by adding a custom foreign key or many to many field to your models PR: 254835 Reported by: gettoknowmi --- www/Makefile | 1 + www/py-django-smart-selects/Makefile | 21 +++++++++++++++++++++ www/py-django-smart-selects/distinfo | 3 +++ www/py-django-smart-selects/pkg-descr | 5 +++++ 4 files changed, 30 insertions(+) create mode 100644 www/py-django-smart-selects/Makefile create mode 100644 www/py-django-smart-selects/distinfo create mode 100644 www/py-django-smart-selects/pkg-descr (limited to 'www') diff --git a/www/Makefile b/www/Makefile index dd0baed80688..6ea18a8f18be 100644 --- a/www/Makefile +++ b/www/Makefile @@ -1534,6 +1534,7 @@ SUBDIR += py-django-sekizai SUBDIR += py-django-simple-captcha SUBDIR += py-django-simple-history + SUBDIR += py-django-smart-selects SUBDIR += py-django-solo SUBDIR += py-django-sortedm2m SUBDIR += py-django-star-ratings diff --git a/www/py-django-smart-selects/Makefile b/www/py-django-smart-selects/Makefile new file mode 100644 index 000000000000..00f59a2fab15 --- /dev/null +++ b/www/py-django-smart-selects/Makefile @@ -0,0 +1,21 @@ +PORTNAME= django-smart-selects +PORTVERSION= 1.5.9 +CATEGORIES= www +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= gatemken@cisco.com +COMMENT= Quickly filter or group "chained" models + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools_scm>0:devel/py-setuptools_scm@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}django22>0:www/py-django22@${PY_FLAVOR} + +USES= python:3.6+,run +USE_PYTHON= autoplist distutils + +NO_ARCH= yes + +.include diff --git a/www/py-django-smart-selects/distinfo b/www/py-django-smart-selects/distinfo new file mode 100644 index 000000000000..f5cd61bfea7d --- /dev/null +++ b/www/py-django-smart-selects/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1618936160 +SHA256 (django-smart-selects-1.5.9.tar.gz) = 2b87362c15c0e80ba10d71955b85a486a50bd00ac72bb9014b25e4a3715988c2 +SIZE (django-smart-selects-1.5.9.tar.gz) = 25967 diff --git a/www/py-django-smart-selects/pkg-descr b/www/py-django-smart-selects/pkg-descr new file mode 100644 index 000000000000..30155f618dd6 --- /dev/null +++ b/www/py-django-smart-selects/pkg-descr @@ -0,0 +1,5 @@ +This package allows you to quickly filter or group "chained" models +by adding a custom foreign key or many to many field to your models +This will use an AJAX query to load only the applicable chained objects. + +WWW: https://github.com/jazzband/django-smart-selects -- cgit v1.2.3