1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-29 05:38:00 +00:00

www/py-dj42-djangorestframework-guardian: New port

Django Guardian support for Django REST Framework
This commit is contained in:
Michael Gmelin 2024-02-12 18:03:26 +01:00
parent 6533234e4f
commit b0a5aae0a1
4 changed files with 29 additions and 0 deletions

View File

@ -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

View File

@ -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 <bsd.port.mk>

View File

@ -0,0 +1,3 @@
TIMESTAMP = 1707575793
SHA256 (djangorestframework-guardian-0.3.0.tar.gz) = 1883756452d9bfcc2a51fb4e039a6837a8f6697c756447aa83af085749b59330
SIZE (djangorestframework-guardian-0.3.0.tar.gz) = 8647

View File

@ -0,0 +1,2 @@
Django-rest-framework-guardian provides django-guardian integrations for
Django REST Framework.