diff options
| author | Xin LI <delphij@FreeBSD.org> | 2025-07-02 22:37:47 -0700 |
|---|---|---|
| committer | Xin LI <delphij@FreeBSD.org> | 2025-10-12 23:41:32 -0700 |
| commit | 32835634e07156cdcc71423abc4d98a160e8149f (patch) | |
| tree | 0a5cb9f7de607e87289d3a11b1819507af161d7a | |
| parent | devel/py-ty: update to 0.0.1a22 (diff) | |
devel/py-pythran: Fix dependency build when newer setuptools is used.
PR: ports/288016
Approved by: maintainer timeout
| -rw-r--r-- | devel/py-pythran/Makefile | 1 | ||||
| -rw-r--r-- | devel/py-pythran/files/patch-pythran_dist.py | 11 |
2 files changed, 12 insertions, 0 deletions
diff --git a/devel/py-pythran/Makefile b/devel/py-pythran/Makefile index 4c37f7bdf750..0e782ce91e75 100644 --- a/devel/py-pythran/Makefile +++ b/devel/py-pythran/Makefile @@ -1,5 +1,6 @@ PORTNAME= pythran PORTVERSION= 0.17.0 +PORTREVISION= 1 CATEGORIES= devel python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} diff --git a/devel/py-pythran/files/patch-pythran_dist.py b/devel/py-pythran/files/patch-pythran_dist.py new file mode 100644 index 000000000000..10a0ee69fd59 --- /dev/null +++ b/devel/py-pythran/files/patch-pythran_dist.py @@ -0,0 +1,11 @@ +--- pythran/dist.py.orig 2024-10-17 07:42:48 UTC ++++ pythran/dist.py +@@ -92,7 +92,7 @@ class PythranBuildExtMixIn(object): + return find_exe(exe, *args, **kwargs) + + msvc._find_exe = _find_exe +- except ImportError: ++ except (AttributeError, ImportError): + pass + + # In general, distutils uses -Wstrict-prototypes, but this option |
