git: 7383168a2c89 - main - devel/py-pythran: convert to pep517
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 22 Sep 2024 08:53:39 UTC
The branch main has been updated by makc:
URL: https://cgit.FreeBSD.org/ports/commit/?id=7383168a2c89c4ec9a4927efd83a24f2abb77c24
commit 7383168a2c89c4ec9a4927efd83a24f2abb77c24
Author: Max Brazhnikov <makc@FreeBSD.org>
AuthorDate: 2024-09-22 08:52:05 +0000
Commit: Max Brazhnikov <makc@FreeBSD.org>
CommitDate: 2024-09-22 08:52:05 +0000
devel/py-pythran: convert to pep517
and bump PORTREVISION to fix runtime error when building dependent ports.
PR: 281588
Appoved by: wen@ (maintainer)
---
devel/py-pythran/Makefile | 5 ++++-
devel/py-pythran/files/patch-requirements.txt | 10 ++++++++++
2 files changed, 14 insertions(+), 1 deletion(-)
diff --git a/devel/py-pythran/Makefile b/devel/py-pythran/Makefile
index c3c8b39eb8e7..c5c73dff4790 100644
--- a/devel/py-pythran/Makefile
+++ b/devel/py-pythran/Makefile
@@ -1,5 +1,6 @@
PORTNAME= pythran
PORTVERSION= 0.16.1
+PORTREVISION= 1
CATEGORIES= devel python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -11,13 +12,15 @@ WWW= https://github.com/serge-sans-paille/pythran
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
RUN_DEPENDS= ${PYNUMPY} \
${PYTHON_PKGNAMEPREFIX}ply>=3.4:devel/py-ply@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}gast>=0.5.0:devel/py-gast@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}beniget>=0.4.0:devel/py-beniget@${PY_FLAVOR}
USES= python
-USE_PYTHON= autoplist concurrent distutils
+USE_PYTHON= autoplist concurrent pep517
NO_ARCH= yes
diff --git a/devel/py-pythran/files/patch-requirements.txt b/devel/py-pythran/files/patch-requirements.txt
new file mode 100644
index 000000000000..de275470c785
--- /dev/null
+++ b/devel/py-pythran/files/patch-requirements.txt
@@ -0,0 +1,10 @@
+--- requirements.txt.orig 2023-12-11 08:19:50 UTC
++++ requirements.txt
+@@ -1,5 +1,5 @@ setuptools
+ ply>=3.4
+ setuptools
+-gast~=0.5.0
++gast
+ numpy
+-beniget~=0.4.0
++beniget