]> git.pld-linux.org Git - packages/mapnik.git/blobdiff - python-install.patch
- up to 3.0.9
[packages/mapnik.git] / python-install.patch
diff --git a/python-install.patch b/python-install.patch
deleted file mode 100644 (file)
index a0c9cab..0000000
+++ /dev/null
@@ -1,14 +0,0 @@
---- mapnik-2.2.0/SConstruct~   2015-12-06 00:40:11.000000000 +0100
-+++ mapnik-2.2.0/SConstruct    2015-12-06 01:18:15.465765196 +0100
-@@ -1502,9 +1502,9 @@
-             # Note: we use the plat_specific argument here to make sure to respect the arch-specific site-packages location
-             if py3:
--                site_packages = '''%s -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(plat_specific=True))"''' % env['PYTHON']
-+                site_packages = '''%s -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(plat_specific=True,prefix=\'/usr\'))"''' % env['PYTHON']
-             else:
--                site_packages = '''%s -c "from distutils.sysconfig import get_python_lib; print get_python_lib(plat_specific=True)"''' % env['PYTHON']
-+                site_packages = '''%s -c "from distutils.sysconfig import get_python_lib; print get_python_lib(plat_specific=True,prefix=\'/usr\')"''' % env['PYTHON']
-             env['PYTHON_SITE_PACKAGES'] = call(site_packages)
-         else:
-             env['PYTHON_SYS_PREFIX'] = os.popen('''%s -c "import sys; print sys.prefix"''' % env['PYTHON']).read().strip()
This page took 0.068503 seconds and 4 git commands to generate.