git: e874a9b52624 - main - www/py-dj51-django-guardian: New port
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 05 May 2025 18:03:37 UTC
The branch main has been updated by grembo:
URL: https://cgit.FreeBSD.org/ports/commit/?id=e874a9b526247e710792d3f3258dc0548dd7fd07
commit e874a9b526247e710792d3f3258dc0548dd7fd07
Author: Michael Gmelin <grembo@FreeBSD.org>
AuthorDate: 2025-05-05 17:25:30 +0000
Commit: Michael Gmelin <grembo@FreeBSD.org>
CommitDate: 2025-05-05 18:03:04 +0000
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>
---
www/Makefile | 1 +
www/py-dj51-django-guardian/Makefile | 22 ++++++++++++++++++++++
www/py-dj51-django-guardian/distinfo | 3 +++
www/py-dj51-django-guardian/pkg-descr | 2 ++
4 files changed, 28 insertions(+)
diff --git a/www/Makefile b/www/Makefile
index 5c89436f5a0a..212f45afd3cc 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -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
diff --git a/www/py-dj51-django-guardian/Makefile b/www/py-dj51-django-guardian/Makefile
new file mode 100644
index 000000000000..b5281df43e30
--- /dev/null
+++ b/www/py-dj51-django-guardian/Makefile
@@ -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>
diff --git a/www/py-dj51-django-guardian/distinfo b/www/py-dj51-django-guardian/distinfo
new file mode 100644
index 000000000000..8280c82993be
--- /dev/null
+++ b/www/py-dj51-django-guardian/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1654276001
+SHA256 (django-guardian-2.4.0.tar.gz) = c58a68ae76922d33e6bdc0e69af1892097838de56e93e78a8361090bcd9f89a0
+SIZE (django-guardian-2.4.0.tar.gz) = 159008
diff --git a/www/py-dj51-django-guardian/pkg-descr b/www/py-dj51-django-guardian/pkg-descr
new file mode 100644
index 000000000000..9c4ac2d92cf9
--- /dev/null
+++ b/www/py-dj51-django-guardian/pkg-descr
@@ -0,0 +1,2 @@
+django-guardian is an implementation of object permissions for Django
+providing extra authentication backend.