spack: Add package (#25979)

* Make python 2 use 'from __future__ import absolute_import' to allow import spack.pkgkit

* Add Spack

* Improve ranges
This commit is contained in:
Harmen Stoppels
2021-10-12 17:39:39 +02:00
committed by GitHub
parent f58f5f8a0d
commit e168320bb1
2 changed files with 93 additions and 1 deletions

View File

@@ -78,7 +78,7 @@ def get_full_namespace(namespace):
#:
#: TODO: At some point in the future, consider removing ``from spack import *``
#: TODO: from packages and shifting to from ``spack.pkgkit import *``
_package_prepend = 'from spack.pkgkit import *'
_package_prepend = 'from __future__ import absolute_import; from spack.pkgkit import *'
def autospec(function):