git: 53ff85d4b8de - main - www/py-django-graphql-jwt34: New port

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Wed, 23 Oct 2024 15:37:59 UTC
The branch main has been updated by bofh:

URL: https://cgit.FreeBSD.org/ports/commit/?id=53ff85d4b8de62fa9f4ac35a6acde11ec9141339

commit 53ff85d4b8de62fa9f4ac35a6acde11ec9141339
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-10-23 15:17:08 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-10-23 15:37:45 +0000

    www/py-django-graphql-jwt34: New port
    
    JSON Web Token for Django GraphQL (0.3.4)
    
    This version is required by cluster please do not remove without
    discussing with clusteradm@.
    
    JSON Web Token (JWT) authentication for Graphene Django
    
    WWW: https://github.com/flavors/django-graphql-jwt
---
 www/Makefile                          |  1 +
 www/py-django-graphql-jwt34/Makefile  | 26 ++++++++++++++++++++++++++
 www/py-django-graphql-jwt34/distinfo  |  3 +++
 www/py-django-graphql-jwt34/pkg-descr |  1 +
 4 files changed, 31 insertions(+)

diff --git a/www/Makefile b/www/Makefile
index 56f36004aaec..1f19cc5800ec 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -1554,6 +1554,7 @@
     SUBDIR += py-django-formtools
     SUBDIR += py-django-graphiql-debug-toolbar
     SUBDIR += py-django-graphql-jwt
+    SUBDIR += py-django-graphql-jwt34
     SUBDIR += py-django-gravatar2
     SUBDIR += py-django-guardian
     SUBDIR += py-django-hashid-field
diff --git a/www/py-django-graphql-jwt34/Makefile b/www/py-django-graphql-jwt34/Makefile
new file mode 100644
index 000000000000..292f2388458e
--- /dev/null
+++ b/www/py-django-graphql-jwt34/Makefile
@@ -0,0 +1,26 @@
+PORTNAME=	django-graphql-jwt
+DISTVERSION=	0.3.4
+CATEGORIES=	www python
+MASTER_SITES=	PYPI
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+PKGNAMESUFFIX=	34
+
+MAINTAINER=	bofh@FreeBSD.org
+COMMENT=	JSON Web Token for Django GraphQL (0.3.4)
+WWW=		https://github.com/flavors/django-graphql-jwt
+
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}poetry-core>0:devel/py-poetry-core@${PY_FLAVOR}
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}django42>=2.0:www/py-django42@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}graphene>=2.1.5:devel/py-graphene@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}graphene-django>=2.0.0:devel/py-graphene-django@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}pyjwt>=2:www/py-pyjwt@${PY_FLAVOR}
+
+USES=		python
+USE_PYTHON=	autoplist pep517
+
+NO_ARCH=	yes
+
+.include <bsd.port.mk>
diff --git a/www/py-django-graphql-jwt34/distinfo b/www/py-django-graphql-jwt34/distinfo
new file mode 100644
index 000000000000..2624661387ac
--- /dev/null
+++ b/www/py-django-graphql-jwt34/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1729696328
+SHA256 (django-graphql-jwt-0.3.4.tar.gz) = 654808417a1fa97e4d489766b61046fa8006f58dfad1c44cc3a37a9e4929203b
+SIZE (django-graphql-jwt-0.3.4.tar.gz) = 22786
diff --git a/www/py-django-graphql-jwt34/pkg-descr b/www/py-django-graphql-jwt34/pkg-descr
new file mode 100644
index 000000000000..4ee7dfe89aea
--- /dev/null
+++ b/www/py-django-graphql-jwt34/pkg-descr
@@ -0,0 +1 @@
+JSON Web Token (JWT) authentication for Graphene Django