diff --git a/www/Makefile b/www/Makefile index 9906bd7b34e2..abbc93d82ab5 100644 --- a/www/Makefile +++ b/www/Makefile @@ -1507,6 +1507,7 @@ SUBDIR += py-dj42-django-taggit SUBDIR += py-dj42-django-timezone-field SUBDIR += py-dj42-djangorestframework + SUBDIR += py-dj42-djangorestframework-guardian SUBDIR += py-dj42-drf-spectacular SUBDIR += py-dj42-drf-spectacular-sidecar SUBDIR += py-dj42-drf-writable-nested diff --git a/www/py-dj42-djangorestframework-guardian/Makefile b/www/py-dj42-djangorestframework-guardian/Makefile new file mode 100644 index 000000000000..9c4dcbc0b8d3 --- /dev/null +++ b/www/py-dj42-djangorestframework-guardian/Makefile @@ -0,0 +1,23 @@ +PORTNAME= djangorestframework-guardian +PORTVERSION= 0.3.0 +CATEGORIES= www python +MASTER_SITES= PYPI +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}dj42- + +MAINTAINER= grembo@FreeBSD.org +COMMENT= Django Guardian support for Django REST Framework +WWW= https://github.com/rpkilby/django-rest-framework-guardian + +LICENSE= BSD3CLAUSE +LICENSE_FILE= ${WRKSRC}/LICENSE + +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django42>=2.2:www/py-django42@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}dj42-djangorestframework>=3.10.3:www/py-dj42-djangorestframework@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}dj42-django-guardian>=2.4.0:www/py-dj42-django-guardian@${PY_FLAVOR} + +USES= python +USE_PYTHON= distutils autoplist + +CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}*${PORTNAME} + +.include diff --git a/www/py-dj42-djangorestframework-guardian/distinfo b/www/py-dj42-djangorestframework-guardian/distinfo new file mode 100644 index 000000000000..eb5b72f6c861 --- /dev/null +++ b/www/py-dj42-djangorestframework-guardian/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1707575793 +SHA256 (djangorestframework-guardian-0.3.0.tar.gz) = 1883756452d9bfcc2a51fb4e039a6837a8f6697c756447aa83af085749b59330 +SIZE (djangorestframework-guardian-0.3.0.tar.gz) = 8647 diff --git a/www/py-dj42-djangorestframework-guardian/pkg-descr b/www/py-dj42-djangorestframework-guardian/pkg-descr new file mode 100644 index 000000000000..4fd5ed7e7602 --- /dev/null +++ b/www/py-dj42-djangorestframework-guardian/pkg-descr @@ -0,0 +1,2 @@ +Django-rest-framework-guardian provides django-guardian integrations for +Django REST Framework.