Skip to content
Snippets Groups Projects
Verified Commit 2595dd7e authored by sunpoet's avatar sunpoet
Browse files

devel/py-graphql-relay: Allow build with py-poetry-core 2.0.0+

- Clean up BUILD_DEPENDS: py-setuptools is not needed
- Bump PORTREVISION for package change
parent d2a432e1
No related branches found
No related tags found
No related merge requests found
PORTNAME= graphql-relay
PORTVERSION= 3.2.0
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= devel python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
......@@ -12,8 +12,7 @@ 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
......
--- 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"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment