Fix patch for py-pyside 1.2.4
This commit is contained in:
parent
59ce0c7514
commit
5cc76f7d84
@ -59,10 +59,12 @@ def patch(self):
|
|||||||
|
|
||||||
# PySide tries to patch ELF files to remove RPATHs
|
# PySide tries to patch ELF files to remove RPATHs
|
||||||
# Disable this and go with the one we set.
|
# Disable this and go with the one we set.
|
||||||
filter_file(
|
if self.spec.satisfies('@1.2.4:'):
|
||||||
r'^\s*rpath_cmd\(pyside_path, srcpath\)',
|
rpath_file = 'setup.py'
|
||||||
r'#rpath_cmd(pyside_path, srcpath)',
|
else:
|
||||||
'pyside_postinstall.py')
|
rpath_file = 'pyside_postinstall.py'
|
||||||
|
|
||||||
|
filter_file(r'(^\s*)(rpath_cmd\(.*\))', r'\1#\2', rpath_file)
|
||||||
|
|
||||||
def install(self, spec, prefix):
|
def install(self, spec, prefix):
|
||||||
python('setup.py', 'install',
|
python('setup.py', 'install',
|
||||||
|
Loading…
Reference in New Issue
Block a user