www/py-dj51-django-guardian: New port

Clone of existing port for Django 5.1.

Did not want to push this onto python@ without asking, that's why
I'm the maintainer. Please feel free to take the port from me
without asking.

PR:		286533
Co-authored-by:	Sebastian <sko@rostwald.de>
This commit is contained in:
Michael Gmelin
2025-05-05 17:25:30 +00:00
parent 6409804682
commit e874a9b526
4 changed files with 28 additions and 0 deletions
+1
View File
@@ -1546,6 +1546,7 @@
SUBDIR += py-dj51-django-debug-toolbar
SUBDIR += py-dj51-django-extensions
SUBDIR += py-dj51-django-filter
SUBDIR += py-dj51-django-guardian
SUBDIR += py-dj51-django-htmx
SUBDIR += py-dj51-django-js-asset
SUBDIR += py-dj51-django-mptt
+22
View File
@@ -0,0 +1,22 @@
PORTNAME= django-guardian
PORTVERSION= 2.4.0
PORTREVISION= 2
CATEGORIES= www python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}dj51-
MAINTAINER= grembo@FreeBSD.org
COMMENT= Implementation of per object permissions for Django
WWW= https://github.com/django-guardian/django-guardian
LICENSE= BSD2CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django51>=5.1:www/py-django51@${PY_FLAVOR}
USES= python
USE_PYTHON= autoplist concurrent distutils
NO_ARCH= yes
.include <bsd.port.mk>
+3
View File
@@ -0,0 +1,3 @@
TIMESTAMP = 1654276001
SHA256 (django-guardian-2.4.0.tar.gz) = c58a68ae76922d33e6bdc0e69af1892097838de56e93e78a8361090bcd9f89a0
SIZE (django-guardian-2.4.0.tar.gz) = 159008
+2
View File
@@ -0,0 +1,2 @@
django-guardian is an implementation of object permissions for Django
providing extra authentication backend.