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,29 +1,32 @@ PORTNAME= pythran PORTVERSION= 0.16.1 +PORTREVISION= 1 CATEGORIES= devel python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= wen@FreeBSD.org COMMENT= Ahead of Time compiler for numeric kernels 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 post-extract: ${RM} ${WRKSRC}/third_party/xsimd/config/*.rej ${RM} ${WRKSRC}/third_party/xsimd/*.rej ${RM} ${WRKSRC}/third_party/xsimd/math/.xsimd_gamma.hpp.swp .include 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