aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Gmelin <grembo@FreeBSD.org>2024-02-12 15:18:52 +0000
committerMichael Gmelin <grembo@FreeBSD.org>2024-02-18 14:29:52 +0000
commite8e97c466940fecaa26f21764fced027d52d96ef (patch)
tree2f109b2c705aa937c34937c1f451925426786dcd
parent27b40d24d49ac1fa03c56d352f56ab52237489a2 (diff)
downloadports-e8e97c466940fecaa26f21764fced027d52d96ef.tar.gz
ports-e8e97c466940fecaa26f21764fced027d52d96ef.zip
www/py-dj42-django-multiselectfield: New port
Django multiple select field
-rw-r--r--www/Makefile1
-rw-r--r--www/py-dj42-django-multiselectfield/Makefile23
-rw-r--r--www/py-dj42-django-multiselectfield/distinfo3
-rw-r--r--www/py-dj42-django-multiselectfield/pkg-descr3
4 files changed, 30 insertions, 0 deletions
diff --git a/www/Makefile b/www/Makefile
index 9edf3b6c10e3..1575878b90c4 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -1497,6 +1497,7 @@
SUBDIR += py-dj42-django-graphiql-debug-toolbar
SUBDIR += py-dj42-django-js-asset
SUBDIR += py-dj42-django-mptt
+ SUBDIR += py-dj42-django-multiselectfield
SUBDIR += py-dj42-django-prometheus
SUBDIR += py-dj42-django-redis
SUBDIR += py-dj42-django-rich
diff --git a/www/py-dj42-django-multiselectfield/Makefile b/www/py-dj42-django-multiselectfield/Makefile
new file mode 100644
index 000000000000..5af9f71000c5
--- /dev/null
+++ b/www/py-dj42-django-multiselectfield/Makefile
@@ -0,0 +1,23 @@
+PORTNAME= django-multiselectfield
+PORTVERSION= 0.1.12
+CATEGORIES= www python
+MASTER_SITES= PYPI
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}dj42-
+
+MAINTAINER= grembo@FreeBSD.org
+COMMENT= Django multiple select field
+WWW= https://github.com/goinnn/django-multiselectfield
+
+LICENSE= LGPL3
+LICENSE_FILE= ${WRKSRC}/COPYING.LGPLv3
+
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django42>=2.2:www/py-django42@${PY_FLAVOR}
+
+USES= python
+USE_PYTHON= autoplist distutils
+
+CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}*${PORTNAME}
+
+NO_ARCH= yes
+
+.include <bsd.port.mk>
diff --git a/www/py-dj42-django-multiselectfield/distinfo b/www/py-dj42-django-multiselectfield/distinfo
new file mode 100644
index 000000000000..98738aa6c5bf
--- /dev/null
+++ b/www/py-dj42-django-multiselectfield/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1707578867
+SHA256 (django-multiselectfield-0.1.12.tar.gz) = d0a4c71568fb2332c71478ffac9f8708e01314a35cf923dfd7a191343452f9f9
+SIZE (django-multiselectfield-0.1.12.tar.gz) = 11673
diff --git a/www/py-dj42-django-multiselectfield/pkg-descr b/www/py-dj42-django-multiselectfield/pkg-descr
new file mode 100644
index 000000000000..7a72b1755b70
--- /dev/null
+++ b/www/py-dj42-django-multiselectfield/pkg-descr
@@ -0,0 +1,3 @@
+A new model field and form field. With this you can get a multiple select
+from a choices. Stores to the database as a CharField of comma-separated
+values.