Spack packages now PEP8 compliant.
This commit is contained in:
@@ -25,8 +25,9 @@
|
||||
from spack import *
|
||||
import os
|
||||
|
||||
|
||||
class PyShiboken(Package):
|
||||
"""Shiboken generates bindings for C++ libraries using CPython source code."""
|
||||
"""Shiboken generates bindings for C++ libraries using CPython."""
|
||||
homepage = "https://shiboken.readthedocs.org/"
|
||||
url = "https://pypi.python.org/packages/source/S/Shiboken/Shiboken-1.2.2.tar.gz"
|
||||
|
||||
@@ -45,7 +46,8 @@ def patch(self):
|
||||
# They're called BY setup.py so we have to patch it.
|
||||
pypkg = self.spec['python'].package
|
||||
rpath = self.rpath
|
||||
rpath.append(os.path.join(self.prefix, pypkg.site_packages_dir, 'Shiboken'))
|
||||
rpath.append(os.path.join(
|
||||
self.prefix, pypkg.site_packages_dir, 'Shiboken'))
|
||||
|
||||
filter_file(
|
||||
r'OPTION_CMAKE,',
|
||||
@@ -61,7 +63,6 @@ def patch(self):
|
||||
r'#rpath_cmd(shiboken_path, srcpath)',
|
||||
'shiboken_postinstall.py')
|
||||
|
||||
|
||||
def install(self, spec, prefix):
|
||||
python('setup.py', 'install',
|
||||
'--prefix=%s' % prefix,
|
||||
|
Reference in New Issue
Block a user