diff --git a/packages/py-pyhepmc/package.py b/packages/py-pyhepmc/package.py index c8c63e93..ac35ce6a 100644 --- a/packages/py-pyhepmc/package.py +++ b/packages/py-pyhepmc/package.py @@ -24,6 +24,13 @@ class PyPyhepmc(PythonPackage): sha256="17a6f941e4fa06d08a628990f6816d1da5e545d65f533e6f598740d2cb76ace4", ) + # match signature to different compiler versions + patch( + "https://patch-diff.githubusercontent.com/raw/scikit-hep/pyhepmc/pull/85.patch?full_index=1", + sha256="0a87e2da07fbf12a15b2c7025f7ee3fcd5bff540f331e4d820e4ea0ba2e779f2", + when="@:2.14.0", + ) + depends_on("cmake", type="build") depends_on("py-setuptools-scm", type="build")