summaryrefslogtreecommitdiff
path: root/devel/py-devtools
diff options
context:
space:
mode:
Diffstat (limited to 'devel/py-devtools')
-rw-r--r--devel/py-devtools/Makefile5
-rw-r--r--devel/py-devtools/files/patch-pyproject.toml11
2 files changed, 14 insertions, 2 deletions
diff --git a/devel/py-devtools/Makefile b/devel/py-devtools/Makefile
index 420f41e32751..0912b061d3ac 100644
--- a/devel/py-devtools/Makefile
+++ b/devel/py-devtools/Makefile
@@ -1,5 +1,6 @@
PORTNAME= devtools
PORTVERSION= 0.12.2
+PORTREVISION= 1
CATEGORIES= devel python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -12,12 +13,12 @@ LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hatchling>=0:devel/py-hatchling@${PY_FLAVOR}
-RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}asttokens>=2.0.0<3.0.0:devel/py-asttokens@${PY_FLAVOR} \
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}asttokens>=2.0.0<4.0.0:devel/py-asttokens@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}executing>=1.1.1:devel/py-executing@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pygments>=2.15.0:textproc/py-pygments@${PY_FLAVOR}
USES= python
-USE_PYTHON= autoplist concurrent pep517
+USE_PYTHON= autoplist concurrent pep517 pytest
NO_ARCH= yes
diff --git a/devel/py-devtools/files/patch-pyproject.toml b/devel/py-devtools/files/patch-pyproject.toml
new file mode 100644
index 000000000000..f369bc7f982b
--- /dev/null
+++ b/devel/py-devtools/files/patch-pyproject.toml
@@ -0,0 +1,11 @@
+--- pyproject.toml.orig 2020-02-02 00:00:00 UTC
++++ pyproject.toml
+@@ -36,7 +36,7 @@ dependencies = [
+ requires-python = '>=3.7'
+ dependencies = [
+ 'executing>=1.1.1',
+- 'asttokens>=2.0.0,<3.0.0',
++ 'asttokens>=2.0.0,<4.0.0',
+ 'Pygments>=2.15.0',
+ ]
+ # keep this meaningless group around to avoid breaking installs using `pip install devtools[pygments]`