git: 02ddaaa15bc8 - main - www/py-dj42-django-guardian: New port
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 18 Feb 2024 14:42:11 UTC
The branch main has been updated by grembo: URL: https://cgit.FreeBSD.org/ports/commit/?id=02ddaaa15bc8994d6be0b245fd646a8f4f6144a9 commit 02ddaaa15bc8994d6be0b245fd646a8f4f6144a9 Author: Michael Gmelin <grembo@FreeBSD.org> AuthorDate: 2024-02-12 16:17:28 +0000 Commit: Michael Gmelin <grembo@FreeBSD.org> CommitDate: 2024-02-18 14:41:38 +0000 www/py-dj42-django-guardian: New port Django 4.2 version of www/py-django-guardian, happy to pass it to its maintainer or make it disappear, once 4.2 is the default django version. --- www/Makefile | 1 + www/py-dj42-django-guardian/Makefile | 23 +++++++++++++++++++++++ www/py-dj42-django-guardian/distinfo | 3 +++ www/py-dj42-django-guardian/pkg-descr | 2 ++ 4 files changed, 29 insertions(+) diff --git a/www/Makefile b/www/Makefile index 4a37ba73b4c0..76a588dc3f9f 100644 --- a/www/Makefile +++ b/www/Makefile @@ -1496,6 +1496,7 @@ SUBDIR += py-dj42-django-extensions SUBDIR += py-dj42-django-filter SUBDIR += py-dj42-django-graphiql-debug-toolbar + SUBDIR += py-dj42-django-guardian SUBDIR += py-dj42-django-js-asset SUBDIR += py-dj42-django-mptt SUBDIR += py-dj42-django-multiselectfield diff --git a/www/py-dj42-django-guardian/Makefile b/www/py-dj42-django-guardian/Makefile new file mode 100644 index 000000000000..fe9af8720593 --- /dev/null +++ b/www/py-dj42-django-guardian/Makefile @@ -0,0 +1,23 @@ +PORTNAME= django-guardian +PORTVERSION= 2.4.0 +CATEGORIES= www python +MASTER_SITES= PYPI +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}dj42- + +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}django42>=2.2:www/py-django42@${PY_FLAVOR} + +USES= python +USE_PYTHON= autoplist concurrent distutils + +CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}*${PORTNAME} + +NO_ARCH= yes + +.include <bsd.port.mk> diff --git a/www/py-dj42-django-guardian/distinfo b/www/py-dj42-django-guardian/distinfo new file mode 100644 index 000000000000..8280c82993be --- /dev/null +++ b/www/py-dj42-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-dj42-django-guardian/pkg-descr b/www/py-dj42-django-guardian/pkg-descr new file mode 100644 index 000000000000..9c4ac2d92cf9 --- /dev/null +++ b/www/py-dj42-django-guardian/pkg-descr @@ -0,0 +1,2 @@ +django-guardian is an implementation of object permissions for Django +providing extra authentication backend.