www/py-dj42-django-permissionedforms: Add py-dj42-django-permissionedforms 0.1 (copied from py-django-permissionedforms)

django-permissionedforms is an extension to Django's forms framework, allowing
you to define forms where certain fields are shown or omitted according to the
user's permissions.
This commit is contained in:
Po-Chuan Hsieh 2024-03-09 21:44:27 +08:00
parent 109459581b
commit f946b683c3
No known key found for this signature in database
GPG Key ID: 9A4BD10F002DD04B
4 changed files with 28 additions and 0 deletions

View File

@ -1511,6 +1511,7 @@
SUBDIR += py-dj42-django-mptt
SUBDIR += py-dj42-django-multiselectfield
SUBDIR += py-dj42-django-otp
SUBDIR += py-dj42-django-permissionedforms
SUBDIR += py-dj42-django-prometheus
SUBDIR += py-dj42-django-redis
SUBDIR += py-dj42-django-rich

View File

@ -0,0 +1,21 @@
PORTNAME= django-permissionedforms
PORTVERSION= 0.1
CATEGORIES= www python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}dj42-
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Django extension for creating forms that vary according to user permissions
WWW= https://github.com/wagtail/django-permissionedforms
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django42>=0:www/py-django42@${PY_FLAVOR}
USES= python
USE_PYTHON= autoplist concurrent distutils
NO_ARCH= yes
.include <bsd.port.mk>

View File

@ -0,0 +1,3 @@
TIMESTAMP = 1655208198
SHA256 (django-permissionedforms-0.1.tar.gz) = 4340bb20c4477fffb13b4cc5cccf9f1b1010b64f79956c291c72d2ad2ed243f8
SIZE (django-permissionedforms-0.1.tar.gz) = 5856

View File

@ -0,0 +1,3 @@
django-permissionedforms is an extension to Django's forms framework, allowing
you to define forms where certain fields are shown or omitted according to the
user's permissions.