diff options
Diffstat (limited to 'devel')
| -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 |
