git: f946b683c3b5 - main - www/py-dj42-django-permissionedforms: Add py-dj42-django-permissionedforms 0.1 (copied from py-django-permissionedforms)
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 09 Mar 2024 14:09:46 UTC
The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=f946b683c3b5fa84b9b9ada7a97dc06ce02188f0 commit f946b683c3b5fa84b9b9ada7a97dc06ce02188f0 Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org> AuthorDate: 2024-03-09 13:44:27 +0000 Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> CommitDate: 2024-03-09 14:05:16 +0000 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. --- www/Makefile | 1 + www/py-dj42-django-permissionedforms/Makefile | 21 +++++++++++++++++++++ www/py-dj42-django-permissionedforms/distinfo | 3 +++ www/py-dj42-django-permissionedforms/pkg-descr | 3 +++ 4 files changed, 28 insertions(+) diff --git a/www/Makefile b/www/Makefile index 27705c713fc3..3d230de775fe 100644 --- a/www/Makefile +++ b/www/Makefile @@ -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 diff --git a/www/py-dj42-django-permissionedforms/Makefile b/www/py-dj42-django-permissionedforms/Makefile new file mode 100644 index 000000000000..2013906aec95 --- /dev/null +++ b/www/py-dj42-django-permissionedforms/Makefile @@ -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> diff --git a/www/py-dj42-django-permissionedforms/distinfo b/www/py-dj42-django-permissionedforms/distinfo new file mode 100644 index 000000000000..936594ce89f2 --- /dev/null +++ b/www/py-dj42-django-permissionedforms/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1655208198 +SHA256 (django-permissionedforms-0.1.tar.gz) = 4340bb20c4477fffb13b4cc5cccf9f1b1010b64f79956c291c72d2ad2ed243f8 +SIZE (django-permissionedforms-0.1.tar.gz) = 5856 diff --git a/www/py-dj42-django-permissionedforms/pkg-descr b/www/py-dj42-django-permissionedforms/pkg-descr new file mode 100644 index 000000000000..50b872e7c388 --- /dev/null +++ b/www/py-dj42-django-permissionedforms/pkg-descr @@ -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.