From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Tremer To: development@lists.ipfire.org Subject: Re: [PATCH] python: Update to 2.7.12. Date: Wed, 12 Oct 2016 18:24:18 +0100 Message-ID: <1476293058.9950.13.camel@ipfire.org> In-Reply-To: <1476272472-21263-1-git-send-email-stefan.schantl@ipfire.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============4329744643671373766==" List-Id: --===============4329744643671373766== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Hi, this patch isn't showing up in Patchwork :( -Michael On Wed, 2016-10-12 at 13:41 +0200, Stefan Schantl wrote: > This is a minor update to the lastest available version of > the python 2.7 series. >=20 > * Drop support for SELinux. >=20 > Fixes #11226. >=20 > Signed-off-by: Stefan Schantl > --- > =C2=A0...0134-fix-COUNT_ALLOCS-failure-in-test_sys.patch |=C2=A0=C2=A014 +- > =C2=A0...6-skip-tests-of-seeking-stdin-in-rpmbuild.patch |=C2=A0=C2=A025 +-- > =C2=A0python/patches/00157-uid-gid-overflows.patch=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0|=C2=A0=C2=A076 +++---- > =C2=A0python/patches/00170-gc-assertions.patch=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0|=C2=A0=C2=A0=C2=A04 +- > =C2=A0...00173-workaround-ENOPROTOOPT-in-bind_port.patch |=C2=A0=C2=A0=C2= =A07 +- > =C2=A0...-4238-hostname-check-bypass-in-SSL-module.patch | 247 ------------= -------- > - > =C2=A0python/patches/00186-memory-leak-marshalc.patch=C2=A0=C2=A0=C2=A0=C2= =A0|=C2=A0=C2=A057 ----- > =C2=A0python/patches/05000-autotool-intermediates.patch=C2=A0=C2=A0|=C2=A0= =C2=A013 +- > =C2=A0python/patches/python-2.5.1-plural-fix.patch=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0|=C2=A0=C2=A0=C2=A02 +- > =C2=A0python/patches/python-2.6-rpath.patch=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0|=C2=A0=C2=A0=C2=A02 +- > =C2=A0python/patches/python-2.7rc1-binutils-no-dep.patch |=C2=A0=C2=A014 -- > =C2=A0python/python-2.7.12-lib64.patch=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0| 184 +++++++++++++++ > =C2=A0python/python-2.7.3-lib64.patch=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0| 196 ---------------- > =C2=A0python/python.nm=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0|=C2=A0=C2=A0=C2=A07 +- > =C2=A014 files changed, 250 insertions(+), 598 deletions(-) > =C2=A0delete mode 100644 python/patches/00185-CVE-2013-4238-hostname-check-= bypass- > in-SSL-module.patch > =C2=A0delete mode 100644 python/patches/00186-memory-leak-marshalc.patch > =C2=A0delete mode 100644 python/patches/python-2.7rc1-binutils-no-dep.patch > =C2=A0create mode 100644 python/python-2.7.12-lib64.patch > =C2=A0delete mode 100644 python/python-2.7.3-lib64.patch >=20 > diff --git a/python/patches/00134-fix-COUNT_ALLOCS-failure-in-test_sys.patch > b/python/patches/00134-fix-COUNT_ALLOCS-failure-in-test_sys.patch > index 38381ef..71e7f68 100644 > --- a/python/patches/00134-fix-COUNT_ALLOCS-failure-in-test_sys.patch > +++ b/python/patches/00134-fix-COUNT_ALLOCS-failure-in-test_sys.patch > @@ -1,9 +1,11 @@ > ---- Python-2.7.2/Lib/test/test_sys.py.mark-tests-that-fail-in-rpmbuild=09 > 2011-09-08 18:02:31.627362039 -0400 > -+++ Python-2.7.2/Lib/test/test_sys.py 2011-09-08 18:15:29.450308851 > -0400 > -@@ -734,6 +734,11 @@ class SizeofTest(unittest.TestCase): > -=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0# (PyTypeObject + Py= NumberMethods +=C2=A0=C2=A0PyMappingMethods + > -=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0#=C2=A0=C2=A0PySeque= nceMethods + PyBufferProcs) > -=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0s =3D vsize('P2P15Pl= 4PP9PP11PI') + struct.calcsize('41P 10P 3P 6P') > +diff --git a/Lib/test/test_sys.py b/Lib/test/test_sys.py > +index 0dd4258..d9b3267 100644 > +--- a/Lib/test/test_sys.py > ++++ b/Lib/test/test_sys.py > +@@ -769,6 +769,11 @@ class SizeofTest(unittest.TestCase): > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0'10P'=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0# PyS= equenceMethods > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0'6P'=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0# PyBufferProcs > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0'2P') > =C2=A0+ > =C2=A0+=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0# COUNT_ALLOCS adds = further fields to the end of a PyTypeObject: > =C2=A0+=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0if hasattr(sys, 'get= counts'): > diff --git a/python/patches/00136-skip-tests-of-seeking-stdin-in- > rpmbuild.patch b/python/patches/00136-skip-tests-of-seeking-stdin-in- > rpmbuild.patch > index 845fb2a..4d7626f 100644 > --- a/python/patches/00136-skip-tests-of-seeking-stdin-in-rpmbuild.patch > +++ b/python/patches/00136-skip-tests-of-seeking-stdin-in-rpmbuild.patch > @@ -1,22 +1,11 @@ > -diff -up Python-2.7.2/Lib/test/test_file2k.py.skip-tests-of-seeking-stdin-= in- > rpmbuild Python-2.7.2/Lib/test/test_file2k.py > ---- Python-2.7.2/Lib/test/test_file2k.py.skip-tests-of-seeking-stdin-in- > rpmbuild 2011-09-08 17:23:50.922520729 -0400 > -+++ Python-2.7.2/Lib/test/test_file2k.py 2011-09-08 17:24:41.368517277 > -0400 > -@@ -213,6 +213,7 @@ class OtherFileTests(unittest.TestCase): > +diff -up Python-2.7.6/Lib/test/test_file2k.py.stdin-test Python- > 2.7.6/Lib/test/test_file2k.py > +--- Python-2.7.6/Lib/test/test_file2k.py.stdin-test 2013-11-10 > 08:36:40.000000000 +0100 > ++++ Python-2.7.6/Lib/test/test_file2k.py 2014-01-29 14:28:01.029488055 > +0100 > +@@ -223,6 +223,7 @@ class OtherFileTests(unittest.TestCase): > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0else: > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0f.close() > =C2=A0=C2=A0 > =C2=A0+=C2=A0=C2=A0=C2=A0=C2=A0@unittest._skipInRpmBuild('seems not to rais= e the exception when run in > Koji') > -=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0def testStdin(self): > -=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0# This causes the in= terpreter to exit on OSF1 v5.1. > -=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0if sys.platform !=3D= 'osf1V5': > -diff -up Python-2.7.2/Lib/test/test_file.py.skip-tests-of-seeking-stdin-in- > rpmbuild Python-2.7.2/Lib/test/test_file.py > ---- Python-2.7.2/Lib/test/test_file.py.skip-tests-of-seeking-stdin-in- > rpmbuild 2011-09-08 17:20:31.146534389 -0400 > -+++ Python-2.7.2/Lib/test/test_file.py 2011-09-08 17:24:45.016517030 > -0400 > -@@ -154,6 +154,7 @@ class OtherFileTests(unittest.TestCase): > -=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0f.close() > -=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0self.fail('%r is an invalid file mode' % mode) > -=C2=A0 > -+=C2=A0=C2=A0=C2=A0=C2=A0@unittest._skipInRpmBuild('seems not to raise the= exception when run in > Koji') > -=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0def testStdin(self): > -=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0# This causes the in= terpreter to exit on OSF1 v5.1. > -=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0if sys.platform !=3D= 'osf1V5': > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0def testStdinSeek(self): > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0if sys.platform =3D= =3D 'osf1V5': > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0# This causes the interpreter to exit on OSF1 v5.1. > diff --git a/python/patches/00157-uid-gid-overflows.patch > b/python/patches/00157-uid-gid-overflows.patch > index 13546bb..a31c98a 100644 > --- a/python/patches/00157-uid-gid-overflows.patch > +++ b/python/patches/00157-uid-gid-overflows.patch > @@ -2,48 +2,48 @@ diff -up Python-2.7.3/Lib/test/test_os.py.uid-gid-overflo= ws > Python-2.7.3/Lib/tes > =C2=A0--- Python-2.7.3/Lib/test/test_os.py.uid-gid-overflows 2012-04-09 > 19:07:32.000000000 -0400 > =C2=A0+++ Python-2.7.3/Lib/test/test_os.py 2012-06-26 14:51:36.000817929 > -0400 > =C2=A0@@ -677,30 +677,36 @@ if sys.platform !=3D 'win32': > -=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0def test_setuid(self): > -=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0if os.getuid() !=3D 0: > -=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0self.assertRaises(os.er= ror, os.setuid, 0) > -+=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0self.assertRaises(TypeError, os.setuid, 'not an int') > -=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0self.assertRaises(OverflowError, os.setuid, 1<<= 32) > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0def test_setuid(self): > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0if os.getuid() !=3D = 0: > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0self.assertRaises(os.error, os.setuid, 0) > ++=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0self.assertRaises(TypeErr= or, os.setuid, 'not an int') > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0self.assertRaises(Ov= erflowError, os.setuid, 1<<32) > =C2=A0=C2=A0 > -=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0if hasattr(os, 'setg= id'): > -=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0def test_setgid(self): > -=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0if os.getuid() !=3D 0: > -=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0self.assertRaises(os.er= ror, os.setgid, 0) > -+=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0self.assertRaises(TypeError, os.setgid, 'not an int') > -=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0self.assertRaises(OverflowError, os.setgid, 1<<= 32) > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0@unittest.skipUnless(hasattr(os, 'setgid'), = 'test needs os.setgid()') > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0def test_setgid(self): > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0if os.getuid() !=3D = 0: > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0self.assertRaises(os.error, os.setgid, 0) > ++=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0self.assertRaises(TypeErr= or, os.setgid, 'not an int') > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0self.assertRaises(Ov= erflowError, os.setgid, 1<<32) > =C2=A0=C2=A0 > -=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0if hasattr(os, 'sete= uid'): > -=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0def test_seteuid(self): > -=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0if os.getuid() !=3D 0: > -=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0self.assertRaises(os.er= ror, os.seteuid, 0) > -+=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0self.assertRaises(TypeError, os.seteuid, 'not an int') > -=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0self.assertRaises(OverflowError, os.seteuid, 1<= <32) > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0@unittest.skipUnless(hasattr(os, 'seteuid'),= 'test needs os.seteuid()') > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0def test_seteuid(self): > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0if os.getuid() !=3D = 0: > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0self.assertRaises(os.error, os.seteuid, 0) > ++=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0self.assertRaises(TypeErr= or, os.seteuid, 'not an int') > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0self.assertRaises(Ov= erflowError, os.seteuid, 1<<32) > =C2=A0=C2=A0 > -=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0if hasattr(os, 'sete= gid'): > -=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0def test_setegid(self): > -=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0if os.getuid() !=3D 0: > -=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0self.assertRaises(os.er= ror, os.setegid, 0) > -+=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0self.assertRaises(TypeError, os.setegid, 'not an int') > -=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0self.assertRaises(OverflowError, os.setegid, 1<= <32) > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0@unittest.skipUnless(hasattr(os, 'setegid'),= 'test needs os.setegid()') > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0def test_setegid(self): > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0if os.getuid() !=3D = 0: > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0self.assertRaises(os.error, os.setegid, 0) > ++=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0self.assertRaises(TypeErr= or, os.setegid, 'not an int') > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0self.assertRaises(Ov= erflowError, os.setegid, 1<<32) > =C2=A0=C2=A0 > -=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0if hasattr(os, 'setr= euid'): > -=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0def test_setreuid(self): > -=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0if os.getuid() !=3D 0: > -=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0self.assertRaises(os.er= ror, os.setreuid, 0, 0) > -+=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0self.assertRaises(TypeError, os.setreuid, 'not an int= ', 0) > -+=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0self.assertRaises(TypeError, os.setreuid, 0, 'not an = int') > -=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0self.assertRaises(OverflowError, os.setreuid, 1= <<32, 0) > -=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0self.assertRaises(OverflowError, os.setreuid, 0= , 1<<32) > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0@unittest.skipUnless(hasattr(os, 'setreuid')= , 'test needs > os.setreuid()') > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0def test_setreuid(self): > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0if os.getuid() !=3D = 0: > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0self.assertRaises(os.error, os.setreuid, 0, 0) > ++=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0self.assertRaises(TypeErr= or, os.setreuid, 'not an int', 0) > ++=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0self.assertRaises(TypeErr= or, os.setreuid, 0, 'not an int') > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0self.assertRaises(Ov= erflowError, os.setreuid, 1<<32, 0) > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0self.assertRaises(Ov= erflowError, os.setreuid, 0, 1<<32) > =C2=A0=C2=A0 > =C2=A0@@ -715,6 +721,8 @@ if sys.platform !=3D 'win32': > -=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0def test_setregid(self): > -=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0if os.getuid() !=3D 0: > -=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0self.assertRaises(os.er= ror, os.setregid, 0, 0) > -+=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0self.assertRaises(TypeError, os.setregid, 'not an int= ', 0) > -+=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0self.assertRaises(TypeError, os.setregid, 0, 'not an = int') > -=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0self.assertRaises(OverflowError, os.setregid, 1= <<32, 0) > -=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0self.assertRaises(OverflowError, os.setregid, 0= , 1<<32) > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0def test_setregid(self): > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0if os.getuid() !=3D = 0: > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0self.assertRaises(os.error, os.setregid, 0, 0) > ++=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0self.assertRaises(TypeErr= or, os.setregid, 'not an int', 0) > ++=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0self.assertRaises(TypeErr= or, os.setregid, 0, 'not an int') > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0self.assertRaises(Ov= erflowError, os.setregid, 1<<32, 0) > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0self.assertRaises(Ov= erflowError, os.setregid, 0, 1<<32) > =C2=A0=C2=A0 > diff --git a/python/patches/00170-gc-assertions.patch b/python/patches/0017= 0- > gc-assertions.patch > index 3fb37ff..f3a0838 100644 > --- a/python/patches/00170-gc-assertions.patch > +++ b/python/patches/00170-gc-assertions.patch > @@ -3,8 +3,8 @@ diff -up Python-2.7.3/Lib/test/test_gc.py.gc-assertions > Python-2.7.3/Lib/test/te > =C2=A0+++ Python-2.7.3/Lib/test/test_gc.py 2013-02-20 16:39:52.720489297 > -0500 > =C2=A0@@ -1,6 +1,7 @@ > =C2=A0 import unittest > --from test.test_support import verbose, run_unittest > -+from test.test_support import verbose, run_unittest, import_module > +-from test.test_support import verbose, run_unittest, start_threads > ++from test.test_support import verbose, run_unittest, start_threads, > import_module > =C2=A0 import sys > =C2=A0+import sysconfig > =C2=A0 import time > diff --git a/python/patches/00173-workaround-ENOPROTOOPT-in-bind_port.patch > b/python/patches/00173-workaround-ENOPROTOOPT-in-bind_port.patch > index eb34610..3e83d67 100644 > --- a/python/patches/00173-workaround-ENOPROTOOPT-in-bind_port.patch > +++ b/python/patches/00173-workaround-ENOPROTOOPT-in-bind_port.patch > @@ -8,6 +8,7 @@ diff -up Python-2.7.3/Lib/test/test_support.py.rhbz913732 > Python-2.7.3/Lib/test/ > =C2=A0-=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0if hasattr(socket, '= SO_REUSEPORT'): > =C2=A0+=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0if hasattr(socket, '= SO_REUSEPORT') \ > =C2=A0+=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0and 'WITHIN_PYTHON_RPM_BUILD' not in os.environ= : # > rhbz#913732 > -=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0if sock.getsockopt(socket.SOL_SOCKET, socket.SO_REUSEPORT) =3D=3D 1: > -=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0raise TestFailed("tests should never set the SO= _REUSEPORT > "=C2=A0=C2=A0=C2=A0\ > -=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0"socket option on TC= P/IP sockets!") > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0try: > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0if sock.getsockopt(socket.SOL_SOCKET, socket.SO= _REUSEPORT) > =3D=3D 1: > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0raise TestFailed("tests= should never set the > SO_REUSEPORT "=C2=A0=C2=A0=C2=A0\ > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0"socket option on TCP/IP sockets!") > diff --git a/python/patches/00185-CVE-2013-4238-hostname-check-bypass-in-SS= L- > module.patch b/python/patches/00185-CVE-2013-4238-hostname-check-bypass-in- > SSL-module.patch > deleted file mode 100644 > index e215589..0000000 > --- a/python/patches/00185-CVE-2013-4238-hostname-check-bypass-in-SSL- > module.patch > +++ /dev/null > @@ -1,247 +0,0 @@ > -diff -r 9ddc63c039ba Lib/test/nullbytecert.pem > ---- /dev/null Thu Jan 01 00:00:00 1970 +0000 > -+++ b/Lib/test/nullbytecert.pem Sun Aug 11 18:13:17 2013 +0200 > -@@ -0,0 +1,90 @@ > -+Certificate: > -+=C2=A0=C2=A0=C2=A0=C2=A0Data: > -+=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0Version: 3 (0x2) > -+=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0Serial Number: 0 (0x0) > -+=C2=A0=C2=A0=C2=A0=C2=A0Signature Algorithm: sha1WithRSAEncryption > -+=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0Issuer: C=3DUS, ST=3DOreg= on, L=3DBeaverton, O=3DPython Software Foundation, > OU=3DPython Core Development, CN=3Dnull.python.org\x00example.org/emailAddr= ess=3Dpyt > hon-dev(a)python.org > -+=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0Validity > -+=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0N= ot Before: Aug=C2=A0=C2=A07 13:11:52 2013 GMT > -+=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0N= ot After : Aug=C2=A0=C2=A07 13:12:52 2013 GMT > -+=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0Subject: C=3DUS, ST=3DOre= gon, L=3DBeaverton, O=3DPython Software Foundation, > OU=3DPython Core Development, CN=3Dnull.python.org\x00example.org/emailAddr= ess=3Dpyt > hon-dev(a)python.org > -+=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0Subject Public Key Info: > -+=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0P= ublic Key Algorithm: rsaEncryption > -+=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0Public-Key: (2048 bit) > -+=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0Modulus: > -+=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A000:b5:ea:ed:c9:fb:46:7d:6f:3b= :76:80:dd:3a:f3: > -+=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A003:94:0b:a7:a6:db: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=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A088:5A:55:C0:52:FF:61:CD:52:A3:35:0F:EA:5A:9C:24:38:22= :F7:5C > -+=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0X= 509v3 Key Usage: > -+=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0Digital Signature, Non Repudiation, Key Encipherment > -+=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0X= 509v3 Subject Alternative Name: > -+=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0*****************************************************= ******* > * > -+=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0WARNING: The values for DNS, email and URI are WRONG. > OpenSSL > -+=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0doesn't print the text after a NULL byte. > -+=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0*****************************************************= ******* > * > -+=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0DNS:altnull.python.org, email:null(a)python.org, URI:= http://nu > ll.python.org, IP Address:192.0.2.1, IP Address:2001:DB8:0:0:0:0:0:1 > -+=C2=A0=C2=A0=C2=A0=C2=A0Signature Algorithm: sha1WithRSAEncryption > -+=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0ac:4f:45:ef:7d:49:a= 8:21:70:8e:88:59:3e:d4:36:42:70:f5: > -+=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0a3:bd:8b:d7:a8:d0:5= 8:f6:31:4a:b1:a4:a6:dd:6f:d9:e8:44: > -+=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A03c:b6:0a:71:d6:7f:b= 1:08:61:9d:60:ce:75:cf:77:0c:d2:37: > -+=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A086:02:8d:5e:5d:f9:0= f:71:b4:16:a8:c1:3d:23:1c:f1:11:b3: > -+=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A056:6e:ca:d0:8d:34:9= 4:e6:87:2a:99:f2:ae:ae:cc:c2:e8:86: > -+=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0de:08:a8:7f:c5:05:f= a:6f:81:a7:82:e6:d0:53:9d:34:f4:ac: > -+=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A03e:40:fe:89:57:7a:2= 9:a4:91:7e:0b:c6:51:31:e5:10:2f:a4: > -+=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A060:76:cd:95:51:1a:b= e:8b:a1:b0:fd:ad:52:bd:d7:1b:87:60: > -+=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0d2:31:c7:17:c4:18:4= f:2d:08:25:a3:a7:4f:b7:92:ca:e2:f5: > -+=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A025:f1:54:75:81:9d:b= 3:3d:61:a2:f7:da:ed:e1:c6:6f:2c:60: > -+=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A01f:d8:6f:c5:92:05:a= b:c9:09:62:49:a9:14:ad:55:11:cc:d6: > -+=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A04a:19:94:99:97:37:1= d:81:5f:8b:cf:a3:a8:96:44:51:08:3d: > -+=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A00b:05:65:12:eb:b6:7= 0:80:88:48:72:4f:c6:c2:da:cf:cd:8e: > -+=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A05b:ba:97:2f:60:b4:9= 6:56:49:5e:3a:43:76:63:04:be:2a:f6: > -+=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0c1:ca:a9:94 > -+-----BEGIN CERTIFICATE----- > -+MIIE2DCCA8CgAwIBAgIBADANBgkqhkiG9w0BAQUFADCBxTELMAkGA1UEBhMCVVMx > -+DzANBgNVBAgMBk9yZWdvbjESMBAGA1UEBwwJQmVhdmVydG9uMSMwIQYDVQQKDBpQ > -+eXRob24gU29mdHdhcmUgRm91bmRhdGlvbjEgMB4GA1UECwwXUHl0aG9uIENvcmUg > -+RGV2ZWxvcG1lbnQxJDAiBgNVBAMMG251bGwucHl0aG9uLm9yZwBleGFtcGxlLm9y > -+ZzEkMCIGCSqGSIb3DQEJARYVcHl0aG9uLWRldkBweXRob24ub3JnMB4XDTEzMDgw > -+NzEzM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kJw9aO9 > -+i9eo0Fj2MUqxpKbdb9noRDy2CnHWf7EIYZ1gznXPdwzSN4YCjV5d+Q9xtBaowT0j > -+HPERs1ZuytCNNJTmhyqZ8q6uzMLoht4IqH/FBfpvgaeC5tBTnTT0rD5A/olXeimk > -+kX4LxlEx5RAvpGB2zZVRGr6LobD9rVK91xuHYNIxxxfEGE8tCCWjp0+3ksri9SXx > -+VHWBnbM9YaL32u3hxm8sYB/Yb8WSBavJCWJJqRStVRHM1koZlJmXNx2BX4vPo6iW > -+RFEIPQsFZRLrtnCAiEhyT8bC2s/Njlu6ly9gtJZWSV46Q3ZjBL4q9sHKqZQ=3D > -+-----END CERTIFICATE----- > -diff -r 9ddc63c039ba Lib/test/test_ssl.py > ---- a/Lib/test/test_ssl.py Sun Aug 11 13:04:50 2013 +0300 > -+++ b/Lib/test/test_ssl.py Sun Aug 11 18:13:17 2013 +0200 > -@@ -25,6 +25,7 @@ > - HOST =3D test_support.HOST > - CERTFILE =3D None > - SVN_PYTHON_ORG_ROOT_CERT =3D None > -+NULLBYTECERT =3D None > -=C2=A0 > - def handle_error(prefix): > -=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0exc_format =3D ' '.join(traceback.format_exc= eption(*sys.exc_info())) > -@@ -123,6 +124,27 @@ > -=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0('DNS', 'projects.forum.nokia.com')) > -=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0) > -=C2=A0 > -+=C2=A0=C2=A0=C2=A0=C2=A0def test_parse_cert_CVE_2013_4073(self): > -+=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0p =3D ssl._ssl._test_deco= de_cert(NULLBYTECERT) > -+=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0if test_support.verbose: > -+=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0s= ys.stdout.write("\n" + pprint.pformat(p) + "\n") > -+=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0subject =3D ((('countryNa= me', 'US'),), > -+=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0(('stateOrProvinceName', 'Oregon'),= ), > -+=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0(('localityName', 'Beaverton'),), > -+=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0(('organizationName', 'Python Softw= are Foundation'),), > -+=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0(('organizationalUnitName', 'Python= Core Development'),), > -+=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0(('commonName', 'null.python.org\x0= 0example.org'),), > -+=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0(('emailAddress', 'python-dev(a)pyt= hon.org'),)) > -+=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0self.assertEqual(p['subje= ct'], subject) > -+=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0self.assertEqual(p['issue= r'], subject) > -+=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0self.assertEqual(p['subje= ctAltName'], > -+=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0(('DNS', 'altnull.python.org\x00example.com'), > -+=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0('email', 'null(a)python.org\x00user(a)example.org'), > -+=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0('URI', 'http://null.python.org\x00http://example.o > rg'), > -+=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0('IP Address', '192.0.2.1'), > -+=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0('IP Address', '2001:DB8:0:0:0:0:0:1\n')) > -+=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0) > -+ > -=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0def test_DER_to_PEM(self): > -=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0with open(SVN_PYTHON= _ORG_ROOT_CERT, 'r') as f: > -=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0pem =3D f.read() > -@@ -1360,7 +1382,7 @@ > -=C2=A0 > -=C2=A0 > - def test_main(verbose=3DFalse): > --=C2=A0=C2=A0=C2=A0=C2=A0global CERTFILE, SVN_PYTHON_ORG_ROOT_CERT, NOKIAC= ERT > -+=C2=A0=C2=A0=C2=A0=C2=A0global CERTFILE, SVN_PYTHON_ORG_ROOT_CERT, NOKIAC= ERT, NULLBYTECERT > -=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0CERTFILE =3D os.path.join(os.path.dirname(__= file__) or os.curdir, > -=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0"keycert.pem") > -=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0SVN_PYTHON_ORG_ROOT_CERT =3D os.path.join( > -@@ -1368,10 +1390,13 @@ > -=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0"https_svn_python_or= g_root.pem") > -=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0NOKIACERT =3D os.path.join(os.path.dirname(_= _file__) or os.curdir, > -=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0"nokia.pem") > -+=C2=A0=C2=A0=C2=A0=C2=A0NULLBYTECERT =3D os.path.join(os.path.dirname(__f= ile__) or os.curdir, > -+=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0"nullbytecert.pem") > -=C2=A0 > -=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0if (not os.path.exists(CERTFILE) or > -=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0not os.path.exists(S= VN_PYTHON_ORG_ROOT_CERT) or > --=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0not os.path.exists(NOKIAC= ERT)): > -+=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0not os.path.exists(NOKIAC= ERT) or > -+=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0not os.path.exists(NULLBY= TECERT)): > -=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0raise test_support.T= estFailed("Can't read certificate files!") > -=C2=A0 > -=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0tests =3D [BasicTests, BasicSocketTests] > -diff -r 9ddc63c039ba Modules/_ssl.c > ---- a/Modules/_ssl.c Sun Aug 11 13:04:50 2013 +0300 > -+++ b/Modules/_ssl.c Sun Aug 11 18:13:17 2013 +0200 > -@@ -741,8 +741,13 @@ > -=C2=A0 > -=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0/* get a rendering of each name in the set of names */ > -=C2=A0 > -+=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0i= nt gntype; > -+=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0A= SN1_STRING *as =3D NULL; > -+ > -=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0name =3D sk_GENERAL_NAME_value(names, j); > --=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0i= f (name->type =3D=3D GEN_DIRNAME) { > -+=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0g= ntype =3D name-> type; > -+=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0s= witch (gntype) { > -+=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0c= ase GEN_DIRNAME: > -=C2=A0 > -=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0/* we special-case DirName as a tuple of tuples= of > attributes */ > -=C2=A0 > -@@ -764,11 +769,61 @@ > -=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0goto fail; > -=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0} > -=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0PyTuple_SET_ITEM(t, 1, v); > -+=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0break; > -=C2=A0 > --=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0}= else { > -+=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0c= ase GEN_EMAIL: > -+=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0c= ase GEN_DNS: > -+=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0c= ase GEN_URI: > -+=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0/* GENERAL_NAME_print() doesn't handle NUL bytes in > ASN1_string > -+=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0correctly. */ > -+=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0t =3D PyTuple_New(2); > -+=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0if (t =3D=3D NULL) > -+=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0goto fail; > -+=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0switch (gntype) { > -+=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0case GEN_EMAIL: > -+=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0v =3D PyUnicode_FromString("e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=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0break; > -=C2=A0 > -+=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0d= efault: > -=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0/* for everything else, we use the OpenSSL prin= t form */ > -- > -+=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0switch (gntype) { > -+=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0/* check for new general name= type */ > -+=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0case GEN_OTHERNAME: > -+=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0case GEN_X400: > -+=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0case GEN_EDIPARTY: > -+=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A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, v); > -+ break; > -=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0} > -=C2=A0 > -=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0/* and add that rendering to the list */ > diff --git a/python/patches/00186-memory-leak-marshalc.patch > b/python/patches/00186-memory-leak-marshalc.patch > deleted file mode 100644 > index 19fb175..0000000 > --- a/python/patches/00186-memory-leak-marshalc.patch > +++ /dev/null > @@ -1,57 +0,0 @@ > ---- Python-2.7.5/Python/marshal.c 2013-05-12 05:32:53.000000000 +0200 > -+++ /home/rkuska/hg/cpython/Python/marshal.c 2013-07-18 > 10:33:26.392486235 +0200 > -@@ -88,7 +88,7 @@ > - } > -=C2=A0 > - static void > --w_string(char *s, Py_ssize_t n, WFILE *p) > -+w_string(const char *s, Py_ssize_t n, WFILE *p) > - { > -=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0if (p->fp !=3D NULL) { > -=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0fwrite(s, 1, n, p->f= p); > -@@ -141,6 +141,13 @@ > - # define W_SIZE=C2=A0=C2=A0w_long > - #endif > -=C2=A0 > -+static void > -+w_pstring(const char *s, Py_ssize_t n, WFILE *p) > -+{ > -+=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0W_SIZE(n, p); > -+=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0w_string(s, n, p); > -+} > -+ > - /* We assume that Python longs are stored internally in base some power of > -=C2=A0=C2=A0=C2=A0=C2=A02**15; for the sake of portability we'll always re= ad and write them in > base > -=C2=A0=C2=A0=C2=A0=C2=A0exactly 2**15. */ > -@@ -338,9 +345,7 @@ > -=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0else { > -=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0w_byte(TYPE_STRING, p); > -=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0} > --=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0n =3D PyString_GET_SIZE(v= ); > --=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0W_SIZE(n, p); > --=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0w_string(PyString_AS_STRI= NG(v), n, p); > -+=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0w_pstring(PyBytes_AS_STRI= NG(v), PyString_GET_SIZE(v), p); > -=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0} > - #ifdef Py_USING_UNICODE > -=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0else if (PyUnicode_CheckExact(v)) { > -@@ -352,9 +357,7 @@ > -=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0return; > -=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0} > -=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0w_byte(TYPE_UNICODE,= p); > --=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0n =3D PyString_GET_SIZE(u= tf8); > --=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0W_SIZE(n, p); > --=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0w_string(PyString_AS_STRI= NG(utf8), n, p); > -+=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0w_pstring(PyString_AS_STR= ING(utf8), PyString_GET_SIZE(utf8), p); > -=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0Py_DECREF(utf8); > -=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0} > - #endif > -@@ -441,8 +444,7 @@ > -=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0PyBufferProcs *pb = =3D v->ob_type->tp_as_buffer; > -=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0w_byte(TYPE_STRING, = p); > -=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0n =3D (*pb->bf_getre= adbuffer)(v, 0, (void **)&s); > --=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0W_SIZE(n, p); > --=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0w_string(s, n, p); > -+=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0w_pstring(s, n, p); > -=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0} > -=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0else { > -=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0w_byte(TYPE_UNKNOWN,= p); > diff --git a/python/patches/05000-autotool-intermediates.patch > b/python/patches/05000-autotool-intermediates.patch > index cfedc25..dfe0257 100644 > --- a/python/patches/05000-autotool-intermediates.patch > +++ b/python/patches/05000-autotool-intermediates.patch > @@ -43,15 +43,6 @@ diff -up ./configure.autotool-intermediates ./configure > =C2=A0=C2=A0=C2=A0=C2=A0--with-wctype-functions use wctype.h functions > =C2=A0=C2=A0=C2=A0=C2=A0--with-fpectl=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0enable SIGFPE catching > =C2=A0=C2=A0=C2=A0=C2=A0--with-libm=3DSTRING=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0math library > -@@ -5171,7 +5181,7 @@ esac > - $as_echo_n "checking LIBRARY... " >&6; } > - if test -z "$LIBRARY" > - then > -- LIBRARY=3D'libpython$(VERSION).a' > -+ LIBRARY=3D'libpython$(VERSION)$(DEBUG_EXT).a' > - fi > - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBRARY" >&5 > - $as_echo "$LIBRARY" >&6; } > =C2=A0@@ -5343,8 +5353,8 @@ $as_echo "#define Py_ENABLE_SHARED 1" >> > =C2=A0=C2=A0 =C2=A0=C2=A0INSTSONAME=3D"$LDLIBRARY".$SOVERSION > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0;; > @@ -60,7 +51,7 @@ diff -up ./configure.autotool-intermediates ./configure > =C2=A0- =C2=A0=C2=A0BLDLIBRARY=3D'-L. -lpython$(VERSION)' > =C2=A0+ =C2=A0=C2=A0LDLIBRARY=3D'libpython$(VERSION)$(DEBUG_EXT).so' > =C2=A0+ =C2=A0=C2=A0BLDLIBRARY=3D'-L. -lpython$(VERSION)$(DEBUG_EXT)' > -=C2=A0 =C2=A0=C2=A0RUNSHARED=3DLD_LIBRARY_PATH=3D`pwd`:${LD_LIBRARY_PATH} > +=C2=A0 =C2=A0=C2=A0RUNSHARED=3DLD_LIBRARY_PATH=3D`pwd`${LD_LIBRARY_PATH:+:= ${LD_LIBRARY_PA > TH}} > =C2=A0=C2=A0 =C2=A0=C2=A0case $ac_sys_system in > =C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0FreeBSD*) > =C2=A0@@ -5367,7 +5377,7 @@ $as_echo "#define Py_ENABLE_SHARED 1" >> > @@ -69,7 +60,7 @@ diff -up ./configure.autotool-intermediates ./configure > =C2=A0=C2=A0 =C2=A0=C2=A0LDLIBRARY=3D'libpython$(VERSION).so' > =C2=A0- =C2=A0=C2=A0BLDLIBRARY=3D'-rpath $(LIBDIR) -L. -lpython$(VERSION)' > =C2=A0+ =C2=A0=C2=A0BLDLIBRARY=3D'-L. -lpython$(VERSION)' > -=C2=A0 =C2=A0=C2=A0RUNSHARED=3DLD_LIBRARY_PATH=3D`pwd`:${LD_LIBRARY_PATH} > +=C2=A0 =C2=A0=C2=A0RUNSHARED=3DLD_LIBRARY_PATH=3D`pwd`${LD_LIBRARY_PATH:+:= ${LD_LIBRARY_PA > TH}} > =C2=A0=C2=A0 =C2=A0=C2=A0;; > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0atheos*) > =C2=A0@@ -5894,6 +5904,14 @@ $as_echo "no" >&6; } > diff --git a/python/patches/python-2.5.1-plural-fix.patch > b/python/patches/python-2.5.1-plural-fix.patch > index 040adaf..5002cb2 100644 > --- a/python/patches/python-2.5.1-plural-fix.patch > +++ b/python/patches/python-2.5.1-plural-fix.patch > @@ -7,6 +7,6 @@ diff -up Python-2.5.1/Lib/gettext.py.plural Python- > 2.5.1/Lib/gettext.py > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0continue > =C2=A0+=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0if item.startswith("#"): > =C2=A0+=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0continue > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0k =3D v =3D None > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0if ':' in item: > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0k, v =3D item.split(':', 1) > -=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0k =3D k.strip().lower() > diff --git a/python/patches/python-2.6-rpath.patch b/python/patches/python- > 2.6-rpath.patch > index 43e3ec4..33d7cf6 100644 > --- a/python/patches/python-2.6-rpath.patch > +++ b/python/patches/python-2.6-rpath.patch > @@ -7,6 +7,6 @@ diff -up Python-2.6/configure.ac.rpath Python-2.6/configure= .ac > =C2=A0=C2=A0 =C2=A0=C2=A0LDLIBRARY=3D'libpython$(VERSION).so' > =C2=A0- =C2=A0=C2=A0BLDLIBRARY=3D'-rpath $(LIBDIR) -L. -lpython$(VERSION)' > =C2=A0+ =C2=A0=C2=A0BLDLIBRARY=3D'-L. -lpython$(VERSION)' > -=C2=A0 =C2=A0=C2=A0RUNSHARED=3DLD_LIBRARY_PATH=3D`pwd`:${LD_LIBRARY_PATH} > +=C2=A0 =C2=A0=C2=A0RUNSHARED=3DLD_LIBRARY_PATH=3D`pwd`${LD_LIBRARY_PATH:+:= ${LD_LIBRARY_PA > TH}} > =C2=A0=C2=A0 =C2=A0=C2=A0;; > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0atheos*) > diff --git a/python/patches/python-2.7rc1-binutils-no-dep.patch > b/python/patches/python-2.7rc1-binutils-no-dep.patch > deleted file mode 100644 > index ee6157c..0000000 > --- a/python/patches/python-2.7rc1-binutils-no-dep.patch > +++ /dev/null > @@ -1,14 +0,0 @@ > -diff -up Python-2.7rc1/Lib/ctypes/util.py.binutils-no-dep Python- > 2.7rc1/Lib/ctypes/util.py > ---- Python-2.7rc1/Lib/ctypes/util.py.binutils-no-dep 2010-03-15 > 09:42:23.000000000 -0400 > -+++ Python-2.7rc1/Lib/ctypes/util.py 2010-06-06 05:03:02.155975210 > -0400 > -@@ -140,7 +140,9 @@ elif os.name =3D=3D "posix": > -=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0dump =3D f.read() > -=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0rv =3D f.close() > -=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0if rv =3D=3D 10: > --=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0raise OSError, 'objdump command not found' > -+=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0return os.path.basename(f) #=C2=A0=C2=A0This is good = for GLibc, I > think, > -+=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0# and a dep on binutils is big > (for > -+=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0# live CDs). > -=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0f =3D os.popen(cmd) > -=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0try: > -=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0data =3D f.read() > diff --git a/python/python-2.7.12-lib64.patch b/python/python-2.7.12- > lib64.patch > new file mode 100644 > index 0000000..00c835c > --- /dev/null > +++ b/python/python-2.7.12-lib64.patch > @@ -0,0 +1,184 @@ > +diff --git a/Lib/distutils/command/install.py > b/Lib/distutils/command/install.py > +index b9f1c6c..7b23714 100644 > +--- a/Lib/distutils/command/install.py > ++++ b/Lib/distutils/command/install.py > +@@ -42,14 +42,14 @@ else: > + INSTALL_SCHEMES =3D { > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0'unix_prefix': { > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0'purelib': '$base/li= b/python$py_version_short/site-packages', > +-=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0'platlib': '$platbase/lib= /python$py_version_short/site-packages', > ++=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0'platlib': '$platbase/lib= 64/python$py_version_short/site-packages', > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0'headers': '$base/in= clude/python$py_version_short/$dist_name', > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0'scripts': '$base/bi= n', > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0'data'=C2=A0=C2=A0= =C2=A0: '$base', > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0}, > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0'unix_home': { > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0'purelib': '$base/li= b/python', > +-=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0'platlib': '$base/lib/pyt= hon', > ++=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0'platlib': '$base/lib64/p= ython', > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0'headers': '$base/in= clude/python/$dist_name', > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0'scripts': '$base/bi= n', > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0'data'=C2=A0=C2=A0= =C2=A0: '$base', > +diff --git a/Lib/distutils/sysconfig.py b/Lib/distutils/sysconfig.py > +index 068d1ba..3e7f077 100644 > +--- a/Lib/distutils/sysconfig.py > ++++ b/Lib/distutils/sysconfig.py > +@@ -119,8 +119,12 @@ def get_python_lib(plat_specific=3D0, standard_lib=3D= 0, > prefix=3DNone): > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0prefix =3D plat_spec= ific and EXEC_PREFIX or PREFIX > +=C2=A0 > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0if os.name =3D=3D "posix": > ++=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0if plat_specific or stand= ard_lib: > ++=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0l= ib =3D "lib64" > ++=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0else: > ++=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0l= ib =3D "lib" > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0libpython =3D os.pat= h.join(prefix, > +-=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0"lib", "python" + get_pyth= on_version()) > ++=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0lib, "python" + get_python= _version()) > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0if standard_lib: > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0return libpython > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0else: > +diff --git a/Lib/site.py b/Lib/site.py > +index e8433b4..e8e6b50 100644 > +--- a/Lib/site.py > ++++ b/Lib/site.py > +@@ -288,12 +288,16 @@ def getsitepackages(): > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0if sys.platform in (= 'os2emx', 'riscos'): > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0sitepackages.append(os.path.join(prefix, "Lib", "site- > packages")) > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0elif os.sep =3D=3D '= /': > ++=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0s= itepackages.append(os.path.join(prefix, "lib64", > ++=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C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C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0sitepackages.append(os.path.join(prefix, "lib", "site-python")) > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0else: > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0sitepackages.append(prefix) > ++=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0s= itepackages.append(os.path.join(prefix, "lib64", "site- > packages")) > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0sitepackages.append(os.path.join(prefix, "lib", "site- > packages")) > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0if sys.platform =3D= =3D "darwin": > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0# for framework builds *only* we add the standard Apple > +diff --git a/Lib/test/test_site.py b/Lib/test/test_site.py > +index 78c4809..3b9e74d 100644 > +--- a/Lib/test/test_site.py > ++++ b/Lib/test/test_site.py > +@@ -246,17 +246,20 @@ class HelperFunctionsTests(unittest.TestCase): > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0self.assertEqual(dirs[2], wanted) > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0elif os.sep =3D=3D '= /': > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0# OS X non-framwework builds, Linux, FreeBSD, etc > +-=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0s= elf.assertEqual(len(dirs), 2) > +-=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0w= anted =3D os.path.join('xoxo', 'lib', 'python' + sys.version[:3], > ++=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0s= elf.assertEqual(len(dirs), 3) > ++=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0w= anted =3D os.path.join('xoxo', 'lib64', 'python' + > sys.version[:3], > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0'site-packages= ') > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0self.assertEqual(dirs[0], wanted) > +-=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0w= anted =3D os.path.join('xoxo', 'lib', 'site-python') > ++=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0w= anted =3D os.path.join('xoxo', 'lib', 'python' + sys.version[:3], > ++=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0'site-packages= ') > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0self.assertEqual(dirs[1], wanted) > ++=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0w= anted =3D os.path.join('xoxo', 'lib', 'site-python') > ++=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0s= elf.assertEqual(dirs[2], wanted) > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0else: > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0# other platforms > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0self.assertEqual(len(dirs), 2) > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0self.assertEqual(dirs[0], 'xoxo') > +-=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0w= anted =3D os.path.join('xoxo', 'lib', 'site-packages') > ++=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0w= anted =3D os.path.join('xoxo', 'lib64', 'site-packages') > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0self.assertEqual(dirs[1], wanted) > +=C2=A0 > + class PthFile(object): > +diff --git a/Makefile.pre.in b/Makefile.pre.in > +index 5741a4c..0faa5c5 100644 > +--- a/Makefile.pre.in > ++++ b/Makefile.pre.in > +@@ -111,7 +111,7 @@ LIBDIR=3D @libdir@ > + MANDIR=3D @mandir@ > + INCLUDEDIR=3D @includedir@ > + CONFINCLUDEDIR=3D $(exec_prefix)/include > +-SCRIPTDIR=3D $(prefix)/lib > ++SCRIPTDIR=3D $(prefix)/lib64 > +=C2=A0 > + # Detailed destination directories > + BINLIBDEST=3D $(LIBDIR)/python$(VERSION) > +diff --git a/Modules/Setup.dist b/Modules/Setup.dist > +index c70a0d6..051fd41 100644 > +--- a/Modules/Setup.dist > ++++ b/Modules/Setup.dist > +@@ -416,7 +416,7 @@ gdbm gdbmmodule.c -lgdbm > + # Edit the variables DB and DBLIBVERto point to the db top directory > + # and the subdirectory of PORT where you built it. > + DBINC=3D/usr/include/libdb > +-DBLIB=3D/usr/lib > ++DBLIB=3D/usr/lib64 > + _bsddb _bsddb.c -I$(DBINC) -L$(DBLIB) -ldb > +=C2=A0 > + # Historical Berkeley DB 1.85 > +@@ -462,7 +462,7 @@ cPickle cPickle.c > + # Andrew Kuchling's zlib module. > + # This require zlib 1.1.3 (or later). > + # See http://www.gzip.org/zlib/ > +-zlib zlibmodule.c -I$(prefix)/include -L$(exec_prefix)/lib -lz > ++zlib zlibmodule.c -I$(prefix)/include -L$(exec_prefix)/lib64 -lz > +=C2=A0 > + # Interface to the Expat XML parser > + # > +diff --git a/Modules/getpath.c b/Modules/getpath.c > +index 428684c..9ef6711 100644 > +--- a/Modules/getpath.c > ++++ b/Modules/getpath.c > +@@ -108,7 +108,7 @@ static char prefix[MAXPATHLEN+1]; > + static char exec_prefix[MAXPATHLEN+1]; > + static char progpath[MAXPATHLEN+1]; > + static char *module_search_path =3D NULL; > +-static char lib_python[] =3D "lib/python" VERSION; > ++static char lib_python[] =3D "lib64/python" VERSION; > +=C2=A0 > + static void > + reduce(char *dir) > +@@ -550,7 +550,7 @@ calculate_path(void) > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0fprintf(stderr, > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0"Could not find platform dependent libraries > \n"); > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0strncpy(exec_prefix,= EXEC_PREFIX, MAXPATHLEN); > +-=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0joinpath(exec_prefix, "li= b/lib-dynload"); > ++=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0joinpath(exec_prefix, "li= b64/lib-dynload"); > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0} > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0/* If we found EXEC_PREFIX do *not* reduce i= t!=C2=A0=C2=A0(Yet.) */ > +=C2=A0 > +diff --git a/setup.py b/setup.py > +index 55c4f5d..19efe82 100644 > +--- a/setup.py > ++++ b/setup.py > +@@ -456,7 +456,7 @@ class PyBuildExt(build_ext): > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0def detect_modules(self): > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0# Ensure that /usr/l= ocal is always used > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0if not cross_compili= ng: > +-=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0a= dd_dir_to_list(self.compiler.library_dirs, '/usr/local/lib') > ++=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0a= dd_dir_to_list(self.compiler.library_dirs, '/usr/local/lib64') > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0add_dir_to_list(self.compiler.include_dirs, > '/usr/local/include') > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0if cross_compiling: > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0self.add_gcc_paths() > +@@ -782,11 +782,11 @@ class PyBuildExt(build_ext): > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0elif curses_library: > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0readline_libs.append(curses_library) > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0elif self.compiler.find_library_file(lib_dirs + > +-=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A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0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0library_dirs= =3D['/usr/lib/termcap'], > ++=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0library_dirs= =3D['/usr/lib64/termcap'], > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0extra_li= nk_args=3Dreadline_extra_link_args, > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0librarie= s=3Dreadline_libs) ) > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0else: > +@@ -821,8 +821,8 @@ class PyBuildExt(build_ext): > +=C2=A0=C2=A0=C2=A0=C2=A0=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0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0'/usr/contrib/ssl/lib64/' > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0] ) > +=C2=A0 > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0if (ssl_incs is not = None and > diff --git a/python/python-2.7.3-lib64.patch b/python/python-2.7.3-lib64.pa= tch > deleted file mode 100644 > index 71f32c5..0000000 > --- a/python/python-2.7.3-lib64.patch > +++ /dev/null > @@ -1,196 +0,0 @@ > -diff -up Python-2.7.3/Lib/distutils/command/install.py.lib64 Python- > 2.7.3/Lib/distutils/command/install.py > ---- Python-2.7.3/Lib/distutils/command/install.py.lib64 2012-04-09 > 19:07:29.000000000 -0400 > -+++ Python-2.7.3/Lib/distutils/command/install.py 2013-02-19 > 13:58:20.446015129 -0500 > -@@ -42,14 +42,14 @@ else: > - INSTALL_SCHEMES =3D { > -=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0'unix_prefix': { > -=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0'purelib': '$base/li= b/python$py_version_short/site-packages', > --=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0'platlib': '$platbase/lib= /python$py_version_short/site-packages', > -+=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0'platlib': '$platbase/lib= 64/python$py_version_short/site-packages', > -=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0'headers': '$base/in= clude/python$py_version_short/$dist_name', > -=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0'scripts': '$base/bi= n', > -=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0'data'=C2=A0=C2=A0= =C2=A0: '$base', > -=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0}, > -=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0'unix_home': { > -=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0'purelib': '$base/li= b/python', > --=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0'platlib': '$base/lib/pyt= hon', > -+=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0'platlib': '$base/lib64/p= ython', > -=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0'headers': '$base/in= clude/python/$dist_name', > -=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0'scripts': '$base/bi= n', > -=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0'data'=C2=A0=C2=A0= =C2=A0: '$base', > -diff -up Python-2.7.3/Lib/distutils/sysconfig.py.lib64 Python- > 2.7.3/Lib/distutils/sysconfig.py > ---- Python-2.7.3/Lib/distutils/sysconfig.py.lib64 2012-04-09 > 19:07:29.000000000 -0400 > -+++ Python-2.7.3/Lib/distutils/sysconfig.py 2013-02-19 > 13:58:20.446015129 -0500 > -@@ -114,8 +114,12 @@ def get_python_lib(plat_specific=3D0, stan > -=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0prefix =3D plat_spec= ific and EXEC_PREFIX or PREFIX > -=C2=A0 > -=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0if os.name =3D=3D "posix": > -+=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0if plat_specific or stand= ard_lib: > -+=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0l= ib =3D "lib64" > -+=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0else: > -+=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0l= ib =3D "lib" > -=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0libpython =3D os.pat= h.join(prefix, > --=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0"lib", "python" + get_pyth= on_version()) > -+=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0lib, "python" + get_python= _version()) > -=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0if standard_lib: > -=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0return libpython > -=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0else: > -diff -up Python-2.7.3/Lib/site.py.lib64 Python-2.7.3/Lib/site.py > ---- Python-2.7.3/Lib/site.py.lib64 2012-04-09 19:07:31.000000000 -0400 > -+++ Python-2.7.3/Lib/site.py 2013-02-19 13:58:20.447015128 -0500 > -@@ -300,12 +300,16 @@ def getsitepackages(): > -=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0if sys.platform in (= 'os2emx', 'riscos'): > -=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0sitepackages.append(os.path.join(prefix, "Lib", "site- > packages")) > -=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0elif os.sep =3D=3D '= /': > -+=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0s= itepackages.append(os.path.join(prefix, "lib64", > -+=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0"python" + sys.version[:3], > -+=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0"site-packages")) > -=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0sitepackages.append(os.path.join(prefix, "lib", > -=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0"python" + sys.version[:3], > -=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0"site-packages")) > -=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0sitepackages.append(os.path.join(prefix, "lib", "site-python")) > -=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0else: > -=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0sitepackages.append(prefix) > -+=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0s= itepackages.append(os.path.join(prefix, "lib64", "site- > packages")) > -=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0sitepackages.append(os.path.join(prefix, "lib", "site- > packages")) > -=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0if sys.platform =3D= =3D "darwin": > -=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0# for framework builds *only* we add the standard Apple > -diff -up Python-2.7.3/Lib/test/test_site.py.lib64 Python- > 2.7.3/Lib/test/test_site.py > ---- Python-2.7.3/Lib/test/test_site.py.lib64 2012-04-09 > 19:07:32.000000000 -0400 > -+++ Python-2.7.3/Lib/test/test_site.py 2013-02-19 13:58:20.447015128 > -0500 > -@@ -241,17 +241,20 @@ class HelperFunctionsTests(unittest.Test > -=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0self.assertEqual(dirs[2], wanted) > -=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0elif os.sep =3D=3D '= /': > -=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0# OS X non-framwework builds, Linux, FreeBSD, etc > --=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0s= elf.assertEqual(len(dirs), 2) > --=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0w= anted =3D os.path.join('xoxo', 'lib', 'python' + sys.version[:3], > -+=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0s= elf.assertEqual(len(dirs), 3) > -+=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0w= anted =3D os.path.join('xoxo', 'lib64', 'python' + > sys.version[:3], > -=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0'site-packages= ') > -=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0self.assertEqual(dirs[0], wanted) > --=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0w= anted =3D os.path.join('xoxo', 'lib', 'site-python') > -+=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0w= anted =3D os.path.join('xoxo', 'lib', 'python' + sys.version[:3], > -+=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0'site-packages') > -=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0self.assertEqual(dirs[1], wanted) > -+=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0w= anted =3D os.path.join('xoxo', 'lib', 'site-python') > -+=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0s= elf.assertEqual(dirs[2], wanted) > -=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0else: > -=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0# other platforms > -=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0self.assertEqual(len(dirs), 2) > -=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0self.assertEqual(dirs[0], 'xoxo') > --=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0w= anted =3D os.path.join('xoxo', 'lib', 'site-packages') > -+=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0w= anted =3D os.path.join('xoxo', 'lib64', 'site-packages') > -=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0self.assertEqual(dirs[1], wanted) > -=C2=A0 > - class PthFile(object): > -diff -up Python-2.7.3/Makefile.pre.in.lib64 Python-2.7.3/Makefile.pre.in > ---- Python-2.7.3/Makefile.pre.in.lib64 2013-02-19 13:58:20.435015131 > -0500 > -+++ Python-2.7.3/Makefile.pre.in 2013-02-19 13:58:20.447015128 -0500 > -@@ -97,7 +97,7 @@ LIBDIR=3D @libdir@ > - MANDIR=3D @mandir@ > - INCLUDEDIR=3D @includedir@ > - CONFINCLUDEDIR=3D $(exec_prefix)/include > --SCRIPTDIR=3D $(prefix)/lib > -+SCRIPTDIR=3D $(prefix)/lib64 > -=C2=A0 > - # Detailed destination directories > - BINLIBDEST=3D $(LIBDIR)/python$(VERSION) > -diff -up Python-2.7.3/Modules/getpath.c.lib64 Python-2.7.3/Modules/getpath= .c > ---- Python-2.7.3/Modules/getpath.c.lib64 2012-04-09 19:07:34.000000000 > -0400 > -+++ Python-2.7.3/Modules/getpath.c 2013-02-19 13:58:20.448015128 -0500 > -@@ -117,8 +117,8 @@ > - #endif > -=C2=A0 > - #ifndef PYTHONPATH > --#define PYTHONPATH PREFIX "/lib/python" VERSION ":" \ > --=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0EXEC_PREFIX "/lib/python" VERSION "/lib-dynload" > -+#define PYTHONPATH PREFIX "/lib64/python" VERSION ":" \ > -+=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0EXEC_PREFIX "/lib64/python" VERSION "/lib-dynload" > - #endif > -=C2=A0 > - #ifndef LANDMARK > -@@ -129,7 +129,7 @@ static char prefix[MAXPATHLEN+1]; > - static char exec_prefix[MAXPATHLEN+1]; > - static char progpath[MAXPATHLEN+1]; > - static char *module_search_path =3D NULL; > --static char lib_python[] =3D "lib/python" VERSION; > -+static char lib_python[] =3D "lib64/python" VERSION; > -=C2=A0 > - static void > - reduce(char *dir) > -@@ -528,7 +528,7 @@ calculate_path(void) > -=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0} > -=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0else > -=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0strncpy(zip_path, PR= EFIX, MAXPATHLEN); > --=C2=A0=C2=A0=C2=A0=C2=A0joinpath(zip_path, "lib/python00.zip"); > -+=C2=A0=C2=A0=C2=A0=C2=A0joinpath(zip_path, "lib64/python00.zip"); > -=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0bufsz =3D strlen(zip_path);=C2=A0=C2=A0=C2= =A0/* Replace "00" with version */ > -=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0zip_path[bufsz - 6] =3D VERSION[0]; > -=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0zip_path[bufsz - 5] =3D VERSION[2]; > -@@ -538,7 +538,7 @@ calculate_path(void) > -=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0fprintf(stderr, > -=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0"Could not find platform dependent libraries > \n"); > -=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0strncpy(exec_prefix,= EXEC_PREFIX, MAXPATHLEN); > --=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0joinpath(exec_prefix, "li= b/lib-dynload"); > -+=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0joinpath(exec_prefix, "li= b64/lib-dynload"); > -=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0} > -=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0/* If we found EXEC_PREFIX do *not* reduce i= t!=C2=A0=C2=A0(Yet.) */ > -=C2=A0 > -diff -up Python-2.7.3/Modules/Setup.dist.lib64 Python- > 2.7.3/Modules/Setup.dist > ---- Python-2.7.3/Modules/Setup.dist.lib64 2013-02-19 > 13:58:20.442015131 -0500 > -+++ Python-2.7.3/Modules/Setup.dist 2013-02-19 14:02:25.255998391 > -0500 > -@@ -413,7 +413,7 @@ gdbm gdbmmodule.c -lgdbm > - # Edit the variables DB and DBLIBVERto point to the db top directory > - # and the subdirectory of PORT where you built it. > - DBINC=3D/usr/include/libdb > --DBLIB=3D/usr/lib > -+DBLIB=3D/usr/lib64 > - _bsddb _bsddb.c -I$(DBINC) -L$(DBLIB) -ldb > -=C2=A0 > - # Historical Berkeley DB 1.85 > -@@ -459,7 +459,7 @@ cPickle cPickle.c > - # Andrew Kuchling's zlib module. > - # This require zlib 1.1.3 (or later). > - # See http://www.gzip.org/zlib/ > --zlib zlibmodule.c -I$(prefix)/include -L$(exec_prefix)/lib -lz > -+zlib zlibmodule.c -I$(prefix)/include -L$(exec_prefix)/lib64 -lz > -=C2=A0 > - # Interface to the Expat XML parser > - # > -diff -up Python-2.7.3/setup.py.lib64 Python-2.7.3/setup.py > ---- Python-2.7.3/setup.py.lib64 2012-04-09 19:07:36.000000000 -0400 > -+++ Python-2.7.3/setup.py 2013-02-19 13:58:20.449015129 -0500 > -@@ -369,7 +369,7 @@ class PyBuildExt(build_ext): > -=C2=A0 > -=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0def detect_modules(self): > -=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0# Ensure that /usr/l= ocal is always used > --=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0add_dir_to_list(self.comp= iler.library_dirs, '/usr/local/lib') > -+=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0add_dir_to_list(self.comp= iler.library_dirs, '/usr/local/lib64') > -=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0add_dir_to_list(self= .compiler.include_dirs, '/usr/local/include') > -=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0self.add_gcc_paths() > -=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0self.add_multiarch_p= aths() > -@@ -677,11 +677,11 @@ class PyBuildExt(build_ext): > -=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0elif curses_library: > -=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0readline_libs.append(curses_library) > -=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0elif self.compiler.find_library_file(lib_dirs + > --=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0['/usr/lib/termcap'], > -+=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=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0=C2=A0=C2=A0= =C2=A0'/usr/contrib/ssl/lib64/' > -=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0] ) > -=C2=A0 > -=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0if (ssl_incs is not = None and > diff --git a/python/python.nm b/python/python.nm > index 84704b5..0123eb9 100644 > --- a/python/python.nm > +++ b/python/python.nm > @@ -5,8 +5,8 @@ > =C2=A0 > =C2=A0name=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=3D python > =C2=A0major_ver=C2=A0=C2=A0=3D 2.7 > -version=C2=A0=C2=A0=C2=A0=C2=A0=3D %{major_ver}.5 > -release=C2=A0=C2=A0=C2=A0=C2=A0=3D 2 > +version=C2=A0=C2=A0=C2=A0=C2=A0=3D %{major_ver}.12 > +release=C2=A0=C2=A0=C2=A0=C2=A0=3D 1 > =C2=A0thisapp=C2=A0=C2=A0=C2=A0=C2=A0=3D Python-%{version} > =C2=A0 > =C2=A0groups=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=3D Development/Languages > @@ -35,7 +35,6 @@ build > =C2=A0 glibc-headers >=3D 2.16-4 > =C2=A0 libdb-devel > =C2=A0 libffi-devel > - libselinux-devel > =C2=A0 ncurses-devel > =C2=A0 openssl-devel > =C2=A0 pakfire-builder >=3D 0.9.23-4 > @@ -51,7 +50,7 @@ build > =C2=A0 export OPT=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=3D %{CFLAGS} > =C2=A0 > =C2=A0 if "%{lib}" =3D=3D "lib64" > - patches +=3D %{DIR_SOURCE}/python-2.7.3-lib64.patch > + patches +=3D %{DIR_SOURCE}/python-2.7.12-lib64.patch > =C2=A0 patches +=3D %{DIR_SOURCE}/python-2.7-lib64-sysconfig.patch > =C2=A0 end > =C2=A0 --===============4329744643671373766== Content-Type: application/pgp-signature Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="signature.asc" MIME-Version: 1.0 LS0tLS1CRUdJTiBQR1AgU0lHTkFUVVJFLS0tLS0KVmVyc2lvbjogR251UEcgdjIKCmlRSWNCQUFC Q2dBR0JRSlgvbkhEQUFvSkVJQjU4UDl2a0FrSFZKZ1Avai8wMWxoRG1VWjE1TXYxZW9tMUxWRjgK TS9md1pVdGVaZlUvbW1ZeTFDQjdIKzdLcm14b3hwZFlRQnM3RTdlRmFuOWFvZDBFS2MzU0NkRWpt M1h1NjFtTwphMWhMaW4zMm0wNDJML0dhVmVnc1RONEVUdVRSS004cmZsOEZjbWFQYXF1Y2NHTWtW RmxEWkx0Q0pRVEltblZ0CkRnR01FK3BoZ3ZTMTkwdmhOd1YwR1B2WFdHTWkvZ2pNaFc0cmViSkJ1 dWFIMC8yT2Z3S05TMnJoV2YrbGZTeDQKaVFxcUNuUU5kU09KT3RRdXV3c0ZhajVOVWdkZ1NBZVJQ ZFNxS0FIYkNSRmd0V0tMa1ZDZEUwaE1IbUY2YXZCKwpnR09DR1AwNmxoOFVETXByeG5hWnBISVdJ UE84MVJFbGVsTGNDMTlSRDBhM2N3c0tNbFRxU0VBMXB3WGl6T3QyCnVYUUxyYk54eHNmbEw3SEdi K0x0KzBIZ0lZRjJoUWY3eCsyd2diMldlZGZHeXUwUE80Yk9oTDdJUWVra01JWXEKNzhRQVIvM2Vo NHBycE1ad09XR3JqbTdtWkZGMUhmMnM0UUdsV1o3VVUwRzBSdEhNb0swbllGamFHMzF2bFdtdgpT NVVuQnE4dy9yQVhkc0NQckJLbUw4WGQ2Ym03S2YyZzVDS2ZJbFcrWnFkNnFqZjNoVmI2d05XRFZ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