summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorAdam J. Stewart <ajstewart426@gmail.com>2018-12-26 10:36:59 -0600
committerGitHub <noreply@github.com>2018-12-26 10:36:59 -0600
commitfc48f65a0f9417559dc49896409ce71eac8bbf74 (patch)
tree80ad31d35b94ca96b8e737ee7fdf96a9f6dc30c8 /var
parent58079b13eb0410e44a09d1a257915a5e2a5e9cd3 (diff)
downloadspack-fc48f65a0f9417559dc49896409ce71eac8bbf74.tar.gz
spack-fc48f65a0f9417559dc49896409ce71eac8bbf74.tar.bz2
spack-fc48f65a0f9417559dc49896409ce71eac8bbf74.tar.xz
spack-fc48f65a0f9417559dc49896409ce71eac8bbf74.zip
Fix libxml2+python and libxslt+python import tests (#10196)
* Fix libxml2+python import tests * Same for libxslt package
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/libxml2/package.py3
-rw-r--r--var/spack/repos/builtin/packages/libxslt/package.py3
2 files changed, 4 insertions, 2 deletions
diff --git a/var/spack/repos/builtin/packages/libxml2/package.py b/var/spack/repos/builtin/packages/libxml2/package.py
index 04da5342bd..d6b3062010 100644
--- a/var/spack/repos/builtin/packages/libxml2/package.py
+++ b/var/spack/repos/builtin/packages/libxml2/package.py
@@ -26,7 +26,8 @@ class Libxml2(AutotoolsPackage):
depends_on('zlib')
depends_on('xz')
- extends('python+shared', when='+python',
+ depends_on('python+shared', when='+python')
+ extends('python', when='+python',
ignore=r'(bin.*$)|(include.*$)|(share.*$)|(lib/libxml2.*$)|'
'(lib/xml2.*$)|(lib/cmake.*$)')
diff --git a/var/spack/repos/builtin/packages/libxslt/package.py b/var/spack/repos/builtin/packages/libxslt/package.py
index 145e2313cb..486c931ba1 100644
--- a/var/spack/repos/builtin/packages/libxslt/package.py
+++ b/var/spack/repos/builtin/packages/libxslt/package.py
@@ -32,7 +32,8 @@ class Libxslt(AutotoolsPackage):
depends_on('zlib')
depends_on('libgcrypt', when='+crypto')
- extends('python+shared', when='+python')
+ depends_on('python+shared', when='+python')
+ extends('python', when='+python')
def configure_args(self):
args = []