bugfix: add build system imports to new packages (#50587)
Since #50452, build systems are no longer in core and need their own imports. Specifically, in addition to: ```python from spack.package import * ``` you now also need, e.g.: ```python from spack_repo.builtin.build_systems.python import PythonPackage ``` Or similar for other build systems, or things will break. - [x] Fix `py-deprecat` package - [x] Fix `cryoef` package Signed-off-by: Todd Gamblin <tgamblin@llnl.gov>
This commit is contained in:
parent
e58351f421
commit
c39725a9e6
@ -2,6 +2,8 @@
|
||||
#
|
||||
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
|
||||
|
||||
from spack_repo.builtin.build_systems.makefile import MakefilePackage
|
||||
|
||||
from spack.package import *
|
||||
|
||||
|
||||
|
@ -2,6 +2,8 @@
|
||||
#
|
||||
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
|
||||
|
||||
from spack_repo.builtin.build_systems.python import PythonPackage
|
||||
|
||||
from spack.package import *
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user