diff --git a/repos/spack_repo/builtin/packages/py_lupa/package.py b/repos/spack_repo/builtin/packages/py_lupa/package.py index e701a015f97..72a529c5ad6 100644 --- a/repos/spack_repo/builtin/packages/py_lupa/package.py +++ b/repos/spack_repo/builtin/packages/py_lupa/package.py @@ -15,7 +15,12 @@ class PyLupa(PythonPackage): version("2.6", sha256="9a770a6e89576be3447668d7ced312cd6fd41d3c13c2462c9dc2c2ab570e45d9") + depends_on("c", type="build") + depends_on("pkgconfig", type="build") depends_on("py-setuptools", type="build") depends_on("py-cython@3.1.6:", type="build") - depends_on("lua-luajit", type=("build", "run")) + depends_on("lua-luajit", type=("build", "link", "run")) + + def setup_build_environment(self, env: EnvironmentModifications) -> None: + env.set("LUPA_NO_BUNDLE", "true")