git: 5dae1d056a22 - main - www/py-django-choices-field: New port
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 31 Mar 2024 14:37:37 UTC
The branch main has been updated by kai:
URL: https://cgit.FreeBSD.org/ports/commit/?id=5dae1d056a2291ca9ffdeb7d43a9192da5eff4d2
commit 5dae1d056a2291ca9ffdeb7d43a9192da5eff4d2
Author: Kai Knoblich <kai@FreeBSD.org>
AuthorDate: 2024-03-31 14:10:25 +0000
Commit: Kai Knoblich <kai@FreeBSD.org>
CommitDate: 2024-03-31 14:34:35 +0000
www/py-django-choices-field: New port
This package provides a Django field that set/get the "TextChoices"
and "IntegerChoices" enumerations.
https://github.com/bellini666/django-choices-field
---
www/Makefile | 1 +
www/py-django-choices-field/Makefile | 24 ++++++++++++++++++++++++
www/py-django-choices-field/distinfo | 3 +++
www/py-django-choices-field/pkg-descr | 2 ++
4 files changed, 30 insertions(+)
diff --git a/www/Makefile b/www/Makefile
index f51aadd5e803..2d6c2f6a1bc9 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -1538,6 +1538,7 @@
SUBDIR += py-django-bootstrap4
SUBDIR += py-django-braces
SUBDIR += py-django-cacheops
+ SUBDIR += py-django-choices-field
SUBDIR += py-django-ckeditor-5
SUBDIR += py-django-classy-tags
SUBDIR += py-django-cms
diff --git a/www/py-django-choices-field/Makefile b/www/py-django-choices-field/Makefile
new file mode 100644
index 000000000000..488c8582748a
--- /dev/null
+++ b/www/py-django-choices-field/Makefile
@@ -0,0 +1,24 @@
+PORTNAME= django-choices-field
+DISTVERSION= 2.3.0
+CATEGORIES= www python
+MASTER_SITES= PYPI
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+DISTNAME= django_choices_field-${DISTVERSION}
+
+MAINTAINER= kai@FreeBSD.org
+COMMENT= Django field that set/get TextChoices/IntegerChoices enumerations
+WWW= https://github.com/bellini666/django-choices-field
+
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}poetry-core>=1.0.0:devel/py-poetry-core@${PY_FLAVOR}
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django32>=3.2:www/py-django32@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}typing-extensions>=4.0.0:devel/py-typing-extensions@${PY_FLAVOR}
+
+USES= python
+USE_PYTHON= autoplist pep517
+
+NO_ARCH= yes
+
+.include <bsd.port.mk>
diff --git a/www/py-django-choices-field/distinfo b/www/py-django-choices-field/distinfo
new file mode 100644
index 000000000000..7f61f9ac7dde
--- /dev/null
+++ b/www/py-django-choices-field/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1711885476
+SHA256 (django_choices_field-2.3.0.tar.gz) = bb0c85c79737ab98bfb9c0d9ddf98010d612c0585be767890e25fd192c3d1694
+SIZE (django_choices_field-2.3.0.tar.gz) = 6448
diff --git a/www/py-django-choices-field/pkg-descr b/www/py-django-choices-field/pkg-descr
new file mode 100644
index 000000000000..3a855539fca9
--- /dev/null
+++ b/www/py-django-choices-field/pkg-descr
@@ -0,0 +1,2 @@
+This package provides a Django field that set/get the "TextChoices" and
+"IntegerChoices" enumerations.