Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Sep 2021 22:24:29 GMT
From:      Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 70f8828883c5 - main - devel/py-dj32-graphene-django: Add py-dj32-graphene-django 2.15.0 (copied from py-graphene-django)
Message-ID:  <202109212224.18LMOT6S037894@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=70f8828883c5a85b7c9ddd399a8fc042e9e838f9

commit 70f8828883c5a85b7c9ddd399a8fc042e9e838f9
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2021-09-21 22:22:22 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2021-09-21 22:23:11 +0000

    devel/py-dj32-graphene-django: Add py-dj32-graphene-django 2.15.0 (copied from py-graphene-django)
    
    Reported by:    kai (via email)
---
 devel/Makefile                                     |  1 +
 devel/py-dj32-graphene-django/Makefile             | 33 ++++++++++++++++++++++
 devel/py-dj32-graphene-django/distinfo             |  3 ++
 devel/py-dj32-graphene-django/files/patch-setup.py | 10 +++++++
 devel/py-dj32-graphene-django/pkg-descr            |  3 ++
 5 files changed, 50 insertions(+)

diff --git a/devel/Makefile b/devel/Makefile
index 8901d5909078..b5d2276bd6e7 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -4416,6 +4416,7 @@
     SUBDIR += py-distributed
     SUBDIR += py-dj31-django-rq
     SUBDIR += py-dj32-django-rq
+    SUBDIR += py-dj32-graphene-django
     SUBDIR += py-django-rq
     SUBDIR += py-docker-py
     SUBDIR += py-dockerpty
diff --git a/devel/py-dj32-graphene-django/Makefile b/devel/py-dj32-graphene-django/Makefile
new file mode 100644
index 000000000000..6217b0867cd9
--- /dev/null
+++ b/devel/py-dj32-graphene-django/Makefile
@@ -0,0 +1,33 @@
+# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
+
+PORTNAME=	graphene-django
+PORTVERSION=	2.15.0
+CATEGORIES=	devel python
+MASTER_SITES=	CHEESESHOP
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}dj32-
+
+MAINTAINER=	sunpoet@FreeBSD.org
+COMMENT=	Graphene Django integration
+
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}django32>=1.11:www/py-django32@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}graphene>=2.1.7<3:devel/py-graphene@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}graphql-core2>=2.1.0<3:devel/py-graphql-core2@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}promise>=2.1:devel/py-promise@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}six>=1.10.0:devel/py-six@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}text-unidecode>=0:converters/py-text-unidecode@${PY_FLAVOR}
+
+USES=		python:3.6+
+USE_PYTHON=	autoplist concurrent distutils
+
+NO_ARCH=	yes
+
+OPTIONS_DEFINE=	REST_FRAMEWORK
+OPTIONS_DEFAULT=REST_FRAMEWORK
+REST_FRAMEWORK_DESC=	REST framework support
+
+REST_FRAMEWORK_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}dj32-djangorestframework>=3.6.3:www/py-dj32-djangorestframework@${PY_FLAVOR}
+
+.include <bsd.port.mk>
diff --git a/devel/py-dj32-graphene-django/distinfo b/devel/py-dj32-graphene-django/distinfo
new file mode 100644
index 000000000000..963ca63bdfa8
--- /dev/null
+++ b/devel/py-dj32-graphene-django/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1609953907
+SHA256 (graphene-django-2.15.0.tar.gz) = b78c9b05bc899016b9cc5bf13faa1f37fe1faa8c5407552c6ddd1a28f46fc31a
+SIZE (graphene-django-2.15.0.tar.gz) = 67097
diff --git a/devel/py-dj32-graphene-django/files/patch-setup.py b/devel/py-dj32-graphene-django/files/patch-setup.py
new file mode 100644
index 000000000000..167679f63d97
--- /dev/null
+++ b/devel/py-dj32-graphene-django/files/patch-setup.py
@@ -0,0 +1,10 @@
+--- setup.py.orig	2020-12-31 06:55:53 UTC
++++ setup.py
+@@ -68,7 +68,6 @@ setup(
+         "promise>=2.1",
+         "text-unidecode",
+     ],
+-    setup_requires=["pytest-runner"],
+     tests_require=tests_require,
+     rest_framework_require=rest_framework_require,
+     extras_require={
diff --git a/devel/py-dj32-graphene-django/pkg-descr b/devel/py-dj32-graphene-django/pkg-descr
new file mode 100644
index 000000000000..548cb6d971a9
--- /dev/null
+++ b/devel/py-dj32-graphene-django/pkg-descr
@@ -0,0 +1,3 @@
+A Django integration for Graphene.
+
+WWW: https://github.com/graphql-python/graphene-django



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202109212224.18LMOT6S037894>