summaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorHarmen Stoppels <harmenstoppels@gmail.com>2023-08-09 16:28:06 +0200
committerGitHub <noreply@github.com>2023-08-09 14:28:06 +0000
commit8e7c53a8ba32e0793e36e66b5fdac8f4f61e644d (patch)
tree983861ea5f1af9c36b0c32b821ab1cddc7a918e3 /share
parent5e630174a1cfb23666f88b4089ca446aac11a5b8 (diff)
downloadspack-8e7c53a8ba32e0793e36e66b5fdac8f4f61e644d.tar.gz
spack-8e7c53a8ba32e0793e36e66b5fdac8f4f61e644d.tar.bz2
spack-8e7c53a8ba32e0793e36e66b5fdac8f4f61e644d.tar.xz
spack-8e7c53a8ba32e0793e36e66b5fdac8f4f61e644d.zip
package import: remove magic import line (#39183)
Diffstat (limited to 'share')
-rw-r--r--share/spack/templates/mock-repository/package.pyt2
1 files changed, 2 insertions, 0 deletions
diff --git a/share/spack/templates/mock-repository/package.pyt b/share/spack/templates/mock-repository/package.pyt
index 82bd50bd05..a4a52ec700 100644
--- a/share/spack/templates/mock-repository/package.pyt
+++ b/share/spack/templates/mock-repository/package.pyt
@@ -1,3 +1,5 @@
+from spack.package import *
+
class {{ cls_name }}(Package):
homepage = "http://www.example.com"
url = "http://www.example.com/root-1.0.tar.gz"