diff --git a/devel/py-graphql-relay/Makefile b/devel/py-graphql-relay/Makefile index 3b820610649f..19f6a25d9292 100644 --- a/devel/py-graphql-relay/Makefile +++ b/devel/py-graphql-relay/Makefile @@ -1,24 +1,23 @@ PORTNAME= graphql-relay PORTVERSION= 3.2.0 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= devel python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Relay implementation for Python WWW= https://github.com/graphql-python/graphql-relay-py LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE -BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}poetry-core>=1<2:devel/py-poetry-core@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}setuptools>=59<70:devel/py-setuptools@${PY_FLAVOR} +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}poetry-core>=1:devel/py-poetry-core@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}graphql-core>=3.2<4:devel/py-graphql-core@${PY_FLAVOR} USES= python USE_PYTHON= autoplist concurrent pep517 NO_ARCH= yes .include diff --git a/devel/py-graphql-relay/files/patch-pyproject.toml b/devel/py-graphql-relay/files/patch-pyproject.toml new file mode 100644 index 000000000000..8f9cd984dee1 --- /dev/null +++ b/devel/py-graphql-relay/files/patch-pyproject.toml @@ -0,0 +1,9 @@ +--- pyproject.toml.orig 2022-04-16 11:03:39 UTC ++++ pyproject.toml +@@ -67,5 +67,5 @@ target-version = ['py36', 'py37', 'py38', 'py39', 'py3 + target-version = ['py36', 'py37', 'py38', 'py39', 'py310'] + + [build-system] +-requires = ["poetry_core>=1,<2", "setuptools>=59,<70"] ++requires = ["poetry_core>=1"] + build-backend = "poetry.core.masonry.api"