diff --git a/packages/art-cpp-db-interfaces/package.py b/packages/art-cpp-db-interfaces/package.py index d54eee73..e9451810 100644 --- a/packages/art-cpp-db-interfaces/package.py +++ b/packages/art-cpp-db-interfaces/package.py @@ -4,6 +4,7 @@ # SPDX-License-Identifier: (Apache-2.0 OR MIT) from spack import * +from spack.package import * class ArtCppDbInterfaces(Package): diff --git a/packages/art/package.py b/packages/art/package.py index cc8e7bc4..e8541812 100755 --- a/packages/art/package.py +++ b/packages/art/package.py @@ -6,6 +6,7 @@ import os from spack import * +from spack.package import * from spack.pkg.fnal_art.fnal_github_package import * from spack.util.prefix import Prefix diff --git a/packages/artg4/package.py b/packages/artg4/package.py index abab0777..026ea72e 100644 --- a/packages/artg4/package.py +++ b/packages/artg4/package.py @@ -4,6 +4,7 @@ # SPDX-License-Identifier: (Apache-2.0 OR MIT) from spack import * +from spack.package import * class Artg4(CMakePackage): diff --git a/packages/artg4tk/package.py b/packages/artg4tk/package.py index a4ea4e73..16afc960 100644 --- a/packages/artg4tk/package.py +++ b/packages/artg4tk/package.py @@ -4,6 +4,7 @@ # SPDX-License-Identifier: (Apache-2.0 OR MIT) from spack import * +from spack.package import * class Artg4tk(CMakePackage): diff --git a/packages/bxdecay0/package.py b/packages/bxdecay0/package.py index 4b68137d..86bc639c 100644 --- a/packages/bxdecay0/package.py +++ b/packages/bxdecay0/package.py @@ -7,6 +7,7 @@ import spack.util.spack_json as sjson from spack import * +from spack.package import * def sanitize_environments(*args): diff --git a/packages/cadmesh/package.py b/packages/cadmesh/package.py index d62ce240..00bf4d0b 100644 --- a/packages/cadmesh/package.py +++ b/packages/cadmesh/package.py @@ -4,6 +4,7 @@ # SPDX-License-Identifier: (Apache-2.0 OR MIT) from spack import * +from spack.package import * class Cadmesh(CMakePackage): diff --git a/packages/castxml/package.py b/packages/castxml/package.py index d6438f03..b2516681 100644 --- a/packages/castxml/package.py +++ b/packages/castxml/package.py @@ -21,6 +21,7 @@ # ---------------------------------------------------------------------------- from spack import * +from spack.package import * class Castxml(CMakePackage): diff --git a/packages/cetbuildtools/package.py b/packages/cetbuildtools/package.py index 63abcb7a..e4ff7cac 100644 --- a/packages/cetbuildtools/package.py +++ b/packages/cetbuildtools/package.py @@ -22,6 +22,7 @@ import spack.util.spack_json as sjson from spack import * +from spack.package import * class Cetbuildtools(CMakePackage): diff --git a/packages/cetpkgsupport/package.py b/packages/cetpkgsupport/package.py index 8b3406a9..3791fa20 100644 --- a/packages/cetpkgsupport/package.py +++ b/packages/cetpkgsupport/package.py @@ -4,6 +4,7 @@ # SPDX-License-Identifier: (Apache-2.0 OR MIT) from spack import * +from spack.package import * class Cetpkgsupport(CMakePackage): diff --git a/packages/cosmosis/package.py b/packages/cosmosis/package.py index 20099d44..2a8afcc4 100644 --- a/packages/cosmosis/package.py +++ b/packages/cosmosis/package.py @@ -6,6 +6,7 @@ import os from spack import * +from spack.package import * class Cosmosis(MakefilePackage): diff --git a/packages/crc32c/package.py b/packages/crc32c/package.py index c62ec328..491ee609 100644 --- a/packages/crc32c/package.py +++ b/packages/crc32c/package.py @@ -5,6 +5,7 @@ from spack import * +from spack.package import * class Crc32c(CMakePackage): diff --git a/packages/cry/package.py b/packages/cry/package.py index 4cdfce37..21e37c15 100644 --- a/packages/cry/package.py +++ b/packages/cry/package.py @@ -9,6 +9,7 @@ import sys from spack import * +from spack.package import * libdir = "%s/var/spack/repos/fnal_art/lib" % os.environ["SPACK_ROOT"] if libdir not in sys.path: diff --git a/packages/dunetpc/package.py b/packages/dunetpc/package.py index a0fcabff..8fec7202 100644 --- a/packages/dunetpc/package.py +++ b/packages/dunetpc/package.py @@ -7,6 +7,7 @@ import os from spack import * +from spack.package import * def sanitize_environments(*args): diff --git a/packages/genie-phyopt/package.py b/packages/genie-phyopt/package.py index 70ac7416..d68d307f 100644 --- a/packages/genie-phyopt/package.py +++ b/packages/genie-phyopt/package.py @@ -7,6 +7,7 @@ import os from spack import * +from spack.package import * class GeniePhyopt(Package): diff --git a/packages/genie-xsec/package.py b/packages/genie-xsec/package.py index 159f0f8e..5ee56da7 100644 --- a/packages/genie-xsec/package.py +++ b/packages/genie-xsec/package.py @@ -6,6 +6,7 @@ import os from spack import * +from spack.package import * class GenieXsec(Package): diff --git a/packages/genie/package.py b/packages/genie/package.py index 5a09e7a8..79157380 100644 --- a/packages/genie/package.py +++ b/packages/genie/package.py @@ -9,6 +9,7 @@ from llnl.util import filesystem from spack import * +from spack.package import * class Genie(AutotoolsPackage): diff --git a/packages/gitflow/package.py b/packages/gitflow/package.py index c4f80e78..594c9ed8 100644 --- a/packages/gitflow/package.py +++ b/packages/gitflow/package.py @@ -4,6 +4,7 @@ # SPDX-License-Identifier: (Apache-2.0 OR MIT) from spack import * +from spack.package import * class Gitflow(Package): diff --git a/packages/gm2/package.py b/packages/gm2/package.py index 155ac1ab..72e75b5b 100644 --- a/packages/gm2/package.py +++ b/packages/gm2/package.py @@ -5,6 +5,7 @@ from spack import * +from spack.package import * class Gm2(Package): diff --git a/packages/gm2analyses/package.py b/packages/gm2analyses/package.py index 26bda996..ae7ad9b2 100644 --- a/packages/gm2analyses/package.py +++ b/packages/gm2analyses/package.py @@ -4,6 +4,7 @@ # SPDX-License-Identifier: (Apache-2.0 OR MIT) from spack import * +from spack.package import * class Gm2analyses(CMakePackage): diff --git a/packages/gm2aux/package.py b/packages/gm2aux/package.py index fb4f50cd..ec656552 100644 --- a/packages/gm2aux/package.py +++ b/packages/gm2aux/package.py @@ -5,6 +5,7 @@ from spack import * +from spack.package import * class Gm2aux(CMakePackage): diff --git a/packages/gm2calo/package.py b/packages/gm2calo/package.py index 6f4219e1..3b1579f0 100644 --- a/packages/gm2calo/package.py +++ b/packages/gm2calo/package.py @@ -4,6 +4,7 @@ # SPDX-License-Identifier: (Apache-2.0 OR MIT) from spack import * +from spack.package import * class Gm2calo(CMakePackage): diff --git a/packages/gm2dataproducts/package.py b/packages/gm2dataproducts/package.py index a0477c2f..f32f65a1 100644 --- a/packages/gm2dataproducts/package.py +++ b/packages/gm2dataproducts/package.py @@ -5,6 +5,7 @@ from spack import * +from spack.package import * class Gm2dataproducts(CMakePackage): diff --git a/packages/gm2db/package.py b/packages/gm2db/package.py index 868ac71e..43578ea9 100644 --- a/packages/gm2db/package.py +++ b/packages/gm2db/package.py @@ -5,6 +5,7 @@ from spack import * +from spack.package import * class Gm2db(CMakePackage): diff --git a/packages/gm2field/package.py b/packages/gm2field/package.py index e6f5abb9..ed3209e7 100644 --- a/packages/gm2field/package.py +++ b/packages/gm2field/package.py @@ -5,6 +5,7 @@ from spack import * +from spack.package import * class Gm2field(CMakePackage): diff --git a/packages/gm2fieldsignal/package.py b/packages/gm2fieldsignal/package.py index 88293f58..5137aa19 100644 --- a/packages/gm2fieldsignal/package.py +++ b/packages/gm2fieldsignal/package.py @@ -5,6 +5,7 @@ from spack import * +from spack.package import * class Gm2fieldsignal(CMakePackage): diff --git a/packages/gm2geom/package.py b/packages/gm2geom/package.py index 95adad1d..65e34e30 100644 --- a/packages/gm2geom/package.py +++ b/packages/gm2geom/package.py @@ -5,6 +5,7 @@ from spack import * +from spack.package import * class Gm2geom(CMakePackage): diff --git a/packages/gm2midastoart/package.py b/packages/gm2midastoart/package.py index 0e164bc7..edc2feaa 100644 --- a/packages/gm2midastoart/package.py +++ b/packages/gm2midastoart/package.py @@ -5,6 +5,7 @@ from spack import * +from spack.package import * class Gm2midastoart(CMakePackage): diff --git a/packages/gm2pip/package.py b/packages/gm2pip/package.py index 620d6a47..eba68ab6 100644 --- a/packages/gm2pip/package.py +++ b/packages/gm2pip/package.py @@ -5,6 +5,7 @@ from spack import * +from spack.package import * class Gm2pip(Package): diff --git a/packages/gm2reconeast/package.py b/packages/gm2reconeast/package.py index 250fbc71..cbb9d9d9 100644 --- a/packages/gm2reconeast/package.py +++ b/packages/gm2reconeast/package.py @@ -5,6 +5,7 @@ from spack import * +from spack.package import * class Gm2reconeast(CMakePackage): diff --git a/packages/gm2ringsim/package.py b/packages/gm2ringsim/package.py index c668e567..93c6616c 100644 --- a/packages/gm2ringsim/package.py +++ b/packages/gm2ringsim/package.py @@ -5,6 +5,7 @@ from spack import * +from spack.package import * class Gm2ringsim(CMakePackage): diff --git a/packages/gm2templates/package.py b/packages/gm2templates/package.py index 60acc98e..0b92d45f 100644 --- a/packages/gm2templates/package.py +++ b/packages/gm2templates/package.py @@ -5,6 +5,7 @@ from spack import * +from spack.package import * class Gm2templates(CMakePackage): diff --git a/packages/gm2tracker/package.py b/packages/gm2tracker/package.py index 575a3694..3d0c99c7 100644 --- a/packages/gm2tracker/package.py +++ b/packages/gm2tracker/package.py @@ -5,6 +5,7 @@ from spack import * +from spack.package import * class Gm2tracker(CMakePackage): diff --git a/packages/gm2trackerdaq/package.py b/packages/gm2trackerdaq/package.py index 77e5d2b1..6badfe85 100644 --- a/packages/gm2trackerdaq/package.py +++ b/packages/gm2trackerdaq/package.py @@ -5,6 +5,7 @@ from spack import * +from spack.package import * class Gm2trackerdaq(CMakePackage): diff --git a/packages/gm2unpackers/package.py b/packages/gm2unpackers/package.py index 1a140555..8249918e 100644 --- a/packages/gm2unpackers/package.py +++ b/packages/gm2unpackers/package.py @@ -5,6 +5,7 @@ from spack import * +from spack.package import * class Gm2unpackers(CMakePackage): diff --git a/packages/gm2util/package.py b/packages/gm2util/package.py index 4b39e631..5f72a974 100644 --- a/packages/gm2util/package.py +++ b/packages/gm2util/package.py @@ -5,6 +5,7 @@ from spack import * +from spack.package import * class Gm2util(CMakePackage): diff --git a/packages/google-benchmark/package.py b/packages/google-benchmark/package.py index f9f1a0c1..903bd611 100644 --- a/packages/google-benchmark/package.py +++ b/packages/google-benchmark/package.py @@ -5,6 +5,8 @@ from spack import * +from spack.package import * + class GoogleBenchmark(CMakePackage): """FIXME: Put a proper description of your package here.""" diff --git a/packages/google-cloud-cpp/package.py b/packages/google-cloud-cpp/package.py index 50567d5a..c98dd086 100644 --- a/packages/google-cloud-cpp/package.py +++ b/packages/google-cloud-cpp/package.py @@ -5,6 +5,7 @@ from spack import * +from spack.package import * class GoogleCloudCpp(CMakePackage): diff --git a/packages/h5cpp/package.py b/packages/h5cpp/package.py index 6ff4ca84..fbc273a7 100644 --- a/packages/h5cpp/package.py +++ b/packages/h5cpp/package.py @@ -6,6 +6,7 @@ import re from spack import * +from spack.package import * class H5cpp(Package): diff --git a/packages/icarus-data/package.py b/packages/icarus-data/package.py index bd94d72b..00517b8b 100644 --- a/packages/icarus-data/package.py +++ b/packages/icarus-data/package.py @@ -1,6 +1,7 @@ import glob from spack import * +from spack.package import * class IcarusData(Package): diff --git a/packages/icarus-signal-processing/package.py b/packages/icarus-signal-processing/package.py index 5440c22c..a70ce553 100644 --- a/packages/icarus-signal-processing/package.py +++ b/packages/icarus-signal-processing/package.py @@ -7,6 +7,7 @@ import spack.util.spack_json as sjson from spack import * +from spack.package import * def sanitize_environments(*args): diff --git a/packages/icarusalg/package.py b/packages/icarusalg/package.py index 42d7efdc..19e5721b 100644 --- a/packages/icarusalg/package.py +++ b/packages/icarusalg/package.py @@ -7,6 +7,7 @@ import spack.util.spack_json as sjson from spack import * +from spack.package import * def sanitize_environments(*args): diff --git a/packages/icaruscode/package.py b/packages/icaruscode/package.py index 89d4ae3d..df224618 100644 --- a/packages/icaruscode/package.py +++ b/packages/icaruscode/package.py @@ -7,6 +7,7 @@ import sys from spack import * +from spack.package import * libdir = "%s/var/spack/repos/fnal_art/lib" % os.environ["SPACK_ROOT"] if libdir not in sys.path: diff --git a/packages/icarusutil/package.py b/packages/icarusutil/package.py index 5908604a..52a6cfb1 100644 --- a/packages/icarusutil/package.py +++ b/packages/icarusutil/package.py @@ -7,6 +7,7 @@ import sys from spack import * +from spack.package import * libdir = "%s/var/spack/repos/fnal_art/lib" % os.environ["SPACK_ROOT"] if libdir not in sys.path: diff --git a/packages/ifbeam/package.py b/packages/ifbeam/package.py index ae7a312f..855ff098 100644 --- a/packages/ifbeam/package.py +++ b/packages/ifbeam/package.py @@ -4,6 +4,7 @@ # SPDX-License-Identifier: (Apache-2.0 OR MIT) from spack import * +from spack.package import * class Ifbeam(MakefilePackage): diff --git a/packages/ifdh-art/package.py b/packages/ifdh-art/package.py index 90cdbde1..ac413ff1 100644 --- a/packages/ifdh-art/package.py +++ b/packages/ifdh-art/package.py @@ -5,6 +5,7 @@ import spack.util.spack_json as sjson from spack import * +from spack.package import * def sanitize_environments(*args): diff --git a/packages/ifdhc-config/package.py b/packages/ifdhc-config/package.py index f6c58f7e..d22ff231 100644 --- a/packages/ifdhc-config/package.py +++ b/packages/ifdhc-config/package.py @@ -8,6 +8,7 @@ import llnl.util.tty as tty from spack import * +from spack.package import * class IfdhcConfig(Package): diff --git a/packages/ifdhc/package.py b/packages/ifdhc/package.py index 18c55f86..875a52c2 100644 --- a/packages/ifdhc/package.py +++ b/packages/ifdhc/package.py @@ -8,6 +8,7 @@ import llnl.util.tty as tty from spack import * +from spack.package import * class Ifdhc(MakefilePackage): diff --git a/packages/intel-tbb-oneapi/package.py b/packages/intel-tbb-oneapi/package.py index 2e240c37..c2df0f17 100644 --- a/packages/intel-tbb-oneapi/package.py +++ b/packages/intel-tbb-oneapi/package.py @@ -4,6 +4,7 @@ # SPDX-License-Identifier: (Apache-2.0 OR MIT) from spack import * +from spack.package import * class IntelTbbOneapi(CMakePackage): diff --git a/packages/jsonnet/package.py b/packages/jsonnet/package.py index c9d2fbf7..605e2f20 100644 --- a/packages/jsonnet/package.py +++ b/packages/jsonnet/package.py @@ -3,9 +3,11 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from spack import * import os +from spack import * +from spack.package import * + class Jsonnet(Package): "A data templating language looking like JSON that produces JSON." diff --git a/packages/libb64/package.py b/packages/libb64/package.py index de57af43..636f9ec9 100644 --- a/packages/libb64/package.py +++ b/packages/libb64/package.py @@ -5,6 +5,7 @@ from spack import * +from spack.package import * class Libb64(MakefilePackage): diff --git a/packages/libevhtp/package.py b/packages/libevhtp/package.py index 6337ab4e..add99ed0 100644 --- a/packages/libevhtp/package.py +++ b/packages/libevhtp/package.py @@ -4,6 +4,7 @@ # SPDX-License-Identifier: (Apache-2.0 OR MIT) from spack import * +from spack.package import * class Libevhtp(CMakePackage): diff --git a/packages/libpqxx/package.py b/packages/libpqxx/package.py index 4af595d1..0bfd64d6 100644 --- a/packages/libpqxx/package.py +++ b/packages/libpqxx/package.py @@ -5,6 +5,7 @@ from spack import * +from spack.package import * class Libpqxx(CMakePackage): diff --git a/packages/libwda/package.py b/packages/libwda/package.py index 7394b0e4..e48e33d0 100644 --- a/packages/libwda/package.py +++ b/packages/libwda/package.py @@ -6,6 +6,7 @@ import os from spack import * +from spack.package import * class Libwda(MakefilePackage): diff --git a/packages/log4cpp/package.py b/packages/log4cpp/package.py index e71c7aae..f37765d2 100644 --- a/packages/log4cpp/package.py +++ b/packages/log4cpp/package.py @@ -4,6 +4,7 @@ # SPDX-License-Identifier: (Apache-2.0 OR MIT) from spack import * +from spack.package import * class Log4cpp(AutotoolsPackage): diff --git a/packages/marley/package.py b/packages/marley/package.py index 1d22135a..5a662932 100644 --- a/packages/marley/package.py +++ b/packages/marley/package.py @@ -4,6 +4,7 @@ # SPDX-License-Identifier: (Apache-2.0 OR MIT) from spack import * +from spack.package import * class Marley(Package): diff --git a/packages/nucondb/package.py b/packages/nucondb/package.py index 12c55a03..70739aeb 100644 --- a/packages/nucondb/package.py +++ b/packages/nucondb/package.py @@ -4,6 +4,7 @@ # SPDX-License-Identifier: (Apache-2.0 OR MIT) from spack import * +from spack.package import * class Nucondb(MakefilePackage): diff --git a/packages/pandora/package.py b/packages/pandora/package.py index cb193c74..b7bf4bde 100644 --- a/packages/pandora/package.py +++ b/packages/pandora/package.py @@ -7,6 +7,7 @@ import os.path from spack import * +from spack.package import * class Pandora(CMakePackage): diff --git a/packages/pdfsets/package.py b/packages/pdfsets/package.py index 64945dc6..c03906e9 100644 --- a/packages/pdfsets/package.py +++ b/packages/pdfsets/package.py @@ -4,6 +4,7 @@ # SPDX-License-Identifier: (Apache-2.0 OR MIT) from spack import * +from spack.package import * class Pdfsets(Package): diff --git a/packages/prometheus-cpp/package.py b/packages/prometheus-cpp/package.py index 2bcf3fa0..f8fffb8b 100644 --- a/packages/prometheus-cpp/package.py +++ b/packages/prometheus-cpp/package.py @@ -21,6 +21,7 @@ # ---------------------------------------------------------------------------- from spack import * +from spack.package import * class PrometheusCpp(CMakePackage): diff --git a/packages/py-dash/package.py b/packages/py-dash/package.py index 8e2b7e74..5f4658ee 100644 --- a/packages/py-dash/package.py +++ b/packages/py-dash/package.py @@ -4,6 +4,7 @@ # SPDX-License-Identifier: (Apache-2.0 OR MIT) from spack import * +from spack.package import * class PyDash(PythonPackage): diff --git a/packages/py-geventhttpclient/package.py b/packages/py-geventhttpclient/package.py index ebceccab..175becb6 100644 --- a/packages/py-geventhttpclient/package.py +++ b/packages/py-geventhttpclient/package.py @@ -21,6 +21,7 @@ # ---------------------------------------------------------------------------- from spack import * +from spack.package import * class PyGeventhttpclient(PythonPackage): diff --git a/packages/py-grpcio-tools/package.py b/packages/py-grpcio-tools/package.py index d30cffde..b774c326 100644 --- a/packages/py-grpcio-tools/package.py +++ b/packages/py-grpcio-tools/package.py @@ -3,13 +3,15 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) +from spack.package import * + class PyGrpcioTools(PythonPackage): """HTTP/2-based RPC framework.""" homepage = "https://grpc.io/" url = "https://pypi.io/packages/source/g/grpcio-tools/grpcio-tools-1.35.0.tar.gz" - version("1.59.0", sha256="aa4018f2d8662ac4d9830445d3d253a11b3e096e8afe20865547137aa1160e93") + version("1.59.0", sha256="aa4018f2d8662ac4d9830445d3d253a11b3e096e8afe20865547137aa1160e93") version("1.58.0", sha256="6f4d80ceb591e31ca4dceec747dbe56132e1392a0a9bb1c8fe001d1b5cac898a") version("1.35.0", sha256="9e2a41cba9c5a20ae299d0fdd377fe231434fa04cbfbfb3807293c6ec10b03cf") diff --git a/packages/py-ipywe/package.py b/packages/py-ipywe/package.py index 3eddab5a..a5ca289a 100644 --- a/packages/py-ipywe/package.py +++ b/packages/py-ipywe/package.py @@ -5,6 +5,7 @@ from spack import * +from spack.package import * class PyIpywe(PythonPackage): diff --git a/packages/py-julia/package.py b/packages/py-julia/package.py index 4a60bdda..f3288e0f 100644 --- a/packages/py-julia/package.py +++ b/packages/py-julia/package.py @@ -5,6 +5,7 @@ from spack import * +from spack.package import * class PyJulia(PythonPackage): diff --git a/packages/py-jupyter-full-width/package.py b/packages/py-jupyter-full-width/package.py index 4e8f1d53..6293a838 100644 --- a/packages/py-jupyter-full-width/package.py +++ b/packages/py-jupyter-full-width/package.py @@ -21,6 +21,7 @@ # ---------------------------------------------------------------------------- from spack import * +from spack.package import * class PyJupyterFullWidth(PythonPackage): diff --git a/packages/py-jupyterlab-launcher/package.py b/packages/py-jupyterlab-launcher/package.py index 200fc2a9..72632667 100644 --- a/packages/py-jupyterlab-launcher/package.py +++ b/packages/py-jupyterlab-launcher/package.py @@ -21,6 +21,7 @@ # ---------------------------------------------------------------------------- from spack import * +from spack.package import * class PyJupyterlabLauncher(PythonPackage): diff --git a/packages/py-jupyterlab-templates/package.py b/packages/py-jupyterlab-templates/package.py index 62e80de0..51a83569 100644 --- a/packages/py-jupyterlab-templates/package.py +++ b/packages/py-jupyterlab-templates/package.py @@ -5,6 +5,7 @@ from spack import * +from spack.package import * class PyJupyterlabTemplates(PythonPackage): diff --git a/packages/py-jupyterlab-widgets/package.py b/packages/py-jupyterlab-widgets/package.py index 8c139f86..b9a827e4 100644 --- a/packages/py-jupyterlab-widgets/package.py +++ b/packages/py-jupyterlab-widgets/package.py @@ -5,6 +5,7 @@ from spack import * +from spack.package import * class PyJupyterlabWidgets(PythonPackage): diff --git a/packages/py-matplotlylib/package.py b/packages/py-matplotlylib/package.py index b0091479..a36c9f7e 100644 --- a/packages/py-matplotlylib/package.py +++ b/packages/py-matplotlylib/package.py @@ -5,6 +5,7 @@ from spack import * +from spack.package import * class PyMatplotlylib(PythonPackage): diff --git a/packages/py-plotly-scientific-plots/package.py b/packages/py-plotly-scientific-plots/package.py index b9f421bb..9f9ecc57 100644 --- a/packages/py-plotly-scientific-plots/package.py +++ b/packages/py-plotly-scientific-plots/package.py @@ -5,6 +5,7 @@ from spack import * +from spack.package import * class PyPlotlyScientificPlots(PythonPackage): diff --git a/packages/py-pygccxml/package.py b/packages/py-pygccxml/package.py index c11398bb..41dcf3f3 100644 --- a/packages/py-pygccxml/package.py +++ b/packages/py-pygccxml/package.py @@ -21,6 +21,7 @@ # ---------------------------------------------------------------------------- from spack import * +from spack.package import * class PyPygccxml(PythonPackage): diff --git a/packages/py-pyinotify/package.py b/packages/py-pyinotify/package.py index c3bdbece..e6294768 100644 --- a/packages/py-pyinotify/package.py +++ b/packages/py-pyinotify/package.py @@ -4,6 +4,7 @@ # SPDX-License-Identifier: (Apache-2.0 OR MIT) from spack import * +from spack.package import * class PyPyinotify(PythonPackage): diff --git a/packages/py-rplotmaker/package.py b/packages/py-rplotmaker/package.py index dee725a8..52399016 100644 --- a/packages/py-rplotmaker/package.py +++ b/packages/py-rplotmaker/package.py @@ -5,6 +5,7 @@ from spack import * +from spack.package import * class PyRplotmaker(PythonPackage): diff --git a/packages/py-srproxy/package.py b/packages/py-srproxy/package.py index 653c368f..4f72fae5 100644 --- a/packages/py-srproxy/package.py +++ b/packages/py-srproxy/package.py @@ -4,6 +4,7 @@ # SPDX-License-Identifier: (Apache-2.0 OR MIT) from spack import * +from spack.package import * class PySrproxy(Package): diff --git a/packages/sbnanaobj/package.py b/packages/sbnanaobj/package.py index 4c08495d..232c89cb 100644 --- a/packages/sbnanaobj/package.py +++ b/packages/sbnanaobj/package.py @@ -21,6 +21,7 @@ # ---------------------------------------------------------------------------- from spack import * +from spack.package import * class Sbnanaobj(CMakePackage): diff --git a/packages/sbncode/package.py b/packages/sbncode/package.py index d0155431..5d2629da 100644 --- a/packages/sbncode/package.py +++ b/packages/sbncode/package.py @@ -7,6 +7,7 @@ import spack.util.spack_json as sjson from spack import * +from spack.package import * def sanitize_environments(*args): diff --git a/packages/sbndaq-artdaq-core/package.py b/packages/sbndaq-artdaq-core/package.py index b49744bb..a66963b7 100644 --- a/packages/sbndaq-artdaq-core/package.py +++ b/packages/sbndaq-artdaq-core/package.py @@ -5,6 +5,7 @@ import spack.util.spack_json as sjson from spack import * +from spack.package import * class SbndaqArtdaqCore(CMakePackage): diff --git a/packages/sbndcode/package.py b/packages/sbndcode/package.py index a9108cf0..6c2b8c3e 100644 --- a/packages/sbndcode/package.py +++ b/packages/sbndcode/package.py @@ -7,6 +7,7 @@ import sys from spack import * +from spack.package import * libdir = "%s/var/spack/repos/fnal_art/lib" % os.environ["SPACK_ROOT"] if libdir not in sys.path: diff --git a/packages/sbnobj/package.py b/packages/sbnobj/package.py index a2c5ce20..0ec370d3 100644 --- a/packages/sbnobj/package.py +++ b/packages/sbnobj/package.py @@ -7,6 +7,7 @@ import sys from spack import * +from spack.package import * libdir = "%s/var/spack/repos/fnal_art/lib" % os.environ["SPACK_ROOT"] if libdir not in sys.path: diff --git a/packages/stan-math/package.py b/packages/stan-math/package.py index 5a348ccc..34e4d9e3 100644 --- a/packages/stan-math/package.py +++ b/packages/stan-math/package.py @@ -23,6 +23,7 @@ import os from spack import * +from spack.package import * class StanMath(Package): diff --git a/packages/stan/package.py b/packages/stan/package.py index 01b9ea6e..32e85a54 100644 --- a/packages/stan/package.py +++ b/packages/stan/package.py @@ -4,6 +4,7 @@ # SPDX-License-Identifier: (Apache-2.0 OR MIT) from spack import * +from spack.package import * class Stan(Package): diff --git a/packages/tensorflow/package.py b/packages/tensorflow/package.py index 0412caf5..e3cf3efb 100644 --- a/packages/tensorflow/package.py +++ b/packages/tensorflow/package.py @@ -6,6 +6,7 @@ import os from spack import * +from spack.package import * class Tensorflow(Package): diff --git a/packages/wirecell/package.py b/packages/wirecell/package.py index 7fd1de5e..a61f5364 100644 --- a/packages/wirecell/package.py +++ b/packages/wirecell/package.py @@ -4,6 +4,7 @@ # SPDX-License-Identifier: (Apache-2.0 OR MIT) from spack import * +from spack.package import * def sanitize_environments(*args):