diff --git a/devel/py-graphql-relay2/Makefile b/devel/py-graphql-relay2/Makefile new file mode 100644 index 000000000000..260aad49c9c0 --- /dev/null +++ b/devel/py-graphql-relay2/Makefile @@ -0,0 +1,28 @@ +# Created by: Po-Chuan Hsieh +# $FreeBSD$ + +PORTNAME= graphql-relay +PORTVERSION= 2.0.1 +CATEGORIES= devel python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} +PKGNAMESUFFIX= 2 + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Relay implementation for Python + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}graphql-core2>=2.2<3:devel/py-graphql-core2@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}promise>=2.2<3:devel/py-promise@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}six>=1.12:devel/py-six@${PY_FLAVOR} + +USES= python +USE_PYTHON= autoplist concurrent distutils + +NO_ARCH= yes + +PORTSCOUT= limit:^2\. + +.include diff --git a/devel/py-graphql-relay2/distinfo b/devel/py-graphql-relay2/distinfo new file mode 100644 index 000000000000..140604c5cde7 --- /dev/null +++ b/devel/py-graphql-relay2/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1575908034 +SHA256 (graphql-relay-2.0.1.tar.gz) = 870b6b5304123a38a0b215a79eace021acce5a466bf40cd39fa18cb8528afabb +SIZE (graphql-relay-2.0.1.tar.gz) = 21052 diff --git a/devel/py-graphql-relay2/pkg-descr b/devel/py-graphql-relay2/pkg-descr new file mode 100644 index 000000000000..ad9ba61710b6 --- /dev/null +++ b/devel/py-graphql-relay2/pkg-descr @@ -0,0 +1,8 @@ +Relay Library for GraphQL Python is a library to allow the easy creation of +Relay-compliant servers using the GraphQL Python reference implementation of a +GraphQL server. + +Note: The code is a exact port of the original graphql-relay js implementation +from Facebook + +WWW: https://github.com/graphql-python/graphql-relay-py