aboutsummaryrefslogtreecommitdiff
path: root/development/python3/patches/python3.pure64.diff
diff options
context:
space:
mode:
authorAudrius Kažukauskas <audrius@neutrino.lt>2010-06-12 06:07:37 -0500
committerRobby Workman <rworkman@slackbuilds.org>2010-06-12 07:47:28 -0500
commit4fbf97eeef6f1f8fd246fd644ba9986a7fc0bfef (patch)
tree8edb505846111efa8b84966cc289eaa05f56bca9 /development/python3/patches/python3.pure64.diff
parent1c45f445d559c8f8bc7bad57c1724e1bc1f81527 (diff)
development/python3: Updated for version 3.1.2.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'development/python3/patches/python3.pure64.diff')
-rw-r--r--development/python3/patches/python3.pure64.diff32
1 files changed, 32 insertions, 0 deletions
diff --git a/development/python3/patches/python3.pure64.diff b/development/python3/patches/python3.pure64.diff
new file mode 100644
index 0000000000..9f34af18cb
--- /dev/null
+++ b/development/python3/patches/python3.pure64.diff
@@ -0,0 +1,32 @@
+diff -uar Python-3.1.2.orig//Lib/distutils/command/install.py Python-3.1.2/Lib/distutils/command/install.py
+--- Python-3.1.2.orig//Lib/distutils/command/install.py 2010-05-30 21:01:34.000000000 +0300
++++ Python-3.1.2/Lib/distutils/command/install.py 2010-05-30 21:03:07.000000000 +0300
+@@ -46,14 +46,14 @@
+
+ INSTALL_SCHEMES = {
+ 'unix_prefix': {
+- 'purelib': '$base/lib/python$py_version_short/site-packages',
++ 'purelib': '$base/lib64/python$py_version_short/site-packages',
+ 'platlib': '$platbase/lib64/python$py_version_short/site-packages',
+ 'headers': '$base/include/python$py_version_short/$dist_name',
+ 'scripts': '$base/bin',
+ 'data' : '$base',
+ },
+ 'unix_home': {
+- 'purelib': '$base/lib/python',
++ 'purelib': '$base/lib64/python',
+ 'platlib': '$base/lib64/python',
+ 'headers': '$base/include/python/$dist_name',
+ 'scripts': '$base/bin',
+diff -uar Python-3.1.2.orig//Lib/distutils/sysconfig.py Python-3.1.2/Lib/distutils/sysconfig.py
+--- Python-3.1.2.orig//Lib/distutils/sysconfig.py 2010-05-30 21:01:34.000000000 +0300
++++ Python-3.1.2/Lib/distutils/sysconfig.py 2010-05-30 21:03:41.000000000 +0300
+@@ -120,7 +120,7 @@
+ if plat_specific or standard_lib:
+ lib = "lib64"
+ else:
+- lib = "lib"
++ lib = "lib64"
+ libpython = os.path.join(prefix,
+ lib, "python" + get_python_version())
+ if standard_lib: