Fix libxml2+python and libxslt+python import tests (#10196)

* Fix libxml2+python import tests

* Same for libxslt package
This commit is contained in:
Adam J. Stewart 2018-12-26 10:36:59 -06:00 committed by GitHub
parent 58079b13eb
commit fc48f65a0f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 2 deletions

View File

@ -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.*$)')

View File

@ -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 = []