diff options
author | Axel Huebl <axel.huebl@plasma.ninja> | 2020-06-12 11:28:05 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-12 11:28:05 -0700 |
commit | 42e6cb769e7d2f30700ba4529c2061e8fed7fcb5 (patch) | |
tree | ce0f31c6755fdeb3d63c12d5fdbbd29427877841 /var | |
parent | 34fb4b30dc5b97de2efde4f32f45b3105c1f701d (diff) | |
download | spack-42e6cb769e7d2f30700ba4529c2061e8fed7fcb5.tar.gz spack-42e6cb769e7d2f30700ba4529c2061e8fed7fcb5.tar.bz2 spack-42e6cb769e7d2f30700ba4529c2061e8fed7fcb5.tar.xz spack-42e6cb769e7d2f30700ba4529c2061e8fed7fcb5.zip |
Geant4 +Python: fix module load (#17046)
Adding `extends('python')` makes sure that a
```
spack load -r geant4 +python
python -c "import Geant4"
```
find the module.
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/geant4/package.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/geant4/package.py b/var/spack/repos/builtin/packages/geant4/package.py index 4cfcc4395e..b559557340 100644 --- a/var/spack/repos/builtin/packages/geant4/package.py +++ b/var/spack/repos/builtin/packages/geant4/package.py @@ -56,6 +56,7 @@ class Geant4(CMakePackage): # Python, with boost requirement dealt with in cxxstd section depends_on('python@3:', when='+python') + extends('python', when='+python') conflicts('+python', when='@:10.6.1', msg='Geant4 <= 10.6.1 cannont be built with Python bindings') |