Skip to content

Commit

Permalink
www/py-django-choices-field: New port
Browse files Browse the repository at this point in the history
This package provides a Django field that set/get the "TextChoices"
and "IntegerChoices" enumerations.

https://github.com/bellini666/django-choices-field
  • Loading branch information
knobix committed Mar 31, 2024
1 parent c3d4f83 commit 5dae1d0
Show file tree
Hide file tree
Showing 4 changed files with 30 additions and 0 deletions.
1 change: 1 addition & 0 deletions www/Makefile
Expand Up @@ -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
Expand Down
24 changes: 24 additions & 0 deletions 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>
3 changes: 3 additions & 0 deletions 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
2 changes: 2 additions & 0 deletions 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.

0 comments on commit 5dae1d0

Please sign in to comment.