py-pythran: apply patch to fix compilation with GCC 13 (#42490)

* py-pythran: apply patch to fix compilation with GCC 13

* Update var/spack/repos/builtin/packages/py-pythran/package.py

Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>

---------

Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
This commit is contained in:
Mosè Giordano 2024-02-05 16:08:41 +00:00 committed by GitHub
parent 05f1f07e51
commit 713b19cac7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -58,6 +58,13 @@ class PyPythran(PythonPackage):
# https://github.com/serge-sans-paille/pythran/pull/1856
patch("omp.patch", when="@0.9.10:0.9.12")
# https://github.com/serge-sans-paille/pythran/pull/2029
patch(
"https://github.com/serge-sans-paille/pythran/commit/00a454a9c33ff05852c8d36a73cc1aadb9690c9a.patch?full_index=1",
sha256="5ccf989a259e33e942b7dde39f8e90917e12afd7fda16ec90e9adad8ccf444fb",
when="@:0.12.0",
)
# https://github.com/serge-sans-paille/pythran/issues/1937
conflicts("%apple-clang@13:", when="@:0.10")