fix a few imports
This commit is contained in:
parent
e09325fe9f
commit
93e0d99553
@ -3,17 +3,19 @@
|
||||
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
|
||||
import os
|
||||
|
||||
import spack.pkg.builder_test.callbacks
|
||||
from spack.package import *
|
||||
|
||||
from ..callbacks.package import Callbacks
|
||||
from ..callbacks.package import GenericBuilder as CallbacksGenericBuilder
|
||||
|
||||
class Inheritance(spack.pkg.builder_test.callbacks.Callbacks):
|
||||
|
||||
class Inheritance(Callbacks):
|
||||
"""Package used to verify that inheritance among packages work as expected"""
|
||||
|
||||
pass
|
||||
|
||||
|
||||
class GenericBuilder(spack.pkg.builder_test.callbacks.GenericBuilder):
|
||||
class GenericBuilder(CallbacksGenericBuilder):
|
||||
def install(self, pkg, spec, prefix):
|
||||
super().install(pkg, spec, prefix)
|
||||
os.environ["INHERITANCE_INSTALL_CALLED"] = "1"
|
||||
|
@ -1,11 +1,12 @@
|
||||
# Copyright Spack Project Developers. See COPYRIGHT file for details.
|
||||
#
|
||||
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
|
||||
import spack.pkg.builder_test.old_style_autotools
|
||||
from spack.package import *
|
||||
|
||||
from ..old_style_autotools.package import OldStyleAutotools
|
||||
|
||||
class OldStyleDerived(spack.pkg.builder_test.old_style_autotools.OldStyleAutotools):
|
||||
|
||||
class OldStyleDerived(OldStyleAutotools):
|
||||
"""Package used to verify that old-style packages work correctly when executing the
|
||||
installation procedure.
|
||||
"""
|
||||
|
@ -3,6 +3,7 @@
|
||||
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
|
||||
|
||||
from spack.package import * # noqa: F401
|
||||
|
||||
from ..cmake_client.package import CmakeClient
|
||||
|
||||
|
||||
|
@ -2,6 +2,7 @@
|
||||
#
|
||||
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
|
||||
from spack.package import *
|
||||
|
||||
from ..libtool_deletion.package import AutotoolsBuilder as BuilderBase
|
||||
from ..libtool_deletion.package import LibtoolDeletion
|
||||
|
||||
|
@ -2,6 +2,7 @@
|
||||
#
|
||||
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
|
||||
from spack.package import *
|
||||
|
||||
from ..maintainers_1.package import Maintainers1
|
||||
|
||||
|
||||
|
@ -4,6 +4,7 @@
|
||||
|
||||
import spack.platforms
|
||||
from spack.package import *
|
||||
|
||||
from ..multimethod_base.package import MultimethodBase
|
||||
|
||||
|
||||
|
@ -2,9 +2,10 @@
|
||||
#
|
||||
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
|
||||
|
||||
from spack.package import *
|
||||
|
||||
from ..multimethod_diamond_parent.package import MultimethodDiamondParent
|
||||
from ..multimethod_inheritor.package import MultimethodInheritor
|
||||
from spack.package import *
|
||||
|
||||
|
||||
class MultimethodDiamond(MultimethodInheritor, MultimethodDiamondParent):
|
||||
|
@ -3,6 +3,7 @@
|
||||
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
|
||||
|
||||
from spack.package import *
|
||||
|
||||
from ..multimethod_base.package import MultimethodBase
|
||||
|
||||
|
||||
|
@ -3,6 +3,7 @@
|
||||
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
|
||||
|
||||
from spack.package import *
|
||||
|
||||
from ..multimethod.package import Multimethod
|
||||
|
||||
|
||||
|
@ -2,9 +2,10 @@
|
||||
#
|
||||
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
|
||||
|
||||
import spack.pkg.builtin_mock.simple_inheritance as si
|
||||
from spack.package import *
|
||||
|
||||
from ..simple_inheritance import package as si
|
||||
|
||||
|
||||
class MultimoduleInheritance(si.BaseWithDirectives):
|
||||
"""Simple package which inherits a method and several directives"""
|
||||
|
@ -3,6 +3,7 @@
|
||||
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
|
||||
|
||||
from spack.package import * # noqa: F401
|
||||
|
||||
from ..patch.package import Patch
|
||||
|
||||
|
||||
|
@ -3,12 +3,13 @@
|
||||
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
|
||||
|
||||
import spack.builder
|
||||
import spack.pkg.builtin_mock.python as mp
|
||||
from spack.build_systems._checks import BuilderWithDefaults, execute_install_time_tests
|
||||
from spack.package import *
|
||||
|
||||
from ..python.package import Python
|
||||
|
||||
class PyTestCallback(mp.Python):
|
||||
|
||||
class PyTestCallback(Python):
|
||||
"""A package for testing stand-alone test methods as a callback."""
|
||||
|
||||
homepage = "http://www.example.com"
|
||||
|
@ -2,6 +2,7 @@
|
||||
#
|
||||
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
|
||||
from spack.package import *
|
||||
|
||||
from ..variant_values.package import VariantValues
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user