ports/devel/py-graphql-core/Makefile

29 lines
773 B
Makefile

PORTNAME= graphql-core
PORTVERSION= 3.2.6
CATEGORIES= devel python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= graphql_core-${PORTVERSION}
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= GraphQL implementation for Python
WWW= https://github.com/graphql-python/graphql-core-next
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}poetry-core>=1<3:devel/py-poetry-core@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}setuptools>=59<76:devel/py-setuptools@${PY_FLAVOR}
USES= python
USE_PYTHON= autoplist concurrent pep517
NO_ARCH= yes
.include <bsd.port.pre.mk>
.if ${PYTHON_REL} < 31000
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}typing-extensions>=4.1<5:devel/py-typing-extensions@${PY_FLAVOR}
.endif
.include <bsd.port.post.mk>