git: 9004702831f4 - main - devel/py-graphene2: Add py-graphene2 2.1.9 (copied from py-graphene)

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Thu, 16 Jun 2022 14:04:59 UTC
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=9004702831f4f77158831fa63c9ce450ae919722

commit 9004702831f4f77158831fa63c9ce450ae919722
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-06-16 13:58:42 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-06-16 13:58:42 +0000

    devel/py-graphene2: Add py-graphene2 2.1.9 (copied from py-graphene)
    
    - Add CONFLICTS_INSTALL
    - Add PORTSCOUT
---
 devel/Makefile               |  1 +
 devel/py-graphene2/Makefile  | 30 ++++++++++++++++++++++++++++++
 devel/py-graphene2/distinfo  |  3 +++
 devel/py-graphene2/pkg-descr |  9 +++++++++
 4 files changed, 43 insertions(+)

diff --git a/devel/Makefile b/devel/Makefile
index 520dcdf12856..b2869c5d586e 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -4627,6 +4627,7 @@
     SUBDIR += py-graphene
     SUBDIR += py-graphene-django
     SUBDIR += py-graphene-sqlalchemy
+    SUBDIR += py-graphene2
     SUBDIR += py-graphql-core
     SUBDIR += py-graphql-core2
     SUBDIR += py-graphql-relay
diff --git a/devel/py-graphene2/Makefile b/devel/py-graphene2/Makefile
new file mode 100644
index 000000000000..5e94dd4b1be1
--- /dev/null
+++ b/devel/py-graphene2/Makefile
@@ -0,0 +1,30 @@
+# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
+
+PORTNAME=	graphene
+PORTVERSION=	2.1.9
+CATEGORIES=	devel python
+MASTER_SITES=	CHEESESHOP
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+PKGNAMESUFFIX=	2
+
+MAINTAINER=	sunpoet@FreeBSD.org
+COMMENT=	GraphQL Framework for Python
+
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}aniso86016>=3<7:devel/py-aniso86016@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}graphql-core2>=2.1<3:devel/py-graphql-core2@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}graphql-relay2>=2<3:devel/py-graphql-relay2@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}six>=1.10.0<2:devel/py-six@${PY_FLAVOR}
+
+USES=		python:3.6+
+USE_PYTHON=	autoplist concurrent distutils
+
+NO_ARCH=	yes
+
+CONFLICTS_INSTALL=	${PYTHON_PKGNAMEPREFIX}graphene
+
+PORTSCOUT=	limmit:^2\.
+
+.include <bsd.port.mk>
diff --git a/devel/py-graphene2/distinfo b/devel/py-graphene2/distinfo
new file mode 100644
index 000000000000..726e9a699951
--- /dev/null
+++ b/devel/py-graphene2/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1626542078
+SHA256 (graphene-2.1.9.tar.gz) = b9f2850e064eebfee9a3ef4a1f8aa0742848d97652173ab44c82cc8a62b9ed93
+SIZE (graphene-2.1.9.tar.gz) = 44667
diff --git a/devel/py-graphene2/pkg-descr b/devel/py-graphene2/pkg-descr
new file mode 100644
index 000000000000..ef8ac700885e
--- /dev/null
+++ b/devel/py-graphene2/pkg-descr
@@ -0,0 +1,9 @@
+Graphene is a Python library for building GraphQL schemas/types fast and easily.
+- Easy to use: Graphene helps you use GraphQL in Python without effort.
+- Relay: Graphene has builtin support for Relay.
+- Data agnostic: Graphene supports any kind of data source: SQL (Django,
+SQLAlchemy), NoSQL, custom Python objects, etc. We believe that by providing a
+complete API you could plug Graphene anywhere your data lives and make your data
+available through GraphQL.
+
+WWW: https://github.com/graphql-python/graphene