www/py-django-permissionedforms: Add py-django-permissionedforms 0.1

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.

WWW: https://github.com/wagtail/django-permissionedforms
This commit is contained in:
Po-Chuan Hsieh 2022-06-16 21:58:47 +08:00
parent 76bec89303
commit 03b6e12a3d
No known key found for this signature in database
GPG Key ID: 9A4BD10F002DD04B
4 changed files with 31 additions and 0 deletions

View File

@ -1548,6 +1548,7 @@
SUBDIR += py-django-object-actions
SUBDIR += py-django-otp
SUBDIR += py-django-otp-yubikey
SUBDIR += py-django-permissionedforms
SUBDIR += py-django-pglocks
SUBDIR += py-django-photologue
SUBDIR += py-django-picklefield

View File

@ -0,0 +1,22 @@
# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
PORTNAME= django-permissionedforms
PORTVERSION= 0.1
CATEGORIES= www python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Django extension for creating forms that vary according to user permissions
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django32>=0:www/py-django32@${PY_FLAVOR}
USES= python:3.7+
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,5 @@
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.
WWW: https://github.com/wagtail/django-permissionedforms