[packages/python3-pycairo] - adjusted get_python_lib in setup patch to use prefix=

qboosh qboosh at pld-linux.org
Sat Jan 14 15:08:34 CET 2017


commit 2fe436cab511b60dd1b173ebad663a7c4436d5b0
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sat Jan 14 15:09:53 2017 +0100

    - adjusted get_python_lib in setup patch to use prefix=

 pycairo-setup.patch | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/pycairo-setup.patch b/pycairo-setup.patch
index 32890d8..1a6cb1d 100644
--- a/pycairo-setup.patch
+++ b/pycairo-setup.patch
@@ -125,7 +125,7 @@ diff -urN pycairo-1.10.0.orig/setup.py pycairo-1.10.0/setup.py
 +  data_files = [ 
 +    ('include/pycairo', ['src/py3cairo.h']),
 +    (LIBDIR + '/pkgconfig', [pkgconfig_file]),
-+    (os.path.join(dsy.get_python_lib(True, False), 'cairo'),
++    (os.path.join(dsy.get_python_lib(True, False, prefix=sys.prefix), 'cairo'),
 +     ['src/__init__.py']),
 +    ],
 +  )
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python3-pycairo.git/commitdiff/2fe436cab511b60dd1b173ebad663a7c4436d5b0



More information about the pld-cvs-commit mailing list