Don't inject import statements in package recipes

Remove a hack done by RepoLoader, which was injecting an extra
```
from spack.package import *
```
at the beginning of each package.py
This commit is contained in:
Massimiliano Culpo
2024-12-05 20:06:41 +01:00
committed by Todd Gamblin
parent 901cea7a54
commit 112e47cc23
6 changed files with 34 additions and 38 deletions

View File

@@ -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"