Flake8 and formatting changes

This commit is contained in:
Adam J. Stewart
2016-08-01 12:37:36 -05:00
parent 534e1cbf1b
commit 5fc20487e4
6 changed files with 24 additions and 20 deletions

View File

@@ -45,14 +45,15 @@ class Libxml2(Package):
def install(self, spec, prefix):
if '+python' in spec:
python_args = ["--with-python=%s" % spec['python'].prefix,
"--with-python-install-dir=%s" % site_packages_dir]
python_args = [
'--with-python={0}'.format(spec['python'].prefix),
'--with-python-install-dir={0}'.format(site_packages_dir)
]
else:
python_args = ["--without-python"]
python_args = ['--without-python']
configure("--prefix=%s" % prefix,
*python_args)
configure('--prefix={0}'.format(prefix), *python_args)
make()
make("check")
make("install")
make('check')
make('install')