py-cython: set upperbound for backported patch (#36525)
This commit is contained in:
parent
701e46464d
commit
67c4ada08b
@ -54,7 +54,7 @@ class PyCython(PythonPackage):
|
|||||||
depends_on("gdb@7.2:", type="test")
|
depends_on("gdb@7.2:", type="test")
|
||||||
|
|
||||||
# Backports CYTHON_FORCE_REGEN environment variable
|
# Backports CYTHON_FORCE_REGEN environment variable
|
||||||
patch("5307.patch", when="@0.29")
|
patch("5307.patch", when="@0.29:0.29.33")
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def command(self):
|
def command(self):
|
||||||
@ -72,9 +72,7 @@ def setup_dependent_build_environment(self, env, dependent_spec):
|
|||||||
# pre-generated C-sources in tarballs, see also
|
# pre-generated C-sources in tarballs, see also
|
||||||
# https://github.com/cython/cython/issues/5089
|
# https://github.com/cython/cython/issues/5089
|
||||||
|
|
||||||
# Backport for support for this variable in 0.29 is pending
|
# Support for this was backported to 0.29.34, but we patch any 0.29 release
|
||||||
# https://github.com/cython/cython/pull/5307, we apply a patch in
|
|
||||||
# Spack to use it already.
|
|
||||||
if self.spec.version >= Version("0.29"):
|
if self.spec.version >= Version("0.29"):
|
||||||
env.set("CYTHON_FORCE_REGEN", "1")
|
env.set("CYTHON_FORCE_REGEN", "1")
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user