py-pyzmq: fix order of decorators (#40157)

This commit is contained in:
Adam J. Stewart 2023-09-22 10:20:56 -05:00 committed by GitHub
parent 783e253f7d
commit 480a5e0848
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -60,8 +60,7 @@ class PyPyzmq(PythonPackage):
# Undocumented dependencies # Undocumented dependencies
depends_on("py-gevent", type=("build", "run")) depends_on("py-gevent", type=("build", "run"))
@run_before("install") @run_before("install", when="@15:19")
@when("@15:19")
def remove_cythonized_files(self): def remove_cythonized_files(self):
# Before v20.0.0 an ancient cythonize API was used, for which we cannot # Before v20.0.0 an ancient cythonize API was used, for which we cannot
# force re-cythonization. Re-cythonizing v14.x fails in general, so # force re-cythonization. Re-cythonizing v14.x fails in general, so