git: 943273625f81 - main - devel/py-devtools: Fix build after 54589007b2e454cb5f25304cb50fb5973b169826
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 12 Aug 2025 18:17:52 UTC
The branch main has been updated by sunpoet:
URL: https://cgit.FreeBSD.org/ports/commit/?id=943273625f81fc430241d5a0329c3b785985dc5a
commit 943273625f81fc430241d5a0329c3b785985dc5a
Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2025-08-12 17:58:17 +0000
Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2025-08-12 18:15:40 +0000
devel/py-devtools: Fix build after 54589007b2e454cb5f25304cb50fb5973b169826
- Bump PORTREVISION for package change
---
devel/py-devtools/Makefile | 3 ++-
devel/py-devtools/files/patch-pyproject.toml | 11 +++++++++++
2 files changed, 13 insertions(+), 1 deletion(-)
diff --git a/devel/py-devtools/Makefile b/devel/py-devtools/Makefile
index c94e6f60e3ca..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,7 +13,7 @@ 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}
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]`