public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] dev/heroxbd:master commit in: dev-lang/python/files/, dev-lang/python/
@ 2014-12-09  1:22 Benda XU
  0 siblings, 0 replies; 2+ messages in thread
From: Benda XU @ 2014-12-09  1:22 UTC (permalink / raw
  To: gentoo-commits

commit:     639159747166dc7359346c8ae00ff7ef2a8d2957
Author:     Benda Xu <heroxbd <AT> gentoo <DOT> org>
AuthorDate: Tue Dec  9 01:29:14 2014 +0000
Commit:     Benda XU <heroxbd <AT> gentoo <DOT> org>
CommitDate: Tue Dec  9 01:29:14 2014 +0000
URL:        http://sources.gentoo.org/gitweb/?p=dev/heroxbd.git;a=commit;h=63915974

dev-lang/python: export INCLUDE for h2py.py

---
 dev-lang/python/ChangeLog                          |  957 ++++++++
 dev-lang/python/ChangeLog-2011                     | 2583 ++++++++++++++++++++
 dev-lang/python/Manifest                           |   46 +
 dev-lang/python/files/CVE-2013-4238_py27.patch     |  247 ++
 dev-lang/python/files/CVE-2013-4238_py33.patch     |  241 ++
 dev-lang/python/files/pydoc.conf                   |    7 +
 dev-lang/python/files/pydoc.init                   |   25 +
 dev-lang/python/files/python-2.7-issue16248.patch  |   19 +
 dev-lang/python/files/python-2.7-issue18851.patch  |  287 +++
 .../python/files/python-2.7.5-library-path.patch   |   25 +
 .../files/python-2.7.5-nonfatal-compileall.patch   |   18 +
 .../files/python-2.7.5-re_unsigned_ptrdiff.patch   |   23 +
 .../python/files/python-2.7.5-runtime-prefix.patch |   26 +
 ...ython-2.7.6-recvfrom_into_buffer_overflow.patch |   17 +
 .../python/files/python-3.2-CVE-2013-2099.patch    |   51 +
 .../python/files/python-3.2-CVE-2014-1912.patch    |   51 +
 .../python/files/python-3.2-CVE-2014-4616.patch    |   39 +
 dev-lang/python/files/python-3.2-issue16248.patch  |   19 +
 .../python/files/python-3.3-CVE-2013-2099.patch    |   51 +
 .../python/files/python-3.3-CVE-2014-4616.patch    |   52 +
 dev-lang/python/files/python-config-2.4-r1         |   58 +
 dev-lang/python/metadata.xml                       |   10 +
 dev-lang/python/python-2.7.5-r4.ebuild             |  538 ++++
 dev-lang/python/python-2.7.7.ebuild                |  357 +++
 dev-lang/python/python-2.7.8.ebuild                |  360 +++
 dev-lang/python/python-3.2.5-r6.ebuild             |  382 +++
 dev-lang/python/python-3.3.5-r1.ebuild             |  324 +++
 dev-lang/python/python-3.4.0.ebuild                |  320 +++
 dev-lang/python/python-3.4.1.ebuild                |  319 +++
 dev-lang/python/python-3.4.2.ebuild                |  319 +++
 30 files changed, 7771 insertions(+)

diff --git a/dev-lang/python/ChangeLog b/dev-lang/python/ChangeLog
new file mode 100644
index 0000000..09eae68
--- /dev/null
+++ b/dev-lang/python/ChangeLog
@@ -0,0 +1,957 @@
+# ChangeLog for dev-lang/python
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/python/ChangeLog,v 1.797 2014/11/11 21:01:03 maekke Exp $
+
+  11 Nov 2014; Markus Meier <maekke@gentoo.org> python-3.4.1.ebuild:
+  arm stable, bug #522322
+
+  02 Nov 2014; Agostino Sarubbo <ago@gentoo.org> python-3.4.1.ebuild:
+  Stable for alpha, wrt bug #522322
+
+  29 Oct 2014; Agostino Sarubbo <ago@gentoo.org> python-3.4.1.ebuild:
+  Stable for sparc, wrt bug #522322
+
+  28 Oct 2014; Agostino Sarubbo <ago@gentoo.org> python-3.4.1.ebuild:
+  Stable for ia64, wrt bug #522322
+
+  27 Oct 2014; Agostino Sarubbo <ago@gentoo.org> python-3.4.1.ebuild:
+  Stable for ppc64, wrt bug #522322
+
+  18 Oct 2014; Agostino Sarubbo <ago@gentoo.org> python-3.4.1.ebuild:
+  Stable for ppc, wrt bug #522322
+
+*python-3.4.2 (12 Oct 2014)
+
+  12 Oct 2014; Mike Gilbert <floppym@gentoo.org> +python-3.4.2.ebuild:
+  Version bump. Thanks to Arfrever for updating the patchset.
+
+  12 Oct 2014; Dirkjan Ochtman <djc@gentoo.org> files/pydoc.init:
+  Remove net dependency from pydoc init scripts (fixes bug 439662)
+
+  12 Oct 2014; Agostino Sarubbo <ago@gentoo.org> python-3.4.1.ebuild:
+  Stable for x86, wrt bug #522322
+
+  10 Oct 2014; Agostino Sarubbo <ago@gentoo.org> python-3.4.1.ebuild:
+  Stable for amd64, wrt bug #522322
+
+  26 Sep 2014; Jeroen Roovers <jer@gentoo.org> python-3.4.1.ebuild:
+  Stable for HPPA (bug #522322).
+
+  22 Sep 2014; Mike Gilbert <floppym@gentoo.org> python-2.7.8.ebuild:
+  New patchset, should resolve bug 523072. Thanks for Arfrever for the updates.
+
+  09 Sep 2014; Mike Frysinger <vapier@gentoo.org> python-2.7.7.ebuild,
+  python-3.3.5-r1.ebuild:
+  Mark m68k/s390/sh stable.
+
+  18 Aug 2014; Dirkjan Ochtman <djc@gentoo.org> -python-3.3.4.ebuild:
+  Additional cleanup for bug 514686
+
+  18 Aug 2014; Dirkjan Ochtman <djc@gentoo.org> -python-2.7.5-r3.ebuild,
+  -python-2.7.5-r4.ebuild, -python-2.7.6-r1.ebuild, -python-2.7.6.ebuild,
+  -python-3.2.5-r3.ebuild, -python-3.3.2-r2.ebuild, -python-3.3.3.ebuild,
+  -python-3.4.0_rc1.ebuild, -python-3.4.0_rc3.ebuild:
+  Cleanup for bug 500518
+
+  09 Aug 2014; Agostino Sarubbo <ago@gentoo.org> python-2.7.7.ebuild,
+  python-3.2.5-r6.ebuild, python-3.3.5-r1.ebuild:
+  Stable for ppc64, wrt bug #500518
+
+  08 Aug 2014; Agostino Sarubbo <ago@gentoo.org> python-2.7.7.ebuild,
+  python-3.2.5-r6.ebuild, python-3.3.5-r1.ebuild:
+  Stable for ppc, wrt bug #500518
+
+  04 Aug 2014; Raúl Porcel <armin76@gentoo.org> python-2.7.7.ebuild,
+  python-3.2.5-r6.ebuild, python-3.3.5-r1.ebuild:
+  arm64/ia64/sparc stable wrt #500518
+
+  03 Aug 2014; Markus Meier <maekke@gentoo.org> python-3.3.5-r1.ebuild:
+  arm stable, bug #500518
+
+  03 Aug 2014; Markus Meier <maekke@gentoo.org> python-3.2.5-r6.ebuild:
+  arm stable, bug #500518
+
+  03 Aug 2014; Markus Meier <maekke@gentoo.org> python-2.7.7.ebuild:
+  arm stable, bug #500518
+
+  02 Aug 2014; Agostino Sarubbo <ago@gentoo.org> python-2.7.7.ebuild,
+  python-3.2.5-r6.ebuild, python-3.3.5-r1.ebuild:
+  Stable for x86, wrt bug #500518
+
+  02 Aug 2014; Agostino Sarubbo <ago@gentoo.org> python-2.7.7.ebuild,
+  python-3.2.5-r6.ebuild, python-3.3.5-r1.ebuild:
+  Stable for amd64, wrt bug #500518
+
+  31 Jul 2014; Tobias Klausmann <klausman@gentoo.org> python-3.2.5-r6.ebuild:
+  Stable on alpha, bug #500518
+
+  31 Jul 2014; Tobias Klausmann <klausman@gentoo.org> python-2.7.7.ebuild:
+  Stable on alpha, bug #500518
+
+  31 Jul 2014; Tobias Klausmann <klausman@gentoo.org> python-3.3.5-r1.ebuild:
+  Stable on alpha, bug #500518
+
+  31 Jul 2014; Jeroen Roovers <jer@gentoo.org> python-3.2.5-r6.ebuild:
+  Stable for HPPA (bug #500518).
+
+  31 Jul 2014; Jeroen Roovers <jer@gentoo.org> python-3.3.5-r1.ebuild:
+  Stable for HPPA (bug #500518).
+
+  30 Jul 2014; Jeroen Roovers <jer@gentoo.org> python-2.7.7.ebuild:
+  Stable for HPPA (bug #500518).
+
+*python-2.7.8 (29 Jul 2014)
+
+  29 Jul 2014; Patrick McLean <chutzpah@gentoo.org> +python-2.7.8.ebuild:
+  Version bump.
+
+*python-3.2.5-r6 (29 Jul 2014)
+
+  29 Jul 2014; Sergey Popov <pinkbyte@gentoo.org> -python-3.2.5-r5.ebuild,
+  +python-3.2.5-r6.ebuild, +files/python-3.2-CVE-2014-1912.patch:
+  Revision bump: backport patch for CVE-2014-1912, bug #500518. Drop old
+  revision. Acked by Python team
+
+*python-3.3.5-r1 (29 Jul 2014)
+*python-3.2.5-r5 (29 Jul 2014)
+
+  29 Jul 2014; Sergey Popov <pinkbyte@gentoo.org> -python-3.2.5-r4.ebuild,
+  +python-3.2.5-r5.ebuild, -python-3.3.5.ebuild, +python-3.3.5-r1.ebuild,
+  +files/python-3.2-CVE-2014-4616.patch, +files/python-3.3-CVE-2014-4616.patch:
+  Revision bump: add patch for CVE-2014-4616, bug #514686. Drop old revisions.
+  Acked by Python team
+
+  18 Jul 2014; Tobias Klausmann <klausman@gentoo.org> python-2.7.6.ebuild:
+  Stable on alpha, bug #504742
+
+  06 Jul 2014; Michał Górny <mgorny@gentoo.org> -files/CVE-2013-4238_py26.patch,
+  -files/python-2.5-tcl86.patch, -python-2.6.8-r3.ebuild, -python-2.6.9.ebuild:
+  Remove python:2.6 and relevant patches.
+
+*python-2.7.7 (28 Jun 2014)
+*python-3.4.1 (28 Jun 2014)
+
+  28 Jun 2014; Mike Gilbert <floppym@gentoo.org> +python-2.7.7.ebuild,
+  +python-3.4.1.ebuild:
+  Version bumps.
+
+  15 Jun 2014; Akinori Hattori <hattya@gentoo.org> python-2.7.6.ebuild:
+  ia64 stable wrt bug #504742
+
+  14 Jun 2014; Pawel Hajdan jr <phajdan.jr@gentoo.org> python-2.7.6.ebuild:
+  x86 stable wrt bug #504742
+
+  24 May 2014; Markos Chandras <hwoarang@gentoo.org> python-2.7.6.ebuild:
+  Stable on amd64 wrt bug #504742
+
+*python-3.2.5-r4 (10 May 2014)
+
+  10 May 2014; Mike Gilbert <floppym@gentoo.org> +python-3.2.5-r4.ebuild,
+  python-2.7.6-r1.ebuild, python-3.3.5.ebuild, python-3.4.0.ebuild:
+  Add optional dependency on dev-tcltk/tix, bug 413393 by John Keeping.
+
+*python-2.7.6-r1 (25 Apr 2014)
+
+  25 Apr 2014; Patrick McLean <chutzpah@gentoo.org> +python-2.7.6-r1.ebuild,
+  +files/python-2.7.6-recvfrom_into_buffer_overflow.patch:
+  Revision bump, add patch for CVE-2014-1912 (bug #500518)
+
+  06 Apr 2014; Mike Frysinger <vapier@gentoo.org> python-2.7.6.ebuild:
+  Mark arm64/m68k/s390/sh stable.
+
+  01 Apr 2014; Markus Meier <maekke@gentoo.org> python-2.7.6.ebuild:
+  arm stable, bug #504742
+
+  30 Mar 2014; Mike Gilbert <floppym@gentoo.org> python-3.4.0.ebuild:
+  Update postinst message; python.eclass does not support 3.4.
+
+  28 Mar 2014; Mike Gilbert <floppym@gentoo.org> python-3.2.5-r3.ebuild:
+  Backport readline-6.3 fixes to python-3.2.5, bug 505416.
+
+*python-3.4.0 (28 Mar 2014)
+
+  28 Mar 2014; Mike Gilbert <floppym@gentoo.org> +python-3.4.0.ebuild:
+  Version bump. Permanently drop the 'doc' use flag.
+
+*python-3.3.5 (28 Mar 2014)
+
+  28 Mar 2014; Mike Gilbert <floppym@gentoo.org> +python-3.3.5.ebuild:
+  Version bump.
+
+  20 Mar 2014; Jeroen Roovers <jer@gentoo.org> python-2.7.6.ebuild:
+  Stable for HPPA (bug #504742).
+
+  18 Mar 2014; Agostino Sarubbo <ago@gentoo.org> python-3.3.3.ebuild:
+  Stable for ia64, wrt bug #497758
+
+  16 Mar 2014; Mike Gilbert <floppym@gentoo.org> python-2.6.9.ebuild:
+  Backport fix for bug 503180.
+
+*python-3.4.0_rc3 (15 Mar 2014)
+
+  15 Mar 2014; Mike Gilbert <floppym@gentoo.org> +python-3.4.0_rc3.ebuild:
+  Bump.
+
+  15 Mar 2014; Mike Gilbert <floppym@gentoo.org> python-2.7.6.ebuild:
+  Backport upstream fixes for bug 503180.
+
+  01 Mar 2014; Mike Gilbert <floppym@gentoo.org> python-3.4.0_rc1.ebuild:
+  Disable ensurepip.
+
+*python-3.4.0_rc1 (17 Feb 2014)
+
+  17 Feb 2014; Mike Gilbert <floppym@gentoo.org> +python-3.4.0_rc1.ebuild:
+  Version bump for testing. Thanks to Arfrever for the patches.
+
+*python-3.3.4 (17 Feb 2014)
+
+  17 Feb 2014; Mike Gilbert <floppym@gentoo.org> +python-3.3.4.ebuild:
+  Version bump. Thanks to Arfrever for maintaining the patchset.
+
+  08 Feb 2014; Mike Gilbert <floppym@gentoo.org> python-3.3.3.ebuild:
+  Add workaround for race condition when generating Python-ast.c and Python-
+  ast.h. Thanks to Arfrever.
+
+  05 Feb 2014; Mike Frysinger <vapier@gentoo.org> python-3.3.3.ebuild:
+  Mark arm64/m68k/s390/sh stable.
+
+  26 Jan 2014; Agostino Sarubbo <ago@gentoo.org> python-3.3.3.ebuild:
+  Stable for sparc, wrt bug #497758
+
+  26 Jan 2014; Agostino Sarubbo <ago@gentoo.org> python-3.3.3.ebuild:
+  Stable for x86, wrt bug #497758
+
+  20 Jan 2014; Agostino Sarubbo <ago@gentoo.org> python-3.3.3.ebuild:
+  Stable for ppc, wrt bug #497758
+
+  19 Jan 2014; Markus Meier <maekke@gentoo.org> python-3.3.3.ebuild:
+  arm stable, bug #497758
+
+  19 Jan 2014; Agostino Sarubbo <ago@gentoo.org> python-3.3.3.ebuild:
+  Stable for ppc64, wrt bug #497758
+
+  18 Jan 2014; Agostino Sarubbo <ago@gentoo.org> python-3.3.3.ebuild:
+  Stable for alpha, wrt bug #497758
+
+  18 Jan 2014; Pacho Ramos <pacho@gentoo.org> python-3.3.3.ebuild:
+  amd64 stable, bug #497758
+
+  18 Jan 2014; Mike Frysinger <vapier@gentoo.org> python-2.7.6.ebuild:
+  Fix cross-compiling tests that try to read /dev/ paths.
+
+  18 Jan 2014; Mike Frysinger <vapier@gentoo.org> python-2.7.5-r3.ebuild,
+  python-2.7.5-r4.ebuild, python-2.7.6.ebuild, python-3.3.2-r2.ebuild,
+  python-3.3.3.ebuild:
+  Add arm64 love.
+
+  16 Jan 2014; Mike Frysinger <vapier@gentoo.org> python-3.3.2-r2.ebuild:
+  Mark m68k/s390/sh stable.
+
+  15 Jan 2014; Agostino Sarubbo <ago@gentoo.org> python-3.3.2-r2.ebuild:
+  Stable for ia64, wrt bug #474128
+
+  11 Jan 2014; Jeroen Roovers <jer@gentoo.org> python-3.3.3.ebuild:
+  Stable for HPPA (bug #497758).
+
+  05 Jan 2014; Agostino Sarubbo <ago@gentoo.org> python-3.3.2-r2.ebuild:
+  Stable for ppc64, wrt bug #474128
+
+  05 Jan 2014; Agostino Sarubbo <ago@gentoo.org> python-3.3.2-r2.ebuild:
+  Stable for ppc, wrt bug #474128
+
+  30 Dec 2013; Mike Gilbert <floppym@gentoo.org> python-2.6.8-r3.ebuild,
+  python-2.6.9.ebuild, python-2.7.5-r3.ebuild, python-2.7.5-r4.ebuild,
+  python-2.7.6.ebuild, python-3.2.5-r3.ebuild, python-3.3.2-r2.ebuild,
+  python-3.3.3.ebuild:
+  Don't die on broken sem_open if threads flag is disabled.
+
+  30 Dec 2013; Mike Gilbert <floppym@gentoo.org> python-2.6.8-r3.ebuild,
+  python-2.6.9.ebuild, python-2.7.5-r3.ebuild, python-2.7.5-r4.ebuild,
+  python-2.7.6.ebuild, python-3.2.5-r3.ebuild, python-3.3.2-r2.ebuild,
+  python-3.3.3.ebuild:
+  Die if sem_open is detected as broken, bug 496328.
+
+  26 Dec 2013; Markus Meier <maekke@gentoo.org> python-3.3.2-r2.ebuild:
+  arm stable, bug #474128
+
+*python-2.6.9 (25 Dec 2013)
+
+  25 Dec 2013; Mike Gilbert <floppym@gentoo.org> +python-2.6.9.ebuild:
+  Bump for security bug 495224.
+
+  15 Dec 2013; Agostino Sarubbo <ago@gentoo.org> python-3.3.2-r2.ebuild:
+  Stable for sparc, wrt bug #474128
+
+  13 Dec 2013; Matt Turner <mattst88@gentoo.org> python-3.3.2-r2.ebuild:
+  alpha stable, bug 474128.
+
+  08 Dec 2013; Pacho Ramos <pacho@gentoo.org> python-3.3.2-r2.ebuild:
+  x86 stable, bug #474128
+
+  07 Dec 2013; Mike Frysinger <vapier@gentoo.org> python-2.7.6.ebuild,
+  python-3.3.3.ebuild:
+  Drop redundant die statements with EAPI=4.
+
+*python-2.7.6 (01 Dec 2013)
+
+  01 Dec 2013; Mike Gilbert <floppym@gentoo.org> +python-2.7.6.ebuild:
+  Version bump. Thanks to Arfrever for the patches.
+
+  30 Nov 2013; Jeroen Roovers <jer@gentoo.org> python-3.3.2-r2.ebuild:
+  Stable for HPPA (bug #474128).
+
+  30 Nov 2013; Pacho Ramos <pacho@gentoo.org> python-3.3.2-r2.ebuild:
+  amd64 stable, bug #474128
+
+  23 Nov 2013; Jeroen Roovers <jer@gentoo.org> python-3.3.2-r2.ebuild,
+  python-3.3.3.ebuild:
+  Typo.
+
+  23 Nov 2013; Mike Gilbert <floppym@gentoo.org> python-3.3.2-r2.ebuild,
+  python-3.3.3.ebuild:
+  Update the postinst upgrade message.
+
+*python-3.3.3 (21 Nov 2013)
+
+  21 Nov 2013; Mike Gilbert <floppym@gentoo.org> +python-3.3.3.ebuild:
+  Version bump. Thanks to Arfrever for maintaining the patchset.
+
+*python-2.7.5-r4 (26 Oct 2013)
+
+  26 Oct 2013; Mike Gilbert <floppym@gentoo.org>
+  +files/python-2.7-issue18851.patch, +python-2.7.5-r4.ebuild:
+  Apply patch to fix regression in subprocess module, bug 489378.
+
+*python-2.7.5-r3 (16 Oct 2013)
+*python-3.2.5-r3 (16 Oct 2013)
+
+  16 Oct 2013; Mike Gilbert <floppym@gentoo.org>
+  +files/python-2.7-issue16248.patch, +files/python-3.2-issue16248.patch,
+  +python-2.7.5-r3.ebuild, +python-3.2.5-r3.ebuild, -python-2.7.5-r2.ebuild,
+  -python-3.2.5-r2.ebuild:
+  Apply upstream fix for regression in Tkinter, bug 488208 by jlec.
+
+  10 Oct 2013; Dirkjan Ochtman <djc@gentoo.org> -files/python-3.2.3-x32.patch,
+  -python-2.6.8-r1.ebuild, -python-2.6.8-r2.ebuild, -python-2.7.3-r2.ebuild,
+  -python-2.7.3-r3.ebuild, -python-2.7.5-r1.ebuild, -python-2.7.5.ebuild,
+  -python-3.2.3-r1.ebuild, -python-3.2.3-r2.ebuild, -python-3.2.3.ebuild,
+  -python-3.2.4.ebuild, -python-3.2.5-r1.ebuild, -python-3.2.5.ebuild,
+  -python-3.3.1.ebuild, -python-3.3.2-r1.ebuild, -python-3.3.2.ebuild:
+  Remove old versions of python.
+
+  26 Sep 2013; Mike Gilbert <floppym@gentoo.org>
+  +files/python-2.7.5-nonfatal-compileall.patch, python-2.7.5-r2.ebuild:
+  Apply cross-compile fixes to python-2.7.5.
+
+  26 Sep 2013; Mike Gilbert <floppym@gentoo.org> python-3.3.2-r2.ebuild:
+  Fix/simplify cross-compiles.
+
+  26 Sep 2013; Mike Gilbert <floppym@gentoo.org> python-3.3.2-r2.ebuild:
+  Depend on xz-utils (_lzma module).
+
+  05 Sep 2013; Mike Gilbert <floppym@gentoo.org>
+  -files/CVE-2013-4238_py32.patch:
+  Drop another patch.
+
+  05 Sep 2013; Michał Górny <mgorny@gentoo.org> -files/linux2.patch,
+  -files/python-2.4.4-test-cross.patch, -files/python-2.5-cross-printf.patch,
+  -files/python-2.6-chflags-cross.patch, -files/python-2.6-test-cross.patch,
+  -files/python-3-distutils-egg-utf8.patch, -files/python-3.2-soname_typo.patch,
+  -python-2.5.4-r5.ebuild, -python-2.5.4-r6.ebuild, -python-3.1.5-r1.ebuild,
+  -python-3.1.5.ebuild:
+  Remove Python 2.5 and 3.1. Purge old patches.
+
+  05 Sep 2013; Mike Gilbert <floppym@gentoo.org> python-3.3.2-r2.ebuild:
+  Disable network tests, bug 483656.
+
+  28 Aug 2013; Mike Gilbert <floppym@gentoo.org> python-2.7.3-r2.ebuild,
+  python-2.7.3-r3.ebuild, python-2.7.5-r1.ebuild, python-2.7.5-r2.ebuild,
+  python-2.7.5.ebuild, python-3.2.3-r1.ebuild, python-3.2.3-r2.ebuild,
+  python-3.2.3.ebuild, python-3.2.4.ebuild, python-3.2.5-r1.ebuild,
+  python-3.2.5-r2.ebuild, python-3.2.5.ebuild, python-3.3.1.ebuild,
+  python-3.3.2-r1.ebuild, python-3.3.2-r2.ebuild, python-3.3.2.ebuild:
+  Drop extensions usedep from sqlite dep; sqlite is dropping the use flag.
+
+  26 Aug 2013; Michał Górny <mgorny@gentoo.org> python-2.5.4-r6.ebuild:
+  Replace internal eclass functions with a simple sed.
+
+  23 Aug 2013; Agostino Sarubbo <ago@gentoo.org> python-2.6.8-r3.ebuild,
+  python-2.7.5-r2.ebuild, python-3.2.5-r2.ebuild:
+  Stable for sparc, wrt bug #480856
+
+  23 Aug 2013; Agostino Sarubbo <ago@gentoo.org> python-2.6.8-r3.ebuild,
+  python-2.7.5-r2.ebuild, python-3.2.5-r2.ebuild:
+  Stable for sh, wrt bug #480856
+
+  23 Aug 2013; Agostino Sarubbo <ago@gentoo.org> python-2.6.8-r3.ebuild,
+  python-2.7.5-r2.ebuild, python-3.2.5-r2.ebuild:
+  Stable for s390, wrt bug #480856
+
+  23 Aug 2013; Agostino Sarubbo <ago@gentoo.org> python-2.6.8-r3.ebuild,
+  python-2.7.5-r2.ebuild, python-3.2.5-r2.ebuild:
+  Stable for ppc, wrt bug #480856
+
+  23 Aug 2013; Agostino Sarubbo <ago@gentoo.org> python-2.6.8-r3.ebuild,
+  python-2.7.5-r2.ebuild, python-3.2.5-r2.ebuild:
+  Stable for ppc64, wrt bug #480856
+
+  23 Aug 2013; Agostino Sarubbo <ago@gentoo.org> python-2.6.8-r3.ebuild,
+  python-2.7.5-r2.ebuild, python-3.2.5-r2.ebuild:
+  Stable for ia64, wrt bug #480856
+
+  23 Aug 2013; Agostino Sarubbo <ago@gentoo.org> python-2.6.8-r3.ebuild,
+  python-2.7.5-r2.ebuild, python-3.2.5-r2.ebuild:
+  Stable for arm, wrt bug #480856
+
+  23 Aug 2013; Agostino Sarubbo <ago@gentoo.org> python-2.6.8-r3.ebuild,
+  python-2.7.5-r2.ebuild, python-3.2.5-r2.ebuild:
+  Stable for alpha, wrt bug #480856
+
+  23 Aug 2013; Agostino Sarubbo <ago@gentoo.org> python-2.6.8-r3.ebuild,
+  python-2.7.5-r2.ebuild, python-3.2.5-r2.ebuild:
+  Stable for x86, wrt bug #480856
+
+  23 Aug 2013; Agostino Sarubbo <ago@gentoo.org> python-2.6.8-r3.ebuild,
+  python-2.7.5-r2.ebuild, python-3.2.5-r2.ebuild:
+  Stable for amd64, wrt bug #480856
+
+  20 Aug 2013; Jeroen Roovers <jer@gentoo.org> python-2.6.8-r3.ebuild,
+  python-2.7.5-r2.ebuild, python-3.2.5-r2.ebuild:
+  Stable for HPPA (bug #480856).
+
+*python-2.7.5-r2 (18 Aug 2013)
+*python-3.2.5-r2 (18 Aug 2013)
+*python-2.6.8-r3 (18 Aug 2013)
+
+  18 Aug 2013; Mike Gilbert <floppym@gentoo.org>
+  +files/CVE-2013-4238_py26.patch, +files/CVE-2013-4238_py27.patch,
+  +files/CVE-2013-4238_py32.patch, +files/CVE-2013-4238_py33.patch,
+  +python-2.6.8-r3.ebuild, +python-2.7.5-r2.ebuild, +python-3.2.5-r2.ebuild,
+  -files/CVE-2013-4073_py33.patch, python-3.3.2-r2.ebuild:
+  Apply fix for CVE-2013-4238, bug 480856.
+
+*python-3.3.2-r2 (18 Aug 2013)
+
+  18 Aug 2013; Mike Gilbert <floppym@gentoo.org>
+  +files/CVE-2013-4073_py33.patch, +python-3.3.2-r2.ebuild:
+  Use Arfrever's patchset, bug 354877. Apply fix for CVS-2013-4238, bug 480856.
+
+  06 Aug 2013; Agostino Sarubbo <ago@gentoo.org> python-2.7.5.ebuild:
+  Stable for s390, wrt bug #475424
+
+  06 Aug 2013; Agostino Sarubbo <ago@gentoo.org> python-3.2.5-r1.ebuild:
+  Stable for s390, wrt bug #469988
+
+  03 Aug 2013; Agostino Sarubbo <ago@gentoo.org> python-2.7.5.ebuild:
+  Stable for sparc, wrt bug #475424
+
+  22 Jul 2013; Agostino Sarubbo <ago@gentoo.org> python-3.2.5-r1.ebuild:
+  Stable for sparc, wrt bug #469988
+
+  21 Jul 2013; Agostino Sarubbo <ago@gentoo.org> python-3.2.5-r1.ebuild:
+  Stable for sh, wrt bug #469988
+
+*python-2.7.5-r1 (12 Jul 2013)
+
+  12 Jul 2013; Mike Gilbert <floppym@gentoo.org>
+  +files/python-2.7.5-re_unsigned_ptrdiff.patch, +python-2.7.5-r1.ebuild:
+  Apply patch to fix regex crash, bug 476426 by Fabio Rossi.
+
+  07 Jul 2013; Agostino Sarubbo <ago@gentoo.org> python-3.2.5-r1.ebuild:
+  Stable for ia64, wrt bug #469988
+
+  07 Jul 2013; Agostino Sarubbo <ago@gentoo.org> python-2.7.5.ebuild:
+  Stable for ia64, wrt bug #475424
+
+  07 Jul 2013; Agostino Sarubbo <ago@gentoo.org> python-3.2.5-r1.ebuild:
+  Stable for arm, wrt bug #469988
+
+  07 Jul 2013; Agostino Sarubbo <ago@gentoo.org> python-2.7.5.ebuild:
+  Stable for arm, wrt bug #475424
+
+  06 Jul 2013; Mike Gilbert <floppym@gentoo.org> -python-2.7.4.ebuild:
+  Remove old.
+
+  06 Jul 2013; Mike Gilbert <floppym@gentoo.org> python-2.7.5.ebuild:
+  Move uclibc test removal after everything else, bug 475972.
+
+  06 Jul 2013; Agostino Sarubbo <ago@gentoo.org> python-3.2.5-r1.ebuild:
+  Stable for alpha, wrt bug #469988
+
+  04 Jul 2013; Agostino Sarubbo <ago@gentoo.org> python-3.2.5-r1.ebuild:
+  Stable for ppc64, wrt bug #469988
+
+  04 Jul 2013; Jeroen Roovers <jer@gentoo.org> python-3.2.5-r1.ebuild:
+  Stable for HPPA (bug #469988).
+
+  04 Jul 2013; Agostino Sarubbo <ago@gentoo.org> python-2.7.5.ebuild:
+  Stable for ppc64, wrt bug #475424
+
+  04 Jul 2013; Agostino Sarubbo <ago@gentoo.org> python-3.2.5-r1.ebuild:
+  Stable for ppc, wrt bug #469988
+
+  04 Jul 2013; Agostino Sarubbo <ago@gentoo.org> python-2.7.5.ebuild:
+  Stable for ppc, wrt bug #475424
+
+  03 Jul 2013; Agostino Sarubbo <ago@gentoo.org> python-3.2.5-r1.ebuild:
+  Stable for x86, wrt bug #469988
+
+  03 Jul 2013; Agostino Sarubbo <ago@gentoo.org> python-3.2.5-r1.ebuild:
+  Stable for amd64, wrt bug #469988
+
+*python-3.2.5-r1 (03 Jul 2013)
+*python-3.3.2-r1 (03 Jul 2013)
+
+  03 Jul 2013; Mike Gilbert <floppym@gentoo.org>
+  +files/python-3.2-CVE-2013-2099.patch, +files/python-3.3-CVE-2013-2099.patch,
+  +python-3.2.5-r1.ebuild, +python-3.3.2-r1.ebuild:
+  Add patch to fix CVE-2013-2099, bug 469988.
+
+  02 Jul 2013; Jeroen Roovers <jer@gentoo.org> python-2.7.5.ebuild:
+  Stable for HPPA (bug #475424).
+
+  02 Jul 2013; Tobias Klausmann <klausman@gentoo.org> python-2.7.5.ebuild:
+  Stable on alpha, bug #475424
+
+  02 Jul 2013; Agostino Sarubbo <ago@gentoo.org> python-2.7.5.ebuild:
+  Stable for x86, wrt bug #475424
+
+  02 Jul 2013; Agostino Sarubbo <ago@gentoo.org> python-2.7.5.ebuild:
+  Stable for amd64, wrt bug #475424
+
+*python-2.6.8-r2 (30 Jun 2013)
+*python-2.5.4-r6 (30 Jun 2013)
+
+  30 Jun 2013; Mike Gilbert <floppym@gentoo.org> +files/python-2.5-tcl86.patch,
+  +python-2.5.4-r6.ebuild, +python-2.6.8-r2.ebuild:
+  Apply patch to allow old python versions to use tk-8.6, bug 454342. Also fix
+  the python shebang in idle2.5 and pydoc2.5, bugs 275241 and 383009.
+
+  30 Jun 2013; Mike Gilbert <floppym@gentoo.org> -python-2.5.4-r4.ebuild,
+  -python-2.6.8.ebuild, python-2.5.4-r5.ebuild, python-2.6.8-r1.ebuild:
+  Place upper bound on dev-lang/tk dep, bug 454342. Also stabilize on m68k since
+  nobody is responding on bug 458318.
+
+  28 Jun 2013; Mike Gilbert <floppym@gentoo.org>
+  +files/python-2.7.5-library-path.patch, python-2.7.5.ebuild:
+  Fix library paths when not cross-compiling. Should resolve bug 474882. Thanks
+  to Arfrever for finding the upstream commit.
+
+*python-2.7.5 (25 May 2013)
+*python-3.2.5 (25 May 2013)
+
+  25 May 2013; Mike Gilbert <floppym@gentoo.org> +python-2.7.5.ebuild,
+  +python-3.2.5.ebuild, python-2.6.8-r1.ebuild, python-2.7.3-r3.ebuild,
+  python-3.2.3-r2.ebuild:
+  Version bump. Also resolves bug 462288 and 471124.
+
+*python-3.3.2 (21 May 2013)
+
+  21 May 2013; Patrick McLean <chutz@gentoo.org> -python-3.3.0.ebuild,
+  -python-3.3.0-r1.ebuild, +python-3.3.2.ebuild:
+  Version bump to 3.3.2, clean out old 3.3 versions preparing for unmasking.
+
+  18 May 2013; Magnus Granberg <zorry@gentoo.org> python-2.7.4.ebuild,
+  python-3.2.4.ebuild, python-3.3.1.ebuild:
+  Add fix to support pax emutramp on libffi
+
+  09 May 2013; Mike Gilbert <floppym@gentoo.org> python-2.7.4.ebuild:
+  Don't build the 'maninstall' target; this installs generic symlinks python.1
+  and python2.1, which we manage using eselect-python. Bug 469148 by Alphat-PC.
+
+  09 May 2013; Michał Górny <mgorny@gentoo.org> python-2.5.4-r5.ebuild,
+  python-2.6.8-r1.ebuild, python-2.7.4.ebuild, python-3.1.5-r1.ebuild,
+  python-3.2.4.ebuild, python-3.3.1.ebuild:
+  Add epatch_user wrt bug #447714.
+
+  01 May 2013; Mike Gilbert <floppym@gentoo.org> python-3.2.4.ebuild:
+  Enable byte-compilation during tests.
+
+  01 May 2013; Mike Gilbert <floppym@gentoo.org> python-2.7.4.ebuild,
+  python-3.2.4.ebuild:
+  Use Arfrever's patches. Remove some unnecessary || die.
+
+  28 Apr 2013; Patrick McLean <chutzpah@gentoo.org> python-3.3.1.ebuild:
+  Re-add patch from Arfrever to fix compilation on non-UTF-8 platforms, drop
+  patches that are no longer needed.
+
+*python-3.3.1 (28 Apr 2013)
+
+  28 Apr 2013; Patrick McLean <chutzpah@gentoo.org> +python-3.3.1.ebuild:
+  Version bump. Add new patch to fix import tests from Arferver.
+
+*python-3.2.4 (27 Apr 2013)
+
+  27 Apr 2013; Mike Gilbert <floppym@gentoo.org> +python-3.2.4.ebuild:
+  Version bump. Fails tests at the moment.
+
+  27 Apr 2013; Mike Gilbert <floppym@gentoo.org> python-2.7.4.ebuild:
+  Downgrade to EAPI 4.
+
+  27 Apr 2013; Mike Gilbert <floppym@gentoo.org> python-2.7.4.ebuild:
+  Increment patchset.
+
+  13 Apr 2013; Agostino Sarubbo <ago@gentoo.org> python-2.5.4-r5.ebuild,
+  python-2.6.8-r1.ebuild, python-2.7.3-r3.ebuild, python-3.1.5-r1.ebuild,
+  python-3.2.3-r2.ebuild:
+  Stable for s390, wrt bug #458318
+
+  07 Apr 2013; Mike Gilbert <floppym@gentoo.org> python-2.7.4.ebuild:
+  Adjust the sys-libs/db dep and add some || die.
+
+  07 Apr 2013; Michał Górny <mgorny@gentoo.org> python-2.6.8-r1.ebuild,
+  python-2.7.3-r3.ebuild, python-2.7.4.ebuild:
+  Fix wininst removal typo. Fixes bug #462862.
+
+*python-2.7.4 (07 Apr 2013)
+
+  07 Apr 2013; Mike Gilbert <floppym@gentoo.org> +python-2.7.4.ebuild:
+  Version bump.
+
+  31 Mar 2013; Agostino Sarubbo <ago@gentoo.org> python-2.5.4-r5.ebuild,
+  python-2.6.8-r1.ebuild, python-2.7.3-r3.ebuild, python-3.1.5-r1.ebuild,
+  python-3.2.3-r2.ebuild:
+  Stable for sh, wrt bug #458318
+
+  31 Mar 2013; Agostino Sarubbo <ago@gentoo.org> python-2.5.4-r5.ebuild,
+  python-2.6.8-r1.ebuild, python-2.7.3-r3.ebuild, python-3.1.5-r1.ebuild,
+  python-3.2.3-r2.ebuild:
+  Stable for sparc, wrt bug #458318
+
+  28 Mar 2013; Agostino Sarubbo <ago@gentoo.org> python-2.5.4-r5.ebuild,
+  python-2.6.8-r1.ebuild, python-2.7.3-r3.ebuild, python-3.1.5-r1.ebuild,
+  python-3.2.3-r2.ebuild:
+  Stable for ia64, wrt bug #458318
+
+  26 Mar 2013; Mike Frysinger <vapier@gentoo.org> python-2.6.8-r1.ebuild,
+  python-2.7.3-r3.ebuild, python-3.1.5-r1.ebuild, python-3.2.3-r2.ebuild,
+  python-3.3.0-r1.ebuild:
+  When cross-compiling, run the configures in parallel for a nice speed up
+  #462264 by SpanKY.
+
+  24 Mar 2013; Mike Gilbert <floppym@gentoo.org> python-3.3.0-r1.ebuild,
+  python-3.3.0.ebuild:
+  Add hard blocker on <sys-apps/sandbox-2.6-r1 to ensure we don't hit bug
+  364877.
+
+  23 Mar 2013; Agostino Sarubbo <ago@gentoo.org> python-2.5.4-r5.ebuild,
+  python-2.6.8-r1.ebuild, python-2.7.3-r3.ebuild, python-3.1.5-r1.ebuild,
+  python-3.2.3-r2.ebuild:
+  Stable for alpha, wrt bug #458318
+
+  23 Mar 2013; Agostino Sarubbo <ago@gentoo.org> python-2.5.4-r5.ebuild,
+  python-2.6.8-r1.ebuild, python-2.7.3-r3.ebuild, python-3.1.5-r1.ebuild,
+  python-3.2.3-r2.ebuild:
+  Stable for arm, wrt bug #458318
+
+  21 Mar 2013; Jeroen Roovers <jer@gentoo.org> python-2.5.4-r5.ebuild,
+  python-2.6.8-r1.ebuild, python-2.7.3-r3.ebuild, python-3.1.5-r1.ebuild,
+  python-3.2.3-r2.ebuild:
+  Stable for HPPA (bug #458318).
+
+  19 Mar 2013; Mike Frysinger <vapier@gentoo.org> python-2.7.3-r3.ebuild,
+  python-3.2.3-r2.ebuild, python-3.3.0-r1.ebuild:
+  Install the python gdb module in the right place #443510 by Jan Pobrislo.
+
+  19 Mar 2013; Mike Frysinger <vapier@gentoo.org> python-2.7.3-r2.ebuild,
+  python-2.7.3-r3.ebuild, python-3.2.3-r1.ebuild, python-3.2.3-r2.ebuild,
+  python-3.2.3.ebuild, python-3.3.0-r1.ebuild, python-3.3.0.ebuild:
+  Export ac_cv_have_long_long_format=yes when cross-compiling #362945 by
+  Patrick.
+
+  19 Mar 2013; Mike Frysinger <vapier@gentoo.org> python-2.7.3-r2.ebuild,
+  python-2.7.3-r3.ebuild, python-3.2.3-r1.ebuild, python-3.2.3-r2.ebuild,
+  python-3.2.3.ebuild, python-3.3.0-r1.ebuild, python-3.3.0.ebuild:
+  Set ac_cv_buggy_getaddrinfo=no when cross-compiling.
+
+  19 Mar 2013; Mike Frysinger <vapier@gentoo.org> python-2.5.4-r4.ebuild,
+  python-2.5.4-r5.ebuild, python-2.6.8-r1.ebuild, python-2.6.8.ebuild,
+  python-2.7.3-r2.ebuild, python-2.7.3-r3.ebuild, python-3.1.5-r1.ebuild,
+  python-3.1.5.ebuild, python-3.2.3-r1.ebuild, python-3.2.3-r2.ebuild,
+  python-3.2.3.ebuild, python-3.3.0-r1.ebuild, python-3.3.0.ebuild:
+  Add hardened to IUSE since we `use` it #447264 by Alphat-PC.
+
+  18 Mar 2013; Agostino Sarubbo <ago@gentoo.org> python-2.5.4-r5.ebuild,
+  python-2.6.8-r1.ebuild, python-2.7.3-r3.ebuild, python-3.1.5-r1.ebuild,
+  python-3.2.3-r2.ebuild:
+  Stable for ppc64, wrt bug #458318
+
+  18 Mar 2013; Agostino Sarubbo <ago@gentoo.org> python-2.5.4-r5.ebuild,
+  python-2.6.8-r1.ebuild, python-2.7.3-r3.ebuild, python-3.1.5-r1.ebuild,
+  python-3.2.3-r2.ebuild:
+  Stable for ppc, wrt bug #458318
+
+  18 Mar 2013; Agostino Sarubbo <ago@gentoo.org> python-2.5.4-r5.ebuild,
+  python-2.6.8-r1.ebuild, python-2.7.3-r3.ebuild, python-3.1.5-r1.ebuild,
+  python-3.2.3-r2.ebuild:
+  Stable for x86, wrt bug #458318
+
+  18 Mar 2013; Agostino Sarubbo <ago@gentoo.org> python-2.5.4-r5.ebuild,
+  python-2.6.8-r1.ebuild, python-2.7.3-r3.ebuild, python-3.1.5-r1.ebuild,
+  python-3.2.3-r2.ebuild:
+  Stable for amd64, wrt bug #458318
+
+  19 Dec 2012; Mike Gilbert <floppym@gentoo.org> python-2.5.4-r5.ebuild,
+  python-2.6.8-r1.ebuild, python-2.7.3-r3.ebuild, python-3.1.5-r1.ebuild,
+  python-3.2.3-r2.ebuild, python-3.3.0-r1.ebuild:
+  Don't depend on dev-lang/python. Bug 447752.
+
+  03 Dec 2012; Mike Gilbert <floppym@gentoo.org> python-2.5.4-r5.ebuild:
+  Copy eselect_python logic from more recent ebuilds.
+
+  02 Dec 2012; Michał Górny <mgorny@gentoo.org> python-2.5.4-r5.ebuild,
+  python-2.6.8-r1.ebuild, python-2.7.3-r3.ebuild, python-3.1.5-r1.ebuild,
+  python-3.2.3-r2.ebuild, python-3.3.0-r1.ebuild:
+  Stop renaming python-config wrt bug #445592. Keep a symlink for compatibility.
+
+  01 Dec 2012; Michał Górny <mgorny@gentoo.org> python-2.5.4-r5.ebuild,
+  python-2.6.8-r1.ebuild, python-2.7.3-r3.ebuild, python-3.1.5-r1.ebuild,
+  python-3.2.3-r2.ebuild, python-3.3.0-r1.ebuild:
+  Use python-any-r1 to clearly enforce build-time Python dependency.
+
+  30 Nov 2012; Michał Górny <mgorny@gentoo.org> python-2.5.4-r5.ebuild,
+  python-2.6.8-r1.ebuild, python-2.7.3-r3.ebuild, python-3.1.5-r1.ebuild,
+  python-3.2.3-r2.ebuild, python-3.3.0-r1.ebuild:
+  Fix byte-compiling the installed epython module when installing a new Python
+  version.
+
+*python-2.7.3-r3 (30 Nov 2012)
+*python-3.3.0-r1 (30 Nov 2012)
+*python-2.6.8-r1 (30 Nov 2012)
+*python-2.5.4-r5 (30 Nov 2012)
+*python-3.2.3-r2 (30 Nov 2012)
+*python-3.1.5-r1 (30 Nov 2012)
+
+  30 Nov 2012; Michał Górny <mgorny@gentoo.org> +python-2.5.4-r5.ebuild,
+  +python-2.6.8-r1.ebuild, +python-2.7.3-r3.ebuild, +python-3.1.5-r1.ebuild,
+  +python-3.2.3-r2.ebuild, +python-3.3.0-r1.ebuild:
+  Introduce a cleaned up, -r1-quality Python ebuilds. Stop using python.eclass,
+  install epython module for python-exec.
+
+  14 Oct 2012; Raúl Porcel <armin76@gentoo.org> python-3.1.5.ebuild:
+  ia64/m68k/s390/sh/sparc stable
+
+  06 Oct 2012; Markus Meier <maekke@gentoo.org> python-3.1.5.ebuild:
+  arm stable, bug #427544
+
+  02 Oct 2012; Jeroen Roovers <jer@gentoo.org> python-3.1.5.ebuild:
+  Stable for HPPA (bug #427548).
+
+  02 Oct 2012; Jeroen Roovers <jer@gentoo.org> python-3.2.3-r1.ebuild:
+  Stable for HPPA (bug #427548).
+
+  02 Oct 2012; Mike Gilbert <floppym@gentoo.org> python-3.3.0.ebuild:
+  Bump patchset revision for bug 436904. Drop wide-unicode use flag.
+
+  30 Sep 2012; Raúl Porcel <armin76@gentoo.org> python-3.2.3.ebuild:
+  alpha/ia64/m68k/s390/sh/sparc stable wrt #427548
+
+  30 Sep 2012; Dirkjan Ochtman <djc@gentoo.org> python-3.3.0.ebuild:
+  Fix 3.3 slot.
+
+  30 Sep 2012; Dirkjan Ochtman <djc@gentoo.org> -python-2.6.6-r2.ebuild,
+  -python-2.6.7-r2.ebuild, -python-2.7.2-r3.ebuild, -python-2.7.3.ebuild,
+  -python-2.7.3-r1.ebuild, -python-3.1.4-r3.ebuild, -python-3.1.4-r4.ebuild,
+  -python-3.2.2.ebuild, -python-3.2.2-r1.ebuild:
+  Remove old versions.
+
+*python-3.3.0 (30 Sep 2012)
+
+  30 Sep 2012; Dirkjan Ochtman <djc@gentoo.org> +python-3.3.0.ebuild:
+  Add tentative python-3.3 ebuild. Some tests still fail.
+
+  27 Sep 2012; Matt Turner <mattst88@gentoo.org> python-3.1.5.ebuild,
+  python-3.2.3-r1.ebuild:
+  Stable on alpha, bug 427548.
+
+  03 Aug 2012; Anthony G. Basile <blueness@gentoo.org> python-3.2.3.ebuild:
+  Stable arm, bug #427548
+
+  30 Jul 2012; Mike Frysinger <vapier@gentoo.org> python-2.5.4-r4.ebuild,
+  python-2.6.6-r2.ebuild, python-2.6.7-r2.ebuild, python-2.6.8.ebuild,
+  python-2.7.2-r3.ebuild, python-2.7.3-r1.ebuild, python-2.7.3-r2.ebuild,
+  python-2.7.3.ebuild, python-3.1.4-r3.ebuild, python-3.1.4-r4.ebuild,
+  python-3.1.5.ebuild, python-3.2.2-r1.ebuild, python-3.2.2.ebuild,
+  python-3.2.3-r1.ebuild, python-3.2.3.ebuild:
+  Make sure $PKG_CONFIG is respected.
+
+  29 Jul 2012; Raúl Porcel <armin76@gentoo.org> python-2.7.3-r2.ebuild:
+  alpha/ia64/m68k/s390/sh/sparc stable wrt #419575
+
+  03 Jul 2012; Brent Baude <ranger@gentoo.org> python-2.7.3-r2.ebuild:
+  Marking python-2.7.3-r2 ppc for bug 419575
+
+  22 Jun 2012; Brent Baude <ranger@gentoo.org> python-2.7.3-r2.ebuild:
+  Marking python-2.7.3-r2 ppc64 for bug 419575
+
+  17 Jun 2012; Markus Meier <maekke@gentoo.org> python-2.7.3-r2.ebuild:
+  arm stable, bug #419575
+
+  17 Jun 2012; Jeff Horelick <jdhore@gentoo.org> python-2.7.3-r2.ebuild:
+  marked x86 per bug 419575
+
+  14 Jun 2012; Jeroen Roovers <jer@gentoo.org> python-2.7.3-r2.ebuild:
+  Stable for HPPA (bug #419575).
+
+  11 Jun 2012; Agostino Sarubbo <ago@gentoo.org> python-2.7.3-r2.ebuild:
+  Stable for amd64, wrt bug #419575
+
+  04 Jun 2012; Mike Frysinger <vapier@gentoo.org> +files/python-3.2.3-x32.patch,
+  python-3.2.3.ebuild, python-3.2.3-r1.ebuild:
+  Fix posix subprocess module on x32.
+
+  26 May 2012; Raúl Porcel <armin76@gentoo.org> python-2.6.8.ebuild,
+  python-2.7.3-r1.ebuild:
+  ia64/m68k/s390/sh/sparc stable wrt #396329
+
+  26 May 2012; Markus Meier <maekke@gentoo.org> python-2.6.8.ebuild,
+  python-2.7.3-r1.ebuild:
+  arm stable, bug #396329
+
+  17 May 2012; Jeff Horelick <jdhore@gentoo.org> python-2.6.8.ebuild,
+  python-2.7.3-r1.ebuild, python-3.1.5.ebuild, python-3.2.3.ebuild:
+  marked x86 per bug 396329
+
+  15 May 2012; Jeroen Roovers <jer@gentoo.org> python-3.1.4-r3.ebuild,
+  python-3.1.5.ebuild, python-3.2.2.ebuild, python-3.2.3.ebuild:
+  Marked ~hppa until it is ready.
+
+  15 May 2012; Jeroen Roovers <jer@gentoo.org> python-2.6.8.ebuild,
+  python-3.1.5.ebuild, python-3.2.3.ebuild:
+  Stable for HPPA (bug #396329).
+
+  14 May 2012; Jeroen Roovers <jer@gentoo.org> python-2.7.3-r1.ebuild:
+  Stable for HPPA (bug #396329).
+
+  14 May 2012; Mark Loeser <halcy0n@gentoo.org> python-2.6.8.ebuild,
+  python-2.7.3-r1.ebuild, python-3.1.5.ebuild, python-3.2.3.ebuild:
+  Stable for ppc/ppc64; bug #369329
+
+  14 May 2012; Agostino Sarubbo <ago@gentoo.org> python-2.6.8.ebuild,
+  python-2.7.3-r1.ebuild, python-3.1.5.ebuild, python-3.2.3.ebuild:
+  Stable for amd64, wrt bug #396329
+
+  12 May 2012; Tobias Klausmann <klausman@gentoo.org> python-2.6.8.ebuild:
+  Stable on alpha, bug #396329
+
+  12 May 2012; Tobias Klausmann <klausman@gentoo.org> python-2.7.3-r1.ebuild:
+  Stable on alpha, bug #396329
+
+  03 May 2012; Jeff Horelick <jdhore@gentoo.org> python-2.5.4-r4.ebuild,
+  python-2.6.6-r2.ebuild, python-2.6.7-r2.ebuild, python-2.6.8.ebuild,
+  python-2.7.2-r3.ebuild, python-2.7.3.ebuild, python-2.7.3-r1.ebuild,
+  python-2.7.3-r2.ebuild, python-3.1.4-r3.ebuild, python-3.1.4-r4.ebuild,
+  python-3.1.5.ebuild, python-3.2.2.ebuild, python-3.2.2-r1.ebuild,
+  python-3.2.3.ebuild, python-3.2.3-r1.ebuild:
+  dev-util/pkgconfig -> virtual/pkgconfig
+
+  03 May 2012; Mike Gilbert <floppym@gentoo.org> python-3.2.3-r1.ebuild:
+  Revert to previous patchset due to bug 414333.
+
+  01 May 2012; Mike Gilbert <floppym@gentoo.org> +python-2.7.3-r2.ebuild,
+  +python-3.2.3-r1.ebuild:
+  Restore ebuilds now that mirrors have the files.
+
+  01 May 2012; Mike Gilbert <floppym@gentoo.org> -python-2.7.3-r2.ebuild,
+  -python-3.2.3-r1.ebuild:
+  Drop ebuilds until the patchsets get mirrored.
+
+*python-3.2.3-r1 (01 May 2012)
+*python-2.7.3-r2 (01 May 2012)
+
+  01 May 2012; Mike Gilbert <floppym@gentoo.org> +python-2.7.3-r2.ebuild,
+  +python-3.2.3-r1.ebuild:
+  Drop several patches that upstream has not accepted.
+
+  28 Apr 2012; Mike Gilbert <floppym@gentoo.org> python-2.6.8.ebuild,
+  python-2.7.3-r1.ebuild, python-3.1.5.ebuild, python-3.2.3.ebuild:
+  Document reason for pax marking. Bug 413751.
+
+  28 Apr 2012; Mike Gilbert <floppym@gentoo.org> python-2.6.8.ebuild,
+  python-2.7.3-r1.ebuild, python-3.1.5.ebuild, python-3.2.3.ebuild:
+  Drop sys-apps/paxctl dep and restore fbsd keywords. Bug 413671 should be
+  resolved by not calling pax-mark on libpython.
+
+  28 Apr 2012; Alexis Ballier <aballier@gentoo.org> python-2.6.8.ebuild,
+  python-2.7.3-r1.ebuild, python-3.1.5.ebuild, python-3.2.3.ebuild:
+  remove fbsd keywords on ebuilds depending on sys-apps/paxctl which doesnt
+  build and isnt keyworded
+
+  26 Apr 2012; Mike Gilbert <floppym@gentoo.org> python-2.6.8.ebuild,
+  python-2.7.3-r1.ebuild, python-3.1.5.ebuild, python-3.2.3.ebuild:
+  Restore djc's fix for bug 368207.
+
+  26 Apr 2012; Mike Gilbert <floppym@gentoo.org> python-2.6.8.ebuild,
+  python-2.7.3-r1.ebuild, python-3.1.5.ebuild, python-3.2.3.ebuild:
+  Don't pax-mark libpython.so. Bug 413671.
+
+  26 Apr 2012; Mike Gilbert <floppym@gentoo.org> python-2.6.8.ebuild,
+  python-2.7.3-r1.ebuild, python-3.1.5.ebuild, python-3.2.3.ebuild:
+  Re-add dependency on sys-apps/paxctl due to bug 413671.
+
+*python-3.1.5 (26 Apr 2012)
+*python-2.7.3-r1 (26 Apr 2012)
+*python-3.2.3 (26 Apr 2012)
+*python-2.6.8 (26 Apr 2012)
+
+  26 Apr 2012; Mike Gilbert <floppym@gentoo.org> +python-2.6.8.ebuild,
+  +python-2.7.3-r1.ebuild, +python-3.1.5.ebuild, +python-3.2.3.ebuild:
+  Version bumps for security bug 396329. Ebuilds and patchsets based on work by
+  Arfrever in Progress overlay.
+
+  26 Apr 2012; Alexis Ballier <aballier@gentoo.org> python-3.2.2-r1.ebuild:
+  keyword ~amd64-fbsd
+
+  26 Apr 2012; Alexis Ballier <aballier@gentoo.org> python-2.7.3.ebuild:
+  keyword ~amd64-fbsd
+
+*python-2.7.3 (12 Apr 2012)
+
+  12 Apr 2012; Dirkjan Ochtman <djc@gentoo.org> +python-2.7.3.ebuild:
+  Version bump to 2.7.3, addressing bugs 368207, 301691.
+
+*python-3.1.4-r4 (21 Mar 2012)
+*python-3.2.2-r1 (21 Mar 2012)
+
+  21 Mar 2012; Mike Gilbert <floppym@gentoo.org>
+  +files/python-3-distutils-egg-utf8.patch, +python-3.1.4-r4.ebuild,
+  +python-3.2.2-r1.ebuild:
+  Resolve distutils issue with unicode characters in egg-info files. Patch
+  backported by mgorny. Bug 343721.
+
+  07 Mar 2012; Brent Baude <ranger@gentoo.org> python-3.2.2.ebuild:
+  Marking python-3.2.2 ppc for bug 403875
+
+  05 Mar 2012; Jeff Horelick <jdhore@gentoo.org> python-3.2.2.ebuild:
+  marked x86 per bug 403875
+
+  05 Mar 2012; Samuli Suominen <ssuominen@gentoo.org> python-2.5.4-r4.ebuild:
+  Remove obsolete sys-devel/gcc[libffi] built_with_use check wrt #406927 by
+  Michael Weber
+
+  03 Mar 2012; Brent Baude <ranger@gentoo.org> python-3.2.2.ebuild:
+  Marking python-3.2.2 ppc64 for bug 403875
+
+  18 Feb 2012; Jeroen Roovers <jer@gentoo.org> python-3.2.2.ebuild:
+  Stable for HPPA (bug #403875).
+
+  17 Feb 2012; Agostino Sarubbo <ago@gentoo.org> python-3.2.2.ebuild:
+  Stable for amd64, wrt bug #403875
+
+  15 Feb 2012; Dirkjan Ochtman <djc@gentoo.org> -python-2.7.1-r1.ebuild,
+  -python-3.1.3-r1.ebuild:
+  Remove some old versions.
+
+  13 Feb 2012; Kacper Kowalik <xarthisius@gentoo.org> python-2.7.2-r3.ebuild,
+  python-3.1.4-r3.ebuild:
+  ppc64 stable wrt #387849
+
+  10 Feb 2012; Patrick Lauer <patrick@gentoo.org> -python-2.4.6.ebuild:
+  Removing last python-2.4 ebuilds. Was nice having you around ...
+
+  01 Feb 2012; Brent Baude <ranger@gentoo.org> python-2.7.2-r3.ebuild,
+  python-3.1.4-r3.ebuild:
+  Marking -2.7.2-r3 and -3.1.4-r3 for bug 387849
+
+  01 Jan 2012; Andreas K. Huettel <dilfridge@gentoo.org> +ChangeLog-2011:
+  Split ChangeLog. For older entries, please see ChangeLog-2011.

diff --git a/dev-lang/python/ChangeLog-2011 b/dev-lang/python/ChangeLog-2011
new file mode 100644
index 0000000..7e2ecbc
--- /dev/null
+++ b/dev-lang/python/ChangeLog-2011
@@ -0,0 +1,2583 @@
+# ChangeLog for dev-lang/python
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/python/ChangeLog-2011,v 1.1 2012/01/01 20:25:25 dilfridge Exp $
+
+  14 Dec 2011; Mike Gilbert <floppym@gentoo.org> python-2.5.4-r4.ebuild:
+  Apply linux3 platform workaround. Fixes bug 394143.
+
+  13 Dec 2011; Dirkjan Ochtman <djc@gentoo.org> files/linux2.patch:
+  Prune back linux2.patch to prevent race conditions (bug 394547).
+
+  09 Dec 2011; Mike Frysinger <vapier@gentoo.org> python-3.2.2.ebuild:
+  Replace hardcoded /lib64 searching with /<abi_libdir> paths.
+
+  01 Dec 2011; Dirkjan Ochtman <djc@gentoo.org> python-2.7.2-r3.ebuild,
+  python-3.1.4-r3.ebuild, python-3.2.2.ebuild:
+  Fix autogen problems (bug 355733).
+
+  01 Dec 2011; Dirkjan Ochtman <djc@gentoo.org> -python-2.7.2-r2.ebuild,
+  -python-3.1.4-r2.ebuild, -python-3.2-r2.ebuild:
+  Remove old versions from the tree.
+
+  26 Nov 2011; Mike Gilbert <floppym@gentoo.org> python-2.6.7-r2.ebuild,
+  python-2.7.2-r2.ebuild, python-2.7.2-r3.ebuild, python-3.1.4-r2.ebuild,
+  python-3.1.4-r3.ebuild:
+  Remove reference to snapshots in python overlay.
+
+  31 Oct 2011; Mike Frysinger <vapier@gentoo.org> python-2.6.7-r2.ebuild,
+  python-2.7.2-r2.ebuild, python-2.7.2-r3.ebuild, python-3.1.4-r2.ebuild,
+  python-3.1.4-r3.ebuild, python-3.2-r2.ebuild, python-3.2.2.ebuild:
+  Drop unnecessary USE=kernel_linux check in plat-linux3 setup.
+
+  30 Oct 2011; Raúl Porcel <armin76@gentoo.org> python-2.7.2-r3.ebuild:
+  alpha/ia64/s390/sh/sparc stable wrt #387849
+
+  27 Oct 2011; Tony Vroon <chainsaw@gentoo.org> python-2.7.2-r3.ebuild,
+  python-3.1.4-r3.ebuild:
+  Marked stable on AMD64; objections in arch testing by Ian "idella4" Delaney &
+  Agostino "ago" Sarubbo in bug #387849 were overridden by request of Dirkjan
+  Ochtman.
+
+  27 Oct 2011; Jesus Rivero <neurogeek@gentoo.org> python-2.4.6.ebuild,
+  python-2.5.4-r4.ebuild, python-2.6.6-r2.ebuild, python-2.7.1-r1.ebuild,
+  python-3.1.3-r1.ebuild, python-3.2-r2.ebuild, python-3.2.2.ebuild,
+  files/pydoc.conf, files/pydoc.init:
+  Changes to pydoc conf.d and init.d files wrt bug #361867. Patch by
+  Arfrever
+
+  26 Oct 2011; Jeroen Roovers <jer@gentoo.org> python-3.1.4-r3.ebuild:
+  Stable for HPPA (bug #387849).
+
+  26 Oct 2011; Jeroen Roovers <jer@gentoo.org> python-2.7.2-r3.ebuild:
+  Stable for HPPA (bug #387849).
+
+  24 Oct 2011; Markus Meier <maekke@gentoo.org> python-2.7.2-r3.ebuild:
+  arm stable, bug #387849
+
+  23 Oct 2011; Markus Meier <maekke@gentoo.org> python-3.1.4-r3.ebuild:
+  x86 stable, bug #387849
+
+  23 Oct 2011; Markus Meier <maekke@gentoo.org> python-2.7.2-r3.ebuild:
+  x86 stable, bug #387849
+
+*python-3.2.2 (16 Sep 2011)
+
+  16 Sep 2011; Dirkjan Ochtman <djc@gentoo.org> +python-3.2.2.ebuild:
+  Version bump to 3.2.2 (fixes bug 375051).
+
+*python-3.1.4-r3 (16 Sep 2011)
+*python-2.7.2-r3 (16 Sep 2011)
+
+  16 Sep 2011; Dirkjan Ochtman <djc@gentoo.org> +files/linux2.patch,
+  +python-2.7.2-r3.ebuild, +python-3.1.4-r3.ebuild:
+  Set sys.platform to linux2 even on linux3 (bug 375257).
+
+  16 Sep 2011; Dirkjan Ochtman <djc@gentoo.org> -python-2.6.5-r3.ebuild,
+  -python-2.7.1-r2.ebuild:
+  Remove old versions.
+
+  27 Aug 2011; Jesus Rivero <neurogeek@gentoo.org> python-2.7.2-r2.ebuild,
+  python-3.1.3-r1.ebuild, python-3.1.4-r2.ebuild:
+  Change to generic license
+
+  23 Aug 2011; Jesus Rivero <neurogeek@gentoo.org> python-3.2-r2.ebuild,
+  +files/python-3.2-soname_typo.patch:
+  Applied patch from upstream, wrt bug #376303. Fixed License
+
+  07 Aug 2011; Naohiro Aota <naota@gentoo.org> python-2.6.7-r2.ebuild,
+  python-2.7.2-r2.ebuild, python-3.1.4-r2.ebuild, python-3.2-r2.ebuild:
+  Move more linux3 compat hack into kernel_linux check. Bug #374579
+
+  05 Aug 2011; Naohiro Aota <naota@gentoo.org> python-2.6.7-r2.ebuild,
+  python-2.7.2-r2.ebuild, python-3.1.4-r2.ebuild, python-3.2-r2.ebuild:
+  Move linux3 compat hack into kernel_linux check. Bug #374579
+
+*python-3.2-r2 (24 Jul 2011)
+*python-3.1.4-r2 (24 Jul 2011)
+*python-2.7.2-r2 (24 Jul 2011)
+*python-2.6.7-r2 (24 Jul 2011)
+
+  24 Jul 2011; Jesus Rivero <neurogeek@gentoo.org> -python-2.6.7-r1.ebuild,
+  +python-2.6.7-r2.ebuild, -python-2.7.2-r1.ebuild, +python-2.7.2-r2.ebuild,
+  -python-3.1.4-r1.ebuild, +python-3.1.4-r2.ebuild, -python-3.2-r1.ebuild,
+  +python-3.2-r2.ebuild:
+  Revbump N. 2 for all testing versions of Python wrt bug #374579 and linux-3
+
+*python-3.2-r1 (22 Jul 2011)
+*python-3.1.4-r1 (22 Jul 2011)
+*python-2.7.2-r1 (22 Jul 2011)
+*python-2.6.7-r1 (22 Jul 2011)
+
+  22 Jul 2011; Jesus Rivero <neurogeek@gentoo.org> -python-2.6.7.ebuild,
+  +python-2.6.7-r1.ebuild, -python-2.7.2.ebuild, +python-2.7.2-r1.ebuild,
+  -python-3.1.4.ebuild, +python-3.1.4-r1.ebuild, -python-3.2.ebuild,
+  +python-3.2-r1.ebuild:
+  Revbump for all testing versions of Python wrt bug #374579 and linux-3
+
+  27 Jun 2011; Dirkjan Ochtman <djc@gentoo.org> python-2.7.2.ebuild,
+  python-3.2.ebuild:
+  Bump required autoconf version to 2.65 (bug 372461).
+
+*python-3.1.4 (27 Jun 2011)
+*python-2.7.2 (27 Jun 2011)
+*python-2.6.7 (27 Jun 2011)
+
+  27 Jun 2011; Dirkjan Ochtman <djc@gentoo.org> +python-2.6.7.ebuild,
+  +python-2.7.2.ebuild, +python-3.1.4.ebuild:
+  Version bumps. Ebuilds and patchsets by Arfrever.
+
+*python-2.7.1-r2 (17 May 2011)
+
+  17 May 2011; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+  +python-2.7.1-r2.ebuild:
+  Use PyXML only after calling xml.use_pyxml().
+
+  17 May 2011; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+  python-2.4.6.ebuild, python-2.5.4-r4.ebuild, python-2.6.5-r3.ebuild,
+  python-2.6.6-r2.ebuild, python-2.7.1-r1.ebuild, python-3.1.3-r1.ebuild,
+  python-3.2.ebuild, files/pydoc.init:
+  Use target pydoc script in pydoc init.d script (bug #361867).
+
+  22 Apr 2011; Raúl Porcel <armin76@gentoo.org> python-2.7.1-r1.ebuild:
+  alpha/ia64/m68k/s390/sh stable wrt #358717
+
+  18 Apr 2011; Thomas Kahle <tomka@gentoo.org> python-2.7.1-r1.ebuild:
+  x86 stable per bug 358717
+
+  05 Apr 2011; Ulrich Mueller <ulm@gentoo.org> python-2.4.6.ebuild,
+  python-2.5.4-r4.ebuild, python-2.6.5-r3.ebuild, python-2.6.6-r1.ebuild,
+  python-2.6.6-r2.ebuild, python-2.7.1-r1.ebuild, python-3.1.2-r4.ebuild,
+  python-3.1.3-r1.ebuild, python-3.2.ebuild:
+  Don't PROVIDE virtual/python, bug 358849.
+
+  04 Apr 2011; Jeroen Roovers <jer@gentoo.org> python-2.7.1-r1.ebuild:
+  Stable for HPPA (bug #358717).
+
+  04 Apr 2011; Michael Weber <xmw@gentoo.org> python-2.7.1-r1.ebuild:
+  arm/sparc stable (bug 358717)
+
+  25 Mar 2011; Kacper Kowalik <xarthisius@gentoo.org> python-2.7.1-r1.ebuild:
+  ppc64 stable wrt #358717
+
+  24 Mar 2011; Christoph Mende <angelos@gentoo.org> python-2.7.1-r1.ebuild:
+  Stable on amd64 wrt bug #358717
+
+  22 Mar 2011; Brent Baude <ranger@gentoo.org> python-2.7.1-r1.ebuild:
+  Marking python-2.7.1-r1 ppc for bug 358717
+
+  18 Mar 2011; Mike Frysinger <vapier@gentoo.org> python-2.4.6.ebuild,
+  python-2.5.4-r4.ebuild, python-2.6.5-r3.ebuild, python-2.6.6-r1.ebuild,
+  python-2.6.6-r2.ebuild, python-2.7.1-r1.ebuild, python-3.1.2-r4.ebuild,
+  python-3.1.3-r1.ebuild, python-3.2.ebuild:
+  Drop useless calls to prep_ml_includes #357727.
+
+  26 Feb 2011; Raúl Porcel <armin76@gentoo.org> python-2.6.6-r2.ebuild:
+  alpha/arm/ia64/m68k/s390/sh/sparc stable wrt #355927
+
+  26 Feb 2011; Markos Chandras <hwoarang@gentoo.org> python-2.6.6-r2.ebuild,
+  python-3.1.3-r1.ebuild:
+  Stable on amd64 wrt bug #355927
+
+  24 Feb 2011; Pawel Hajdan jr <phajdan.jr@gentoo.org>
+  python-2.6.6-r2.ebuild, python-3.1.3-r1.ebuild:
+  x86 stable wrt security bug #355927
+
+  23 Feb 2011; Kacper Kowalik <xarthisius@gentoo.org>
+  python-2.6.6-r2.ebuild, python-3.1.3-r1.ebuild:
+  ppc/ppc64 stable wrt #355927
+
+  23 Feb 2011; Jeroen Roovers <jer@gentoo.org> python-2.6.6-r2.ebuild,
+  python-3.1.3-r1.ebuild:
+  Stable for HPPA (bug #355927).
+
+*python-3.2 (21 Feb 2011)
+
+  21 Feb 2011; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+  +python-3.2.ebuild:
+  Version bump.
+
+*python-3.1.3-r1 (21 Feb 2011)
+
+  21 Feb 2011; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+  -python-3.1.3.ebuild, +python-3.1.3-r1.ebuild:
+  Fix regression in unicodedata.normalize() (Python issue #10254). Fix
+  NameError in logging.handlers.TimedRotatingFileHandler.__init__() (Gentoo bug
+  #350400, Python issue #10810). Don't skip test_ctypes tests on hardened/PAX
+  (Gentoo bug #348745).
+
+*python-2.7.1-r1 (21 Feb 2011)
+
+  21 Feb 2011; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+  -python-2.7.ebuild, -python-2.7.1.ebuild, +python-2.7.1-r1.ebuild:
+  Fix incompatible API change in xmlrpclib.Transport.parse_response() (Gentoo
+  bug #347465, Python issue #8194). Fix regression in unicodedata.normalize()
+  (Python issue #10254). Don't skip test_ctypes tests on hardened/PAX (Gentoo
+  bug #348745).
+
+*python-2.6.6-r2 (21 Feb 2011)
+
+  21 Feb 2011; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+  +python-2.6.6-r2.ebuild:
+  Fix DoS vulnerability in smtpd (Python issue #9129). Fix regression in
+  unicodedata.normalize() (Python issue #10254). Don't skip test_ctypes tests
+  on hardened/PAX (Gentoo bug #348745).
+
+  20 Feb 2011; Raúl Porcel <armin76@gentoo.org> python-2.6.6-r1.ebuild:
+  ia64/m68k/s390/sh/sparc stable wrt #342927
+
+  06 Jan 2011; Brent Baude <ranger@gentoo.org> python-2.6.6-r1.ebuild:
+  Marking python-2.6.6-r1 ppc for bug 342927
+
+  01 Jan 2011; Jorge Manuel B. S. Vicetto <jmbsvicetto@gentoo.org>
+  python-2.6.6-r1.ebuild:
+  Non-maintainer commit.
+  Reverting commit that broke stage generation for python-2.6.6-r1 as it wasn't
+  reverted before - bug 347867.
+  This commit was accepted by Arfrever.
+
+  29 Dec 2010; Markos Chandras <hwoarang@gentoo.org> python-2.6.6-r1.ebuild:
+  Stable on amd64 wrt bug #342927
+
+  27 Dec 2010; Brent Baude <ranger@gentoo.org> python-2.6.6-r1.ebuild:
+  Marking python-2.6.6-r1 ppc64 for bug 342927
+
+  27 Dec 2010; Brent Baude <ranger@gentoo.org> python-3.1.2-r4.ebuild:
+  Marking python-3.1.2-r4 ppc64 for bug 325593
+
+  22 Dec 2010; Tobias Klausmann <klausman@gentoo.org> python-2.6.6-r1.ebuild:
+  Stable on alpha, bug #342927
+
+  21 Dec 2010; Markus Meier <maekke@gentoo.org> python-2.6.6-r1.ebuild:
+  arm stable, bug #342927
+
+  16 Dec 2010; Jesus Rivero <neurogeek@gentoo.org> python-2.4.6.ebuild,
+  python-2.5.4-r4.ebuild, python-2.7.ebuild, python-2.7.1.ebuild,
+  python-3.1.3.ebuild:
+  Reverting commit that broke stage generation - bug 347867.
+
+  14 Dec 2010; Jeroen Roovers <jer@gentoo.org> python-2.6.6-r1.ebuild:
+  Stable for HPPA (bug #342927).
+
+  07 Dec 2010; Pawel Hajdan jr <phajdan.jr@gentoo.org>
+  python-2.6.6-r1.ebuild:
+  x86 stable wrt bug #342927
+
+  06 Dec 2010; Jorge Manuel B. S. Vicetto <jmbsvicetto@gentoo.org>
+  python-2.6.5-r3.ebuild, python-3.1.2-r4.ebuild:
+  Non-maintainer commit.
+  Reverting commit that broke stage generation - bug 347867.
+
+  01 Dec 2010; <sping@gentoo.org> python-2.4.6.ebuild, python-2.5.4-r4.ebuild,
+  python-2.6.5-r3.ebuild, python-2.6.6-r1.ebuild, python-2.7.ebuild,
+  python-2.7.1.ebuild, python-3.1.2-r4.ebuild, python-3.1.3.ebuild:
+  Save/restore active Python version across calls to pkg_postrm() of the ebuild
+  about to be replaced. Ensure /usr/bin/python symlink.
+
+  29 Nov 2010; <sping@gentoo.org> python-2.7.1.ebuild, python-3.1.3.ebuild:
+  Remove eselect_python_update() from 2.7.1 and 3.1.3
+
+*python-3.1.3 (28 Nov 2010)
+*python-2.7.1 (28 Nov 2010)
+
+  28 Nov 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+  +python-2.7.1.ebuild, +python-3.1.3.ebuild:
+  Version bumps. 2.7: Enable loadable sqlite extensions (bug #335505).
+
+  27 Nov 2010; Sebastian Pipping <sping@gentoo.org> python-2.4.6.ebuild,
+  python-2.5.4-r4.ebuild, python-2.6.5-r3.ebuild, python-2.6.6-r1.ebuild,
+  python-2.7.ebuild, python-3.1.2-r4.ebuild:
+  Disable auto-bumping of active Python version by removing
+  eselect_python_update() and its invocation as explained and announced on
+  gentoo-dev
+
+  27 Oct 2010; Dirkjan Ochtman <djc@gentoo.org> -python-2.6.4-r1.ebuild,
+  -python-2.6.5-r2.ebuild, -python-3.1.2-r3.ebuild:
+  Remove old versions.
+
+  27 Oct 2010; Dirkjan Ochtman <djc@gentoo.org> python-2.6.6-r1.ebuild:
+  Disable test___all__ to fix bug 321075.
+
+  13 Oct 2010; Dirkjan Ochtman <djc@gentoo.org> python-2.6.6-r1.ebuild:
+  Use mirrors for the patch set.
+
+*python-2.6.6-r1 (12 Oct 2010)
+
+  12 Oct 2010; Dirkjan Ochtman <djc@gentoo.org> -python-2.6.6.ebuild,
+  +python-2.6.6-r1.ebuild:
+  2.6.6-r1 actually has the rwx-mmap patch and the portage blocker.
+
+  11 Oct 2010; Dirkjan Ochtman <djc@gentoo.org> python-2.6.6.ebuild:
+  Block 2.6.6 on portage-2.1.9 (earlier portage suffers from bug 330937).
+
+*python-2.6.6 (08 Oct 2010)
+
+  08 Oct 2010; Dirkjan Ochtman <djc@gentoo.org> +python-2.6.6.ebuild:
+  Version bump to 2.6.6 (bug 334425).
+
+  15 Aug 2010; Jeroen Roovers <jer@gentoo.org> python-3.1.2-r4.ebuild:
+  Stable for HPPA (bug #325593).
+
+  11 Aug 2010; Joseph Jezak <josejx@gentoo.org> python-2.6.5-r3.ebuild,
+  python-3.1.2-r4.ebuild:
+  Marked ppc/ppc64 stable for bug #325593.
+
+  08 Aug 2010; Raúl Porcel <armin76@gentoo.org> python-2.6.5-r3.ebuild:
+  alpha/arm/ia64/m68k/s390/sh/sparc stable wrt #325593
+
+  06 Aug 2010; Markos Chandras <hwoarang@gentoo.org> python-2.6.5-r3.ebuild,
+  python-3.1.2-r4.ebuild:
+  Stable on amd64 wrt bug #325593
+
+  06 Aug 2010; Jeroen Roovers <jer@gentoo.org> python-2.6.5-r3.ebuild:
+  Stable for HPPA (bug #325593).
+
+  06 Aug 2010; Christian Faulhammer <fauli@gentoo.org>
+  python-3.1.2-r4.ebuild:
+  stable x86, security bug 325593
+
+  06 Aug 2010; Christian Faulhammer <fauli@gentoo.org>
+  python-2.6.5-r3.ebuild:
+  stable x86, security bug 325593
+
+  02 Aug 2010; Brian Harring <ferringb@gentoo.org>
+  -python-2.6.5_p20100801.ebuild, -python-2.7_p20100801.ebuild,
+  -python-3.1.2_p20100801.ebuild:
+  Remove untested versions, one of which flat out breaks emerge (bug 330937).
+  These should not be re-added without going through devrel/qa.
+
+*python-3.1.2_p20100801 (02 Aug 2010)
+*python-2.7_p20100801 (02 Aug 2010)
+*python-2.6.5_p20100801 (02 Aug 2010)
+
+  02 Aug 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+  +python-2.6.5_p20100801.ebuild, +python-2.7_p20100801.ebuild,
+  +python-3.1.2_p20100801.ebuild:
+  Improve usage of mmap in _ctypes module (bug #329499). Fix handling of
+  environmental variables (bug #329705). Backport some fixes from release
+  branches.
+
+  31 Jul 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+  python-2.6.4-r1.ebuild, python-2.6.5-r2.ebuild, python-2.6.5-r3.ebuild,
+  python-2.7.ebuild, python-3.1.2-r3.ebuild, python-3.1.2-r4.ebuild:
+  Revert wrong change in _ctypes module (bug #329499).
+
+  30 Jul 2010; Jeroen Roovers <jer@gentoo.org> python-3.1.2-r3.ebuild:
+  Stable for HPPA (bug #320043).
+
+  25 Jul 2010; <solar@gentoo.org> python-2.6.4-r1.ebuild,
+  python-2.6.5-r2.ebuild, python-2.6.5-r3.ebuild, python-2.7.ebuild,
+  python-3.1.2-r3.ebuild, python-3.1.2-r4.ebuild:
+  - The Modules/_ctypes/malloc_closure.c misuses a mmap() call trying to set
+  a mem segment to rwx when it does not need it. Bug 329499
+
+  22 Jul 2010; Markus Meier <maekke@gentoo.org> python-2.6.5-r2.ebuild:
+  arm stable, bug #319723
+
+  18 Jul 2010; <nixnut@gentoo.org> python-3.1.2-r3.ebuild:
+  ppc stable #320043
+
+  17 Jul 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+  python-3.1.2-r4.ebuild:
+  Fix parallel installation (bug #328009).
+
+  15 Jul 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+  python-3.1.2-r4.ebuild:
+  Fix building with some locales (bug #328047).
+
+*python-3.1.2-r4 (12 Jul 2010)
+
+  12 Jul 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+  +python-3.1.2-r4.ebuild:
+  Fix segmentation fault with non-module encodings directory on PYTHONPATH (bug #314883).
+  Fix building with Linux <2.6.9 headers (bug #317937). Fix httplib.HTTPResponse.read()
+  (bug #321545). Fix vulnerabilities in audioop module (bug #325593). Backport some
+  fixes from 3.1 branch.
+
+*python-2.6.5-r3 (12 Jul 2010)
+
+  12 Jul 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+  +python-2.6.5-r3.ebuild:
+  Fix building with Linux <2.6.9 headers (bug #317937). Fix httplib.HTTPResponse.read()
+  (bug #321545). Fix vulnerabilities in audioop module (bug #325593). Backport some
+  fixes from 2.6 branch.
+
+*python-2.7 (04 Jul 2010)
+
+  04 Jul 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+  +python-2.7.ebuild:
+  Version bump.
+
+  22 Jun 2010; Christian Faulhammer <fauli@gentoo.org>
+  python-2.6.5-r2.ebuild:
+  stable x86, bug 319723
+
+  04 Jun 2010; Pawel Hajdan jr <phajdan.jr@gentoo.org>
+  python-3.1.2-r3.ebuild:
+  x86 stable wrt bug #320043
+
+  04 Jun 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+  python-3.1.2-r3.ebuild:
+  Disable tests with USE="-threads" (bug #322755).
+
+  26 May 2010; Markos Chandras <hwoarang@gentoo.org> python-3.1.2-r3.ebuild:
+  Stable on amd64 wrt bug #320043
+
+  25 May 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+  python-2.4.6.ebuild, python-2.5.4-r4.ebuild, python-2.6.4-r1.ebuild,
+  python-2.6.5-r2.ebuild, python-3.1.2-r3.ebuild:
+  Work around bug #321145.
+
+  24 May 2010; <nixnut@gentoo.org> python-2.6.5-r2.ebuild:
+  ppc stable #319723
+
+  23 May 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+  python-2.4.6.ebuild, python-2.5.4-r4.ebuild, python-2.6.5-r2.ebuild,
+  python-3.1.2-r3.ebuild:
+  Support FEATURES="test-fail-continue". Don't install byte-compiled Python
+  modules (bug #301915).
+
+  21 May 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+  python-2.6.5-r2.ebuild:
+  amd64 stable (tested by rullzer) (bug #319723).
+
+  14 May 2010; Jeroen Roovers <jer@gentoo.org> python-2.6.5-r2.ebuild:
+  Stable for HPPA (bug #319723).
+
+  02 May 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+  python-3.1.2-r3.ebuild:
+  Don't use ebeep() (bug #318091).
+
+*python-3.1.2-r3 (01 May 2010)
+
+  01 May 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+  +python-3.1.2-r3.ebuild:
+  Don't add GENTOO_PYTHON_WRAPPER_SCRIPT_PATH to os.environ (bug #315919).
+  Backport some fixes from 3.1 branch. Use EAPI="3".
+
+*python-2.6.5-r2 (01 May 2010)
+
+  01 May 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+  +python-2.6.5-r2.ebuild:
+  Don't add GENTOO_PYTHON_WRAPPER_SCRIPT_PATH to os.environ (bug #315919).
+  Fix failure of test_zlib with zlib 1.2.4 (Python issue #8193). Backport
+  some fixes from 2.6 branch.
+
+*python-3.1.2-r2 (11 Apr 2010)
+
+  11 Apr 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+  +python-3.1.2-r2.ebuild:
+  Use correct types of pointers. Fix failure of test_zlib with zlib 1.2.4
+  (Python issue #8193).
+
+*python-3.1.2-r1 (25 Mar 2010)
+
+  25 Mar 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+  +python-3.1.2-r1.ebuild:
+  Allow str subclasses to override __str__ method (Python issue #1583863).
+  Fix argument validation in sys.setfilesystemencoding() (Python issue #8226).
+
+*python-2.6.5-r1 (25 Mar 2010)
+
+  25 Mar 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+  +python-2.6.5-r1.ebuild:
+  Allow unicode subclasses to override __unicode__ method (Python issue #1583863).
+  Fix thread creation in low memory condition (Python issue #7544).
+  Fix unicodedata.normalize (Python issue #1054943). Set sys.executable to
+  empty string when program name is invalid (Python issue #7774).
+
+  25 Mar 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+  python-2.6.5.ebuild, python-3.1.2.ebuild:
+  Unset variables after using them to avoid affecting child processes.
+
+*python-3.1.2 (22 Mar 2010)
+
+  22 Mar 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+  +python-3.1.2.ebuild:
+  Version bump. Fixed bugs: #189283, #279234, #300961, #301848, #302519.
+  Respect GENTOO_PYTHON_PROCESS_NAME, GENTOO_PYTHON_WRAPPER_SCRIPT_PATH and
+  GENTOO_PYTHON_TARGET_SCRIPT_PATH environmental variables.
+
+*python-2.6.5 (21 Mar 2010)
+
+  21 Mar 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+  +python-2.6.5.ebuild:
+  Version bump. Fixed bugs: #189283, #279234, #282859, #300961, #301848.
+  Respect GENTOO_PYTHON_PROCESS_NAME, GENTOO_PYTHON_WRAPPER_SCRIPT_PATH and
+  GENTOO_PYTHON_TARGET_SCRIPT_PATH environmental variables.
+
+  20 Mar 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+  python-2.4.6.ebuild, python-2.5.4-r4.ebuild, python-2.6.4-r1.ebuild,
+  python-3.1.1-r1.ebuild:
+  Use -fwrapv (bug #297276). Install email module with USE="build".
+
+  10 Mar 2010; Joseph Jezak <josejx@gentoo.org> python-2.6.4-r1.ebuild:
+  Marked ppc/ppc64 stable for bug #306793.
+
+  07 Mar 2010; Samuli Suominen <ssuominen@gentoo.org>
+  python-2.6.4-r1.ebuild:
+  amd64 stable wrt #306793
+
+  07 Mar 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+  python-2.4.6.ebuild, python-2.5.4-r4.ebuild, python-2.6.4.ebuild,
+  python-2.6.4-r1.ebuild:
+  Delete no longer needed recommendation (bug #307887).
+
+  04 Mar 2010; Raúl Porcel <armin76@gentoo.org> python-2.6.4-r1.ebuild:
+  alpha/arm/ia64/m68k/s390/sh/sparc stable wrt #306793
+
+  04 Mar 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+  python-3.1.1-r1.ebuild:
+  Depend on >=app-admin/python-updater-0.8, which supports packages
+  installable for multiple versions of Python.
+
+  26 Feb 2010; Jeroen Roovers <jer@gentoo.org> python-2.6.4-r1.ebuild:
+  Stable for HPPA (bug #306793).
+
+  25 Feb 2010; Christian Faulhammer <fauli@gentoo.org>
+  python-2.6.4-r1.ebuild:
+  stable x86, bug 306793
+
+  21 Feb 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+  python-2.4.6.ebuild, python-2.5.4-r4.ebuild, python-2.6.4-r1.ebuild,
+  python-3.1.1-r1.ebuild:
+  Don't install idle${SLOT} and idlelib module with USE="-tk" (bug #237788).
+  Enable "ssl" USE flag by default via IUSE (bug #304891).
+
+  13 Feb 2010; Raúl Porcel <armin76@gentoo.org> python-2.5.4-r4.ebuild:
+  alpha/ia64/m68k/s390/sh/sparc stable wrt #303005
+
+  10 Feb 2010; Jeroen Roovers <jer@gentoo.org> python-2.5.4-r4.ebuild:
+  Stable for HPPA (bug #303005).
+
+  10 Feb 2010; Joseph Jezak <josejx@gentoo.org> python-2.5.4-r4.ebuild:
+  Marked ppc stable for bug #303005.
+
+  07 Feb 2010; Markus Meier <maekke@gentoo.org> python-2.5.4-r4.ebuild:
+  arm/x86 stable, bug #303005
+
+  04 Feb 2010; Brent Baude <ranger@gentoo.org> python-2.5.4-r4.ebuild:
+  Marking python-2.5.4-r4 ppc64 for bug 303005
+
+  01 Feb 2010; Markos Chandras <hwoarang@gentoo.org> python-2.5.4-r4.ebuild:
+  Stable on amd64 wrt bug #303005
+
+*python-2.6.4-r1 (26 Jan 2010)
+
+  26 Jan 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+  +python-2.6.4-r1.ebuild:
+  Respect PYTHONDONTWRITEBYTECODE / sys.dont_write_bytecode in distutils.
+  Check availability of nis headers before building of nis module (bug #288110).
+  Use pkg-config found by AC_PATH_TOOL() to avoid problem during crosscompilation
+  (bug #299044). Don't ignore __cmp__() of metaclasses.
+
+  12 Jan 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+  python-2.4.6.ebuild, python-2.5.4-r3.ebuild, python-2.5.4-r4.ebuild,
+  python-2.6.4.ebuild, python-3.1.1-r1.ebuild:
+  Fix building with Portage <2.1.7 (bug #300671).
+
+  01 Jan 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+  python-3.1.1-r1.ebuild:
+  Respect PYTHONDONTWRITEBYTECODE / sys.dont_write_bytecode in distutils.
+  Check availability of nis headers before building of nis module (bug #288110).
+  Use pkg-config found by AC_PATH_TOOL() to avoid problem during crosscompilation
+  (bug #299044). Depend on >=app-admin/eselect-python-20091230, which allows
+  wrapper scipts generated by python_generate_wrapper_scripts() and requiring
+  Python-2-specific target scripts to work correctly, when Python 3 is set as
+  main active version of Python.
+
+*python-2.5.4-r4 (01 Jan 2010)
+
+  01 Jan 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+  +python-2.5.4-r4.ebuild:
+  Use external libffi (bug #209673). Respect PYTHONDONTWRITEBYTECODE in
+  distutils. Check availability of nis headers before building of nis
+  module (bug #288110).
+
+  01 Jan 2010; Brent Baude <ranger@gentoo.org> python-2.6.4.ebuild:
+  Marking python-2.6.4 ppc64 for bug 295066
+
+  20 Dec 2009; Raúl Porcel <armin76@gentoo.org> python-2.6.4.ebuild:
+  alpha/ia64/m68k/s390/sh/sparc stable wrt #295066
+
+  19 Dec 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+  python-2.6.4.ebuild:
+  Restrict tests from test_httpservers (bug #293201).
+
+  19 Dec 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+  python-3.1.1-r1.ebuild:
+  Use --with-computed-gotos (bug #296574).
+
+  13 Dec 2009; Raúl Porcel <armin76@gentoo.org> python-2.6.4.ebuild,
+  python-3.1.1-r1.ebuild:
+  Add ~m68k, thanks to kolla for testing
+
+  09 Dec 2009; nixnut <nixnut@gentoo.org> python-2.6.4.ebuild:
+  ppc stable #295066
+
+  06 Dec 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+  python-2.4.6.ebuild, python-2.5.4-r3.ebuild, python-2.6.2-r1.ebuild,
+  python-2.6.2-r2.ebuild, python-2.6.3.ebuild, python-2.6.4.ebuild,
+  python-3.1.1-r1.ebuild, metadata.xml:
+  Remove "ucs2" USE flag and add "wide-unicode" USE flag (bug #293135).
+
+  04 Dec 2009; Jeroen Roovers <jer@gentoo.org> python-2.6.4.ebuild:
+  Stable for HPPA (bug #295066).
+
+  03 Dec 2009; Markus Meier <maekke@gentoo.org> python-2.6.4.ebuild:
+  amd64/arm/x86 stable, bug #295066
+
+  29 Nov 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+  python-2.6.4.ebuild, python-3.1.1-r1.ebuild:
+  _ctypes module doesn't work with GCC's internal libffi.
+
+  07 Nov 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+  python-3.1.1-r1.ebuild:
+  Make logging module ignore absence of multiprocessing module (bug
+  #291109).
+
+*python-2.6.4 (30 Oct 2009)
+
+  30 Oct 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+  +python-2.6.4.ebuild:
+  Version bump.
+
+  24 Oct 2009; Alexey Shvetsov <alexxy@gentoo.org> python-2.6.3.ebuild,
+  python-3.1.1-r1.ebuild:
+  Add ~mips keyword #287383
+
+  19 Oct 2009; Raúl Porcel <armin76@gentoo.org> python-2.6.2-r1.ebuild:
+  s390/sh stable wrt #277645
+
+  17 Oct 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+  python-2.5.4-r3.ebuild, python-2.6.3.ebuild, python-3.1.1-r1.ebuild:
+  Fix paths passed to python_mod_optimize() and python_mod_cleanup() (bug
+  #288354).
+
+  14 Oct 2009; Samuli Suominen <ssuominen@gentoo.org>
+  python-3.1.1-r1.ebuild:
+  Keyword ~sparc-fbsd wrt #287383.
+
+  14 Oct 2009; Alexis Ballier <aballier@gentoo.org> python-2.6.3.ebuild:
+  keyword ~sparc-fbsd
+
+  03 Oct 2009; Fabian Groffen <grobian@gentoo.org> python-2.4.6.ebuild,
+  python-2.5.4-r3.ebuild, python-2.6.2-r2.ebuild, python-2.6.3.ebuild,
+  python-3.1.1-r1.ebuild:
+  Python's _locale module needs libintl, which on non-Linux is in gettext,
+  depend on virtual/libintl for that case
+
+*python-2.6.3 (02 Oct 2009)
+
+  02 Oct 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+  +python-2.6.3.ebuild:
+  Version bump.
+
+  02 Oct 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+  python-2.6.2-r2.ebuild, python-3.1.1-r1.ebuild:
+  Remove a workaround for missing keywords.
+
+  27 Sep 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+  python-2.4.6.ebuild, python-2.5.4-r3.ebuild, python-2.6.2-r2.ebuild,
+  python-3.1.1-r1.ebuild:
+  Enable "ncurses" and "readline" USE flags by default. Don't activate
+  Python 2 when Python 3 is already active. Ensure that Python 2 is
+  installed.
+
+  27 Sep 2009; nixnut <nixnut@gentoo.org> python-2.6.2-r1.ebuild:
+  ppc stable #277645
+
+  25 Sep 2009; Zac Medico <zmedico@gentoo.org> python-3.1.1.ebuild,
+  python-3.1.1-r1.ebuild:
+  For python 3, don't remove the encodings directory with USE=build, in
+  order to avoid 'Fatal Python error: Py_Initialize: can't initialize sys
+  standard streams ImportError: No module named encodings.utf_8'.
+
+  23 Sep 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+  python-2.4.6.ebuild, python-2.5.4-r3.ebuild, python-2.6.2-r2.ebuild:
+  Fix handling of USE="-berkdb".
+
+  23 Sep 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+  python-2.4.6.ebuild, python-2.5.4-r3.ebuild, python-2.6.2-r2.ebuild,
+  python-3.1.1-r1.ebuild:
+  Add dependency on app-misc/mime-types which is used by mimetypes module.
+  Reported by Dirkjan Ochtman.
+
+*python-3.1.1-r1 (22 Sep 2009)
+*python-2.6.2-r2 (22 Sep 2009)
+
+  22 Sep 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+  +python-2.6.2-r2.ebuild, +python-3.1.1-r1.ebuild:
+  Use external libffi on some architectures (bug #209673).
+
+  22 Sep 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+  python-2.4.6.ebuild, python-2.5.4-r3.ebuild, python-2.6.2-r1.ebuild:
+  Restrict sys-libs/db dependencies and add warnings (bug #285553).
+
+  21 Sep 2009; Tom Gall <tgall@gentoo.org> python-2.6.2-r1.ebuild:
+  stable for ppc64, bug #277645
+
+  17 Sep 2009; Jeroen Roovers <jer@gentoo.org> python-2.6.2-r1.ebuild:
+  Stable for HPPA (bug #277645).
+
+  06 Sep 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+  -files/python-config-2.4, -python-3.1.ebuild:
+  Delete old ebuild and old python-config.
+
+  05 Sep 2009; Raúl Porcel <armin76@gentoo.org> python-2.6.2-r1.ebuild:
+  ia64/sparc stable wrt #277645
+
+  01 Sep 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+  python-2.6.2-r1.ebuild:
+  Fix building on arm OABI (bug #266703).
+
+  30 Aug 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+  python-2.4.6.ebuild, python-2.5.4-r3.ebuild, python-2.6.2-r1.ebuild,
+  python-3.1.1.ebuild:
+  Reenable test_math.py and test_pow.py on alpha (bug #282786).
+
+  28 Aug 2009; Raúl Porcel <armin76@gentoo.org> python-2.6.2-r1.ebuild:
+  arm/m68k stable wrt #277645
+
+  26 Aug 2009; Tobias Klausmann <klausman@gentoo.org>
+  python-2.6.2-r1.ebuild:
+  Stable on alpha, bug #277645
+
+  26 Aug 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+  python-2.6.2-r1.ebuild, python-3.1.1.ebuild:
+  Skip test_math.py on alpha (bug #282786).
+
+  25 Aug 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+  python-2.6.2-r1.ebuild, python-3.1.1.ebuild:
+  Fix building of Python 2.6.2-r1 with USE=-threads (bug #282518). Fix
+  building with USE=build or USE=-xml (bug #282259). Small updates.
+
+  21 Aug 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+  python-2.5.4-r3.ebuild, python-2.6.2-r1.ebuild, python-3.1.1.ebuild:
+  Add missing dependency on >=dev-libs/expat-2 and non-zero exit status of
+  setup.py when building of extensions has failed (bug #281968).
+
+*python-3.1.1 (17 Aug 2009)
+
+  17 Aug 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+  +python-3.1.1.ebuild:
+  Version bump. Don't install sqlite3 and _sqlite3 modules with USE="-sqlite"
+  (bug #236466).
+
+  16 Aug 2009; Christian Faulhammer <fauli@gentoo.org>
+  python-2.6.2-r1.ebuild:
+  stable x86, bug 277645
+
+  04 Aug 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+  python-3.1.ebuild:
+  Fix building with sys-libs/db headers containing non-UTF-8 characters (bug
+  #280001).
+
+  02 Aug 2009; Jeremy Olexa <darkside@gentoo.org> metadata.xml:
+  Be more verbose about the 'threads' USE flag.
+
+*python-3.1 (01 Aug 2009)
+
+  01 Aug 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+  +python-3.1.ebuild:
+  Version bump (bug #250186).
+
+  01 Aug 2009; Zac Medico <zmedico@gentoo.org> python-2.6.2-r1.ebuild:
+  Bug #248081 - Fix tests not to assume that stdin is a tty.
+
+  31 Jul 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+  python-2.5.4-r3.ebuild, python-2.6.2-r1.ebuild:
+  Skip test_ctypes on systems with PAX (bug #234498).
+
+  30 Jul 2009; Jeremy Olexa <darkside@gentoo.org> python-2.6.2-r1.ebuild:
+  amd64 stable, bug 277645
+
+  19 Jul 2009; Raúl Porcel <armin76@gentoo.org> python-2.5.4-r3.ebuild:
+  arm/ia64/m68k/s390/sh/sparc stable wrt #275311
+
+  17 Jul 2009; nixnut <nixnut@gentoo.org> python-2.5.4-r3.ebuild:
+  ppc stable #275311
+
+  05 Jul 2009; Markus Meier <maekke@gentoo.org> python-2.5.4-r3.ebuild:
+  amd64 stable, bug #275311
+
+  04 Jul 2009; Brent Baude <ranger@gentoo.org> python-2.5.4-r3.ebuild:
+  stable ppc64, bug 275311
+
+  30 Jun 2009; Christian Faulhammer <fauli@gentoo.org>
+  python-2.5.4-r3.ebuild:
+  stable x86, bug 275311
+
+  28 Jun 2009; Tobias Klausmann <klausman@gentoo.org>
+  python-2.5.4-r3.ebuild:
+  Stable on alpha, bug #275311
+
+  26 Jun 2009; Jeroen Roovers <jer@gentoo.org> python-2.5.4-r3.ebuild:
+  Stable for HPPA (bug #275311).
+
+*python-2.6.2-r1 (28 May 2009)
+
+  28 May 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+  +python-2.6.2-r1.ebuild:
+  Install libpython2.6.a in /usr/lib instead of /usr/lib/python2.6/config
+  (bug #252372). Fix building with Subversion 1.7.
+
+  27 May 2009; Raúl Porcel <armin76@gentoo.org> python-2.4.6.ebuild:
+  arm/ia64/m68k/s390/sh/sparc stable wrt #252317
+
+  25 May 2009; Markus Meier <maekke@gentoo.org> python-2.4.6.ebuild:
+  amd64 stable, bug #252317
+
+  25 May 2009; Christian Faulhammer <fauli@gentoo.org> python-2.4.6.ebuild:
+  stable x86, security bug  252317
+
+*python-2.5.4-r3 (25 May 2009)
+
+  25 May 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+  +python-2.5.4-r3.ebuild:
+  Install libpython2.5.a in /usr/lib instead of /usr/lib/python2.5/config
+  (bug #252372). Fix building with Subversion 1.7. Use `eselect python`
+  instead of alternatives.eclass.
+
+  25 May 2009; Brent Baude <ranger@gentoo.org> python-2.4.6.ebuild:
+  Marking python-2.4.6 ppc64 and ppc for bug 252317
+
+  24 May 2009; Jeroen Roovers <jer@gentoo.org> python-2.4.6.ebuild:
+  Stable for HPPA (bug #252317).
+
+  24 May 2009; Tobias Klausmann <klausman@gentoo.org> python-2.4.6.ebuild:
+  Stable on alpha, bug #252317
+
+  24 May 2009; Tobias Klausmann <klausman@gentoo.org> python-2.4.6.ebuild:
+  Keyworded on alpha, bug #252317
+
+*python-2.4.6 (24 May 2009)
+
+  24 May 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+  +python-2.4.6.ebuild:
+  Version bump (bug #252317).
+
+  24 Apr 2009; Raúl Porcel <armin76@gentoo.org> python-2.5.4-r2.ebuild:
+  arm/ia64/m68k/s390/sh/sparc stable wrt #265790
+
+  22 Apr 2009; Jeroen Roovers <jer@gentoo.org> python-2.5.4-r2:
+  Stable for HPPA (bug #265790).
+
+  19 Apr 2009; Markus Meier <maekke@gentoo.org> python-2.5.4-r2:
+  amd64/x86 stable, bug #265790
+
+  19 Apr 2009; Brent Baude <ranger@gentoo.org> python-2.5.4-r2.ebuild:
+  Marking python-2.5.4-r2 ppc64 and ppc for bug 265790
+
+*python-2.6.2 (18 Apr 2009)
+
+  18 Apr 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+  +python-2.6.2.ebuild:
+  Version bump (bug #266596).
+
+  18 Apr 2009; Tobias Klausmann <klausman@gentoo.org>
+  python-2.5.4-r2.ebuild:
+  Stable on alpha, bug #265790
+
+  17 Apr 2009; Joshua Kinard <kumba@gentoo.org> python-2.6-r5.ebuild,
+  python-2.6.1-r1.ebuild:
+  Python 2.6 has a build failure on MIPS for now. Dropping our unstable
+  keywords until it's fixed by upstream or if Upstreams latest patch on
+  their bug is added. Refer to #266471 for Gentoo for the tracker, or
+  http://bugs.python.org/issue4305 for the Python issue.
+
+  12 Apr 2009; Mike Frysinger <vapier@gentoo.org>
+  +files/python-2.6-chflags-cross.patch,
+  +files/python-2.6-cross-patch-tweak.patch, python-2.6.1-r1.ebuild:
+  Fix up cross-compiling with python-2.6.
+
+  26 Mar 2009; Zac Medico <zmedico@gentoo.org> python-2.5.2-r7.ebuild,
+  python-2.5.2-r8.ebuild, python-2.5.4-r2.ebuild, python-2.6-r5.ebuild,
+  python-2.6.1-r1.ebuild:
+  In src_test, redirect stdin from /dev/tty as a workaround for bug #248081.
+
+*python-2.6.1-r1 (21 Mar 2009)
+
+  21 Mar 2009; Jesus Rivero <neurogeek@gentoo.org> -python-2.6.1.ebuild,
+  +python-2.6.1-r1.ebuild:
+  Fixed typo in sqlite3 extension. Removed old version
+
+  26 Feb 2009; Mike Frysinger <vapier@gentoo.org>
+  +files/python-2.5-cross-printf.patch, python-2.5.2-r7.ebuild,
+  python-2.5.2-r8.ebuild, python-2.5.4-r2.ebuild:
+  Fix cross-compilation with %zd printf tests #239110 by xeb and #184308 by
+  Joel Martin.
+
+  26 Feb 2009; Mike Frysinger <vapier@gentoo.org> python-2.4.4-r5.ebuild,
+  python-2.4.4-r6.ebuild, python-2.4.4-r14.ebuild, python-2.4.4-r15.ebuild,
+  python-2.5.2-r7.ebuild, python-2.5.2-r8.ebuild, python-2.5.4-r2.ebuild,
+  python-2.6-r5.ebuild, python-2.6.1.ebuild:
+  Drop host python ver check when cross-compiling since we build up a local
+  hostpython, and pass CBUILD to the hostpython configure so it detects the
+  full name of the compiler.
+
+  10 Feb 2009; <neurogeek@gentoo.org> python-2.6-r5.ebuild,
+  python-2.6.1.ebuild:
+  Python 2.6 series. Added +xml use flag to standarize.
+
+  10 Feb 2009; <neurogeek@gentoo.org> python-2.5.2-r7.ebuild,
+  python-2.5.2-r8.ebuild, python-2.5.4-r2.ebuild:
+  Python 2.5 series. Added +xml use flag to standarize.
+
+  10 Feb 2009; <neurogeek@gentoo.org> python-2.4.4-r5.ebuild,
+  python-2.4.4-r6.ebuild, python-2.4.4-r14.ebuild, python-2.4.4-r15.ebuild:
+  Python 2.4.4 series. Added +xml use flag to standarize.
+
+*python-2.5.4-r2 (24 Jan 2009)
+
+  24 Jan 2009; Jesus Rivero <neurogeek@gentoo.org> -python-2.5.4-r1.ebuild,
+  +python-2.5.4-r2.ebuild:
+  Fixed line breaks errors in ebuild. Removed older version. Closes Bug
+  #255946. Thanks Walter and Steve for helping
+
+*python-2.5.4-r1 (22 Jan 2009)
+
+  22 Jan 2009; Jesus Rivero <neurogeek@gentoo.org>
+  files/python-2.5.2_turkish.patch, files/python-2.6_turkish.patch,
+  -python-2.5.4.ebuild, +python-2.5.4-r1.ebuild:
+  Rev bump. Patch bundle updated to fix turkish locale patch. Updated older
+  patches too and removed previous version.
+
+*python-2.5.4 (21 Jan 2009)
+
+  21 Jan 2009; Jesus Rivero <neurogeek@gentoo.org> +python-2.5.4.ebuild:
+  Version bump. Some of the patches used in previous versions are not
+  needed.
+
+  24 Dec 2008; Jesus Rivero <neurogeek@gentoo.org> python-2.6-r5.ebuild,
+  python-2.6.1.ebuild:
+  Added dev-python/python-docs:2.6
+
+*python-2.6.1 (13 Dec 2008)
+
+  13 Dec 2008; Jesus Rivero <neurogeek@gentoo.org>
+  +files/python-2.6_turkish.patch, +python-2.6.1.ebuild:
+  Version bump
+
+  09 Dec 2008; Mike Frysinger <vapier@gentoo.org> python-2.5.2-r8.ebuild,
+  python-2.6-r5.ebuild:
+  Set expat to default to on.
+
+  08 Dec 2008; Mike Frysinger <vapier@gentoo.org> python-2.5.2-r8.ebuild,
+  python-2.6-r5.ebuild:
+  Make dev-libs/expat optional via USE=expat.
+
+  06 Dec 2008; Jesus Rivero <neurogeek@gentoo.org>
+  +files/python-2.5.2_turkish.patch, python-2.5.2-r8.ebuild:
+  Fixed support for tr_TR locale. Bug #250075. Thanks to Serkan
+
+*python-2.6-r5 (17 Nov 2008)
+
+  17 Nov 2008; <neurogeek@gentoo.org> -python-2.6-r4.ebuild,
+  +python-2.6-r5.ebuild:
+  Revision bump. Fixes Bug #219238. Removed older version
+
+  26 Oct 2008; Ali Polatel <hawking@gentoo.org> python-2.4.4-r5.ebuild,
+  python-2.4.4-r6.ebuild, python-2.4.4-r14.ebuild, python-2.4.4-r15.ebuild,
+  python-2.5.2-r7.ebuild, python-2.5.2-r8.ebuild:
+  Use python_{en,dis}able_pyc.
+
+*python-2.6-r4 (26 Oct 2008)
+
+  26 Oct 2008; Ali Polatel <hawking@gentoo.org> +python-2.6-r4.ebuild:
+  Revbump. Updated patchset to use PYTHONDONTWRITEBYTECODE instead of
+  PYTHON_DONT_COMPILE.
+
+  25 Oct 2008; Ali Polatel <hawking@gentoo.org> python-2.5.2-r7.ebuild,
+  python-2.5.2-r8.ebuild, python-2.6-r3.ebuild:
+  Nuke the useless bootstrap USE flag for >=python-2.5. Thanks to Arfrever.
+
+*python-2.6-r3 (25 Oct 2008)
+
+  25 Oct 2008; Ali Polatel <hawking@gentoo.org> -python-2.6-r2.ebuild,
+  +python-2.6-r3.ebuild:
+  Revbump. Bump eselect-python DEPEND to fix bug 240149. Don't install empty
+  directories.
+
+*python-2.6-r2 (07 Oct 2008)
+
+  07 Oct 2008; Ali Polatel <hawking@gentoo.org> -python-2.6-r1.ebuild,
+  +python-2.6-r2.ebuild:
+  Revbump. Bump to EAPI 2 and some minor fixes. Drop old.
+
+*python-2.6-r1 (06 Oct 2008)
+
+  06 Oct 2008; Ali Polatel <hawking@gentoo.org> -python-2.6.ebuild,
+  +python-2.6-r1.ebuild:
+  Revbump. Use use_with for threads, remove die from econf, use emake
+  instead of make, remove redundant python_mod_{cleanup,optimize}. Drop old.
+
+*python-2.6 (05 Oct 2008)
+
+  05 Oct 2008; Ali Polatel <hawking@gentoo.org>
+  +files/python-2.6-test-cross.patch, -python-2.5.2-r6.ebuild,
+  +python-2.6.ebuild:
+  Version bump. Drop old.
+
+*python-2.5.2-r8 (19 Sep 2008)
+*python-2.4.4-r15 (19 Sep 2008)
+
+  19 Sep 2008; Ali Polatel <hawking@gentoo.org> +python-2.4.4-r15.ebuild,
+  +python-2.5.2-r8.ebuild:
+  Revbumps. Updated patchset to fix bug 238124. Install examples under
+  /usr/share/doc/$PF/examples.
+
+  17 Sep 2008; Brent Baude <ranger@gentoo.org> python-2.5.2-r7.ebuild:
+  stable ppc64, bug 236723
+
+  14 Sep 2008; Sven Wegener <swegener@gentoo.org> python-2.5.2-r6.ebuild,
+  python-2.5.2-r7.ebuild:
+  Use correct sqlite module name, when disabling it.
+
+  12 Sep 2008; Raúl Porcel <armin76@gentoo.org> python-2.5.2-r7.ebuild:
+  alpha/ia64 stable wrt #236723
+
+  12 Sep 2008; Ferris McCormick <fmccor@gentoo.org> python-2.5.2-r7.ebuild:
+  Sparc stable --- Bug #236723 --- tests all good.
+
+  11 Sep 2008; Markus Meier <maekke@gentoo.org> python-2.5.2-r7.ebuild:
+  amd64/x86 stable, bug #236723
+
+  11 Sep 2008; Jeroen Roovers <jer@gentoo.org> python-2.5.2-r7.ebuild:
+  Stable for HPPA (bug #236723).
+
+  10 Sep 2008; Brent Baude <ranger@gentoo.org> python-2.5.2-r7.ebuild:
+  stable ppc, bug 236723
+
+  19 Aug 2008; Ali Polatel <hawking@gentoo.org> -files/python-config-2.2,
+  -files/python-config-2.3, -files/python-2.3.6-disable-failing-tests.patch,
+  metadata.xml, -python-2.3.5-r2.ebuild, -python-2.3.5-r3.ebuild,
+  -python-2.3.6.ebuild, -python-2.3.6-r3.ebuild, -python-2.3.6-r6.ebuild,
+  -python-2.4.4-r13.ebuild, -python-2.5.2-r5.ebuild:
+  Drop python-2.3, drop old 2.4, 2.5 ebuilds. Add local use flag
+  descriptions to metadata.xml.
+
+  31 Jul 2008; Raúl Porcel <armin76@gentoo.org> python-2.5.2-r6.ebuild:
+  sparc stable
+
+*python-2.5.2-r7 (31 Jul 2008)
+
+  31 Jul 2008; Tiziano Müller <dev-zero@gentoo.org>
+  +python-2.5.2-r7.ebuild:
+  Added patches for bug #218378 (thanks to Duane Griffin) and bug #233312
+  (thanks to Arfrever Frehtes Taifersar Arahesis).
+
+*python-2.5.2-r6 (31 Jul 2008)
+*python-2.4.4-r14 (31 Jul 2008)
+
+  31 Jul 2008; Tiziano Müller <dev-zero@gentoo.org>
+  +python-2.4.4-r14.ebuild, +python-2.5.2-r6.ebuild:
+  Revision bump to fix bug #230640 (CVE-2008-2315, CVE-2008-2316) and bug
+  #232137 (CVE-2008-{3142,3143,3144}).
+
+  18 Jul 2008; Olivier Crête <tester@gentoo.org> python-2.5.2-r5.ebuild:
+  Stable on amd64, bug #178800
+
+  18 Jul 2008; Jeroen Roovers <jer@gentoo.org> python-2.5.2-r5.ebuild:
+  Stable for HPPA (bug #178800).
+
+  17 Jul 2008; Tobias Klausmann <klausman@gentoo.org>
+  python-2.5.2-r5.ebuild:
+  Stable on alpha, bug #178800
+
+  17 Jul 2008; Raúl Porcel <armin76@gentoo.org> python-2.5.2-r5.ebuild:
+  ia64/sparc stable wrt #178800
+
+  17 Jul 2008; Christian Faulhammer <opfer@gentoo.org>
+  python-2.5.2-r5.ebuild:
+  stable x86, bug 178800
+
+  16 Jul 2008; nixnut <nixnut@gentoo.org> python-2.5.2-r5.ebuild:
+  Stable on ppc wrt bug 178800
+
+  09 Jul 2008; Markus Rothe <corsair@gentoo.org> python-2.5.2-r5.ebuild:
+  Stable on ppc64; bug #178800
+
+  30 Jun 2008; Ali Polatel <hawking@gentoo.org> files/pydoc.conf,
+  files/pydoc.init:
+  Fixed files/pydoc* headers
+
+*python-2.5.2-r5 (24 Jun 2008)
+
+  24 Jun 2008; Ali Polatel <hawking@gentoo.org> -python-2.3.6-r4.ebuild,
+  -python-2.3.6-r5.ebuild, -python-2.4.4-r9.ebuild,
+  -python-2.4.4-r10.ebuild, -python-2.4.4-r11.ebuild,
+  -python-2.4.4-r12.ebuild, -python-2.5.2-r1.ebuild,
+  -python-2.5.2-r2.ebuild, -python-2.5.2-r3.ebuild, -python-2.5.2-r4.ebuild,
+  +python-2.5.2-r5.ebuild:
+  Revbump. Append -fwrapv to CFLAGS if we're using gcc-4, #228905. Updated
+  patchset to fix memory issues with unicode objects, #222481. Drop old.
+
+  20 Jun 2008; Ali Polatel <hawking@gentoo.org> python-2.5.2-r4.ebuild:
+  Fix bsddb dependency, bug 223133. Cosmetics
+
+  29 May 2008; Ali Polatel <hawking@gentoo.org> python-2.3.5-r2.ebuild,
+  python-2.3.5-r3.ebuild, python-2.3.6.ebuild, python-2.3.6-r3.ebuild,
+  python-2.3.6-r4.ebuild, python-2.3.6-r5.ebuild, python-2.3.6-r6.ebuild,
+  python-2.4.4-r5.ebuild, python-2.4.4-r6.ebuild, python-2.4.4-r9.ebuild,
+  python-2.4.4-r10.ebuild, python-2.4.4-r11.ebuild, python-2.4.4-r12.ebuild,
+  python-2.4.4-r13.ebuild, python-2.5.2-r1.ebuild, python-2.5.2-r2.ebuild,
+  python-2.5.2-r3.ebuild, python-2.5.2-r4.ebuild:
+  Fix -x option passed to python_mod_optimize, thanks to Remy Blank,
+  #224137.
+
+  29 May 2008; Ali Polatel <hawking@gentoo.org> python-2.3.5-r2.ebuild,
+  python-2.3.5-r3.ebuild, python-2.3.6.ebuild, python-2.3.6-r3.ebuild,
+  python-2.3.6-r4.ebuild, python-2.3.6-r5.ebuild, python-2.3.6-r6.ebuild,
+  python-2.4.4-r5.ebuild, python-2.4.4-r6.ebuild, python-2.4.4-r9.ebuild,
+  python-2.4.4-r10.ebuild, python-2.4.4-r11.ebuild, python-2.4.4-r12.ebuild,
+  python-2.4.4-r13.ebuild, python-2.5.2-r1.ebuild, python-2.5.2-r2.ebuild,
+  python-2.5.2-r3.ebuild, python-2.5.2-r4.ebuild:
+  python_mod_optimize is ROOT aware.
+
+  28 May 2008; Markus Meier <maekke@gentoo.org> python-2.3.6-r6.ebuild,
+  python-2.4.4-r13.ebuild:
+  amd64/x86 stable, security bug #216673
+
+  27 May 2008; Markus Rothe <corsair@gentoo.org> python-2.3.6-r6.ebuild,
+  python-2.4.4-r13.ebuild:
+  Stable on ppc64; bug #216673
+
+  26 May 2008; Tobias Scherbaum <dertobi123@gentoo.org>
+  python-2.3.6-r6.ebuild, python-2.4.4-r13.ebuild:
+  ppc stable, bug #216673
+
+  26 May 2008; Raúl Porcel <armin76@gentoo.org> python-2.3.6-r6.ebuild,
+  python-2.4.4-r13.ebuild:
+  ia64/sparc stable wrt security #216673
+
+  25 May 2008; Tobias Klausmann <klausman@gentoo.org>
+  python-2.3.6-r6.ebuild:
+  Stable on alpha, bug #216673
+
+  25 May 2008; Tobias Klausmann <klausman@gentoo.org>
+  python-2.4.4-r13.ebuild:
+  Stable on alpha, bug #216673
+
+  25 May 2008; Ali Polatel <hawking@gentoo.org>
+  +files/python-2.3.6-disable-failing-tests.patch, python-2.3.6-r6.ebuild,
+  python-2.4.4-r13.ebuild, python-2.5.2-r4.ebuild:
+  Added patch to disable failing test_bsddb test for 2.3. Disable test_pow
+  on alpha until upstream comes up with a fix.
+
+  24 May 2008; Jeroen Roovers <jer@gentoo.org> python-2.3.6-r6.ebuild,
+  python-2.4.4-r13.ebuild:
+  Stable for HPPA (bug #216673).
+
+*python-2.5.2-r4 (21 May 2008)
+*python-2.4.4-r13 (21 May 2008)
+*python-2.3.6-r6 (21 May 2008)
+
+  21 May 2008; Ali Polatel <hawking@gentoo.org> +python-2.3.6-r6.ebuild,
+  +python-2.4.4-r13.ebuild, +python-2.5.2-r4.ebuild:
+  Revision bumps. Don't build the imageop module on 32 bit as well, #216673.
+
+  13 May 2008; Ali Polatel <hawking@gentoo.org> python-2.4.4-r12.ebuild,
+  python-2.5.2-r3.ebuild:
+  Drop dev-python/python-fchksum from PDEPEND. It's not needed anymore.
+
+*python-2.5.2-r3 (13 May 2008)
+*python-2.4.4-r12 (13 May 2008)
+
+  13 May 2008; Ali Polatel <hawking@gentoo.org> +python-2.4.4-r12.ebuild,
+  +python-2.5.2-r3.ebuild:
+  Revbumps. Updated CXXFLAGS patch so packages overriding
+  distutils.CCompiler._compile won't fail to build, #219238. Added patch to
+  fix executable stack for ctypes, thanks to Sandro Bonazzola, #218753.
+  Added patch to build with system expat, thanks to Diego, #178921.
+
+*python-2.5.2-r2 (19 Apr 2008)
+*python-2.4.4-r11 (19 Apr 2008)
+
+  19 Apr 2008; Ali Polatel <hawking@gentoo.org> +python-2.4.4-r11.ebuild,
+  +python-2.5.2-r2.ebuild:
+  Revbumps. Updated patchset to fix compilation of extensions when CXXFLAGS
+  is unset.
+
+*python-2.5.2-r1 (18 Apr 2008)
+
+  18 Apr 2008; Ali Polatel <hawking@gentoo.org> python-2.3.5-r2.ebuild,
+  python-2.3.5-r3.ebuild, python-2.3.6.ebuild, -python-2.3.6-r2.ebuild,
+  python-2.3.6-r3.ebuild, -python-2.4.4-r4.ebuild, python-2.4.4-r5.ebuild,
+  -python-2.4.4-r7.ebuild, -python-2.4.4-r8.ebuild, -python-2.5.1-r2.ebuild,
+  -python-2.5.1-r3.ebuild, -python-2.5.1-r4.ebuild, -python-2.5.1-r5.ebuild,
+  -python-2.5.2.ebuild, +python-2.5.2-r1.ebuild:
+  Revbump. Updated patchset. Backported upstream patch to make file objects
+  as thread safe as the underlying libc FILE* implementation. Backported
+  upstream patch fixing a bunch of infinite C recursions. Dropped old.
+  Quoting.
+
+*python-2.5.2 (18 Apr 2008)
+*python-2.4.4-r10 (18 Apr 2008)
+*python-2.3.6-r5 (18 Apr 2008)
+
+  18 Apr 2008; Ali Polatel <hawking@gentoo.org> +python-2.3.6-r5.ebuild,
+  +python-2.4.4-r10.ebuild, +python-2.5.2.ebuild:
+  Version bumps. Updated patchsets to fix buffer overflow in zlib extension
+  (CVE-2008-1721) bug 217221 and unsafe PyString_FromStringAndSize(). Added
+  patch by Mark Peloquin for distutils to respect CXXFLAGS, bug 145206. Add
+  wininst USE flag to conditionally install MS Windows executables, bug
+  198021. Use EAPI=1, rename nothreads and nocxx USE flags to threads and
+  cxx.
+
+  11 Mar 2008; Markus Rothe <corsair@gentoo.org> python-2.4.4-r9.ebuild:
+  Stable on ppc64; bug #211281
+
+  11 Mar 2008; Tiziano Müller <dev-zero@gentoo.org> python-2.4.4-r9.ebuild,
+  python-2.5.1-r5.ebuild:
+  Changed newinitd/newconfd for pydoc to install the init.d/conf.d scripts as
+  pydoc-2.x (aka don't break slotting)
+
+  06 Mar 2008; nixnut <nixnut@gentoo.org> python-2.4.4-r9.ebuild:
+  Stable on ppc wrt bug 211281
+
+  03 Mar 2008; Christoph Mende <angelos@gentoo.org> python-2.4.4-r9.ebuild:
+  Stable on amd64, bug #211281
+
+  03 Mar 2008; Raúl Porcel <armin76@gentoo.org> python-2.4.4-r9.ebuild:
+  alpha/ia64/sparc/x86 stable wrt #211281
+
+  03 Mar 2008; Jeroen Roovers <jer@gentoo.org> python-2.4.4-r9.ebuild:
+  Stable for HPPA (bug #211281).
+
+  01 Mar 2008; Tiziano Müller <dev-zero@gentoo.org> +files/pydoc.conf,
+  +files/pydoc.init, python-2.4.4-r9.ebuild, python-2.5.1-r5.ebuild:
+  Added init.d/conf.d scripts for the integrated pydoc webserver (bug #59903,
+  thanks to compnerd).
+
+*python-2.4.4-r9 (16 Feb 2008)
+
+  16 Feb 2008; Christian Faulhammer <opfer@gentoo.org>
+  +python-2.4.4-r9.ebuild:
+  fix bug 179377, with a dependency adjustment to proper slots of sys-libs/db,
+  provided by Petr Pisar <petr DOT pisar AT atlas DOT cz>
+
+  25 Jan 2008; Markus Rothe <corsair@gentoo.org> python-2.3.6-r4.ebuild:
+  Stable on ppc64; bug #198373
+
+  23 Jan 2008; Peter Weller <welp@gentoo.org> python-2.3.6-r4.ebuild:
+  Stable on amd64; bug 198373
+
+  23 Jan 2008; Raúl Porcel <armin76@gentoo.org> python-2.3.6-r4.ebuild:
+  alpha/ia64/sparc stable wrt security #198373
+
+  23 Jan 2008; Christian Faulhammer <opfer@gentoo.org>
+  python-2.3.6-r4.ebuild:
+  stable x86, security bug 198373
+
+  23 Jan 2008; Jeroen Roovers <jer@gentoo.org> python-2.3.6-r4.ebuild:
+  Stable for HPPA (bug #198373).
+
+  23 Jan 2008; Brent Baude <ranger@gentoo.org> python-2.3.6-r4.ebuild:
+  Marking python-2.3.6-r4 ppc for bug 198373
+
+*python-2.3.6-r4 (22 Jan 2008)
+
+  22 Jan 2008; Ali Polatel <hawking@gentoo.org> +python-2.3.6-r4.ebuild:
+  Revision bump. New patchset for 2.3.6 including fixes for #198373 and #204343.
+  Changed berkdb DEPEND, quoting.
+
+*python-2.5.1-r5 (07 Jan 2008)
+*python-2.4.4-r8 (07 Jan 2008)
+
+  07 Jan 2008; Ali Polatel <hawking@gentoo.org> +python-2.4.4-r8.ebuild,
+  +python-2.5.1-r5.ebuild:
+  Revision bump(s). New patchsets for 2.4.4 and 2.5.1 wrt #204700 and #204343
+
+*python-2.5.1-r4 (18 Nov 2007)
+*python-2.4.4-r7 (18 Nov 2007)
+
+  18 Nov 2007; Ali Polatel <hawking@gentoo.org> +python-2.4.4-r7.ebuild,
+  +python-2.5.1-r4.ebuild:
+  revbump(s). don't install windows executables, bug 198021. updated patchset
+  to fix implicit dependency on openssl, bug 198398. fix quoting.
+
+  27 Oct 2007; Tobias Scherbaum <dertobi123@gentoo.org>
+  python-2.3.6-r3.ebuild, python-2.4.4-r6.ebuild:
+  ppc stable, bug #192876
+
+  26 Oct 2007; Ali Polatel <hawking@gentoo.org> python-2.4.4-r4.ebuild,
+  python-2.4.4-r5.ebuild, python-2.4.4-r6.ebuild:
+  Changed SRC_URI of python-gentoo-patches-2.4* to mirror://gentoo
+
+  25 Oct 2007; Jeroen Roovers <jer@gentoo.org> python-2.4.4-r6.ebuild:
+  Stable for HPPA (bug #192876). Fixed quoting issues.
+
+  25 Oct 2007; Jeroen Roovers <jer@gentoo.org> python-2.3.6-r3.ebuild:
+  Stable for HPPA (bug #192876).
+
+  25 Oct 2007; Raúl Porcel <armin76@gentoo.org> python-2.3.6-r3.ebuild,
+  python-2.4.4-r6.ebuild:
+  alpha/ia64/sparc stable wrt security #192876
+
+  25 Oct 2007; Daniel Gryniewicz <dang@gentoo.org> python-2.3.6-r3.ebuild,
+  python-2.4.4-r6.ebuild:
+  Marked stable on amd64 for bug #192876
+
+  25 Oct 2007; Markus Rothe <corsair@gentoo.org> python-2.3.6-r3.ebuild,
+  python-2.4.4-r6.ebuild:
+  Stable on ppc64; bug #192876
+
+  25 Oct 2007; Christian Faulhammer <opfer@gentoo.org>
+  python-2.3.6-r3.ebuild:
+  stable x86, security bug 192876
+
+  25 Oct 2007; Christian Faulhammer <opfer@gentoo.org>
+  python-2.4.4-r6.ebuild:
+  stable x86, security bug 192876
+
+*python-2.5.1-r3 (24 Oct 2007)
+*python-2.4.4-r6 (24 Oct 2007)
+*python-2.3.6-r3 (24 Oct 2007)
+
+  24 Oct 2007; Ali Polatel <hawking@gentoo.org> +python-2.3.6-r3.ebuild,
+  +python-2.4.4-r6.ebuild, +python-2.5.1-r3.ebuild:
+  revbump(s). fix imageop integer overflows (CVE-2007-4965), bug 192876
+
+  26 Sep 2007; Joshua Kinard <kumba@gentoo.org> python-2.4.4-r5.ebuild:
+  Stable on mips, per #188029.
+
+  24 Sep 2007; Ali Polatel <hawking@gentoo.org> python-2.5.1-r2.ebuild:
+  don't set LINKCC, removed nocxx use flag. don't pass --with-cxx=no to
+  configure. bug 193190
+
+  22 Sep 2007; Jeroen Roovers <jer@gentoo.org> python-2.4.4-r5.ebuild:
+  Stable for HPPA (bug #188029).
+
+  22 Sep 2007; Ferris McCormick <fmccor@gentoo.org> python-2.4.4-r5.ebuild:
+  Sparc stable --- Bug #188029 --- all tests pass and portage still works.
+
+  22 Sep 2007; Brent Baude <ranger@gentoo.org> ChangeLog:
+  MArking python-2.4.4-r5 ppc64 for bug 188029
+
+  22 Sep 2007; nixnut <nixnut@gentoo.org> python-2.4.4-r5.ebuild:
+  Stable on ppc wrt bug 188029
+
+  22 Sep 2007; Tom Gall <tgall@gentoo.org> python-2.4.4-r5.ebuild:
+  stable on ppc64
+
+  21 Sep 2007; Raúl Porcel <armin76@gentoo.org> python-2.4.4-r5.ebuild:
+  alpha/ia64 stable wrt #188029
+
+  21 Sep 2007; Chris Gianelloni <wolf31o2@gentoo.org>
+  python-2.4.4-r5.ebuild:
+  Stable on x86 wrt bug #188029.
+
+  21 Sep 2007; Daniel Gryniewicz <dang@gentoo.org> python-2.4.4-r5.ebuild:
+  Marked stable on amd64 for bug #188029
+
+  10 Sep 2007; Joel Martin <kanaka@gentoo.org>
+  +files/python-2.4.4-test-cross.patch, python-2.4.4-r4.ebuild,
+  python-2.4.4-r5.ebuild, python-2.5.1-r2.ebuild:
+  Fix cross-compile check and add small cross-compile patch to remove unicode
+  in one of the tests when cross-compiling.
+
+  08 Sep 2007; Zac Medico <zmedico@gentoo.org>
+  python-2.4.4-r4.ebuild, python-2.4.4-r5.ebuild:
+  Add build? ( !dev-python/pycrypto ) to RDEPEND in order to enforce
+  correct merge order for a stage building issue similar to bug #88777.
+
+  07 Sep 2007; Ali Polatel <hawking@gentoo.org>
+  -files/python-2.4.3-db4.patch, -files/python-2.4.3-gentoo_obsd.patch,
+  -files/python-2.4.3-gentoo_obsd-r1.patch, -python-2.4.3-r1.ebuild,
+  -python-2.4.3-r4.ebuild, -python-2.4.4.ebuild, -python-2.5-r2.ebuild:
+  Clean out old versions
+
+  03 Sep 2007; Zac Medico <zmedico@gentoo.org> python-2.4.4-r4.ebuild,
+  python-2.4.4-r5.ebuild, python-2.5-r2.ebuild, python-2.5.1-r2.ebuild:
+  Add build? ( !dev-python/python-fchksum ) to RDEPEND in order
+  to enforce correct merge order for bug #88777.
+
+*python-2.4.4-r5 (24 Aug 2007)
+
+  24 Aug 2007; Ali Polatel <hawking@gentoo.org> +files/python-config-2.4-r1,
+  +python-2.4.4-r5.ebuild:
+  Revision bump. Use python-config provided by python-2.5 with small changes
+  instead of our custom python-config-2.4. bug 188029
+
+  20 Aug 2007; Roy Marples <uberlord@gentoo.org> python-2.5.1-r2.ebuild:
+  export LDFLAGS="-L." -> append-ldflags "-L.", #189298
+  thanks to Arfrever Frehtes Taifersar Arahesis.
+
+  02 Jul 2007; Piotr Jaroszyński <peper@gentoo.org> python-2.3.5-r2.ebuild,
+  python-2.3.5-r3.ebuild, python-2.3.6.ebuild, python-2.3.6-r2.ebuild,
+  python-2.4.3-r1.ebuild, python-2.4.3-r4.ebuild, python-2.4.4.ebuild,
+  python-2.4.4-r4.ebuild, python-2.5-r2.ebuild, python-2.5.1-r2.ebuild:
+  (QA) RESTRICT clean up.
+
+  30 Jun 2007; Lars Weiler <pylon@gentoo.org> python-2.3.6-r2.ebuild,
+  python-2.5.1-r2.ebuild:
+  Keyworded ~ppc; bug #177426.
+
+  31 May 2007; Bryan Østergaard <kloeri@gentoo.org> metadata.xml:
+  Remove myself as I'm retiring.
+
+  19 May 2007; Peter Weller <welp@gentoo.org> python-2.5.1-r2.ebuild:
+  Keyworded ~amd64 wrt bug 177426
+
+  19 May 2007; Peter Weller <welp@gentoo.org> python-2.3.6-r2.ebuild:
+  Added ~amd64 to python-2.3.6-r2
+
+  17 May 2007; Bryan Østergaard <kloeri@gentoo.org> metadata.xml:
+  Mark myself as maintainer.
+
+  16 May 2007; Tobias Scherbaum <dertobi123@gentoo.org>
+  python-2.4.4-r4.ebuild:
+  ppc stable, bug #177804
+
+  16 May 2007; Daniel Gryniewicz <dang@gentoo.org> python-2.4.4-r4.ebuild:
+  Marked stable on amd64 for bug #177804
+
+  14 May 2007; Gustavo Zacarias <gustavoz@gentoo.org>
+  python-2.3.6-r2.ebuild, python-2.5.1-r2.ebuild:
+  Keyworded ~sparc wrt #177426
+
+  14 May 2007; Bryan Østergaard <kloeri@gentoo.org> python-2.4.4-r4.ebuild:
+  Stable on Alpha and Mips.
+
+  14 May 2007; Daniel Gryniewicz <dang@gentoo.org> python-2.4.4-r4.ebuild:
+  Marked ~amd64 for bug #177804
+
+  14 May 2007; Bryan Østergaard <kloeri@gentoo.org> python-2.4.4-r4.ebuild:
+  Fix 2.4.4-r4 tests always being disabled.
+
+  14 May 2007; Gustavo Zacarias <gustavoz@gentoo.org>
+  python-2.4.4-r4.ebuild:
+  Stable on sparc wrt security #177804
+
+  14 May 2007; Bryan Østergaard <kloeri@gentoo.org> python-2.3.6-r2.ebuild,
+  python-2.4.4-r4.ebuild, -python-2.5.1-r1.ebuild, python-2.5.1-r2.ebuild:
+  Fix small bug preventing tests from running, fix manpage symlinks (bug
+  177471) and filter as-needed in python-2.3.6-r2 (bug 177614).
+
+  14 May 2007; Jeroen Roovers <jer@gentoo.org> python-2.4.4-r4.ebuild:
+  Stable for HPPA (bug #177804).
+
+  13 May 2007; Markus Rothe <corsair@gentoo.org> python-2.4.4-r4.ebuild:
+  Stable on ppc64; bug #177804
+
+  12 May 2007; Roy Marples <uberlord@gentoo.org> python-2.4.4-r4.ebuild:
+  Added ~sparc-fbsd keyword.
+
+  12 May 2007; Raúl Porcel <armin76@gentoo.org> python-2.4.4-r4.ebuild:
+  ia64 + x86 stable wrt security bug #177804
+
+  12 May 2007; Markus Rothe <corsair@gentoo.org> python-2.3.6-r2.ebuild,
+  python-2.4.4-r4.ebuild, python-2.5.1-r2.ebuild:
+  Added ~ppc64; bug #177426
+
+  11 May 2007; Bryan Østergaard <kloeri@gentoo.org> python-2.4.4-r4.ebuild,
+  python-2.5.1-r2.ebuild:
+  Add ~alpha and ~mips keywords.
+
+  11 May 2007; Bryan Østergaard <kloeri@gentoo.org>
+  -python-2.1.3-r1.ebuild, -python-2.2.3-r6.ebuild:
+  More cleanups, this time removing <python-2.3.
+
+  11 May 2007; Bryan Østergaard <kloeri@gentoo.org>
+  -python-2.3.6-r1.ebuild, -python-2.4.4-r2.ebuild, -python-2.4.4-r3.ebuild,
+  -python-2.5-r1.ebuild, -python-2.5.1.ebuild:
+  Clean out some old versions.
+
+*python-2.5.1-r2 (11 May 2007)
+*python-2.4.4-r4 (11 May 2007)
+
+  11 May 2007; Bryan Østergaard <kloeri@gentoo.org>
+  +python-2.4.4-r4.ebuild, +python-2.5.1-r2.ebuild:
+  Only apply crosscompile patch conditionally, drop tests if crosscompiling
+  and fix PyLocale.strxfrm leak from bug 177804. srtxfrm from Debian bug
+  416934
+
+*python-2.5.1-r1 (10 May 2007)
+*python-2.4.4-r3 (10 May 2007)
+*python-2.3.6-r2 (10 May 2007)
+
+  10 May 2007; Bryan Østergaard <kloeri@gentoo.org>
+  +python-2.3.6-r2.ebuild, +python-2.4.4-r3.ebuild, +python-2.5.1-r1.ebuild:
+  Change threads USE flag to nothreads, fix non-linux linker issue and fix
+  man-page symlink.
+
+  08 May 2007; Roy Marples <uberlord@gentoo.org> python-2.5.1.ebuild:
+  Added ~sparc-fbsd keyword, #177426.
+  Added ~x86-fbsd keyword, #177426.
+  export LDFLAGS="-L." so we link modules correctly on FreeBSD and possibly
+  other systems where python2.5 isn't installed yet.
+
+  08 May 2007; Raúl Porcel <armin76@gentoo.org> python-2.3.6-r1.ebuild,
+  python-2.4.4-r2.ebuild, python-2.5.1.ebuild:
+  Add ~ia64 wrt 177426
+
+  08 May 2007; Roy Marples <uberlord@gentoo.org> python-2.4.4-r2.ebuild:
+  Added ~x86-fbsd keyword, #177426.
+
+  08 May 2007; Bryan Østergaard <kloeri@gentoo.org> python-2.3.6-r1.ebuild,
+  python-2.4.4-r2.ebuild, python-2.5.1.ebuild:
+  Change nptl USE flag to threads.
+
+  08 May 2007; Jeroen Roovers <jer@gentoo.org> python-2.5.1.ebuild:
+  Marked ~hppa (bug #177426).
+
+  07 May 2007; Jeroen Roovers <jer@gentoo.org> python-2.4.4-r2.ebuild:
+  Marked ~hppa (bug #177426).
+
+  07 May 2007; Jeroen Roovers <jer@gentoo.org> python-2.3.6-r1.ebuild:
+  Marked ~hppa (bug #177426).
+
+*python-2.4.4-r2 (07 May 2007)
+
+  07 May 2007; Bryan Østergaard <kloeri@gentoo.org>
+  -python-2.4.4-r1.ebuild, +python-2.4.4-r2.ebuild:
+  Fix broken 2.4.4 patch causing wrong linking.
+
+  07 May 2007; Gustavo Zacarias <gustavoz@gentoo.org> python-2.4.4.ebuild:
+  Stable on sparc
+
+  07 May 2007; Bryan Østergaard <kloeri@gentoo.org> python-2.3.6-r1.ebuild,
+  python-2.4.4.ebuild, python-2.4.4-r1.ebuild:
+  Fix 2.3.6-r1 patch (bug 177464) and disable sax test in 2.4.4.
+
+  07 May 2007; Bryan Østergaard <kloeri@gentoo.org> python-2.3.5-r2.ebuild,
+  python-2.3.5-r3.ebuild, python-2.3.6.ebuild, python-2.3.6-r1.ebuild,
+  python-2.4.3-r1.ebuild, python-2.4.3-r4.ebuild, python-2.4.4.ebuild,
+  python-2.4.4-r1.ebuild, python-2.5-r1.ebuild, python-2.5-r2.ebuild:
+  Stable on Alpha, IA64 and x86 + fix digest issue reported in bug 177440.
+
+*python-2.5.1 (06 May 2007)
+*python-2.4.4-r1 (06 May 2007)
+*python-2.3.6-r1 (06 May 2007)
+
+  06 May 2007; Bryan Østergaard <kloeri@gentoo.org>
+  +python-2.3.6-r1.ebuild, +python-2.4.4-r1.ebuild, +python-2.5.1.ebuild:
+  Build problems fixed:
+  bug 120099 dev-lang/python-2.4.2 builds against sys-libs/gdbm with USE="-gdbm"
+  bug 135239 crosscompiling python. python-2.4.1-bindir-libdir.patch
+  bug 138647 dev-lang/python-x.x.x distutils installer does not link libraries
+  bug 150595 dev-lang/python-2.5 fails to compile with LC_ALL=de_DE@euro
+  bug 150732 python-2.4.3-r4 does not honor ROOT
+  bug 159967 python doesn't add pthread to LIBS correctly on BSD
+
+  Other problems fixed:
+  bug 148362 File collision between python-2.4* and python-2.5*
+  bug 151695 dev-python/python-docs env.d entry incorrect
+  bug 158383 emerging python-2.4.3-r4 segfaults with -ipv6
+  bug 165268 dev-lang/python-2.4.4 fails to build the dbm module
+
+  Test failures fixed:
+  bug 82469: QA issue: python-2.3.5-maketest failes with propolice
+  bug 124188 dev-lang/python-2.4.2 fails test_cookielib
+  bug 154247 dev-lang/python-2.4.4 tests failed: test_sax failed -- 1 of 42 tests failed: test_xmlgen_attr_escape
+
+  Feature requests:
+  bug 131325 python 2.4.4/2.3.6 enable pthreads inconditionaly
+  bug 135617 dev-lang/python should install Tools/freeze
+  bug 176066 dev-lang/python-2.5.1 bump
+
+  Fixed in current upstream version:
+  bug 90660 python-2.3.5: No module named fcntl
+  bug 144798 dev-lang/python-2.4.3 with TZ=Australia/Melbourne fails test
+  bug 151246 signed integer overflow bug in dev-lang/python-2.4.3
+  bug 159553 dev-lang/python-2.4.3-r4 fails test_openpty
+  bug 162057 dev-lang/python fails tests in test_expanduser
+
+*python-2.5-r2 (31 Mar 2007)
+
+  31 Mar 2007; Marien Zwart <marienz@gentoo.org> +python-2.5-r2.ebuild:
+  Revision bump python 2.5 with distutils and execstack fixes (rebuilding
+  installed extensions is recommended if upgrading from an older python 2.5
+  ebuild). Remove unnecessary pysqlite block. Fix python 2.3 digest problem.
+
+  06 Feb 2007; Marius Mauch <genone@gentoo.org> python-2.3.5-r2.ebuild,
+  python-2.3.5-r3.ebuild, python-2.3.6.ebuild, python-2.4.3-r1.ebuild,
+  python-2.4.3-r4.ebuild, python-2.4.4.ebuild, python-2.5-r1.ebuild:
+  Replacing einfo with elog
+
+  11 Nov 2006; Bryan Østergaard <kloeri@gentoo.org> python-2.3.6.ebuild:
+  Fix lib64 patch, bug 154711.
+
+*python-2.3.6 (09 Nov 2006)
+
+  09 Nov 2006; Bryan Østergaard <kloeri@gentoo.org> +python-2.3.6.ebuild:
+  Bump version, bug 153944.
+
+*python-2.4.4 (04 Nov 2006)
+
+  04 Nov 2006; Bryan Østergaard <kloeri@gentoo.org> +python-2.4.4.ebuild:
+  Version bump.
+
+  18 Oct 2006; Roy Marples <uberlord@gentoo.org> python-2.4.3-r4.ebuild,
+  python-2.5-r1.ebuild:
+  Added ~sparc-fbsd keyword.
+
+  27 Sep 2006; Bryan Østergaard <kloeri@gentoo.org> python-2.3.5-r3.ebuild,
+  python-2.4.3-r4.ebuild:
+  Stable on ia64.
+
+  27 Sep 2006; Bryan Østergaard <kloeri@gentoo.org> python-2.3.5-r3.ebuild,
+  python-2.4.3-r4.ebuild:
+  Stable on Alpha.
+
+  27 Sep 2006; Joshua Jackson <tsunam@gentoo.org> python-2.3.5-r3.ebuild,
+  python-2.4.3-r4.ebuild:
+  Stable x86; bug #149065
+
+  27 Sep 2006; Jason Wever <weeve@gentoo.org> python-2.3.5-r3.ebuild,
+  python-2.4.3-r4.ebuild:
+  Stable on SPARC wrt security bug #149065.
+
+  26 Sep 2006; Gustavo Zacarias <gustavoz@gentoo.org>
+  python-2.3.5-r3.ebuild, python-2.4.3-r4.ebuild:
+  Stable on hppa wrt security #149065
+
+  26 Sep 2006; Simon Stelling <blubb@gentoo.org> python-2.3.5-r3.ebuild:
+  stable on amd64; bug 149065
+
+  26 Sep 2006; Tobias Scherbaum <dertobi123@gentoo.org>
+  python-2.3.5-r3.ebuild, python-2.4.3-r4.ebuild:
+  ppc stable, bug #149065
+
+  26 Sep 2006; Simon Stelling <blubb@gentoo.org> python-2.4.3-r4.ebuild:
+  stable on amd64; bug 149065
+
+  26 Sep 2006; Markus Rothe <corsair@gentoo.org> python-2.3.5-r3.ebuild,
+  python-2.4.3-r4.ebuild:
+  Stable on ppc64; bug #149065
+
+*python-2.4.3-r4 (26 Sep 2006)
+*python-2.3.5-r3 (26 Sep 2006)
+
+  26 Sep 2006; Marien Zwart <marienz@gentoo.org> +python-2.3.5-r3.ebuild,
+  +python-2.4.3-r4.ebuild:
+  Revision bumps for bug #149065.
+
+*python-2.5-r1 (19 Sep 2006)
+
+  19 Sep 2006; Alastair Tse <liquidx@gentoo.org> python-2.5.ebuild
+  +python-2.5-r1.ebuild:
+  Fixed patches that still contain the zlib mistake from the 2.4
+  patchset. Disabled etree tests.
+
+*python-2.5 (19 Sep 2006)
+
+  19 Sep 2006; Alastair Tse <liquidx@gentoo.org> -python-2.4.3-r2.ebuild,
+  +python-2.5.ebuild:
+  python 2.5 released.
+
+*python-2.4.3-r3 (28 Aug 2006)
+
+  28 Aug 2006; Alastair Tse <liquidx@gentoo.org> +python-2.4.3-r3.ebuild:
+  fix mistake introduced in 2.4.3-r2 where system zlib was used that caused
+  problems on certain machines (#145242)
+
+*python-2.4.3-r2 (26 Aug 2006)
+
+  26 Aug 2006; Alastair Tse <liquidx@gentoo.org> +python-2.4.3-r2.ebuild:
+  cleanup 2.4.3 ebuild, fix collisions with slotted versions of pydoc and
+  idle, fix multilib installs so that everything is installed in /usr/lib64
+  rather than just the .so (#118805)
+
+  22 Aug 2006; Alastair Tse <liquidx@gentoo.org> python-2.2.3-r6.ebuild,
+  python-2.3.5-r2.ebuild, -python-2.4.2.ebuild, -python-2.4.2-r1.ebuild,
+  -python-2.4.2-r2.ebuild, -python-2.4.3.ebuild, python-2.4.3-r1.ebuild:
+  renamed patches to have short names and version numbers to indicate when
+  they were introduced. patches tarballs are now generated from gentoo-svn.
+  cleaned up older unstable versions of python leaving the latest version for
+  each major release. fixed some installed file collisions between the two
+  version.
+
+  20 Jul 2006; Simon Stelling <blubb@gentoo.org> python-2.4.3-r1.ebuild:
+  stable on amd64
+
+  11 Jul 2006; Alastair Tse <liquidx@gentoo.org> python-2.4.3-r1.ebuild:
+  python-2.2.3-r6.ebuild, python-2.3.5-r2.ebuild, python-2.4.2.ebuild,
+  python-2.4.2-r1.ebuild, python-2.4.2-r2.ebuild, python-2.4.3.ebuild,
+  python-2.4.3-r1.ebuild:
+  Typo fix in DESCRIPTION (#139463)
+
+  09 Jul 2006; Joshua Kinard <kumba@gentoo.org> python-2.4.3-r1.ebuild:
+  Marked stable on mips.
+
+  08 Jul 2006; Doug Goldstein <cardoe@gentoo.org> python-2.1.3-r1.ebuild,
+  python-2.2.3-r6.ebuild, python-2.3.5-r2.ebuild, python-2.4.2.ebuild,
+  python-2.4.2-r1.ebuild, python-2.4.2-r2.ebuild, python-2.4.3.ebuild,
+  python-2.4.3-r1.ebuild:
+  split USE='tcltk' to 'tcl' & 'tk' per bug #17808. Nuked X USE flag since it
+  was only to find tk from tcltk
+
+  30 Jun 2006; Joel Martin <kanaka@gentoo.org> python-2.4.3-r1.ebuild:
+  Cross-compile update: bindir-libdir patch is no longer needed and will break
+  the patching if it's there. Also, unset CC to force the native python build
+  to use the native compiler.
+
+  28 Jun 2006; Tobias Scherbaum <dertobi123@gentoo.org>
+  python-2.4.3-r1.ebuild:
+  ppc stable, #138268
+
+  28 Jun 2006; Gustavo Zacarias <gustavoz@gentoo.org>
+  python-2.4.3-r1.ebuild:
+  Stable on sparc wrt #138268
+
+  28 Jun 2006; Guy Martin <gmsoft@gentoo.org> python-2.4.3-r1.ebuild:
+  Stable on hppa.
+
+  28 Jun 2006; Markus Rothe <corsair@gentoo.org> python-2.4.3-r1.ebuild:
+  Stable on ppc64; bug #138268
+
+  27 Jun 2006; Bryan Østergaard <kloeri@gentoo.org> python-2.4.3-r1.ebuild:
+  Stable on alpha, ia64 and x86.
+
+*python-2.4.3-r1 (04 May 2006)
+*python-2.4.2-r2 (04 May 2006)
+
+  04 May 2006; Bryan Østergaard <kloeri@gentoo.org>
+  +files/python-2.4.2-gentoo_obsd-r1.patch,
+  +files/python-2.4.3-gentoo_obsd-r1.patch, +python-2.4.2-r2.ebuild,
+  +python-2.4.3-r1.ebuild:
+  Fix obsd patch (thanks reb) fixing bugs 117261 and 130140.
+
+  27 Apr 2006; Marien Zwart <marienz@gentoo.org>
+  files/digest-python-2.1.3-r1, files/digest-python-2.2.3-r6, Manifest:
+  Fixing SHA256 digest, pass four
+
+  14 Apr 2006; Bryan Østergaard <kloeri@gentoo.org
+  +files/python-2.4.2-gentoo_obsd.patch,
+  +files/python-2.4.3-gentoo_obsd.patch, python-2.4.2-r1.ebuild,
+  python-2.4.3.ebuild:
+  Add gentoo/obsd patch, bug 117261.
+
+*python-2.4.3 (13 Apr 2006)
+
+  13 Apr 2006; Bryan Østergaard <kloeri@gentoo.org
+  +files/python-2.4.3-db4.patch, +python-2.4.3.ebuild:
+  Version bump to 2.4.3.
+
+  30 Mar 2006; Diego Pettenò <flameeyes@gentoo.org> python-2.4.2-r1.ebuild:
+  Add ~x86-fbsd keyword.
+
+  16 Feb 2006; Marien Zwart <marienz@gentoo.org>
+  -files/python-2.2.3-db4.patch,
+  -files/python-2.2.3-disable_modules_and_ssl.patch,
+  -files/python-2.2.3-fPIC.patch,
+  -files/python-2.2.3-gentoo_py_dontcompile.patch,
+  -files/python-2.2.3-xmlrpc.patch,
+  -files/python-2.3.2-disable_modules_and_ssl.patch,
+  -files/python-2.3.4-lib64.patch, -files/python-2.3.5-st_flags.patch,
+  -files/python-2.3-add_portage_search_path.patch,
+  -files/python-2.3-add_portage_search_path_take_2.patch,
+  -files/python-2.3-db4.2.patch,
+  -files/python-2.3-gentoo_py_dontcompile.patch,
+  -files/python-2.3-mimetypes_apache.patch, -files/python-2.3-pcre.patch,
+  -files/python-2.3-readline.patch, -files/python-2.4.1-bindir-libdir.patch,
+  -files/python-2.4.1-crosscompile.patch, -files/python-2.4.1-db4.patch,
+  -files/python-2.4.1-libdir.patch, -files/python-2.4.1-st_flags.patch,
+  -files/python-2.4.2-mmap+fd.patch, -files/python-2.4.2-no-threads.patch,
+  -files/python-2.4.2-readline.patch,
+  -files/python-2.4-add_portage_search_path.patch,
+  -files/python-2.4-disable_modules_and_ssl.patch,
+  -files/python-2.4-gentoo_py_dontcompile.patch,
+  -files/python-2.4-mimetypes_apache.patch, python-2.2.3-r6.ebuild,
+  python-2.3.5-r2.ebuild, python-2.4.2.ebuild, python-2.4.2-r1.ebuild:
+  Move patches from files dir to separate tarballs.
+
+  16 Feb 2006; Marien Zwart <marienz@gentoo.org> -files/python-config-2.2.1,
+  -files/python-2.2.1-r5-gentoo.diff, -files/python-config-2.2.2,
+  -files/python-2.2.2-tk-8.4.x.patch, -files/python-2.3-xmlrpc.patch,
+  -files/python-2.4-db4.2.patch, -files/python-2.4-lib64.patch,
+  -files/python-2.4.1-readline.patch, -files/python-2.4-libdir.patch,
+  -files/python-2.4-readline.patch, -files/python-2.4-xmlrpc.patch,
+  -python-2.3.4-r1.ebuild, -python-2.3.5.ebuild, -python-2.3.5-r1.ebuild,
+  -python-2.4-r3.ebuild, -python-2.4.1.ebuild, -python-2.4.1-r1.ebuild:
+  Remove old versions.
+
+  08 Feb 2006; Marien Zwart <marienz@gentoo.org> python-2.3.5-r2.ebuild,
+  python-2.4.2.ebuild, python-2.4.2-r1.ebuild:
+  Disable confcache (breaks .so loading).
+
+  02 Feb 2006; Bryan Østergaard <kloeri@gentoo.org
+  +files/python-2.4.2-mmap+fd.patch:
+  Add missing python-2.4.2-mmap+fd.patch.
+
+*python-2.4.2-r1 (02 Feb 2006)
+
+  02 Feb 2006; Bryan Østergaard <kloeri@gentoo.org
+  +files/depreorder-topsort.py, +files/python-updater-r1,
+  +python-2.4.2-r1.ebuild:
+  No more libstdc++.so linking, fix python-updater ordering (bug #95538) +
+  mmap (bug #113439) and fd leak (bug #118575) fixes.
+
+  13 Jan 2006; Mike Frysinger <vapier@gentoo.org>
+  +files/python-2.4.2-no-threads.patch, python-2.4.2.ebuild:
+  Fix from upstream for building without threads.
+
+  24 Nov 2005; Markus Rothe <corsair@gentoo.org> python-2.4.2.ebuild:
+  Stable on ppc64
+
+  17 Nov 2005; Guy Martin <gmsoft@gentoo.org> python-2.4-r3.ebuild,
+  python-2.4.1.ebuild, python-2.4.1-r1.ebuild, python-2.4.2.ebuild:
+  Readded critical fix for HPPA.
+
+  21 Oct 2005; Aaron Walker <ka0ttic@gentoo.org> python-2.4.2.ebuild:
+  Stable on mips.
+
+  15 Oct 2005; MATSUU Takuto <matsuu@gentoo.org> python-2.4.2.ebuild:
+  Stable on sh.
+
+  15 Oct 2005; Michael Hanselmann <hansmi@gentoo.org> python-2.4.2.ebuild:
+  Stable on hppa, ppc.
+
+  14 Oct 2005; Gustavo Zacarias <gustavoz@gentoo.org> python-2.4.2.ebuild:
+  Stable on sparc
+
+  14 Oct 2005; Bryan Østergaard <kloeri@gentoo.org> python-2.4.2.ebuild:
+  Stable on alpha.
+
+  13 Oct 2005; Luis Medinas <metalgod@gentoo.org> python-2.4.2.ebuild:
+  Marked Stable on amd64.
+
+  13 Oct 2005; Aron Griffis <agriffis@gentoo.org> python-2.4.2.ebuild:
+  Mark 2.4.2 stable on ia64
+
+  13 Oct 2005; Rob Cakebread <pythonhead@gentoo.org> python-2.4.2.ebuild:
+  Marked x86 stable per Mr_Bones_ - memory leak in posix.access()
+
+  10 Oct 2005; Gustavo Zacarias <gustavoz@gentoo.org>
+  python-2.4.1-r1.ebuild:
+  Stable on sparc
+
+  10 Oct 2005; Luis Medinas <metalgod@gentoo.org> python-2.4.1-r1.ebuild:
+  Marked Stable on amd64.
+
+  10 Oct 2005; Markus Rothe <corsair@gentoo.org> python-2.4.1-r1.ebuild:
+  Stable on ppc64
+
+  09 Oct 2005; Michael Hanselmann <hansmi@gentoo.org>
+  python-2.4.1-r1.ebuild:
+  Stable on hppa, ppc.
+
+  08 Oct 2005; Bryan Østergaard <kloeri@gentoo.org> python-2.4.1-r1.ebuild:
+  Stable python-2.4 on alpha, ia64 and x86.
+
+  01 Oct 2005; Bryan Østergaard <kloeri@gentoo.org> python-2.3.5-r2.ebuild,
+  python-2.4.1-r1.ebuild, python-2.4.2.ebuild:
+  Disable additional test, fixing bug 82469, 94859, 96366 and 96488.
+
+*python-2.4.2 (28 Sep 2005)
+
+  28 Sep 2005; Bryan Østergaard <kloeri@gentoo.org>
+  +files/python-2.4.2-readline.patch, +python-2.4.2.ebuild:
+  Bump version to 2.4.2.
+
+  14 Sep 2005; Aaron Walker <ka0ttic@gentoo.org> python-2.3.5-r2.ebuild:
+  2.3.5-r2 stable on mips for security bug #104009.
+
+  11 Sep 2005; Simon Stelling <blubb@gentoo.org> python-2.3.5-r2.ebuild:
+  stable on amd64 wrt bug 104009
+
+  10 Sep 2005; Michael Hanselmann <hansmi@gentoo.org>
+  python-2.3.5-r2.ebuild:
+  Stable on ppc and hppa.
+
+  10 Sep 2005; MATSUU Takuto <matsuu@gentoo.org> python-2.3.5-r2.ebuild:
+  Stable on sh.
+
+  09 Sep 2005; Josh Grebe <squash@gentoo.org> python-2.3.5-r2.ebuild:
+  Sparc stable bump for bug #104009
+
+  09 Sep 2005; Markus Rothe <corsair@gentoo.org> python-2.3.5-r2.ebuild:
+  Stable on ppc64
+
+  08 Sep 2005; Bryan Østergaard <kloeri@gentoo.org> python-2.3.5-r2.ebuild:
+  Stable on x86, alpha and ia64 - bug 104009.
+
+*python-2.3.5-r2 (08 Sep 2005)
+
+  08 Sep 2005; Bryan Østergaard <kloeri@gentoo.org>
+  +files/python-2.3-pcre.patch, +python-2.3.5-r2.ebuild:
+  Version bump to fix pcre security vulnerability, bug 104009.
+
+  16 Aug 2005; Bryan Østergaard <kloeri@gentoo.org> python-2.3.4-r1.ebuild,
+  python-2.3.5.ebuild:
+  Add fix for bug 88777 to arch versions.
+
+  15 Aug 2005; Bryan Østergaard <kloeri@gentoo.org> python-2.3.5-r1.ebuild,
+  python-2.4.1-r1.ebuild:
+  Fix bug 88777 in ~arch versions.
+
+  11 Aug 2005; Mike Frysinger <vapier@gentoo.org>
+  +files/python-2.4.1-bindir-libdir.patch,
+  +files/python-2.4.1-crosscompile.patch, python-2.4.1-r1.ebuild:
+  Add support for cross-compiling.  Grabbed patches from uClibc/OpenEmbedded.
+
+  19 Jul 2005; Bryan Østergaard <kloeri@gentoo.org>
+  +files/python-2.4.1-st_flags.patch, python-2.4.1-r1.ebuild:
+  Update st_flags patch, bug 94637.
+
+  03 Jul 2005; Bryan Østergaard <kloeri@gentoo.org> python-2.3.5.ebuild:
+  Stable on alpha.
+
+  27 Jun 2005; Markus Rothe <corsair@gentoo.org> python-2.3.5.ebuild:
+  Stable on ppc64
+
+  18 Jun 2005; Markus Rothe <corsair@gentoo.org> python-2.4.1-r1.ebuild:
+  added ~ppc64
+
+*python-2.4.1-r1 (16 Jun 2005)
+*python-2.3.5-r1 (16 Jun 2005)
+
+  16 Jun 2005; Bryan Østergaard <kloeri@gentoo.org>
+  +files/python-2.3.5-st_flags.patch, +python-2.3.5-r1.ebuild,
+  +python-2.4.1-r1.ebuild:
+  Add st_flags patch, requested in bug 94637.
+
+  09 Jun 2005; Herbie Hopkins <herbs@gentoo.org>
+  files/python-2.4.1-libdir.patch, python-2.4.1.ebuild:
+  Fix libdir patch to work with amd64s no-symlink profile, removed
+  append-flags -fPIC as this seems to no longer be necessary.
+
+  29 May 2005; <solar@gentoo.org> python-2.3.4-r1.ebuild, python-2.3.5.ebuild,
+  python-2.4-r3.ebuild, python-2.4.1.ebuild:
+  echangelog - update package to use libc expanded variable elibc_uclibc vs
+  uclibc so USE=-* works
+
+  29 May 2005; Alastair Tse <liquidx@gentoo.org>
+  files/python-2.4.1-libdir.patch:
+  remove zlib from libpython dependency (#90545)
+
+  28 May 2005; Bryan Østergaard <kloeri@gentoo.org> python-2.1.3-r1.ebuild,
+  python-2.2.3-r6.ebuild, python-2.3.4-r1.ebuild, python-2.3.5.ebuild,
+  python-2.4-r3.ebuild, python-2.4.1.ebuild:
+  Add missing inherit versionator.
+
+  21 May 2005; Bryan Østergaard <kloeri@gentoo.org> python-2.1.3-r1.ebuild:
+  Fix PROVIDE according to bug 93028.
+
+  18 May 2005; Markus Rothe <corsair@gentoo.org> python-2.3.5.ebuild:
+  Added ~ppc64 to KEYWORDS
+
+  11 May 2005; Marcus D. Hanwell <cryos@gentoo.org> python-2.3.5.ebuild:
+  Stable on amd64.
+
+  07 May 2005; Bryan Østergaard <kloeri@gentoo.org> python-2.3.5.ebuild,
+  python-2.4.1.ebuild:
+  Fix FEATURES=test using slightly modified patch by Rob Cakebread, bug 67970.
+
+  01 May 2005; Stephen Bennett <spb@gentoo.org> python-2.3.4-r1.ebuild,
+  python-2.3.5.ebuild, python-2.4.1.ebuild:
+  Added compile fix for when $LIBC is set.
+
+  30 Apr 2005; Michael Hanselmann <hansmi@gentoo.org> python-2.3.5.ebuild:
+  Stable on ppc.
+
+  28 Apr 2005; Gustavo Zacarias <gustavoz@gentoo.org> python-2.3.5.ebuild:
+  Stable on sparc
+
+*python-2.4.1 (27 Apr 2005)
+
+  27 Apr 2005; Alastair Tse <liquidx@gentoo.org>
+  +files/python-2.4.1-db4.patch, +files/python-2.4.1-libdir.patch,
+  +files/python-2.4.1-readline.patch, files/python-2.4-readline.patch,
+  -python-2.3.3-r2.ebuild, python-2.3.5.ebuild, -python-2.4-r1.ebuild,
+  -python-2.4-r2.ebuild, +python-2.4.1.ebuild:
+  version bump for 2.4.1, clean up readling, db4 and libdir patch for 2.4.1.
+
+  20 Apr 2005; Alastair Tse <liquidx@gentoo.org> python-2.3.5.ebuild,
+  python-2.4-r3.ebuild:
+  reverting changes to deps and adding note about why they are arranged in
+  that way (to remind myself never to touch them again :)
+
+  20 Apr 2005; Alastair Tse <liquidx@gentoo.org>
+  +files/python-2.3-readline.patch, +files/python-2.4-readline.patch,
+  python-2.3.5.ebuild, python-2.4-r3.ebuild:
+  fixing readline support to not require termcap (#79013). fixed DEPEND
+  and RDEPEND order (python-fchksum isn't a DEPEND only)
+
+  08 Apr 2005; Markus Rothe <corsair@gentoo.org> python-2.3.4-r1.ebuild:
+  Stable on ppc64
+
+*python-2.4-r3 (19 Mar 2005)
+
+  19 Mar 2005; Rob Cakebread <pythonhead@gentoo.org>
+  files/python-2.4-libdir.patch, +python-2.4-r3.ebuild:
+  Removed multiple dirs in sys path. bug# 83109
+
+  15 Mar 2005; Alastair Tse <liquidx@gentoo.org> python-2.3.5.ebuild:
+  more multilib fixes (#76791)
+
+  01 Mar 2005; Bryan Østergaard <kloeri@gentoo.org> python-2.3.5.ebuild,
+  python-2.4-r1.ebuild:
+  Fix conditional c++ support for remaining versions.
+
+  27 Feb 2005; Bryan Østergaard <kloeri@gentoo.org> python-2.3.3-r2.ebuild,
+  python-2.3.4-r1.ebuild, python-2.4-r2.ebuild:
+  Disable c++ conditionally.
+
+*python-2.3.5 (17 Feb 2005)
+
+  17 Feb 2005; Rob Cakebread <pythonhead@gentoo.org> +python-2.3.5.ebuild:
+  Version bump.
+
+  09 Feb 2005; Luca Barbato <lu_zero@gentoo.org> python-2.3.4-r1.ebuild:
+  Marked ppc
+
+*python-2.4-r2 (07 Feb 2005)
+
+  07 Feb 2005; Jeremy Huddleston <eradicator@gentoo.org>
+  +files/python-2.4-libdir.patch, files/python-updater, +python-2.4-r2.ebuild:
+  Multilib releated cleanup.
+
+*python-2.2.3-r6 (06 Feb 2005)
+
+  06 Feb 2005; Rob Cakebread <pythonhead@gentoo.org>
+  +files/python-2.2.3-xmlrpc.patch, +files/python-2.3-xmlrpc.patch,
+  +files/python-2.4-xmlrpc.patch, -python-2.2.3-r5.ebuild,
+  +python-2.2.3-r6.ebuild, -python-2.3.3-r1.ebuild, +python-2.3.3-r2.ebuild,
+  -python-2.3.3.ebuild, +python-2.3.4-r1.ebuild, -python-2.3.4.ebuild,
+  +python-2.4-r1.ebuild, -python-2.4.ebuild:
+  Patches and version bumps for security bug# 80592 Python bug# PSF-2005-001 xmlrpc
+  vulnerability. Removed obsolete versions.
+
+  06 Jan 2005; Bryan Østergaard <kloeri@gentoo.org> python-2.4.ebuild:
+  Fix broken Manifest.
+
+  05 Jan 2005; Rob Cakebread <pythonhead@gentoo.org> python-2.4.ebuild:
+  Only apply lib64 patch on CONF_LIBDIR == lib64
+
+  04 Jan 2005; Rob Cakebread <pythonhead@gentoo.org>
+  +files/python-2.4-lib64.patch, python-2.4.ebuild:
+  Added lib64 patch
+
+*python-2.4 (04 Jan 2005)
+
+  04 Jan 2005; Rob Cakebread <pythonhead@gentoo.org>
+  +files/python-2.4-add_portage_search_path.patch,
+  +files/python-2.4-db4.2.patch,
+  +files/python-2.4-disable_modules_and_ssl.patch,
+  +files/python-2.4-gentoo_py_dontcompile.patch,
+  +files/python-2.4-mimetypes_apache.patch, files/python-updater,
+  +python-2.4.ebuild:
+  Version bump. bug# 68775
+
+  29 Dec 2004; Ciaran McCreesh <ciaranm@gentoo.org> :
+  Change encoding to UTF-8 for GLEP 31 compliance
+
+  06 Nov 2004; Joshua Kinard <kumba@gentoo.org> python-2.3.4.ebuild:
+  Marked stable on mips.
+
+  29 Oct 2004; Alastair Tse <liquidx@gentoo.org> files/python-updater:
+  improvements with tmp log creation with python-updater (#68843)
+
+  19 Oct 2004; Guy Martin <gmsoft@gentoo.org> python-2.3.4.ebuild:
+  Stable on hppa.
+
+  19 Oct 2004; Dylan Carlson <absinthe@gentoo.org> python-2.3.4.ebuild:
+  Stable on amd64.
+
+  19 Oct 2004; Alastair Tse <liquidx@gentoo.org> python-2.3.4.ebuild:
+  fix problem with tk-inter and USE flags handing (grumble)
+
+  18 Oct 2004; Mike Frysinger <vapier@gentoo.org> python-2.3.3-r1.ebuild,
+  python-2.3.4.ebuild:
+  Forward part from 2.3.3-r1 the removal of directories in /usr/lib/python
+  based upon USE flags.
+
+  17 Oct 2004; Jason Wever <weeve@gentoo.org> python-2.3.4.ebuild:
+  Stable on sparc.
+
+  24 Sep 2004; Alastair Tse <liquidx@gentoo.org> -python-2.2.2.ebuild,
+  python-2.3.3-r1.ebuild, python-2.3.3.ebuild, python-2.3.4.ebuild,
+  -python-2.3.4_rc1.ebuild:
+  adding workaround for -fstack-protector-all (#50309)
+
+  06 Sep 2004; Ciaran McCreesh <ciaranm@gentoo.org> python-2.3.3-r1.ebuild,
+  python-2.3.3.ebuild, python-2.3.4.ebuild, python-2.3.4_rc1.ebuild:
+  Switch to use epause and ebeep, bug #62950
+
+  31 Aug 2004; Guy Martin <gmsoft@gentoo.org> python-2.3.4.ebuild:
+  Removed useless -fPIC for hppa.
+
+  18 Aug 2004; Aron Griffis <agriffis@gentoo.org> python-2.3.4.ebuild:
+  stable on alpha
+
+  14 Aug 2004; Travis Tilley <lv@gentoo.org> +files/python-2.3.4-lib64.patch,
+  python-2.3.3-r1.ebuild, python-2.3.4.ebuild:
+  added logic for installing to /usr/lib64, triggered by the CONF_LIBDIR
+  variable. proper CONF_LIBDIR support will require portage 2.0.51_pre18, soon
+  to be released.
+
+  20 Jul 2004; Lars Weiler <pylon@gentoo.org> python-2.1.3-r1.ebuild:
+  Made python-2.1 stable on ppc as there are still some ebuilds which require
+  this version.
+
+  03 Jul 2004; Bryan Østergaard <kloeri@gentoo.org> python-2.3.3-r1.ebuild:
+  Stable on alpha.
+
+  03 Jul 2004; Grant Goodyear <g2boojum@gentoo.org> python-2.3.4.ebuild:
+  x86-obsd minor fix
+
+  01 Jul 2004; Jeremy Huddleston <eradicator@gentoo.org>
+  python-2.1.3-r1.ebuild, python-2.2.2.ebuild, python-2.2.3-r5.ebuild,
+  python-2.3.3-r1.ebuild, python-2.3.3.ebuild, python-2.3.4.ebuild,
+  python-2.3.4_rc1.ebuild:
+  virtual/glibc -> virtual/libc
+
+  25 Jun 2004; Aron Griffis <agriffis@gentoo.org> python-2.2.2.ebuild,
+  python-2.2.3-r5.ebuild, python-2.3.3-r1.ebuild, python-2.3.3.ebuild,
+  python-2.3.4.ebuild, python-2.3.4_rc1.ebuild:
+  QA - fix use invocation and a bug in the 2.3.4 ebuilds:
+  [ -z "use X" -o -z "use tcltk" ] doesn't do what you meant it to do
+
+  20 Jun 2004; Gustavo Zacarias <gustavoz@gentoo.org> python-2.3.3-r1.ebuild:
+  Sparc happy stable
+
+  15 Jun 2004; <solar@gentoo.org> python-2.3.3-r1.ebuild:
+  USE= cleanups and added uclibc
+
+  12 Jun 2004; Tom Gall <tgall@gentoo.org> python-2.3.3-r1.ebuild:
+  stable on ppc64, bug #53575
+
+  06 Jun 2004; Aron Griffis <agriffis@gentoo.org> python-2.2.3-r5.ebuild,
+  python-2.3.3-r1.ebuild, python-2.3.4.ebuild, python-2.3.4_rc1.ebuild:
+  Fix use invocation
+
+*python-2.3.4 (04 Jun 2004)
+
+  04 Jun 2004; Bryan Østergaard <kloeri@gentoo.org> +python-2.3.4.ebuild:
+  Bump version.
+
+  02 Jun 2004; Travis Tilley <lv@gentoo.org> python-2.3.3-r1.ebuild:
+  stable on amd64
+
+  30 May 2004; Guy Martin <gmsoft@gentoo.org> python-2.3.3-r1.ebuild:
+  Marked stable on hppa.
+
+  22 May 2004; Guy Martin <gmsoft@gentoo.org> python-2.3.3-r1.ebuild,
+  python-2.3.3.ebuild, python-2.3.4_rc1.ebuild:
+  Fix os.utime() on hppa. utimes it not supported but unfortunately reported as
+  working.
+
+*python-2.3.4_rc1 (15 May 2004)
+
+  15 May 2004; Joshua Kinard <kumba@gentoo.org> python-2.3.3-r1.ebuild,
+  python-2.3.4_rc1.ebuild:
+  Marking 2.3.3 stable on mips (someone yanked the ~mips keyword at some
+  point...), and 2.3.4 unstable.
+
+  27 Apr 2004; Michael McCabe <randy@gentoo.org> python-2.3.3-r1.ebuild:
+  Marked stable on s390
+
+*python-2.3.3-r1 (12 Apr 2004)
+
+  12 Apr 2004; Alastair Tse <liquidx@gentoo.org> python-2.3.3-r1.ebuild,
+  files/python-2.3-add_portage_search_path_take_2.patch:
+  add workaround for python-2.2 to python-2.3 upgrade possibly breaking older
+  portage versions. make /usr/lib/portage/pym appear before
+  /usr/lib/python*/site-packages in sys.path (not really critical, but better be
+  safe than sorry). also removed c++ support to reduce gcc/glibc upgrade pain
+
+  11 Mar 2004; Alastair Tse <liquidx@gentoo.org> python-2.2.1-r5.ebuild:
+  removing 2.2.1 from tree for security reasons (#44230)
+
+  09 Mar 2004; <agriffis@gentoo.org> python-2.3.3.ebuild:
+  stable on alpha and ia64
+
+  05 Mar 2004; Alastair Tse <liquidx@gentoo.org> python-2.3.3.ebuild:
+  added X useflag for greater tcltk seperation. now needs both X and tcltk USE
+  flags to enable tkinter support
+
+  03 Mar 2004; David Holm <dholm@gentoo.org> python-2.1.3-r1.ebuild:
+  Added to ~ppc.
+
+  27 Feb 2004; Alastair Tse <liquidx@gentoo.org> python-2.3.3.ebuild:
+  completely removed pkg_setup(), added note at the top of the ebuild where you
+  can't miss it.
+
+  27 Feb 2004; Jason Stubbs <jstubbs@gentoo.org> python-2.3.3.ebuild:
+  Removing portage version check again as it's preventing new installations.
+  Bug #43036
+
+  25 Feb 2004; Bryan Østergaard,,, <kloeri@gentoo.org> python-2.3.3.ebuild:
+  Reinstating portage version check as people keep upgrading python without
+  upgrading portage.
+
+  17 Feb 2004; Aron Griffis <agriffis@gentoo.org> python-2.1.3-r1.ebuild:
+  Fix duplicate KEYWORDS settings and mark stable on alpha and ia64 for the sake
+  of dev-python/PyXML-py21
+
+  17 Feb 2004; Aron Griffis <agriffis@gentoo.org> python-2.1.3-r1.ebuild:
+  add ~alpha for the sake of dev-python/Imaging-py21
+
+  10 Feb 2004; Bartosch Pixa <darkspecter@gentoo.org> python-2.3.3.ebuild:
+  set ppc in keywords
+
+  10 Feb 2004; Alastair Tse <liquidx@gentoo.org> python-2.3.3.ebuild,
+  files/python-2.3-db4.2.patch:
+  add fix to make python-2.3.3 db-4.2 (gentoo flavour) aware
+
+  06 Feb 2004; <gustavoz@gentoo.org> python-2.3.3.ebuild:
+  Stable on sparc
+
+  03 Feb 2004; Guy Martin <gmsoft@gentoo.org> python-2.3.3.ebuild :
+  Marked stable on hppa.
+
+  02 Feb 2004; Alastair Tse <liquidx@gentoo.org> files/depreorder.py:
+  update python-updater thanks to a well spotted mistake by Chris Bainbridge
+  <chrb@dcs.ed.ac.uk> (#40198)
+
+  27 Jan 2004; Alastair Tse <liquidx@gentoo.org> python-2.3.3.ebuild:
+  disabling pkg_setup again after testing with stage2
+
+  26 Jan 2004; Alastair Tse <liquidx@gentoo.org> python-2.3.3.ebuild:
+  re-instating pkg_setup() warning/abort message. added apache mime.types to
+  mime type search list. modified to use tar.bz2 (saves 1MB of downloads)
+
+  24 Jan 2004; Guy Martin <gmsoft@gentoo.org> python-2.3.3.ebuild:
+  Added ~hppa to KEYWORDS.
+
+  24 Jan 2004; <gustavoz@gentoo.org> python-2.3.3.ebuild:
+  keyworded ~sparc
+
+  24 Jan 2004; Alastair Tse <liquidx@gentoo.org> python-2.3.3.ebuild:
+  add missing doc IUSE (#39232)
+
+  22 Jan 2004; Alastair Tse <liquidx@gentoo.org> python-2.3.3.ebuild,
+  files/depreorder.py:
+  updated python-updater for portage-2.0.50, installed python-updater in
+  /usr/sbin for convienence
+
+  19 Jan 2004; Alastair Tse <liquidx@gentoo.org> python-2.3.2-r2.ebuild,
+  python-2.3.3.ebuild:
+  disable portage check because stable portage already is compatible with
+  python-2.3
+
+  18 Jan 2004; Alastair Tse <liquidx@gentoo.org> python-2.3.3.ebuild:
+  make ROOT var more robust during postinst()
+
+  12 Jan 2004; Luca Barbato <lu_zero@gentoo.org> python-2.2.3-r5.ebuild:
+  Marked ppc
+
+  06 Jan 2004; Aron Griffis <agriffis@gentoo.org> python-2.2.3-r5.ebuild:
+  Stable on ia64 to enable fix for bug 36954; portage-2.0.49-r20 depends on
+  this revision.
+
+  03 Jan 2004; Jason Wever <weeve@gentoo.org> python-2.2.3-r5.ebuild:
+  Marked stable on sparc as portage-2.0.49-r20 really depends on this version of
+  python rather than what the portage ebuild says. Fixes bug #36954 on sparc.
+
+*python-2.3.3 (03 Jan 2004)
+
+  03 Jan 2004; Alastair Tse <liquidx@gentoo.org> python-2.3.2-r2.ebuild,
+  python-2.3.3.ebuild, files/python-2.3.2-disable_modules_and_ssl.patch:
+  version bump to 2.3.3, re-add python disable_modules_and_ssl patch and changed
+  ebuild to build 'socket' module under USE=build
+
+  28 Dec 2003; Joshua Kinard <kumba@gentoo.org> python-2.2.3-r5.ebuild:
+  Move to mips stable (~mips -> mips)
+
+  24 Dec 2003; Sven Blumenstein <bazik@gentoo.org> python-2.3.2-r2.ebuild,
+  files/python-2.3.2-disable_modules_and_ssl.patch:
+  Removed python-2.3.2-disable_modules_and_ssl.patch as
+  it broke python and caused 'ImportError: No module named _socket'.
+  More info: http://article.gmane.org/gmane.linux.gentoo.devel/14621
+
+  14 Dec 2003; Guy Martin <gmsoft@gentoo.org> python-2.2.3-r5.ebuild:
+  Marked stable on hppa.
+
+  13 Dec 2003; Alastair Tse <liquidx@gentoo.org> python-2.3.2-r2.ebuild:
+  clarified warning to prevent more bug reports
+
+  13 Dec 2003; Luca Barbato <lu_zero@gentoo.org> python-2.3.2-r2.ebuild:
+  Marked ~ppc
+
+  08 Dec 2003; Alastair Tse <liquidx@gentoo.org> python-2.2.3-r5.ebuild,
+  python-2.3.2-r2.ebuild:
+  fix python .pyc .pyo cleaning code
+
+  03 Dec 2003; Aron Griffis <agriffis@gentoo.org> python-2.2.3-r5.ebuild:
+  Stable on alpha
+
+  27 Nov 2003; Daniel Ahlberg <aliz@gentoo.org> python-2.2.3-r5.ebuild:
+  Make -fPIC compilation available for all platforms and not just amd64.
+
+  25 Nov 2003; Brad House <brad_mssw@gentoo.org> python-2.2.3-r5.ebuild:
+  mark stable on amd64
+
+  23 Nov 2003; Alastair Tse <liquidx@gentoo.org> python-2.3.2-r2.ebuild:
+  add pkg_setup() to 2.3 as a temporary measure to stop people messing up their
+  own system. Also added a ucs2 local useflag just in case someone complains
+  loudly and knows what they're doing
+
+*python-2.3.2-r2 (22 Nov 2003)
+
+  22 Nov 2003; Alastair Tse <liquidx@gentoo.org> python-2.3.2-r2.ebuild,
+  files/python-updater:
+  ucs4 is now default. if you previously had python-2.3 merged, you'll need to
+  update your packages again. (sorry, that is the price for running p.mask'ed
+  versions). to update your python packages if you had python-2.3 installed,
+  run :
+
+  /usr/portage/dev-lang/python/files/python-updater -o 2.3
+
+  if you are upgrading from python-2.2, then you will need to run:
+
+  /usr/portage/dev-lang/python/files/python-updater
+
+  python-updater script also modified to have more robust command-line
+  parsing. hopefully this will be the last revision till we can go ~x86.
+
+  13 Nov 2003; Alastair Tse <liquidx@gentoo.org> python-2.3.2-r1.ebuild:
+  fix python-config install for python-2.3
+
+  12 Nov 2003; Alastair Tse <liquidx@gentoo.org> python-2.2.2-r1.ebuild,
+  python-2.2.3-r2.ebuild, python-2.2.3-r3.ebuild, python-2.2.3-r4.ebuild,
+  python-2.3.2-r1.ebuild, python-2.3.2.ebuild, files/python-updater:
+  cleanup and add warning on python-updated or PORTDIR is not set
+
+  12 Nov 2003; Daniel Ahlberg <aliz@gentoo.org> python-2.2.3-r5.ebuild :
+  Add a patch that adds CFLAGSFORSHARED variable to some extra modules defined in the Makefile.
+  This variable could hold -fPIC so that the compiled libraries will work on amd64 (and maybe others)
+  without using append-flags -fPIC.
+
+  03 Nov 2003; Alastair Tse <liquidx@gentoo.org> python-2.2.3-r5.ebuild,
+  python-2.3.2-r1.ebuild:
+  added ncurses and ssl to IUSE
+
+  03 Nov 2003; Alastair Tse <liquidx@gentoo.org> python-2.2.3-r5.ebuild:
+  export environment in src_install()
+
+  01 Nov 2003; Alastair Tse <liquidx@gentoo.org> python-2.2.3-r5.ebuild,
+  python-2.3.2-r1.ebuild, files/python-2.2.3-disable_modules_and_ssl.patch,
+  files/python-2.3.2-disable_modules_and_ssl.patch:
+  reordered deps to allow minimal python build for USE='build'. makes python
+  respect useflags explicitly even if the dependency exists. added support to
+  disable SSL. tweaked python_mod_optimize.
+
+*python-2.2.3-r5 (27 Oct 2003)
+
+  27 Oct 2003; Alastair Tse <liquidx@gentoo.org> python-2.2.3-r5.ebuild,
+  files/python-2.2.3-db4.patch:
+  rev bump. fixes to idle.py and bsddb with db-4.1 for 2.2.3
+
+  26 Oct 2003; Rob Cakebread <pythonhead@gentoo.org> python-2.2.3-r4.ebuild:
+  Fixed symlink to idle.py
+
+*python-2.2.3-r4 (22 Oct 2003)
+
+  22 Oct 2003; Alastair Tse <liquidx@gentoo.org> python-2.2.3-r4.ebuild,
+  files/python-2.2.3-gentoo_py_dontcompile.patch:
+  Fixed PYTHON_DONTCOMPILE patch for 2.2.3 thanks to TGL
+  <degrenier@easyconnect.fr> (#31730)
+
+*python-2.2.3-r3 (17 Oct 2003)
+
+  17 Oct 2003; Alastair Tse <liquidx@gentoo.org> python-2.2.3-r3.ebuild,
+  files/python-2.2.3-db4.patch,
+  files/python-2.2.3-gentoo_py_dontcompile.patch, files/python-updater:
+  Add support for db-4.1, fixes for ewarn hanging for python-updater
+
+  14 Oct 2003; Alastair Tse <liquidx@gentoo.org> python-2.2.3-r3.ebuild:
+  new 2.2.3 version that adds PYTHON_DONTCOMPILE support
+
+  10 Oct 2003; Alastair Tse <liquidx@gentoo.org> files/python-updater:
+  fix typo in python-updater
+
+  09 Oct 2003; Alastair Tse <liquidx@gentoo.org> python-2.3.2-r1.ebuild,
+  files/depreorder.py, files/python-2.2.3-gentoo_py_dontcompile.patch,
+  files/python-updater:
+  improved byte-compiling, fixed out-of-order python-updater and added
+  sys-apps/portage to exclusions
+
+  09 Oct 2003; <tuxus@gentoo.org> python-2.2.3-r1.ebuild:
+  stable on mips
+
+*python-2.3.2-r1 (08 Oct 2003)
+
+  08 Oct 2003; Alastair Tse <liquidx@gentoo.org> python-2.3.2-r1.ebuild,
+  files/python-2.3-gentoo_py_dontcompile.patch:
+  add patch to stop automatic generation of .pyc and .pyo by setting
+  PYTHON_DONTCOMPILE in your environment. also moved to use the new python
+  eclass to automatically optimize and cleanup compiled modules.
+
+*python-2.3.2 (07 Oct 2003)
+
+  07 Oct 2003; Alastair Tse <liquidx@gentoo.org> python-2.2.3-r2.ebuild,
+  python-2.3.2.ebuild, files/python-2.2.3-db4.patch,
+  files/python-2.3-add_portage_search_path.patch, files/python-config-2.3,
+  files/python-updater:
+  it has been a long time coming, but finally there's a 2.3.x release in portage
+  along with a python-2.2.3 update that should fix some niggling issues and also
+  uses the new alternative class. 2.3.2 is still masked and should stay that way
+  until we can confirm the rebuilding script works.
+
+  03 Oct 2003; Alexander Gabert <pappy@gentoo.org> python-2.2.3-r1.ebuild:
+  filter-flags because of segfaulting with fstackprotector in CFLAGS
+
+  23 Sep 2003; Bartosch Pixa <darkspecter@gentoo.org> python-2.2.3-r1.ebuild:
+  set ppc in keywords
+
+  17 Sep 2003; Jon Portnoy <avenj@gentoo.org> python-2.2.3-r1.ebuild :
+  ia64 keywords.
+
+  16 Jul 2003; Alastair Tse <liquidx@gentoo.org> python-2.2.3-r1.ebuild,
+  python-2.2.3.ebuild:
+  marked 2.2.3 stable for x86
+
+  13 Jul 2003; Alastair Tse <liquidx@gentoo.org> python-2.2.3-r1.ebuild:
+  add doc useflag to install python documentation. (#24318)
+
+*python-2.2.3-r1 (03 Jul 2003)
+
+  23 Jul 2003; Guy Martin <gmsoft@gentoo.org> python-2.2.3-r1.ebuild :
+  Marked stable on hppa.
+
+  03 Jul 2003; Alastair Tse <liquidx@gentoo.org> metadata.xml,
+  python-2.2.3-r1.ebuild:
+  added db4 support and enabled threads (pthread) support
+
+*python-2.2.3 (02 Jun 2003)
+
+  06 Jul 2003; Joshua Kinard <kumba@gentoo.org> python-2.2.3.ebuild:
+  Changed ~mips to mips in KEYWORDS
+
+  01 Jul 2003; Todd Sunderlin <todd@gentoo.org> python-2.2.3.ebuild:
+  set stable on sparc
+
+  02 Jun 2003; Alastair Tse <liquidx@gentoo.org> python-2.2.2-r1.ebuild,
+  python-2.2.3.ebuild, files/python-config-2.2:
+  version bump to new bugfix release. fixed python-config location for unstable
+  versions
+
+*python-2.2.2-r1 (08 May 2003)
+
+  08 May 2003; Alastair Tse <liquidx@gentoo.org> python-2.2.2-r1.ebuild,
+  files/python-2.2.2-tk-8.4.x.patch:
+  backported patch to fix tk-8.4.x problems (#20318)
+
+  23 Feb 2003; Guy Martin <gmsoft@gentoo.org> python-2.2.2.ebuild :
+  Added -fPIC to CFLAGS on hppa. It's needed by apps linking to some python libs.
+
+  21 Feb 2003; Zach Welch <zwelch@gentoo.org> python-2.2.2.ebuild :
+  Added arm to keywords.
+
+  07 Feb 2003; Guy Martin <gmsoft@gentoo.org> python-2.2.2.ebuild :
+  Added hppa to keywords.
+
+  06 Dec 2002; Rodney Rees <manson@gentoo.org> : changed sparc ~sparc keywords
+
+  29 Nov 2002; Dan Armak <danarmak@gentoo.org> ChangeLog  :
+
+  Added missing python-config for 2.2.2.
+
+*python-2.2.2 (20 Oct 2002)
+
+  07 Jan 2003; Jan Seidel <tuxus@gentoo.org> python-2.2.2.ebuild :
+  Added mips to keywords
+
+  20 Oct 2002; Jon Nelson <jnelson@gentoo.org> :
+  2.2.2 is released
+
+*python-2.2.1-r5 (03 Oct 2002)
+
+  15 Oct 2002; Martin Schlemmer <azarah@gentoo.org> :
+  Fix the sed on /usr/lib/python<ver>/config/Makefile to change
+  OPT to 'OPT = -DNDEBUG', and not 'OPT = -NDEBUG' which caused
+  gcc warnings.
+
+  03 Oct 2002; Daniel Ahlberg <aliz@gentoo.org> :
+  Security update.
+
+*python-2.2.1-r4 (7 Sep 2002)
+  7 Sep 2002; Nicholas Jones <carpaski@gentoo.org> python-2.2.1-r4.ebuild
+  Fix for bug #7641 -- Fixes the OPT flags in Makefile so that gcc
+  isn't confused by conflicting build types of i386 and user set.
+
+*python-2.2.1-r3 (2 Sep 2002)
+  2 Sep 2002; Jon Nelson <jnelson@gentoo.org> python-2.2.1-r3.ebuild
+  Filter -malign-double from flags
+
+*python-2.1.3-r1 (2 Jul 2002)
+
+  20 Jul 2002; Doug Goldstein <cardoe@gentoo.org> python-2.1.3-r1.ebuild
+  Added missing KEYWORDS
+
+  2 Jul 2002; Jon Nelson <jnelson@gentoo.org> python-2.1.3-r1.ebuild:
+  Fix Makefile.pre.in install (the one we want is located in Misc)
+
+*python-2.1.3 (1 Jul 2002)
+
+  20 Jul 2002; Doug Goldstein <cardoe@gentoo.org> python-2.1.3.ebuild
+  Added missing KEYWORDS
+
+  1 Jul 2002; Jon Nelson <jnelson@gentoo.org>: python-2.1.3.ebuild
+  This is a python 2.1.3 ebuild that does *not* conflict with
+  python 2.2.*
+  Note that 99.9% of the people out there won't use it anyway,
+  because 2.2 will always be selected as most recent. ;-)
+
+*python-2.2.1-r2 (1 Jul 2002)
+
+  20 Jul 2002; Doug Goldstein <cardoe@gentoo.org>: python-2.2.1-r2.ebuild
+  Added missing KEYWORDS
+
+  30 Jun 2002; Jon Nelson <jnelson@gentoo.org>: python-2.2.1-r2.ebuild
+  Add "-lm" to the python-config script. Closes bug #4217.
+  2.2.1-r2 has a 100% identical ebuild file to 2.2.1-r1, just the
+  python-config file has changed.
+
+*python-2.2.1-r1 (29 May 2002)
+
+  20 Jul 2002; Doug Goldstein <cardoe@gentoo.org>: python-2.2.1-r1.ebuild
+  Added missing KEYWORDS
+
+  29 May 2002; Jon Nelson <jnelson@gentoo.org>: python-2.2.1-r1.ebuild
+  Add expat to build depends (except during bootstrap), use econf
+  and emake, and don't mess with Modules/Setup.local because modules
+  are build as shared on Linux as default.
+
+*python-2.2.1 (2 May 2002)
+
+  20 Jul 2002; Doug Goldstein <cardoe@gentoo.org>: python-2.2.1.ebuild
+  Added missing KEYWORDS
+
+  2 May 2002; Jon Nelson <jnelson@gentoo.org>: python-2.2.1.ebuild
+  Update to 2.2.1, and completely re-vamp build procedure
+  This should solve several build issues.
+
+*python-2.2-r7 (29 Apr 2002)
+
+  29 Apr 2002; Daniel Robbins <drobbins@gentoo.org>: New rev to fix bug #2199;
+  python-config should now work properly.
+
+*python-2.2-r6 (24 Apr 2002)
+
+  24 Apr 2002; Jon Nelson <jnelson@gentoo.org> python-2.2-r6.ebuild : Make
+  python build with shared modules.  Depends on python-fchksum, as fchksum *no
+  longer built in*
+
+*python-2.2-r5 (8 Apr 2002)
+
+  8 Apr 2002; Jared H. Hudson <jhhudso@gentoo.org> python-2.2-r5.ebuild :
+
+  Added include flag for compilation of tcltk with python to compile
+  correctly.
+
+  --------
+
+  06 Apr 2002; Daniel Robbins <drobbins@gentoo.org> : the 2.2-r4 ebuild now
+  disables C++ support if we are creating a new build image (since we have no
+  C++ in that case).
+
+  30 Mar 2002; Daniel Robbins <drobbins@gentoo.org> : changed PROVIDE from
+  virtual/python-2.2 to virtual/python.  No rev bump.
+
+*python-2.2-r4 (1 Feb 2002)
+
+  1 Feb 2002; G.Bevin <gbevin@gentoo.org> ChangeLog :
+
+  Added initial ChangeLog which should be updated whenever the package is
+  updated in any way. This changelog is targetted to users. This means that the
+  comments should well explained and written in clean English. The details about
+  writing correct changelogs are explained in the skel.ChangeLog file which you
+  can find in the root directory of the portage repository.

diff --git a/dev-lang/python/Manifest b/dev-lang/python/Manifest
new file mode 100644
index 0000000..01e8f80
--- /dev/null
+++ b/dev-lang/python/Manifest
@@ -0,0 +1,46 @@
+AUX CVE-2013-4238_py27.patch 11591 SHA256 050cc2d4b9d588f2587010a30819591e02130fde90594782993a39c945c1559b SHA512 f9b1d0573bc7175b8fe6bdd8b6777a376cd717a594a14a6ddb334e0107596b0fbfbfe8a0c1743a0da54ce8ac8905cb7385aa2ae26698272f679763542c13e7e2 WHIRLPOOL bbf89edb2e3620aae3f54e80feba98d75fa566594b2e71e88b75c22036201a2692a77daf56080f4413612edf159f4282f5494a0a5dd11b350bcde248ef51f139
+AUX CVE-2013-4238_py33.patch 11437 SHA256 e4f78490fc247df9d1133dc9f2deec47b1c582c4af1c8e93bd503d889c9eb716 SHA512 d1f1b64c46056f178b89abfe61c7c653afc0ed67cf9a8ef8c981d1cf6a1c389cb20bd354cac3a30c1241e6fe24a49e165527571276c1f8afb55989f5f069ba00 WHIRLPOOL e5889b6be0a2db7ec45ff8cbe9fa8481c6c69b25091b62635d2ff595ef5d0b1136485f7adb04f4c0c97402edfd9d915d4fd05e2b6bf1942497d81de1b1cefdce
+AUX pydoc.conf 279 SHA256 6437e85d16d34efaf2665b3cabb0707392e6dee3df04989d3fcac63fd22997e8 SHA512 2d552b6262fa4c7cd75f45d93b8a2657eb9154decbc08f9b73d2e67e1d84367b498f8556fbba20f7b57414281cfd673fff607da3c688c1d6bb9842e92cf0c32a WHIRLPOOL 1ba44797765939d7c0bcbecb08cb6201eeff9b134d4d3caef9339729dcad9f258e20b16db5f369f49b378df3c91e530115dbce5ce3595d71cd325a48793ac814
+AUX pydoc.init 711 SHA256 bf42ce358c4505bb9c9923758cf7c237113b5465778fe8d0d9781625586003fd SHA512 328597e0f7594dcc1d929dcf15feb39e08a0f85067b226140219c03c2f0a0a5fa9518f26d52723aeb77e36eb5e46d54b5ee4ddbcfc52aa81540a738c49c03b73 WHIRLPOOL 846c7d90fc4b7b74d65c6019ea8e7c9f0d2efb0b6cad5b91d53b5b7bda509f3b625fb30eb27ea59cacf6233378d800c35375108762ba82fb4c2155f2dbf08f13
+AUX python-2.7-issue16248.patch 735 SHA256 ed137a0ab513e6d9c910e37f637aef2d58fb730070e447572f39d46d9cc99568 SHA512 da00f8571741d4cfb529b9db875b5d831d5d8e43fdc464bc43adee046f208165ab6b13d671bc90be988b1099afeac4fc0e7ba7fa473ff74a9ec7731da89e11a9 WHIRLPOOL ad770b848666efb5cc3b8c07a530f2a9aaca683f4b447c2d835e39be59a5dde35a28ab8cdb278ecf456e15e57b7401ff83fb04ac71bd8d80abc19d45beb84d62
+AUX python-2.7-issue18851.patch 11805 SHA256 4ecff8db20cdc4d9b0692a126859c318a9ba20bf1eff6e633c964871b2410d66 SHA512 b1eeec1451d011f37c65676819bf8391b9657d93a0b9f03d0db09956ef052fa3f2d922d1d5fc3c69567f549aa86f65a06670dcf3ead8300c0ac97651f9a503cd WHIRLPOOL b4b51d590175959df1f8373ff86343618b4474ea9afc2ef9360c680c986f30fa8f432eeb076de676cb87052cc6453a2b613dfaab51ab1ec5945a7c7c496a4f9f
+AUX python-2.7.5-library-path.patch 991 SHA256 ff7a4a1846ebcadc2dbf979ea619072caac22e47909fe188fc4b6becce6ea2eb SHA512 74916d541eb38c526dc1243fe5e5a9de3a7875f02c53e5f49e60182ba042de2f15514364e7fbd821146dcf92db2bba88d8a9f46d4c71237b73fd39cbabf93d85 WHIRLPOOL 62bb1c85941ccaac7ca6f6fb2d93dc27f206cf9f815b90ef1f89748dfdd1d38deda9f6bf7eb2ce9fd8635d1a77576819192e8049ec5de52fdeb9f981dfb32f9f
+AUX python-2.7.5-nonfatal-compileall.patch 750 SHA256 3f5a137602f1b3f0522f561c168a740f0080b29c2c888cb3a8dbbcc4407c2d9e SHA512 d2e93e2a6fcd55d516df0ddaca31af97faed677ea6b4be282eb99e7864f8a7399b5ca11139844a4b3c264832183483b0f4c8c9865c05de0e8520e6d2c8f1dbc6 WHIRLPOOL ab576e3a4e67f881d6d5c705503230ace125fe94d907d7f69bb573dd492070b8b34078a2b1205f315eb45244fbae8855c0f15ce35158f1d356f1bd4acf83b3c2
+AUX python-2.7.5-re_unsigned_ptrdiff.patch 941 SHA256 5b0c0465a23d27e1c8f0961a8d88b3af75fbc9933ab60c2a71091720a3681079 SHA512 d46fbbc8411fae78cdfca2564faca42f32bb95ee348b9aa3fd1ca90b346cc52cd468945cee07e6df4dff46c10cee6856a58004f8e453960f6dca2751c077802b WHIRLPOOL 10bb08242dd9a055f6bdaf3eb1546786b58f180667c6355ea7276114cbac0ffba6c34822add7965fe3b5d41cc92ce8ec45e2d1d56377d8a6aa2755ef4267d101
+AUX python-2.7.5-runtime-prefix.patch 949 SHA256 56e91a1d5c9693af9572782ee22fc4176c7ebd8d34b6ee6c8ff1d73ef0bf9bb2 SHA512 82030c641e8f11ceaf062ab591f2dd9ad40e71a57351b491be34004cdc0d080ce5d25fb0d0050509fc8a4c4cdd44105288cea012f2b5693169264e0c52ba938d WHIRLPOOL 82b4b785b556024b3271fcc5738eef0ecd4e8568de315232407d102bc6336c05169b881464bcd744f7bef480ba15f07cf5de8edf6c33a6b5ed449d37ca46e38a
+AUX python-2.7.6-recvfrom_into_buffer_overflow.patch 563 SHA256 bdf280058fe31b6e9d08a32e4ce16e958e3dddeed515417a03b25e5ec62d41b4 SHA512 21b534e41ce1cd1bf954849f4246ef0ae907ba7335b42ccfc914cc33068db91140dc1fea0f1b8a83818609e7f5a5f5df6623f029c2c86004f2126eb3f2699c06 WHIRLPOOL 2ffe173be651aae7d43ad8ee75600133ea96952431140c7c00e0ca6ad431d3faa230207f93f1191bfd3bcdf7b0c9af61948871b06158e6953106d7f2d0c7e9f5
+AUX python-3.2-CVE-2013-2099.patch 2102 SHA256 76a89951e7efcf14d37e30e0104446429ca121c68cbb1753ec362a177c1b5a54 SHA512 03d2a09fe730bf8c94df1eb10f8bac37a31a28dfb45b7d49abe1c3ffe26ca948f8d00eb58319d34102f8a747a038d447d3507b11c051c778c42ae21ac1066c8e WHIRLPOOL 3cd701c606ef1f4f557d1d250af41a860a6a5c4b6d9ff9a9f469ab6974f13e1205d2c4c791e9bd353fd4ff726f6cbf979f9a3927b83b04af5128c1aea7070496
+AUX python-3.2-CVE-2014-1912.patch 1635 SHA256 044a5857f54f1c6adfc8e3018cbcc5230ca21bc8efaf6b68f95fc47560ed13aa SHA512 afca87c0491087715f54bac777c15be426dbf3cf079859bc8559b4f4bab520e0835976221d16073b14b2fa584c0260a565307bea039f345fa5c7e3e1f9396228 WHIRLPOOL 97c08598f7cbaa28fa83819c9b9423ec218363c18781afc8ab98a3e9847459e59ae35d567b1f775eca7bc1ec53b17c656203ea6e332559607c507ec958eb8291
+AUX python-3.2-CVE-2014-4616.patch 1515 SHA256 8d971bca441c3b17cf7c2a1ee2391059de472d8a10ec4060af23bae65ffddf8c SHA512 fff6cdbde476a5804184fad6615dab3577c2e81bf2dc8f2276ad02d213239e6f47a642e9c8270de352e7123fcd712a1b0073d85146c9bee59d9b6644f5a2cb3f WHIRLPOOL 4894fd9f33a01d4aae477cc558f790ad792f02965ca841b4fb1119711ff4254bd19bac3f67872ae3fc761c677ec078b6c156d71ba036cc91fdbfe32b43044cfc
+AUX python-3.2-issue16248.patch 738 SHA256 b5e94ead2622f355d733232dcfdac4dab53889aab12980fa1e4496c296191e77 SHA512 6fcf3d4cf05e41758a6d51ad9cc25ce9fcd1d33854f096b599811a07ef6b7f0cc4f178c4db6b15c5c9ee86eb53fcc736fede0dfb4eae81ca429d0fad62d84db9 WHIRLPOOL dd620bdce394a74910f4deed50b8bcd2b5d6b61af1e2e225a7c36fe4f293560fe1237a2111a4a4a334dfd1272fa4b7faf6289b2a018864c4f154c8a8a8b85c5c
+AUX python-3.3-CVE-2013-2099.patch 2102 SHA256 d5ccc8de43a176d9d16c3a7be58d32dcf3c952147d8866f84dffcd8fa66f6396 SHA512 a8e2c8fd3d3c3924acb856e89b6dc6965c887688e4c7d078c27abacfaf6b33b12484d86942b75643f28e4a14a465e2ec6a30fe53acf2ab036ae667fb7f76d737 WHIRLPOOL c02bd815d5143b6a916a91f40bb7971f1be188e836ab6095a5befd6410545acba0d44b4b0a75a5f7e7d84105018c0ef27887eefdcd883c73e68f872bb4138e35
+AUX python-3.3-CVE-2014-4616.patch 1896 SHA256 50262c507dff44a2ec928281251882aa7c192954713f5a29def8eee7cc29d3d0 SHA512 98d7929d7b6dd88de511690776bf6cabfb5a2d21f89cd21573aba39cb03156666ce0404bd9e380c8193a28cf73d386a6b56c71f90ff3b66da48689953dea997b WHIRLPOOL 5debc17107a9d15a36bc73ef8c68f6f9c89ba060191f6d310709852a2cb01d9b4143c40cd0ce0a3df1b02ace8afe865122bd10dab38aafc1d1ec1e1c2c1b7331
+AUX python-config-2.4-r1 1624 SHA256 923a9e896f99cca5aa4ccbb02f981c6e26a2b1aa42326de2359d3c884bde2a9f SHA512 f8a0e12bed93385b3dddfa64a416ff4a560ec1b12c6c4a0dd715a2c804a43b6a292f0fe13e28d7828d4c4d620cde9dd7eab6a3423216786917ea6f51856ff53c WHIRLPOOL f2fe759b05ac0eb3b8dd196b0c68b8b8e0145ab79659eb4a45adee1bf7ae7260f457ae6192b9792990babd59cb98cceec05a8d93a50a3203517fe49ec30f5e0e
+DIST Python-2.7.5.tar.xz 10252148 SHA256 f33c4cab167dc69e10962e1cebf1c0768e2d0e8575648130c20e6bda84551db1 SHA512 c4691199d770cc4130604cd801375967ae0bb8a39ef34e01a4c8ab58d1c23ae83a1b493305178c4317c5622a19857750d33ffc3f10075becd5766ae664c68ee1 WHIRLPOOL fc5d3762cd67214b30de8b43024f5952362c4c811f23837e43ac2a7747c5353cc49b8785e75edd760ea58420609cd67a9a7e94abd2ea8ab25b3271af6a85168d
+DIST Python-2.7.7.tar.xz 10496500 SHA256 2983e3cd089b30c50e2b2234f07c2ac4fb8a5df230ab8f2e1133a1d8b208da78 SHA512 ea2101feeb41da953b078b93977bd320a937f4047d074fbed568c7c73b1dfe433a66f7f14009ad7160862694a1b378e61f688831b655dcab8a8825e0d1a9acff WHIRLPOOL c3e8862ca2e66a18755adecca98cf59a56d667238671b10810e056cc27fcc099f94126064c93bf30e9941dbf5cdde67114cead527111b8c73244cd707b5cadd3
+DIST Python-2.7.8.tar.xz 10525244 SHA256 edde10a0cb7d14e2735e682882d5b287028d1485c456758154c19573db68075a SHA512 0a992e34b6b704f028f5178c0404f8ca5fd9a7ab9da1879a20f0c72ffa712dc4925e45eb78e9368d6a17ee618259fc3f078d71766b314a732a1a28e526511a5e WHIRLPOOL 81ee40be85a8713dcc91e64c7faaf7605c43dc28f97b410b88411bbf7d4adbdf48a3e4bfa18c039c1da8695160a98ebb57e144c3198abec2b12398d80ece2971
+DIST Python-3.2.5.tar.xz 9221624 SHA256 8ccb9645b9779fc4550055b2ebb21a724ab7a63dee45643286eb4f79b2f84116 SHA512 6e71d01695c7b1e74d9781e4ac40a8d1560cae659d5351d392fc685b84316568d93740a99d2ed878dd87d4ce1708d0474cb01c6bad7b3dab610c639f3255b09d WHIRLPOOL d5e5fae5e1d4110861e1e1dac00c9812abbbc37205e8ce3cd268535ab9f66e24038ab4778af8bb834fd472eaa0281730f1f2fabdf6dffc4f6b54ef32c1d75953
+DIST Python-3.3.5.tar.xz 12116308 SHA256 abe99b484434503d8b23be0f243ec27139e743a4798cd71c1dce3cf40e63b6e5 SHA512 562ebd85291f29ff18d37f05682763fc45aa9d070688006f4ef5c89392a48022357c3ca9ee1d795e9e863bdef413e6bab77b8d65581d374a76dbe7cacec65550 WHIRLPOOL f4b6010d32b28b7bb038cbb7c5f98d325cc4253fd1be9a0a1089ed6fd7dd414c5169931d21ef819137d5c1084517a650828f260cf2a1d8ce871bc67aeef3fff8
+DIST Python-3.4.0.tar.xz 14084912 SHA256 f13686c0a2d45e7146759e9d5d1cbd8097a0606483c0cf7730e1e13f58b14cbe SHA512 4fd4d3352e3b64ef8017ba083a2d894b99e89882581bcf30cdb218578f0f384aa6efc89211ffe44f5bb3d783c79763e26823242d27382fd05900099dd966ca31 WHIRLPOOL 82a1bb14a7683e2bce32221792923f334b61fabc75b0b293b0ecc0d810c8a4bebf05b75a061d85dd6612a8ca699c9b4f358e2aef5d14706aad1c18f42c9b8d55
+DIST Python-3.4.1.tar.xz 14125788 SHA256 c595a163104399041fcbe1c5c04db4c1da94f917b82ce89e8944c8edff7aedc4 SHA512 09b6390c07334974f189fb1c90bc2310898aef76661b1cecaa2b4d50001fa3df0fa0c63d3471a5a0dc7f9e08dd559d38d3bc45a6c05a816d8b2ed6b2a20e5fa9 WHIRLPOOL c8f879bb5d42a759b0804aa58d90330d9be6f4c29652ec40f07ca7da31510eadbd6b4eceb2b213af9a1af031c8321fc25faccae77763a31814eb0569831b8bfd
+DIST Python-3.4.2.tar.xz 14223804 SHA256 1c6d9682d145c056537e477bbfa060ce727f9edd38df1827e0f970dcf04b2def SHA512 12de5309cfaf91f5292efd660b5abe31581b902fdcc302317b597ffa74c9f5ec14ec1dd55994bcccd50d40473ae344ae19bf917ccfb8ab4906c8777d6ea95b17 WHIRLPOOL 358a2ca605676a7b6decf7cc9edfcf5edd6e15eb7b08e48fbf5f78422d3470a1233830867e3986a6bd564e105726298d3664ad04b90a233f90a46d6b81d8d60f
+DIST python-gentoo-patches-2.7.5-0.tar.xz 13848 SHA256 b84ff6a7669d639272cb2f94d4268d3be3af64903a380f4f60ab539e4a29b111 SHA512 9fec0ba9d958894861d4282ff9145f0387ad7fd3914a3689d148308f56158c1b397f0816c58383d2cf198f9a3b9bf321f2f441ec4aa91e4a503cd957b4a7fbd4 WHIRLPOOL 39d807453f6510f14db1b74f5dac1cd2c52d00be356d132c0f9229caeb8ba8bcbbbf32b05b3d3f6236e853b204ecb961e6b12cabacaadf5f515e93f00cda71d5
+DIST python-gentoo-patches-2.7.7-0.tar.xz 13664 SHA256 80e683fc95b709beca1fda13d72851696d158e97f30cfa692f513eba73876d26 SHA512 66cb9937c64a605f6280fee62ebc4c18b7089905b2d2382f310725ce74c446a2d7b1a783c20ad36b02f8e740ac177064f59fd887f1ede428d46d90491e946c2f WHIRLPOOL 0a7615309bd94012cc28d68ee8dfa75bd1e96d67ffe93194e4c9ff7ed4239d5b17078f961c35d4220ea8ff46ebb28db34af19079712f680e8e69ffeb097db165
+DIST python-gentoo-patches-2.7.8-0.tar.xz 14016 SHA256 22ca5eab8e1702f220c272c57359f547b753b88d59b53ab95c7985c17f4f90ec SHA512 17020c8a2039cc073c973e213e77dc67ad9ed4ae7f5fafb931933943aa745733309c46e3972bfde85d112cdef6d47aa91868a614db08bb135c29051999c3df4e WHIRLPOOL 96f0e5c7329cc886d979ec782ffd3c63461f49ba112f0d95e5528d7f15048170cd4e52b78cb4100839d509ef28b927bf7a0f1a610fcf4ec562730a284f8c9fc3
+DIST python-gentoo-patches-3.2.5-1.tar.xz 14628 SHA256 0acc5531421781ab7f30e6fc8a502f202b79aa285b4f411eb16ea0a9e6d958c1 SHA512 1abbd53e92466d258802717309e1839ae931b8a4b0a5a27d4d0da748e71cf96ac47c6837bdbae5dd6921a46cee339c178f86ff3108afe95e6a0a42c4f4300791 WHIRLPOOL de003cccb8b311413889713d66b7987f28a1f906cc9642621d1fd2a379ceae4f0f901c137503d808dc3da7295ac611de09781bf8661cdbcd14c1d7c94ba489c2
+DIST python-gentoo-patches-3.3.5-0.tar.xz 12892 SHA256 a7240de9598033cb40f8f273d8104d4e2b1dcaea028d45ac28efaa3c680ff6f7 SHA512 27eef4c2b3f631b000db3f6a5c426d9b498d63a08fe82b1ab7c2c010fb72208109461a5f008d47703852526655b70a734ea95be8742897026db5750bb9cc9d16 WHIRLPOOL edab9222d7da94cab3b1de0e1a27c6c7dbd49194b813a0a1cf9e532063029c4e4f19151c9f4878eeabed3168ff1f97eae7f008280c7ed2897fc14c5516c68d7e
+DIST python-gentoo-patches-3.4.0-0.tar.xz 12900 SHA256 5e5ca54eaf446c7dde4155e5d792df5229c7790b32abb5aca38cbc4fc30f9c45 SHA512 be9851f9062f6aebbd2f23d91a4038dad1a8757049745ccbb1cc618ff6bc3dfab0326d520d27678541f4421e5db41d64f632fe6fb3e80f2cf4e73dadd3d5620b WHIRLPOOL df998b5588c928ca506f9f4434093a1f60637206f03f5e067444531dae02168f88b22c8de7d58e745bdb9d85e17abd667ed51f7f5651779c2c94da98f0925679
+DIST python-gentoo-patches-3.4.1-0.tar.xz 11164 SHA256 7d88e40ed02bef2d26802516fc0138a28cca58e298204e6b1a32054f9224fcb6 SHA512 5ecdf6a1ccb8d12b5b7436e1b7f641a41afcd7fde573e9249e3dc0d438bacb1eb6a5255e149388194dbfd2951fee4f8c800199362dfd072ff96776bbbcad0bbe WHIRLPOOL 707f943f9af7c3fc6deed7cfca5a4198f65a34434893840ba8e4f4c2a3d055e8f927069cb8855b5fe20dff643b7e2d41f35f65e1f3f300e350c0f291b4df6bc2
+DIST python-gentoo-patches-3.4.2-0.tar.xz 11568 SHA256 86028c50ecb16fdbaae68662d9749f8c5dbbad6359423ed02c7b379d4aaeb7e3 SHA512 786d74df8ca168655f38d052a3e79541fd1d9f58845f8fdc296246208f8ddc61e5a0d95d675432fcac77dda7c0ab419162790d0e39337bce2fb5c5d3f23c9ef4 WHIRLPOOL 5b26c7d5facd93ca334f23057e26e3a2af71d9d590ab270d4619bb57e0d14bc6465c08ea34c53e1ccf347f5938fd0199a0edf2ddada3c3a891a5568f1eb81227
+DIST python-prefix-2.7.5-gentoo-patches-r2.tar.bz2 18638 SHA256 91f2f2298ba3e5f6879a9327914f080eb5c2fa5c598fec38d283e1074e6da753 SHA512 16a67c7b32a0ff70a7ec1137f3d037664c5adb6c0008125b565fd9b8d25c64150aaa0a36c98ced0fc162688ba260db47fbff3221bab973f58409121e4b6ed1cb WHIRLPOOL ea11d64d0a07093eb9a7831b09989bace8d4d9dee2596167de42c4b0588e7eeaea3fc3170b2da028628a9a3099b2db1ca673db954f86a83db9d3ff24a28e623c
+EBUILD python-2.7.5-r4.ebuild 18043 SHA256 a69c6d4e6f0ecb719152467a5eaa6f16fbecc77b8d68592fec04f4a7a22b4ca2 SHA512 88b340d24060d3ca5ade60f1a23384f1fe7d05c997ba635fb40e5b075c13892c7e4c83e9d3ecff39337cc9c642f025c53ca01158a55e316594117a1afa58eed2 WHIRLPOOL 1bdb44c4f1a7989963e58a4f6cf50880cdf464ae08c870d866e45559d5c108dd8eb66e48d998c687ce997686916796331f4f65d9116aca50a3eae63152c20a3d
+EBUILD python-2.7.7.ebuild 10507 SHA256 514bc13078318e58eef4fc01595343c7431dc7f901891882e4dd05b5af06b80d SHA512 f12c580f43ac5282e5ca187e7df4409e161473b45ccdee01552b6f840019c06feab38f4643d363928cfc7a6ca75c03fc8cd99d5b6383fccac643290bf3a37f4b WHIRLPOOL d3ce7ac16e5ef377913a7c30331710f6271fe0c9a2bd8ee0b31dca420f79f94d9f871945189dafeb9b27194c3df2460b0efe792fc0b166b7493049b9fce8785e
+EBUILD python-2.7.8.ebuild 10616 SHA256 49ba358d1009c7385ed23fe9e21da98ee4006728f4e03951a3d0c0822df1ad09 SHA512 11ac1a81751c91027582a4f31254b29955fa54a6513080156656e9a6e1c8fc887db8f679b008ffbbb4ffb72a844ebe14048bd25ef0b112b92ff4f8a89549b6b2 WHIRLPOOL 4ce252928ffc2d618b458ea9a2322c3a6169b490fc9a3b44f5af0561b34a7f38c9d48ec964fb22c64dbe950372e51217c852e95b0e72ad1524e0879d701473b4
+EBUILD python-3.2.5-r6.ebuild 11164 SHA256 7fbf0853d0e5449659340216a0c2d49e6e808965771a99946a748910fce788cb SHA512 9fd8a85127c25289aa2be65ce63b9da145845c1df34612c5dd911906e20712ed2ddb63ef43ccd15c0d9036105289e010f1283bd8572d111f9925b4969c34e8ab WHIRLPOOL b1d5854ef0a8e65c1775f6380ca0b82f4109a91fdf90b40f3f3fd396c702446e30e5e2ee71d3be90213bda1c2295c706e3a265b92a65a7dd34e4e2c6484e8ac2
+EBUILD python-3.3.5-r1.ebuild 9523 SHA256 27d6d0444e6b948b49e5438f53aaa0796a9c785096ea63cbe9b4788745077cb1 SHA512 edacf0952c26ca36e754c03a292068554bf1a77c0dab7317eaf0f92ec6fd7e5784072f74d446723d12897d6b464fb275d6884474e9e47d11ed50665873fd154f WHIRLPOOL 34e35e62843e9d2d770fccf9439c23ffbda15bebc9dcb6d2665a46d7f6f27f6b5522483faf74657b4c311b310d3c45ded9d9a60ea9c5b8c1588fc9512f5d9066
+EBUILD python-3.4.0.ebuild 9308 SHA256 4af07645d7b8ab88742c10332fd1e16649c25abfb38638db3060ae087c9f1876 SHA512 a6c94c99a019f9bf68f69ec3ebea041a42cd833a1a7e1fe63bcc4756cd81184e895ccd120ba2d8adfd8158428a82e660132f6e5fdab70592c19eedad9557b366 WHIRLPOOL c6bfda5a4022ee5fb901ba376299b3c809b78a40a917feea5acf29e241c70e71d3fc801ee34b2a6d187257886f7aeb5ef77213d4403ad83185763e0c8ac13ef9
+EBUILD python-3.4.1.ebuild 9233 SHA256 362656400124c36a04091d91e3952c0fd5009b744dd513012c6cd71380652fe8 SHA512 697fc0ccee84292bc1406f04ff9492e181a18f46c24c34512a06ec4979236e380fa3d9e9dacc808863209056a061715c3b7c675f163f3c95a365881d2a9485da WHIRLPOOL f82ab0a9fd49e3f1218172462442b676c8245a12dfe5669396808eac6a9085769921341e40af5d68bf4c535368f20917e3b8106a740ad2e4608d29a7925047af
+EBUILD python-3.4.2.ebuild 9242 SHA256 312fc7a668ac3a821d5c561b04be2be0b10ac8e9cbe8d6a3170f477c355cf88e SHA512 74216fc9bd79b09b763b96026dfb88fbe83716944bd7c208003fd457cec11562e79088ab5620e8e7eb9cf226fbdd1770914b023a78719554425cbfb159a92f2c WHIRLPOOL e2a3910e38d75a29732a039dfe6d0d6a1ac850f391e580bcab24782665027ce51b82ac55483c8e3d16f2871b4beadd79c0c486f48ca01c6389efc777c1ad1f72
+MISC ChangeLog 37683 SHA256 00815b8e7a14433ab4903c458964386346c7866d733f2a564b0b9fcb5fe0525a SHA512 ca2d60b85e26768a106419c1e5814bd18f0fe2d80cc33d0da3813d9e3491be097f1e506c64ac85b82fa91f2d448f40037ac1c8d38aa2a3fa8d57943eebd4cb31 WHIRLPOOL a4c655f028cb5e1712019411715ce08450bf3985ebd5fbd158a39ba06827b2c24931f278d7e37c0e358a91a7372a8a974e67990a0191b94197dd6c1cb944254a
+MISC ChangeLog-2011 100599 SHA256 23129cb47321b2a6b1cb9323f1815d0cd11d6f30c3893908ed51575c270a0cc8 SHA512 4181ba9d965139ba58218da5b960c87b7a611b27606a1ab1ce1b4c3c9255b4e0e2947307cbfffc531f0f8b6b545ee11e083fcb29dc7b2b7ba31c6bb40b8ab128 WHIRLPOOL 4ceebb6a6ed58b906d3a7331795748ac6e4fe2e1401bcccae9024a8e81e2c444aebc5fec610398cfe6002354ad3b10487484598da5091867874727f07e239c56
+MISC metadata.xml 661 SHA256 2c6c3407251f7ccd6501dee49494e539a9544f2fbae99a4373eefdf4e83e8908 SHA512 871989a29417ce20d95da950fa385f1a958139de7b1567beb9cda28a1217901243cd9d25235fe3c7b0e43a82176d72286e31e4e97310b26488d2a3252ef3a8a0 WHIRLPOOL b694b1b4270ba15640d04a3b0b26a08575ea4afc9be256717f7f3b1768d75da9f71ceca6afd2f69971906227d5ba42263d2df2fc9387441aa240222d39fd094e

diff --git a/dev-lang/python/files/CVE-2013-4238_py27.patch b/dev-lang/python/files/CVE-2013-4238_py27.patch
new file mode 100644
index 0000000..e215589
--- /dev/null
+++ b/dev-lang/python/files/CVE-2013-4238_py27.patch
@@ -0,0 +1,247 @@
+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:
++    Data:
++        Version: 3 (0x2)
++        Serial Number: 0 (0x0)
++    Signature Algorithm: sha1WithRSAEncryption
++        Issuer: C=US, ST=Oregon, L=Beaverton, O=Python Software Foundation, OU=Python Core Development, CN=null.python.org\x00example.org/emailAddress=python-dev@python.org
++        Validity
++            Not Before: Aug  7 13:11:52 2013 GMT
++            Not After : Aug  7 13:12:52 2013 GMT
++        Subject: C=US, ST=Oregon, L=Beaverton, O=Python Software Foundation, OU=Python Core Development, CN=null.python.org\x00example.org/emailAddress=python-dev@python.org
++        Subject Public Key Info:
++            Public Key Algorithm: rsaEncryption
++                Public-Key: (2048 bit)
++                Modulus:
++                    00:b5:ea:ed:c9:fb:46:7d:6f:3b:76:80:dd:3a:f3:
++                    03:94:0b:a7:a6:db:ec:1d:df:ff:23:74:08:9d:97:
++                    16:3f:a3:a4:7b:3e:1b:0e:96:59:25:03:a7:26:e2:
++                    88:a9:cf:79:cd:f7:04:56:b0:ab:79:32:6e:59:c1:
++                    32:30:54:eb:58:a8:cb:91:f0:42:a5:64:27:cb:d4:
++                    56:31:88:52:ad:cf:bd:7f:f0:06:64:1f:cc:27:b8:
++                    a3:8b:8c:f3:d8:29:1f:25:0b:f5:46:06:1b:ca:02:
++                    45:ad:7b:76:0a:9c:bf:bb:b9:ae:0d:16:ab:60:75:
++                    ae:06:3e:9c:7c:31:dc:92:2f:29:1a:e0:4b:0c:91:
++                    90:6c:e9:37:c5:90:d7:2a:d7:97:15:a3:80:8f:5d:
++                    7b:49:8f:54:30:d4:97:2c:1c:5b:37:b5:ab:69:30:
++                    68:43:d3:33:78:4b:02:60:f5:3c:44:80:a1:8f:e7:
++                    f0:0f:d1:5e:87:9e:46:cf:62:fc:f9:bf:0c:65:12:
++                    f1:93:c8:35:79:3f:c8:ec:ec:47:f5:ef:be:44:d5:
++                    ae:82:1e:2d:9a:9f:98:5a:67:65:e1:74:70:7c:cb:
++                    d3:c2:ce:0e:45:49:27:dc:e3:2d:d4:fb:48:0e:2f:
++                    9e:77:b8:14:46:c0:c4:36:ca:02:ae:6a:91:8c:da:
++                    2f:85
++                Exponent: 65537 (0x10001)
++        X509v3 extensions:
++            X509v3 Basic Constraints: critical
++                CA:FALSE
++            X509v3 Subject Key Identifier:
++                88:5A:55:C0:52:FF:61:CD:52:A3:35:0F:EA:5A:9C:24:38:22:F7:5C
++            X509v3 Key Usage:
++                Digital Signature, Non Repudiation, Key Encipherment
++            X509v3 Subject Alternative Name:
++                *************************************************************
++                WARNING: The values for DNS, email and URI are WRONG. OpenSSL
++                         doesn't print the text after a NULL byte.
++                *************************************************************
++                DNS:altnull.python.org, email:null@python.org, URI:http://null.python.org, IP Address:192.0.2.1, IP Address:2001:DB8:0:0:0:0:0:1
++    Signature Algorithm: sha1WithRSAEncryption
++         ac:4f:45:ef:7d:49:a8:21:70:8e:88:59:3e:d4:36:42:70:f5:
++         a3:bd:8b:d7:a8:d0:58:f6:31:4a:b1:a4:a6:dd:6f:d9:e8:44:
++         3c:b6:0a:71:d6:7f:b1:08:61:9d:60:ce:75:cf:77:0c:d2:37:
++         86:02:8d:5e:5d:f9:0f:71:b4:16:a8:c1:3d:23:1c:f1:11:b3:
++         56:6e:ca:d0:8d:34:94:e6:87:2a:99:f2:ae:ae:cc:c2:e8:86:
++         de:08:a8:7f:c5:05:fa:6f:81:a7:82:e6:d0:53:9d:34:f4:ac:
++         3e:40:fe:89:57:7a:29:a4:91:7e:0b:c6:51:31:e5:10:2f:a4:
++         60:76:cd:95:51:1a:be:8b:a1:b0:fd:ad:52:bd:d7:1b:87:60:
++         d2:31:c7:17:c4:18:4f:2d:08:25:a3:a7:4f:b7:92:ca:e2:f5:
++         25:f1:54:75:81:9d:b3:3d:61:a2:f7:da:ed:e1:c6:6f:2c:60:
++         1f:d8:6f:c5:92:05:ab:c9:09:62:49:a9:14:ad:55:11:cc:d6:
++         4a:19:94:99:97:37:1d:81:5f:8b:cf:a3:a8:96:44:51:08:3d:
++         0b:05:65:12:eb:b6:70:80:88:48:72:4f:c6:c2:da:cf:cd:8e:
++         5b:ba:97:2f:60:b4:96:56:49:5e:3a:43:76:63:04:be:2a:f6:
++         c1:ca:a9:94
++-----BEGIN CERTIFICATE-----
++MIIE2DCCA8CgAwIBAgIBADANBgkqhkiG9w0BAQUFADCBxTELMAkGA1UEBhMCVVMx
++DzANBgNVBAgMBk9yZWdvbjESMBAGA1UEBwwJQmVhdmVydG9uMSMwIQYDVQQKDBpQ
++eXRob24gU29mdHdhcmUgRm91bmRhdGlvbjEgMB4GA1UECwwXUHl0aG9uIENvcmUg
++RGV2ZWxvcG1lbnQxJDAiBgNVBAMMG251bGwucHl0aG9uLm9yZwBleGFtcGxlLm9y
++ZzEkMCIGCSqGSIb3DQEJARYVcHl0aG9uLWRldkBweXRob24ub3JnMB4XDTEzMDgw
++NzEzMTE1MloXDTEzMDgwNzEzMTI1MlowgcUxCzAJBgNVBAYTAlVTMQ8wDQYDVQQI
++DAZPcmVnb24xEjAQBgNVBAcMCUJlYXZlcnRvbjEjMCEGA1UECgwaUHl0aG9uIFNv
++ZnR3YXJlIEZvdW5kYXRpb24xIDAeBgNVBAsMF1B5dGhvbiBDb3JlIERldmVsb3Bt
++ZW50MSQwIgYDVQQDDBtudWxsLnB5dGhvbi5vcmcAZXhhbXBsZS5vcmcxJDAiBgkq
++hkiG9w0BCQEWFXB5dGhvbi1kZXZAcHl0aG9uLm9yZzCCASIwDQYJKoZIhvcNAQEB
++BQADggEPADCCAQoCggEBALXq7cn7Rn1vO3aA3TrzA5QLp6bb7B3f/yN0CJ2XFj+j
++pHs+Gw6WWSUDpybiiKnPec33BFawq3kyblnBMjBU61ioy5HwQqVkJ8vUVjGIUq3P
++vX/wBmQfzCe4o4uM89gpHyUL9UYGG8oCRa17dgqcv7u5rg0Wq2B1rgY+nHwx3JIv
++KRrgSwyRkGzpN8WQ1yrXlxWjgI9de0mPVDDUlywcWze1q2kwaEPTM3hLAmD1PESA
++oY/n8A/RXoeeRs9i/Pm/DGUS8ZPINXk/yOzsR/XvvkTVroIeLZqfmFpnZeF0cHzL
++08LODkVJJ9zjLdT7SA4vnne4FEbAxDbKAq5qkYzaL4UCAwEAAaOB0DCBzTAMBgNV
++HRMBAf8EAjAAMB0GA1UdDgQWBBSIWlXAUv9hzVKjNQ/qWpwkOCL3XDALBgNVHQ8E
++BAMCBeAwgZAGA1UdEQSBiDCBhYIeYWx0bnVsbC5weXRob24ub3JnAGV4YW1wbGUu
++Y29tgSBudWxsQHB5dGhvbi5vcmcAdXNlckBleGFtcGxlLm9yZ4YpaHR0cDovL251
++bGwucHl0aG9uLm9yZwBodHRwOi8vZXhhbXBsZS5vcmeHBMAAAgGHECABDbgAAAAA
++AAAAAAAAAAEwDQYJKoZIhvcNAQEFBQADggEBAKxPRe99SaghcI6IWT7UNkJw9aO9
++i9eo0Fj2MUqxpKbdb9noRDy2CnHWf7EIYZ1gznXPdwzSN4YCjV5d+Q9xtBaowT0j
++HPERs1ZuytCNNJTmhyqZ8q6uzMLoht4IqH/FBfpvgaeC5tBTnTT0rD5A/olXeimk
++kX4LxlEx5RAvpGB2zZVRGr6LobD9rVK91xuHYNIxxxfEGE8tCCWjp0+3ksri9SXx
++VHWBnbM9YaL32u3hxm8sYB/Yb8WSBavJCWJJqRStVRHM1koZlJmXNx2BX4vPo6iW
++RFEIPQsFZRLrtnCAiEhyT8bC2s/Njlu6ly9gtJZWSV46Q3ZjBL4q9sHKqZQ=
++-----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 = test_support.HOST
+ CERTFILE = None
+ SVN_PYTHON_ORG_ROOT_CERT = None
++NULLBYTECERT = None
+ 
+ def handle_error(prefix):
+     exc_format = ' '.join(traceback.format_exception(*sys.exc_info()))
+@@ -123,6 +124,27 @@
+                           ('DNS', 'projects.forum.nokia.com'))
+                         )
+ 
++    def test_parse_cert_CVE_2013_4073(self):
++        p = ssl._ssl._test_decode_cert(NULLBYTECERT)
++        if test_support.verbose:
++            sys.stdout.write("\n" + pprint.pformat(p) + "\n")
++        subject = ((('countryName', 'US'),),
++                   (('stateOrProvinceName', 'Oregon'),),
++                   (('localityName', 'Beaverton'),),
++                   (('organizationName', 'Python Software Foundation'),),
++                   (('organizationalUnitName', 'Python Core Development'),),
++                   (('commonName', 'null.python.org\x00example.org'),),
++                   (('emailAddress', 'python-dev@python.org'),))
++        self.assertEqual(p['subject'], subject)
++        self.assertEqual(p['issuer'], subject)
++        self.assertEqual(p['subjectAltName'],
++                         (('DNS', 'altnull.python.org\x00example.com'),
++                         ('email', 'null@python.org\x00user@example.org'),
++                         ('URI', 'http://null.python.org\x00http://example.org'),
++                         ('IP Address', '192.0.2.1'),
++                         ('IP Address', '2001:DB8:0:0:0:0:0:1\n'))
++                        )
++
+     def test_DER_to_PEM(self):
+         with open(SVN_PYTHON_ORG_ROOT_CERT, 'r') as f:
+             pem = f.read()
+@@ -1360,7 +1382,7 @@
+ 
+ 
+ def test_main(verbose=False):
+-    global CERTFILE, SVN_PYTHON_ORG_ROOT_CERT, NOKIACERT
++    global CERTFILE, SVN_PYTHON_ORG_ROOT_CERT, NOKIACERT, NULLBYTECERT
+     CERTFILE = os.path.join(os.path.dirname(__file__) or os.curdir,
+                             "keycert.pem")
+     SVN_PYTHON_ORG_ROOT_CERT = os.path.join(
+@@ -1368,10 +1390,13 @@
+         "https_svn_python_org_root.pem")
+     NOKIACERT = os.path.join(os.path.dirname(__file__) or os.curdir,
+                              "nokia.pem")
++    NULLBYTECERT = os.path.join(os.path.dirname(__file__) or os.curdir,
++                                "nullbytecert.pem")
+ 
+     if (not os.path.exists(CERTFILE) or
+         not os.path.exists(SVN_PYTHON_ORG_ROOT_CERT) or
+-        not os.path.exists(NOKIACERT)):
++        not os.path.exists(NOKIACERT) or
++        not os.path.exists(NULLBYTECERT)):
+         raise test_support.TestFailed("Can't read certificate files!")
+ 
+     tests = [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 @@
+ 
+             /* get a rendering of each name in the set of names */
+ 
++            int gntype;
++            ASN1_STRING *as = NULL;
++
+             name = sk_GENERAL_NAME_value(names, j);
+-            if (name->type == GEN_DIRNAME) {
++            gntype = name-> type;
++            switch (gntype) {
++            case GEN_DIRNAME:
+ 
+                 /* we special-case DirName as a tuple of tuples of attributes */
+ 
+@@ -764,11 +769,61 @@
+                     goto fail;
+                 }
+                 PyTuple_SET_ITEM(t, 1, v);
++                break;
+ 
+-            } else {
++            case GEN_EMAIL:
++            case GEN_DNS:
++            case GEN_URI:
++                /* GENERAL_NAME_print() doesn't handle NUL bytes in ASN1_string
++                   correctly. */
++                t = PyTuple_New(2);
++                if (t == NULL)
++                    goto fail;
++                switch (gntype) {
++                case GEN_EMAIL:
++                    v = PyUnicode_FromString("email");
++                    as = name->d.rfc822Name;
++                    break;
++                case GEN_DNS:
++                    v = PyUnicode_FromString("DNS");
++                    as = name->d.dNSName;
++                    break;
++                case GEN_URI:
++                    v = PyUnicode_FromString("URI");
++                    as = name->d.uniformResourceIdentifier;
++                    break;
++                }
++                if (v == NULL) {
++                    Py_DECREF(t);
++                    goto fail;
++                }
++                PyTuple_SET_ITEM(t, 0, v);
++                v = PyString_FromStringAndSize((char *)ASN1_STRING_data(as),
++                                               ASN1_STRING_length(as));
++                if (v == NULL) {
++                    Py_DECREF(t);
++                    goto fail;
++                }
++                PyTuple_SET_ITEM(t, 1, v);
++                break;
+ 
++            default:
+                 /* for everything else, we use the OpenSSL print form */
+-
++                switch (gntype) {
++                    /* check for new general name type */
++                    case GEN_OTHERNAME:
++                    case GEN_X400:
++                    case GEN_EDIPARTY:
++                    case GEN_IPADD:
++                    case GEN_RID:
++                        break;
++                    default:
++                        if (PyErr_Warn(PyExc_RuntimeWarning,
++				       "Unknown general name type") == -1) {
++                            goto fail;
++                        }
++                        break;
++                }
+                 (void) BIO_reset(biobuf);
+                 GENERAL_NAME_print(biobuf, name);
+                 len = BIO_gets(biobuf, buf, sizeof(buf)-1);
+@@ -794,6 +849,7 @@
+                     goto fail;
+                 }
+                 PyTuple_SET_ITEM(t, 1, v);
++		break;
+             }
+ 
+             /* and add that rendering to the list */

diff --git a/dev-lang/python/files/CVE-2013-4238_py33.patch b/dev-lang/python/files/CVE-2013-4238_py33.patch
new file mode 100644
index 0000000..41db4d2
--- /dev/null
+++ b/dev-lang/python/files/CVE-2013-4238_py33.patch
@@ -0,0 +1,241 @@
+diff -r e0f86c3b3685 Lib/test/nullbytecert.pem
+--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
++++ b/Lib/test/nullbytecert.pem	Sun Aug 11 18:17:23 2013 +0200
+@@ -0,0 +1,90 @@
++Certificate:
++    Data:
++        Version: 3 (0x2)
++        Serial Number: 0 (0x0)
++    Signature Algorithm: sha1WithRSAEncryption
++        Issuer: C=US, ST=Oregon, L=Beaverton, O=Python Software Foundation, OU=Python Core Development, CN=null.python.org\x00example.org/emailAddress=python-dev@python.org
++        Validity
++            Not Before: Aug  7 13:11:52 2013 GMT
++            Not After : Aug  7 13:12:52 2013 GMT
++        Subject: C=US, ST=Oregon, L=Beaverton, O=Python Software Foundation, OU=Python Core Development, CN=null.python.org\x00example.org/emailAddress=python-dev@python.org
++        Subject Public Key Info:
++            Public Key Algorithm: rsaEncryption
++                Public-Key: (2048 bit)
++                Modulus:
++                    00:b5:ea:ed:c9:fb:46:7d:6f:3b:76:80:dd:3a:f3:
++                    03:94:0b:a7:a6:db:ec:1d:df:ff:23:74:08:9d:97:
++                    16:3f:a3:a4:7b:3e:1b:0e:96:59:25:03:a7:26:e2:
++                    88:a9:cf:79:cd:f7:04:56:b0:ab:79:32:6e:59:c1:
++                    32:30:54:eb:58:a8:cb:91:f0:42:a5:64:27:cb:d4:
++                    56:31:88:52:ad:cf:bd:7f:f0:06:64:1f:cc:27:b8:
++                    a3:8b:8c:f3:d8:29:1f:25:0b:f5:46:06:1b:ca:02:
++                    45:ad:7b:76:0a:9c:bf:bb:b9:ae:0d:16:ab:60:75:
++                    ae:06:3e:9c:7c:31:dc:92:2f:29:1a:e0:4b:0c:91:
++                    90:6c:e9:37:c5:90:d7:2a:d7:97:15:a3:80:8f:5d:
++                    7b:49:8f:54:30:d4:97:2c:1c:5b:37:b5:ab:69:30:
++                    68:43:d3:33:78:4b:02:60:f5:3c:44:80:a1:8f:e7:
++                    f0:0f:d1:5e:87:9e:46:cf:62:fc:f9:bf:0c:65:12:
++                    f1:93:c8:35:79:3f:c8:ec:ec:47:f5:ef:be:44:d5:
++                    ae:82:1e:2d:9a:9f:98:5a:67:65:e1:74:70:7c:cb:
++                    d3:c2:ce:0e:45:49:27:dc:e3:2d:d4:fb:48:0e:2f:
++                    9e:77:b8:14:46:c0:c4:36:ca:02:ae:6a:91:8c:da:
++                    2f:85
++                Exponent: 65537 (0x10001)
++        X509v3 extensions:
++            X509v3 Basic Constraints: critical
++                CA:FALSE
++            X509v3 Subject Key Identifier:
++                88:5A:55:C0:52:FF:61:CD:52:A3:35:0F:EA:5A:9C:24:38:22:F7:5C
++            X509v3 Key Usage:
++                Digital Signature, Non Repudiation, Key Encipherment
++            X509v3 Subject Alternative Name:
++                *************************************************************
++                WARNING: The values for DNS, email and URI are WRONG. OpenSSL
++                         doesn't print the text after a NULL byte.
++                *************************************************************
++                DNS:altnull.python.org, email:null@python.org, URI:http://null.python.org, IP Address:192.0.2.1, IP Address:2001:DB8:0:0:0:0:0:1
++    Signature Algorithm: sha1WithRSAEncryption
++         ac:4f:45:ef:7d:49:a8:21:70:8e:88:59:3e:d4:36:42:70:f5:
++         a3:bd:8b:d7:a8:d0:58:f6:31:4a:b1:a4:a6:dd:6f:d9:e8:44:
++         3c:b6:0a:71:d6:7f:b1:08:61:9d:60:ce:75:cf:77:0c:d2:37:
++         86:02:8d:5e:5d:f9:0f:71:b4:16:a8:c1:3d:23:1c:f1:11:b3:
++         56:6e:ca:d0:8d:34:94:e6:87:2a:99:f2:ae:ae:cc:c2:e8:86:
++         de:08:a8:7f:c5:05:fa:6f:81:a7:82:e6:d0:53:9d:34:f4:ac:
++         3e:40:fe:89:57:7a:29:a4:91:7e:0b:c6:51:31:e5:10:2f:a4:
++         60:76:cd:95:51:1a:be:8b:a1:b0:fd:ad:52:bd:d7:1b:87:60:
++         d2:31:c7:17:c4:18:4f:2d:08:25:a3:a7:4f:b7:92:ca:e2:f5:
++         25:f1:54:75:81:9d:b3:3d:61:a2:f7:da:ed:e1:c6:6f:2c:60:
++         1f:d8:6f:c5:92:05:ab:c9:09:62:49:a9:14:ad:55:11:cc:d6:
++         4a:19:94:99:97:37:1d:81:5f:8b:cf:a3:a8:96:44:51:08:3d:
++         0b:05:65:12:eb:b6:70:80:88:48:72:4f:c6:c2:da:cf:cd:8e:
++         5b:ba:97:2f:60:b4:96:56:49:5e:3a:43:76:63:04:be:2a:f6:
++         c1:ca:a9:94
++-----BEGIN CERTIFICATE-----
++MIIE2DCCA8CgAwIBAgIBADANBgkqhkiG9w0BAQUFADCBxTELMAkGA1UEBhMCVVMx
++DzANBgNVBAgMBk9yZWdvbjESMBAGA1UEBwwJQmVhdmVydG9uMSMwIQYDVQQKDBpQ
++eXRob24gU29mdHdhcmUgRm91bmRhdGlvbjEgMB4GA1UECwwXUHl0aG9uIENvcmUg
++RGV2ZWxvcG1lbnQxJDAiBgNVBAMMG251bGwucHl0aG9uLm9yZwBleGFtcGxlLm9y
++ZzEkMCIGCSqGSIb3DQEJARYVcHl0aG9uLWRldkBweXRob24ub3JnMB4XDTEzMDgw
++NzEzMTE1MloXDTEzMDgwNzEzMTI1MlowgcUxCzAJBgNVBAYTAlVTMQ8wDQYDVQQI
++DAZPcmVnb24xEjAQBgNVBAcMCUJlYXZlcnRvbjEjMCEGA1UECgwaUHl0aG9uIFNv
++ZnR3YXJlIEZvdW5kYXRpb24xIDAeBgNVBAsMF1B5dGhvbiBDb3JlIERldmVsb3Bt
++ZW50MSQwIgYDVQQDDBtudWxsLnB5dGhvbi5vcmcAZXhhbXBsZS5vcmcxJDAiBgkq
++hkiG9w0BCQEWFXB5dGhvbi1kZXZAcHl0aG9uLm9yZzCCASIwDQYJKoZIhvcNAQEB
++BQADggEPADCCAQoCggEBALXq7cn7Rn1vO3aA3TrzA5QLp6bb7B3f/yN0CJ2XFj+j
++pHs+Gw6WWSUDpybiiKnPec33BFawq3kyblnBMjBU61ioy5HwQqVkJ8vUVjGIUq3P
++vX/wBmQfzCe4o4uM89gpHyUL9UYGG8oCRa17dgqcv7u5rg0Wq2B1rgY+nHwx3JIv
++KRrgSwyRkGzpN8WQ1yrXlxWjgI9de0mPVDDUlywcWze1q2kwaEPTM3hLAmD1PESA
++oY/n8A/RXoeeRs9i/Pm/DGUS8ZPINXk/yOzsR/XvvkTVroIeLZqfmFpnZeF0cHzL
++08LODkVJJ9zjLdT7SA4vnne4FEbAxDbKAq5qkYzaL4UCAwEAAaOB0DCBzTAMBgNV
++HRMBAf8EAjAAMB0GA1UdDgQWBBSIWlXAUv9hzVKjNQ/qWpwkOCL3XDALBgNVHQ8E
++BAMCBeAwgZAGA1UdEQSBiDCBhYIeYWx0bnVsbC5weXRob24ub3JnAGV4YW1wbGUu
++Y29tgSBudWxsQHB5dGhvbi5vcmcAdXNlckBleGFtcGxlLm9yZ4YpaHR0cDovL251
++bGwucHl0aG9uLm9yZwBodHRwOi8vZXhhbXBsZS5vcmeHBMAAAgGHECABDbgAAAAA
++AAAAAAAAAAEwDQYJKoZIhvcNAQEFBQADggEBAKxPRe99SaghcI6IWT7UNkJw9aO9
++i9eo0Fj2MUqxpKbdb9noRDy2CnHWf7EIYZ1gznXPdwzSN4YCjV5d+Q9xtBaowT0j
++HPERs1ZuytCNNJTmhyqZ8q6uzMLoht4IqH/FBfpvgaeC5tBTnTT0rD5A/olXeimk
++kX4LxlEx5RAvpGB2zZVRGr6LobD9rVK91xuHYNIxxxfEGE8tCCWjp0+3ksri9SXx
++VHWBnbM9YaL32u3hxm8sYB/Yb8WSBavJCWJJqRStVRHM1koZlJmXNx2BX4vPo6iW
++RFEIPQsFZRLrtnCAiEhyT8bC2s/Njlu6ly9gtJZWSV46Q3ZjBL4q9sHKqZQ=
++-----END CERTIFICATE-----
+diff -r e0f86c3b3685 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:17:23 2013 +0200
+@@ -55,6 +55,7 @@
+ WRONGCERT = data_file("XXXnonexisting.pem")
+ BADKEY = data_file("badkey.pem")
+ NOKIACERT = data_file("nokia.pem")
++NULLBYTECERT = data_file("nullbytecert.pem")
+ 
+ DHFILE = data_file("dh512.pem")
+ BYTES_DHFILE = os.fsencode(DHFILE)
+@@ -162,6 +163,27 @@
+                           ('DNS', 'projects.forum.nokia.com'))
+                         )
+ 
++    def test_parse_cert_CVE_2013_4073(self):
++        p = ssl._ssl._test_decode_cert(NULLBYTECERT)
++        if support.verbose:
++            sys.stdout.write("\n" + pprint.pformat(p) + "\n")
++        subject = ((('countryName', 'US'),),
++                   (('stateOrProvinceName', 'Oregon'),),
++                   (('localityName', 'Beaverton'),),
++                   (('organizationName', 'Python Software Foundation'),),
++                   (('organizationalUnitName', 'Python Core Development'),),
++                   (('commonName', 'null.python.org\x00example.org'),),
++                   (('emailAddress', 'python-dev@python.org'),))
++        self.assertEqual(p['subject'], subject)
++        self.assertEqual(p['issuer'], subject)
++        self.assertEqual(p['subjectAltName'],
++                         (('DNS', 'altnull.python.org\x00example.com'),
++                         ('email', 'null@python.org\x00user@example.org'),
++                         ('URI', 'http://null.python.org\x00http://example.org'),
++                         ('IP Address', '192.0.2.1'),
++                         ('IP Address', '2001:DB8:0:0:0:0:0:1\n'))
++                        )
++
+     def test_DER_to_PEM(self):
+         with open(SVN_PYTHON_ORG_ROOT_CERT, 'r') as f:
+             pem = f.read()
+@@ -294,6 +316,13 @@
+         fail(cert, 'foo.a.com')
+         fail(cert, 'bar.foo.com')
+ 
++        # NULL bytes are bad, CVE-2013-4073
++        cert = {'subject': ((('commonName',
++                              'null.python.org\x00example.org'),),)}
++        ok(cert, 'null.python.org\x00example.org') # or raise an error?
++        fail(cert, 'example.org')
++        fail(cert, 'null.python.org')
++
+         # Slightly fake real-world example
+         cert = {'notAfter': 'Jun 26 21:41:46 2011 GMT',
+                 'subject': ((('commonName', 'linuxfrz.org'),),),
+diff -r e0f86c3b3685 Modules/_ssl.c
+--- a/Modules/_ssl.c	Sun Aug 11 13:04:50 2013 +0300
++++ b/Modules/_ssl.c	Sun Aug 11 18:17:23 2013 +0200
+@@ -771,12 +771,14 @@
+                            ext->value->length));
+ 
+         for(j = 0; j < sk_GENERAL_NAME_num(names); j++) {
+-
+             /* get a rendering of each name in the set of names */
++            int gntype;
++            ASN1_STRING *as = NULL;
+ 
+             name = sk_GENERAL_NAME_value(names, j);
+-            if (name->type == GEN_DIRNAME) {
+-
++            gntype = name-> type;
++            switch (gntype) {
++            case GEN_DIRNAME:
+                 /* we special-case DirName as a tuple of
+                    tuples of attributes */
+ 
+@@ -798,11 +800,62 @@
+                     goto fail;
+                 }
+                 PyTuple_SET_ITEM(t, 1, v);
++                break;
+ 
+-            } else {
++            case GEN_EMAIL:
++            case GEN_DNS:
++            case GEN_URI:
++                /* GENERAL_NAME_print() doesn't handle NUL bytes in ASN1_string
++                   correctly. */
++                t = PyTuple_New(2);
++                if (t == NULL)
++                    goto fail;
++                switch (gntype) {
++                case GEN_EMAIL:
++                    v = PyUnicode_FromString("email");
++                    as = name->d.rfc822Name;
++                    break;
++                case GEN_DNS:
++                    v = PyUnicode_FromString("DNS");
++                    as = name->d.dNSName;
++                    break;
++                case GEN_URI:
++                    v = PyUnicode_FromString("URI");
++                    as = name->d.uniformResourceIdentifier;
++                    break;
++                }
++                if (v == NULL) {
++                    Py_DECREF(t);
++                    goto fail;
++                }
++                PyTuple_SET_ITEM(t, 0, v);
++                v = PyUnicode_FromStringAndSize((char *)ASN1_STRING_data(as),
++                                                ASN1_STRING_length(as));
++                if (v == NULL) {
++                    Py_DECREF(t);
++                    goto fail;
++                }
++                PyTuple_SET_ITEM(t, 1, v);
++                break;
+ 
++            default:
+                 /* for everything else, we use the OpenSSL print form */
+-
++                switch (gntype) {
++                    /* check for new general name type */
++                    case GEN_OTHERNAME:
++                    case GEN_X400:
++                    case GEN_EDIPARTY:
++                    case GEN_IPADD:
++                    case GEN_RID:
++                        break;
++                    default:
++                        if (PyErr_WarnFormat(PyExc_RuntimeWarning, 1,
++                                             "Unknown general name type %d",
++                                             gntype) == -1) {
++                            goto fail;
++                        }
++                        break;
++                }
+                 (void) BIO_reset(biobuf);
+                 GENERAL_NAME_print(biobuf, name);
+                 len = BIO_gets(biobuf, buf, sizeof(buf)-1);
+@@ -829,6 +882,7 @@
+                     goto fail;
+                 }
+                 PyTuple_SET_ITEM(t, 1, v);
++                break;
+             }
+ 
+             /* and add that rendering to the list */

diff --git a/dev-lang/python/files/pydoc.conf b/dev-lang/python/files/pydoc.conf
new file mode 100644
index 0000000..20e3628
--- /dev/null
+++ b/dev-lang/python/files/pydoc.conf
@@ -0,0 +1,7 @@
+# /etc/init.d/pydoc.conf
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/python/files/pydoc.conf,v 1.3 2011/10/27 13:56:55 neurogeek Exp $
+
+# This file contains the configuration for pydoc's internal webserver.
+
+# Default port for Python's pydoc server.
+@PYDOC_PORT_VARIABLE@="7464"

diff --git a/dev-lang/python/files/pydoc.init b/dev-lang/python/files/pydoc.init
new file mode 100755
index 0000000..3f02ae9
--- /dev/null
+++ b/dev-lang/python/files/pydoc.init
@@ -0,0 +1,25 @@
+#!/sbin/runscript
+# Copyright 1999-2014 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public Licence v2
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/python/files/pydoc.init,v 1.5 2014/10/12 12:37:07 djc Exp $
+
+start() {
+	local pydoc_port="${@PYDOC_PORT_VARIABLE@-${PYDOC_PORT}}"
+
+	if [ -z "${pydoc_port}" ]; then
+		eerror "Port not set"
+		return 1
+	fi
+
+	ebegin "Starting pydoc server on port ${pydoc_port}" 
+	start-stop-daemon --start --background --make-pidfile \
+			  --pidfile /var/run/@PYDOC@.pid \
+			  --exec /usr/bin/@PYDOC@ -- -p "${pydoc_port}"
+	eend $?
+}
+
+stop() {
+	ebegin "Stopping pydoc server"
+	start-stop-daemon --stop --quiet --pidfile /var/run/@PYDOC@.pid
+	eend $?
+}

diff --git a/dev-lang/python/files/python-2.7-issue16248.patch b/dev-lang/python/files/python-2.7-issue16248.patch
new file mode 100644
index 0000000..ce9c654
--- /dev/null
+++ b/dev-lang/python/files/python-2.7-issue16248.patch
@@ -0,0 +1,19 @@
+# HG changeset patch
+# User Antoine Pitrou <solipsis@pitrou.net>
+# Date 1375388712 -7200
+# Node ID 0f17aed78168e63ec058c219d03cea7240f83dd6
+# Parent  bb546f6d8ab4f513804d7a420657963881e5b447
+Fix tkinter regression introduced by the security fix in #16248.
+
+diff --git a/Lib/lib-tk/Tkinter.py b/Lib/lib-tk/Tkinter.py
+--- a/Lib/lib-tk/Tkinter.py
++++ b/Lib/lib-tk/Tkinter.py
+@@ -1736,7 +1736,7 @@ class Tk(Misc, Wm):
+         # ensure that self.tk is always _something_.
+         self.tk = None
+         if baseName is None:
+-            import sys, os
++            import os
+             baseName = os.path.basename(sys.argv[0])
+             baseName, ext = os.path.splitext(baseName)
+             if ext not in ('.py', '.pyc', '.pyo'):

diff --git a/dev-lang/python/files/python-2.7-issue18851.patch b/dev-lang/python/files/python-2.7-issue18851.patch
new file mode 100644
index 0000000..35c69ae
--- /dev/null
+++ b/dev-lang/python/files/python-2.7-issue18851.patch
@@ -0,0 +1,287 @@
+# HG changeset patch
+# User Antoine Pitrou <solipsis@pitrou.net>
+# Date 1377898693 -7200
+# Node ID 43749cb6bdbd0fdab70f76cd171c3c02a3f600dd
+# Parent  ba54011aa295004ad87438211fe3bb1568dd69ab
+Issue #18851: Avoid a double close of subprocess pipes when the child process fails starting.
+
+diff --git a/Lib/subprocess.py b/Lib/subprocess.py
+--- a/Lib/subprocess.py
++++ b/Lib/subprocess.py
+@@ -698,12 +698,12 @@ class Popen(object):
+ 
+         (p2cread, p2cwrite,
+          c2pread, c2pwrite,
+-         errread, errwrite) = self._get_handles(stdin, stdout, stderr)
++         errread, errwrite), to_close = self._get_handles(stdin, stdout, stderr)
+ 
+         try:
+             self._execute_child(args, executable, preexec_fn, close_fds,
+                                 cwd, env, universal_newlines,
+-                                startupinfo, creationflags, shell,
++                                startupinfo, creationflags, shell, to_close,
+                                 p2cread, p2cwrite,
+                                 c2pread, c2pwrite,
+                                 errread, errwrite)
+@@ -711,18 +711,12 @@ class Popen(object):
+             # Preserve original exception in case os.close raises.
+             exc_type, exc_value, exc_trace = sys.exc_info()
+ 
+-            to_close = []
+-            # Only close the pipes we created.
+-            if stdin == PIPE:
+-                to_close.extend((p2cread, p2cwrite))
+-            if stdout == PIPE:
+-                to_close.extend((c2pread, c2pwrite))
+-            if stderr == PIPE:
+-                to_close.extend((errread, errwrite))
+-
+             for fd in to_close:
+                 try:
+-                    os.close(fd)
++                    if mswindows:
++                        fd.Close()
++                    else:
++                        os.close(fd)
+                 except EnvironmentError:
+                     pass
+ 
+@@ -816,8 +810,9 @@ class Popen(object):
+             """Construct and return tuple with IO objects:
+             p2cread, p2cwrite, c2pread, c2pwrite, errread, errwrite
+             """
++            to_close = set()
+             if stdin is None and stdout is None and stderr is None:
+-                return (None, None, None, None, None, None)
++                return (None, None, None, None, None, None), to_close
+ 
+             p2cread, p2cwrite = None, None
+             c2pread, c2pwrite = None, None
+@@ -835,6 +830,10 @@ class Popen(object):
+                 # Assuming file-like object
+                 p2cread = msvcrt.get_osfhandle(stdin.fileno())
+             p2cread = self._make_inheritable(p2cread)
++            # We just duplicated the handle, it has to be closed at the end
++            to_close.add(p2cread)
++            if stdin == PIPE:
++                to_close.add(p2cwrite)
+ 
+             if stdout is None:
+                 c2pwrite = _subprocess.GetStdHandle(_subprocess.STD_OUTPUT_HANDLE)
+@@ -848,6 +847,10 @@ class Popen(object):
+                 # Assuming file-like object
+                 c2pwrite = msvcrt.get_osfhandle(stdout.fileno())
+             c2pwrite = self._make_inheritable(c2pwrite)
++            # We just duplicated the handle, it has to be closed at the end
++            to_close.add(c2pwrite)
++            if stdout == PIPE:
++                to_close.add(c2pread)
+ 
+             if stderr is None:
+                 errwrite = _subprocess.GetStdHandle(_subprocess.STD_ERROR_HANDLE)
+@@ -863,10 +866,14 @@ class Popen(object):
+                 # Assuming file-like object
+                 errwrite = msvcrt.get_osfhandle(stderr.fileno())
+             errwrite = self._make_inheritable(errwrite)
++            # We just duplicated the handle, it has to be closed at the end
++            to_close.add(errwrite)
++            if stderr == PIPE:
++                to_close.add(errread)
+ 
+             return (p2cread, p2cwrite,
+                     c2pread, c2pwrite,
+-                    errread, errwrite)
++                    errread, errwrite), to_close
+ 
+ 
+         def _make_inheritable(self, handle):
+@@ -895,7 +902,7 @@ class Popen(object):
+ 
+         def _execute_child(self, args, executable, preexec_fn, close_fds,
+                            cwd, env, universal_newlines,
+-                           startupinfo, creationflags, shell,
++                           startupinfo, creationflags, shell, to_close,
+                            p2cread, p2cwrite,
+                            c2pread, c2pwrite,
+                            errread, errwrite):
+@@ -934,6 +941,10 @@ class Popen(object):
+                     # kill children.
+                     creationflags |= _subprocess.CREATE_NEW_CONSOLE
+ 
++            def _close_in_parent(fd):
++                fd.Close()
++                to_close.remove(fd)
++
+             # Start the process
+             try:
+                 hp, ht, pid, tid = _subprocess.CreateProcess(executable, args,
+@@ -958,11 +969,11 @@ class Popen(object):
+                 # pipe will not close when the child process exits and the
+                 # ReadFile will hang.
+                 if p2cread is not None:
+-                    p2cread.Close()
++                    _close_in_parent(p2cread)
+                 if c2pwrite is not None:
+-                    c2pwrite.Close()
++                    _close_in_parent(c2pwrite)
+                 if errwrite is not None:
+-                    errwrite.Close()
++                    _close_in_parent(errwrite)
+ 
+             # Retain the process handle, but close the thread handle
+             self._child_created = True
+@@ -1088,6 +1099,7 @@ class Popen(object):
+             """Construct and return tuple with IO objects:
+             p2cread, p2cwrite, c2pread, c2pwrite, errread, errwrite
+             """
++            to_close = set()
+             p2cread, p2cwrite = None, None
+             c2pread, c2pwrite = None, None
+             errread, errwrite = None, None
+@@ -1096,6 +1108,7 @@ class Popen(object):
+                 pass
+             elif stdin == PIPE:
+                 p2cread, p2cwrite = self.pipe_cloexec()
++                to_close.update((p2cread, p2cwrite))
+             elif isinstance(stdin, int):
+                 p2cread = stdin
+             else:
+@@ -1106,6 +1119,7 @@ class Popen(object):
+                 pass
+             elif stdout == PIPE:
+                 c2pread, c2pwrite = self.pipe_cloexec()
++                to_close.update((c2pread, c2pwrite))
+             elif isinstance(stdout, int):
+                 c2pwrite = stdout
+             else:
+@@ -1116,6 +1130,7 @@ class Popen(object):
+                 pass
+             elif stderr == PIPE:
+                 errread, errwrite = self.pipe_cloexec()
++                to_close.update((errread, errwrite))
+             elif stderr == STDOUT:
+                 errwrite = c2pwrite
+             elif isinstance(stderr, int):
+@@ -1126,7 +1141,7 @@ class Popen(object):
+ 
+             return (p2cread, p2cwrite,
+                     c2pread, c2pwrite,
+-                    errread, errwrite)
++                    errread, errwrite), to_close
+ 
+ 
+         def _set_cloexec_flag(self, fd, cloexec=True):
+@@ -1170,7 +1185,7 @@ class Popen(object):
+ 
+         def _execute_child(self, args, executable, preexec_fn, close_fds,
+                            cwd, env, universal_newlines,
+-                           startupinfo, creationflags, shell,
++                           startupinfo, creationflags, shell, to_close,
+                            p2cread, p2cwrite,
+                            c2pread, c2pwrite,
+                            errread, errwrite):
+@@ -1189,6 +1204,10 @@ class Popen(object):
+             if executable is None:
+                 executable = args[0]
+ 
++            def _close_in_parent(fd):
++                os.close(fd)
++                to_close.remove(fd)
++
+             # For transferring possible exec failure from child to parent
+             # The first char specifies the exception type: 0 means
+             # OSError, 1 means some other error.
+@@ -1283,17 +1302,17 @@ class Popen(object):
+                     # be sure the FD is closed no matter what
+                     os.close(errpipe_write)
+ 
+-                if p2cread is not None and p2cwrite is not None:
+-                    os.close(p2cread)
+-                if c2pwrite is not None and c2pread is not None:
+-                    os.close(c2pwrite)
+-                if errwrite is not None and errread is not None:
+-                    os.close(errwrite)
+-
+                 # Wait for exec to fail or succeed; possibly raising exception
+                 # Exception limited to 1M
+                 data = _eintr_retry_call(os.read, errpipe_read, 1048576)
+             finally:
++                if p2cread is not None and p2cwrite is not None:
++                    _close_in_parent(p2cread)
++                if c2pwrite is not None and c2pread is not None:
++                    _close_in_parent(c2pwrite)
++                if errwrite is not None and errread is not None:
++                    _close_in_parent(errwrite)
++
+                 # be sure the FD is closed no matter what
+                 os.close(errpipe_read)
+ 
+diff --git a/Lib/test/test_subprocess.py b/Lib/test/test_subprocess.py
+--- a/Lib/test/test_subprocess.py
++++ b/Lib/test/test_subprocess.py
+@@ -14,6 +14,10 @@ try:
+     import resource
+ except ImportError:
+     resource = None
++try:
++    import threading
++except ImportError:
++    threading = None
+ 
+ mswindows = (sys.platform == "win32")
+ 
+@@ -629,6 +633,36 @@ class ProcessTestCase(BaseTestCase):
+             if c.exception.errno not in (errno.ENOENT, errno.EACCES):
+                 raise c.exception
+ 
++    @unittest.skipIf(threading is None, "threading required")
++    def test_double_close_on_error(self):
++        # Issue #18851
++        fds = []
++        def open_fds():
++            for i in range(20):
++                fds.extend(os.pipe())
++                time.sleep(0.001)
++        t = threading.Thread(target=open_fds)
++        t.start()
++        try:
++            with self.assertRaises(EnvironmentError):
++                subprocess.Popen(['nonexisting_i_hope'],
++                                 stdin=subprocess.PIPE,
++                                 stdout=subprocess.PIPE,
++                                 stderr=subprocess.PIPE)
++        finally:
++            t.join()
++            exc = None
++            for fd in fds:
++                # If a double close occurred, some of those fds will
++                # already have been closed by mistake, and os.close()
++                # here will raise.
++                try:
++                    os.close(fd)
++                except OSError as e:
++                    exc = e
++            if exc is not None:
++                raise exc
++
+     def test_handles_closed_on_exception(self):
+         # If CreateProcess exits with an error, ensure the
+         # duplicate output handles are released
+@@ -783,7 +817,7 @@ class POSIXProcessTestCase(BaseTestCase)
+ 
+         def _execute_child(
+                 self, args, executable, preexec_fn, close_fds, cwd, env,
+-                universal_newlines, startupinfo, creationflags, shell,
++                universal_newlines, startupinfo, creationflags, shell, to_close,
+                 p2cread, p2cwrite,
+                 c2pread, c2pwrite,
+                 errread, errwrite):
+@@ -791,7 +825,7 @@ class POSIXProcessTestCase(BaseTestCase)
+                 subprocess.Popen._execute_child(
+                         self, args, executable, preexec_fn, close_fds,
+                         cwd, env, universal_newlines,
+-                        startupinfo, creationflags, shell,
++                        startupinfo, creationflags, shell, to_close,
+                         p2cread, p2cwrite,
+                         c2pread, c2pwrite,
+                         errread, errwrite)

diff --git a/dev-lang/python/files/python-2.7.5-library-path.patch b/dev-lang/python/files/python-2.7.5-library-path.patch
new file mode 100644
index 0000000..6f43575
--- /dev/null
+++ b/dev-lang/python/files/python-2.7.5-library-path.patch
@@ -0,0 +1,25 @@
+# HG changeset patch
+# User Ned Deily <nad@acm.org>
+# Date 1368666045 25200
+# Node ID cd577c3288860b0deb459443ca5c489dc0f99ef6
+# Parent  149340b3004acfcb68e5ed36b1e96b7463c756c7
+Issue #17990: Only modify include and library search paths when cross-compiling.
+
+diff --git a/setup.py b/setup.py
+--- a/setup.py
++++ b/setup.py
+@@ -437,9 +437,11 @@ class PyBuildExt(build_ext):
+ 
+     def detect_modules(self):
+         # Ensure that /usr/local is always used
+-        add_dir_to_list(self.compiler.library_dirs, '/usr/local/lib')
+-        add_dir_to_list(self.compiler.include_dirs, '/usr/local/include')
+-        self.add_gcc_paths()
++        if not cross_compiling:
++            add_dir_to_list(self.compiler.library_dirs, '/usr/local/lib')
++            add_dir_to_list(self.compiler.include_dirs, '/usr/local/include')
++        if cross_compiling:
++            self.add_gcc_paths()
+         self.add_multiarch_paths()
+ 
+         # Add paths specified in the environment variables LDFLAGS and

diff --git a/dev-lang/python/files/python-2.7.5-nonfatal-compileall.patch b/dev-lang/python/files/python-2.7.5-nonfatal-compileall.patch
new file mode 100644
index 0000000..a762dfb
--- /dev/null
+++ b/dev-lang/python/files/python-2.7.5-nonfatal-compileall.patch
@@ -0,0 +1,18 @@
+diff --git a/Makefile.pre.in b/Makefile.pre.in
+--- a/Makefile.pre.in
++++ b/Makefile.pre.in
+@@ -1000,12 +1000,12 @@
+ 		$(INSTALL_DATA) $(srcdir)/Modules/xxmodule.c \
+ 			$(DESTDIR)$(LIBDEST)/distutils/tests ; \
+ 	fi
+-	PYTHONPATH=$(DESTDIR)$(LIBDEST)  $(RUNSHARED) \
++	-PYTHONPATH=$(DESTDIR)$(LIBDEST)  $(RUNSHARED) \
+ 		$(PYTHON_FOR_BUILD) -Wi -tt $(DESTDIR)$(LIBDEST)/compileall.py \
+ 		-d $(LIBDEST) -f \
+ 		-x 'bad_coding|badsyntax|site-packages|lib2to3/tests/data' \
+ 		$(DESTDIR)$(LIBDEST)
+-	PYTHONPATH=$(DESTDIR)$(LIBDEST) $(RUNSHARED) \
++	-PYTHONPATH=$(DESTDIR)$(LIBDEST) $(RUNSHARED) \
+ 		$(PYTHON_FOR_BUILD) -Wi -tt -O $(DESTDIR)$(LIBDEST)/compileall.py \
+ 		-d $(LIBDEST) -f \
+ 		-x 'bad_coding|badsyntax|site-packages|lib2to3/tests/data' \

diff --git a/dev-lang/python/files/python-2.7.5-re_unsigned_ptrdiff.patch b/dev-lang/python/files/python-2.7.5-re_unsigned_ptrdiff.patch
new file mode 100644
index 0000000..a905839
--- /dev/null
+++ b/dev-lang/python/files/python-2.7.5-re_unsigned_ptrdiff.patch
@@ -0,0 +1,23 @@
+https://bugs.gentoo.org/show_bug.cgi?id=476426
+http://bugs.python.org/issue17998
+diff -r d91da96a55bf Modules/_sre.c
+--- a/Modules/_sre.c	Thu May 16 22:47:47 2013 +0100
++++ b/Modules/_sre.c	Fri May 17 21:02:48 2013 +0300
+@@ -1028,7 +1028,7 @@
+             TRACE(("|%p|%p|REPEAT_ONE %d %d\n", ctx->pattern, ctx->ptr,
+                    ctx->pattern[1], ctx->pattern[2]));
+ 
+-            if (ctx->pattern[1] > end - ctx->ptr)
++            if ((Py_ssize_t) ctx->pattern[1] > end - ctx->ptr)
+                 RETURN_FAILURE; /* cannot match */
+ 
+             state->ptr = ctx->ptr;
+@@ -1111,7 +1111,7 @@
+             TRACE(("|%p|%p|MIN_REPEAT_ONE %d %d\n", ctx->pattern, ctx->ptr,
+                    ctx->pattern[1], ctx->pattern[2]));
+ 
+-            if (ctx->pattern[1] > end - ctx->ptr)
++            if ((Py_ssize_t) ctx->pattern[1] > end - ctx->ptr)
+                 RETURN_FAILURE; /* cannot match */
+ 
+             state->ptr = ctx->ptr;

diff --git a/dev-lang/python/files/python-2.7.5-runtime-prefix.patch b/dev-lang/python/files/python-2.7.5-runtime-prefix.patch
new file mode 100644
index 0000000..2e47232
--- /dev/null
+++ b/dev-lang/python/files/python-2.7.5-runtime-prefix.patch
@@ -0,0 +1,26 @@
+Index: Python-2.7.5/Lib/popen2.py
+===================================================================
+--- Python-2.7.5.orig/Lib/popen2.py
++++ Python-2.7.5/Lib/popen2.py
+@@ -81,7 +81,7 @@ class Popen3:
+ 
+     def _run_child(self, cmd):
+         if isinstance(cmd, basestring):
+-            cmd = ['/bin/sh', '-c', cmd]
++            cmd = ['@GENTOO_PORTAGE_EPREFIX@/bin/sh', '-c', cmd]
+         os.closerange(3, MAXFD)
+         try:
+             os.execvp(cmd[0], cmd)
+Index: Python-2.7.5/Lib/subprocess.py
+===================================================================
+--- Python-2.7.5.orig/Lib/subprocess.py
++++ Python-2.7.5/Lib/subprocess.py
+@@ -1184,7 +1184,7 @@ class Popen(object):
+                 args = list(args)
+ 
+             if shell:
+-                args = ["/bin/sh", "-c"] + args
++                args = ["@GENTOO_PORTAGE_EPREFIX@/bin/sh", "-c"] + args
+                 if executable:
+                     args[0] = executable
+ 

diff --git a/dev-lang/python/files/python-2.7.6-recvfrom_into_buffer_overflow.patch b/dev-lang/python/files/python-2.7.6-recvfrom_into_buffer_overflow.patch
new file mode 100644
index 0000000..37e786b
--- /dev/null
+++ b/dev-lang/python/files/python-2.7.6-recvfrom_into_buffer_overflow.patch
@@ -0,0 +1,17 @@
+diff -r 40fb60df4755 Modules/socketmodule.c
+--- a/Modules/socketmodule.c	Sun Jan 12 12:11:47 2014 +0200
++++ b/Modules/socketmodule.c	Mon Jan 13 16:36:35 2014 -0800
+@@ -2744,6 +2744,13 @@
+         recvlen = buflen;
+     }
+ 
++    /* Check if the buffer is large enough */
++    if (buflen < recvlen) {
++        PyErr_SetString(PyExc_ValueError,
++                        "buffer too small for requested bytes");
++        goto error;
++    }
++
+     readlen = sock_recvfrom_guts(s, buf.buf, recvlen, flags, &addr);
+     if (readlen < 0) {
+         /* Return an error */

diff --git a/dev-lang/python/files/python-3.2-CVE-2013-2099.patch b/dev-lang/python/files/python-3.2-CVE-2013-2099.patch
new file mode 100644
index 0000000..9055a03
--- /dev/null
+++ b/dev-lang/python/files/python-3.2-CVE-2013-2099.patch
@@ -0,0 +1,51 @@
+# HG changeset patch
+# User Antoine Pitrou <solipsis@pitrou.net>
+# Date 1368892602 -7200
+#      Sat May 18 17:56:42 2013 +0200
+# Branch 3.2
+# Node ID b9b521efeba385af0142988899a55de1c1c805c7
+# Parent  6255b40c6a6127933d8ea7a2b9de200f5a0e6154
+Issue #17980: Fix possible abuse of ssl.match_hostname() for denial of service using certificates with many wildcards (CVE-2013-2099).
+
+diff --git a/Lib/ssl.py b/Lib/ssl.py
+--- a/Lib/ssl.py
++++ b/Lib/ssl.py
+@@ -108,9 +108,16 @@
+     pass
+ 
+ 
+-def _dnsname_to_pat(dn):
++def _dnsname_to_pat(dn, max_wildcards=1):
+     pats = []
+     for frag in dn.split(r'.'):
++        if frag.count('*') > max_wildcards:
++            # Issue #17980: avoid denials of service by refusing more
++            # than one wildcard per fragment.  A survery of established
++            # policy among SSL implementations showed it to be a
++            # reasonable choice.
++            raise CertificateError(
++                "too many wildcards in certificate DNS name: " + repr(dn))
+         if frag == '*':
+             # When '*' is a fragment by itself, it matches a non-empty dotless
+             # fragment.
+diff --git a/Lib/test/test_ssl.py b/Lib/test/test_ssl.py
+--- a/Lib/test/test_ssl.py
++++ b/Lib/test/test_ssl.py
+@@ -326,6 +326,17 @@
+         self.assertRaises(ValueError, ssl.match_hostname, None, 'example.com')
+         self.assertRaises(ValueError, ssl.match_hostname, {}, 'example.com')
+ 
++        # Issue #17980: avoid denials of service by refusing more than one
++        # wildcard per fragment.
++        cert = {'subject': ((('commonName', 'a*b.com'),),)}
++        ok(cert, 'axxb.com')
++        cert = {'subject': ((('commonName', 'a*b.co*'),),)}
++        ok(cert, 'axxb.com')
++        cert = {'subject': ((('commonName', 'a*b*.com'),),)}
++        with self.assertRaises(ssl.CertificateError) as cm:
++            ssl.match_hostname(cert, 'axxbxxc.com')
++        self.assertIn("too many wildcards", str(cm.exception))
++
+     def test_server_side(self):
+         # server_hostname doesn't work for server sockets
+         ctx = ssl.SSLContext(ssl.PROTOCOL_SSLv23)

diff --git a/dev-lang/python/files/python-3.2-CVE-2014-1912.patch b/dev-lang/python/files/python-3.2-CVE-2014-1912.patch
new file mode 100644
index 0000000..0e09507
--- /dev/null
+++ b/dev-lang/python/files/python-3.2-CVE-2014-1912.patch
@@ -0,0 +1,51 @@
+# HG changeset patch
+# User Benjamin Peterson <benjamin@python.org>
+# Date 1389671978 18000
+# Node ID 9c56217e5c793685eeaf0ee224848c402bdf1e4c
+# Parent  2b5cd6d4d149dea6c6941b7e07ada248b29fc9f6
+complain when nbytes > buflen to fix possible buffer overflow (closes #20246)
+
+diff --git a/Lib/test/test_socket.py b/Lib/test/test_socket.py
+--- a/Lib/test/test_socket.py
++++ b/Lib/test/test_socket.py
+@@ -1968,6 +1968,14 @@ class BufferIOTest(SocketConnectedTest):
+ 
+     _testRecvFromIntoMemoryview = _testRecvFromIntoArray
+ 
++    def testRecvFromIntoSmallBuffer(self):
++        # See issue #20246.
++        buf = bytearray(8)
++        self.assertRaises(ValueError, self.cli_conn.recvfrom_into, buf, 1024)
++
++    def _testRecvFromIntoSmallBuffer(self):
++        self.serv_conn.send(MSG*2048)
++
+ 
+ TIPC_STYPE = 2000
+ TIPC_LOWER = 200
+diff --git a/Misc/ACKS b/Misc/ACKS
+--- a/Misc/ACKS
++++ b/Misc/ACKS
+@@ -1020,6 +1020,7 @@ Eric V. Smith
+ Christopher Smith
+ Gregory P. Smith
+ Roy Smith
++Ryan Smith-Roberts
+ Rafal Smotrzyk
+ Dirk Soede
+ Paul Sokolovsky
+diff --git a/Modules/socketmodule.c b/Modules/socketmodule.c
+--- a/Modules/socketmodule.c
++++ b/Modules/socketmodule.c
+@@ -2598,6 +2598,11 @@ sock_recvfrom_into(PySocketSockObject *s
+     if (recvlen == 0) {
+         /* If nbytes was not specified, use the buffer's length */
+         recvlen = buflen;
++    } else if (recvlen > buflen) {
++        PyBuffer_Release(&pbuf);
++        PyErr_SetString(PyExc_ValueError,
++                        "nbytes is greater than the length of the buffer");
++        return NULL;
+     }
+ 
+     readlen = sock_recvfrom_guts(s, buf, recvlen, flags, &addr);

diff --git a/dev-lang/python/files/python-3.2-CVE-2014-4616.patch b/dev-lang/python/files/python-3.2-CVE-2014-4616.patch
new file mode 100644
index 0000000..5b0a397
--- /dev/null
+++ b/dev-lang/python/files/python-3.2-CVE-2014-4616.patch
@@ -0,0 +1,39 @@
+# HG changeset patch
+# User Benjamin Peterson <benjamin@python.org>
+# Date 1397441438 14400
+# Node ID 50c07ed1743da9cd4540d83de0c30bd17aeb41b0
+# Parent  218e28a935ab4494d05215c243e2129625a71893
+in scan_once, prevent the reading of arbitrary memory when passed a negative index
+
+Bug reported by Guido Vranken.
+
+Index: Python-3.2.5/Lib/json/tests/test_decode.py
+===================================================================
+--- Python-3.2.5.orig/Lib/test/json_tests/test_decode.py	2014-06-26 18:40:10.825269130 +0200
++++ Python-3.2.5/Lib/test/json_tests/test_decode.py	2014-06-26 18:40:21.962323035 +0200
+@@ -60,5 +60,9 @@
+         msg = 'escape'
+         self.assertRaisesRegexp(ValueError, msg, self.loads, s)
+ 
++    def test_negative_index(self):
++        d = self.json.JSONDecoder()
++        self.assertRaises(ValueError, d.raw_decode, 'a'*42, -50000)
++
+ class TestPyDecode(TestDecode, PyTest): pass
+ class TestCDecode(TestDecode, CTest): pass
+Index: Python-3.2.5/Modules/_json.c
+===================================================================
+--- a/Modules/_json.c
++++ b/Modules/_json.c
+@@ -930,7 +930,10 @@ scan_once_unicode(PyScannerObject *s, Py
+     PyObject *res;
+     Py_UNICODE *str = PyUnicode_AS_UNICODE(pystr);
+     Py_ssize_t length = PyUnicode_GET_SIZE(pystr);
+-    if (idx >= length) {
++    if (idx < 0)
++        /* Compatibility with Python version. */
++        idx += length;
++    if (idx < 0 || idx >= length) {
+         PyErr_SetNone(PyExc_StopIteration);
+         return NULL;
+     }

diff --git a/dev-lang/python/files/python-3.2-issue16248.patch b/dev-lang/python/files/python-3.2-issue16248.patch
new file mode 100644
index 0000000..d0e80ca
--- /dev/null
+++ b/dev-lang/python/files/python-3.2-issue16248.patch
@@ -0,0 +1,19 @@
+# HG changeset patch
+# User Georg Brandl <georg@python.org>
+# Date 1379142489 -7200
+# Node ID c18c18774e240377d47638fb23e8276c1ac2e606
+# Parent  b9b521efeba385af0142988899a55de1c1c805c7
+Fix tkinter regression introduced by the security fix in #16248.
+
+diff --git a/Lib/tkinter/__init__.py b/Lib/tkinter/__init__.py
+--- a/Lib/tkinter/__init__.py
++++ b/Lib/tkinter/__init__.py
+@@ -1722,7 +1722,7 @@ class Tk(Misc, Wm):
+         # ensure that self.tk is always _something_.
+         self.tk = None
+         if baseName is None:
+-            import sys, os
++            import os
+             baseName = os.path.basename(sys.argv[0])
+             baseName, ext = os.path.splitext(baseName)
+             if ext not in ('.py', '.pyc', '.pyo'):

diff --git a/dev-lang/python/files/python-3.3-CVE-2013-2099.patch b/dev-lang/python/files/python-3.3-CVE-2013-2099.patch
new file mode 100644
index 0000000..44b9ace
--- /dev/null
+++ b/dev-lang/python/files/python-3.3-CVE-2013-2099.patch
@@ -0,0 +1,51 @@
+# HG changeset patch
+# User Antoine Pitrou <solipsis@pitrou.net>
+# Date 1368892602 -7200
+#      Sat May 18 17:56:42 2013 +0200
+# Branch 3.3
+# Node ID c627638753e2d25a98950585b259104a025937a9
+# Parent  9682241dc8fcb4b1aef083bd30860efa070c3d6d
+Issue #17980: Fix possible abuse of ssl.match_hostname() for denial of service using certificates with many wildcards (CVE-2013-2099).
+
+diff --git a/Lib/ssl.py b/Lib/ssl.py
+--- a/Lib/ssl.py
++++ b/Lib/ssl.py
+@@ -129,9 +129,16 @@
+     pass
+ 
+ 
+-def _dnsname_to_pat(dn):
++def _dnsname_to_pat(dn, max_wildcards=1):
+     pats = []
+     for frag in dn.split(r'.'):
++        if frag.count('*') > max_wildcards:
++            # Issue #17980: avoid denials of service by refusing more
++            # than one wildcard per fragment.  A survery of established
++            # policy among SSL implementations showed it to be a
++            # reasonable choice.
++            raise CertificateError(
++                "too many wildcards in certificate DNS name: " + repr(dn))
+         if frag == '*':
+             # When '*' is a fragment by itself, it matches a non-empty dotless
+             # fragment.
+diff --git a/Lib/test/test_ssl.py b/Lib/test/test_ssl.py
+--- a/Lib/test/test_ssl.py
++++ b/Lib/test/test_ssl.py
+@@ -349,6 +349,17 @@
+         self.assertRaises(ValueError, ssl.match_hostname, None, 'example.com')
+         self.assertRaises(ValueError, ssl.match_hostname, {}, 'example.com')
+ 
++        # Issue #17980: avoid denials of service by refusing more than one
++        # wildcard per fragment.
++        cert = {'subject': ((('commonName', 'a*b.com'),),)}
++        ok(cert, 'axxb.com')
++        cert = {'subject': ((('commonName', 'a*b.co*'),),)}
++        ok(cert, 'axxb.com')
++        cert = {'subject': ((('commonName', 'a*b*.com'),),)}
++        with self.assertRaises(ssl.CertificateError) as cm:
++            ssl.match_hostname(cert, 'axxbxxc.com')
++        self.assertIn("too many wildcards", str(cm.exception))
++
+     def test_server_side(self):
+         # server_hostname doesn't work for server sockets
+         ctx = ssl.SSLContext(ssl.PROTOCOL_SSLv23)

diff --git a/dev-lang/python/files/python-3.3-CVE-2014-4616.patch b/dev-lang/python/files/python-3.3-CVE-2014-4616.patch
new file mode 100644
index 0000000..c67b2e5
--- /dev/null
+++ b/dev-lang/python/files/python-3.3-CVE-2014-4616.patch
@@ -0,0 +1,52 @@
+# HG changeset patch
+# User Benjamin Peterson <benjamin@python.org>
+# Date 1397441438 14400
+# Node ID 50c07ed1743da9cd4540d83de0c30bd17aeb41b0
+# Parent  218e28a935ab4494d05215c243e2129625a71893
+in scan_once, prevent the reading of arbitrary memory when passed a negative index
+
+Bug reported by Guido Vranken.
+
+Index: Python-3.3.5/Lib/json/tests/test_decode.py
+===================================================================
+--- Python-3.3.5.orig/Lib/test/test_json/test_decode.py	2014-06-26 18:40:10.825269130 +0200
++++ Python-3.3.5/Lib/test/test_json/test_decode.py	2014-06-26 18:40:21.962323035 +0200
+@@ -60,5 +60,10 @@
+         msg = 'escape'
+         self.assertRaisesRegexp(ValueError, msg, self.loads, s)
+ 
++    def test_negative_index(self):
++        d = self.json.JSONDecoder()
++        self.assertRaises(ValueError, d.raw_decode, 'a'*42, -50000)
++        self.assertRaises(ValueError, d.raw_decode, u'a'*42, -50000)
++
+ class TestPyDecode(TestDecode, PyTest): pass
+ class TestCDecode(TestDecode, CTest): pass
+Index: Python-3.3.5/Misc/ACKS
+===================================================================
+--- Python-3.3.5.orig/Misc/ACKS	2014-06-26 18:40:10.826269135 +0200
++++ Python-3.3.5/Misc/ACKS	2014-06-26 18:40:21.962323035 +0200
+@@ -1085,6 +1085,7 @@
+ Frank Visser
+ Johannes Vogel
+ Alex Volkov
++Guido Vranken
+ Martijn Vries
+ Niki W. Waibel
+ Wojtek Walczak
+Index: Python-3.3.5/Modules/_json.c
+===================================================================
+--- a/Modules/_json.c
++++ b/Modules/_json.c
+@@ -975,7 +975,10 @@ scan_once_unicode(PyScannerObject *s, Py
+     kind = PyUnicode_KIND(pystr);
+     length = PyUnicode_GET_LENGTH(pystr);
+ 
+-    if (idx >= length) {
++    if (idx < 0)
++        /* Compatibility with Python version. */
++        idx += length;
++    if (idx < 0 || idx >= length) {
+         PyErr_SetNone(PyExc_StopIteration);
+         return NULL;
+     }

diff --git a/dev-lang/python/files/python-config-2.4-r1 b/dev-lang/python/files/python-config-2.4-r1
new file mode 100644
index 0000000..af45113
--- /dev/null
+++ b/dev-lang/python/files/python-config-2.4-r1
@@ -0,0 +1,58 @@
+#! /usr/bin/python2.4
+
+import sys
+import os
+import getopt
+from distutils import sysconfig
+
+valid_opts = ['prefix', 'exec-prefix', 'includes', 'libs', 'cflags', 
+              'ldflags', 'help']
+
+def exit_with_usage(code=1):
+    print >>sys.stderr, "Usage: %s [%s]" % (sys.argv[0], 
+                                            '|'.join('--'+opt for opt in valid_opts))
+    sys.exit(code)
+
+try:
+    opts, args = getopt.getopt(sys.argv[1:], '', valid_opts)
+except getopt.error:
+    exit_with_usage()
+
+if not opts:
+    #exit_with_usage()
+    #be compatible with our old python-config-2.4
+    import string
+    print "-lpython2.4 -lm -L/usr/lib/python2.4/config",string.join(string.split(sysconfig.get_config_var("MODLIBS")))
+    sys.exit(0)
+
+opt = opts[0][0]
+
+pyver = sysconfig.get_config_var('VERSION')
+getvar = sysconfig.get_config_var
+
+if opt == '--help':
+    exit_with_usage(0)
+
+elif opt == '--prefix':
+    print sysconfig.PREFIX
+
+elif opt == '--exec-prefix':
+    print sysconfig.EXEC_PREFIX
+
+elif opt in ('--includes', '--cflags'):
+    flags = ['-I' + sysconfig.get_python_inc(),
+             '-I' + sysconfig.get_python_inc(plat_specific=True)]
+    if opt == '--cflags':
+        flags.extend(getvar('CFLAGS').split())
+    print ' '.join(flags)
+
+elif opt in ('--libs', '--ldflags'):
+    libs = getvar('LIBS').split() + getvar('SYSLIBS').split()
+    libs.append('-lpython'+pyver)
+    # add the prefix/lib/pythonX.Y/config dir, but only if there is no
+    # shared library in prefix/lib/.
+    if opt == '--ldflags' and not getvar('Py_ENABLE_SHARED'):
+        libs.insert(0, '-L' + getvar('LIBPL'))
+    print ' '.join(libs)
+
+

diff --git a/dev-lang/python/metadata.xml b/dev-lang/python/metadata.xml
new file mode 100644
index 0000000..51a9e80
--- /dev/null
+++ b/dev-lang/python/metadata.xml
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>python</herd>
+<use>
+	<flag name="threads">Enable threading support. (DON'T DISABLE THIS UNLESS YOU KNOW WHAT YOU'RE DOING)</flag>
+	<flag name="wide-unicode">Enable wide Unicode implementation which uses 4-byte Unicode characters. Switching of this USE flag changes ABI of Python and requires reinstallation of many Python modules. (DON'T DISABLE THIS UNLESS YOU KNOW WHAT YOU'RE DOING)</flag>
+	<flag name="wininst">Install Windows executables required to create an executable installer for MS Windows.</flag>
+</use>
+</pkgmetadata>

diff --git a/dev-lang/python/python-2.7.5-r4.ebuild b/dev-lang/python/python-2.7.5-r4.ebuild
new file mode 100644
index 0000000..b7c0335
--- /dev/null
+++ b/dev-lang/python/python-2.7.5-r4.ebuild
@@ -0,0 +1,538 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/python/python-2.7.5-r4.ebuild,v 1.1 2013/10/26 15:11:20 floppym Exp $
+
+EAPI="4"
+WANT_AUTOMAKE="none"
+WANT_LIBTOOL="none"
+
+inherit autotools eutils flag-o-matic multilib pax-utils python-utils-r1 toolchain-funcs multiprocessing prefix
+
+MY_P="Python-${PV}"
+PATCHSET_REVISION="0"
+PREFIX_PATCHREV="-r2"
+
+DESCRIPTION="An interpreted, interactive, object-oriented programming language"
+HOMEPAGE="http://www.python.org/"
+SRC_URI="http://www.python.org/ftp/python/${PV}/${MY_P}.tar.xz
+	mirror://gentoo/python-gentoo-patches-${PV}-${PATCHSET_REVISION}.tar.xz
+	prefix? ( http://dev.gentoo.org/~grobian/distfiles/python-prefix-${PV}-gentoo-patches${PREFIX_PATCHREV}.tar.bz2 )"
+
+LICENSE="PSF-2"
+SLOT="2.7"
+KEYWORDS="~ppc-aix ~x64-freebsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+IUSE="aqua -berkdb build doc elibc_uclibc examples gdbm hardened ipv6 +ncurses +readline sqlite +ssl +threads tk +wide-unicode wininst +xml"
+
+# Do not add a dependency on dev-lang/python to this ebuild.
+# If you need to apply a patch which requires python for bootstrapping, please
+# run the bootstrap code on your dev box and include the results in the
+# patchset. See bug 447752.
+
+RDEPEND="app-arch/bzip2
+	>=sys-libs/zlib-1.1.3
+	!m68k-mint? ( virtual/libffi )
+	virtual/libintl
+	!build? (
+		berkdb? ( || (
+			sys-libs/db:5.3
+			sys-libs/db:5.2
+			sys-libs/db:5.1
+			sys-libs/db:5.0
+			sys-libs/db:4.8
+			sys-libs/db:4.7
+			sys-libs/db:4.6
+			sys-libs/db:4.5
+			sys-libs/db:4.4
+			sys-libs/db:4.3
+			sys-libs/db:4.2
+		) )
+		gdbm? ( sys-libs/gdbm[berkdb] )
+		ncurses? (
+			>=sys-libs/ncurses-5.2
+			readline? ( >=sys-libs/readline-4.1 )
+		)
+		sqlite? ( >=dev-db/sqlite-3.3.8:3 )
+		ssl? ( dev-libs/openssl )
+		tk? (
+			>=dev-lang/tk-8.0[-aqua]
+			dev-tcltk/blt
+		)
+		xml? ( >=dev-libs/expat-2.1 )
+	)
+	!!<sys-apps/portage-2.1.9"
+DEPEND="${RDEPEND}
+	virtual/pkgconfig
+	>=sys-devel/autoconf-2.65
+	!sys-devel/gcc[libffi]"
+RDEPEND+=" !build? ( app-misc/mime-types )
+	doc? ( dev-python/python-docs:${SLOT} )"
+PDEPEND="app-admin/eselect-python
+	app-admin/python-updater"
+
+S="${WORKDIR}/${MY_P}"
+
+pkg_setup() {
+	if use berkdb; then
+		ewarn "'bsddb' module is out-of-date and no longer maintained inside"
+		ewarn "dev-lang/python. 'bsddb' and 'dbhash' modules have been additionally"
+		ewarn "removed in Python 3. A maintained alternative of 'bsddb3' module"
+		ewarn "is provided by dev-python/bsddb3."
+	else
+		if has_version "=${CATEGORY}/${PN}-${PV%%.*}*[berkdb]"; then
+			ewarn "You are migrating from =${CATEGORY}/${PN}-${PV%%.*}*[berkdb]"
+			ewarn "to =${CATEGORY}/${PN}-${PV%%.*}*[-berkdb]."
+		fi
+	fi
+}
+
+src_prepare() {
+	# Ensure that internal copies of expat, libffi and zlib are not used.
+	rm -r Modules/expat || die
+	rm -r Modules/_ctypes/libffi* || die
+	rm -r Modules/zlib || die
+
+	if tc-is-cross-compiler; then
+		local EPATCH_EXCLUDE="*_regenerate_platform-specific_modules.patch"
+	fi
+
+	# if building a patched source-tar, comment the rm's above, and uncomment
+	# this line:
+	#local EPATCH_EXCLUDE=" 01_all_prefix-no-patch-invention.patch"
+
+	EPATCH_SUFFIX="patch" epatch "${WORKDIR}/${PV}-${PATCHSET_REVISION}"
+
+	epatch "${FILESDIR}/${P}-library-path.patch" #474882
+	epatch "${FILESDIR}/${P}-re_unsigned_ptrdiff.patch" #476426
+	epatch "${FILESDIR}/CVE-2013-4238_py27.patch"
+	epatch "${FILESDIR}/python-2.7-issue16248.patch"
+	epatch "${FILESDIR}/python-2.7-issue18851.patch"
+
+	epatch "${FILESDIR}/${P}-runtime-prefix.patch"
+	eprefixify Lib/{popen2,subprocess}.py
+
+	# Prefix' round of patches
+	# http://prefix.gentooexperimental.org:8000/python-patches-2_7
+	EPATCH_EXCLUDE="${excluded_patches}" EPATCH_SUFFIX="patch" \
+		epatch "${WORKDIR}"/python-prefix-${PV}-gentoo-patches${PREFIX_PATCHREV}
+
+	if use aqua ; then
+		# make sure we don't get a framework reference here
+		sed -i -e '/-DPREFIX=/s:$(prefix):$(FRAMEWORKUNIXTOOLSPREFIX):' \
+			-e '/-DEXEC_PREFIX=/s:$(exec_prefix):$(FRAMEWORKUNIXTOOLSPREFIX):' \
+			Makefile.pre.in || die
+		# Python upstream refuses to listen to configure arguments
+		sed -i -e '/FRAMEWORKINSTALLAPPSPREFIX=/s:="[^"]*":="${prefix}/../Applications":' \
+			configure.ac configure || die
+	fi
+	# don't try to do fancy things on Darwin
+	sed -i -e 's/__APPLE__/__NO_MUCKING_AROUND__/g' Modules/readline.c || die
+
+	# Fix for cross-compiling.
+	epatch "${FILESDIR}/python-2.7.5-nonfatal-compileall.patch"
+
+	sed -i -e "s:@@GENTOO_LIBDIR@@:$(get_libdir):g" \
+		Lib/distutils/command/install.py \
+		Lib/distutils/sysconfig.py \
+		Lib/site.py \
+		Lib/sysconfig.py \
+		Lib/test/test_site.py \
+		Makefile.pre.in \
+		Modules/Setup.dist \
+		Modules/getpath.c \
+		setup.py || die "sed failed to replace @@GENTOO_LIBDIR@@"
+
+	epatch_user
+
+	eautoconf
+	eautoheader
+}
+
+src_configure() {
+	if use build; then
+		# Disable extraneous modules with extra dependencies.
+		export PYTHON_DISABLE_MODULES="dbm _bsddb gdbm _curses _curses_panel readline _sqlite3 _tkinter _elementtree pyexpat"
+		export PYTHON_DISABLE_SSL="1"
+	else
+		# dbm module can be linked against berkdb or gdbm.
+		# Defaults to gdbm when both are enabled, #204343.
+		local disable
+		use berkdb   || use gdbm || disable+=" dbm"
+		use berkdb   || disable+=" _bsddb"
+		use gdbm     || disable+=" gdbm"
+		use ncurses  || disable+=" _curses _curses_panel"
+		use readline || disable+=" readline"
+		use sqlite   || disable+=" _sqlite3"
+		use ssl      || export PYTHON_DISABLE_SSL="1"
+		use tk       || disable+=" _tkinter"
+		use xml      || disable+=" _elementtree pyexpat" # _elementtree uses pyexpat.
+		[[ ${CHOST} == *64-apple-darwin* ]] && disable+=" Nav _Qt" # Carbon
+		[[ ${CHOST} == *-apple-darwin11 ]] && disable+=" _Fm _Qd _Qdoffs"
+		export PYTHON_DISABLE_MODULES="${disable}"
+
+		if ! use xml; then
+			ewarn "You have configured Python without XML support."
+			ewarn "This is NOT a recommended configuration as you"
+			ewarn "may face problems parsing any XML documents."
+		fi
+	fi
+
+	if [[ -n "${PYTHON_DISABLE_MODULES}" ]]; then
+		einfo "Disabled modules: ${PYTHON_DISABLE_MODULES}"
+	fi
+
+	if [[ "$(gcc-major-version)" -ge 4 ]]; then
+		append-flags -fwrapv
+	fi
+
+	filter-flags -malign-double
+
+	[[ "${ARCH}" == "alpha" ]] && append-flags -fPIC
+
+	# https://bugs.gentoo.org/show_bug.cgi?id=50309
+	if is-flagq -O3; then
+		is-flagq -fstack-protector-all && replace-flags -O3 -O2
+		use hardened && replace-flags -O3 -O2
+	fi
+
+	# http://bugs.gentoo.org/show_bug.cgi?id=302137
+	if [[ ${CHOST} == powerpc-*-darwin* ]] && \
+		( is-flag "-mtune=*" || is-flag "-mcpu=*" ) || \
+		[[ ${CHOST} == powerpc64-*-darwin* ]];
+	then
+		replace-flags -O2 -O3
+		replace-flags -Os -O3  # comment #14
+	fi
+
+	# Export CXX so it ends up in /usr/lib/python2.X/config/Makefile.
+	tc-export CXX
+	# The configure script fails to use pkg-config correctly.
+	# http://bugs.python.org/issue15506
+	export ac_cv_path_PKG_CONFIG=$(tc-getPKG_CONFIG)
+
+	# Set LDFLAGS so we link modules with -lpython2.7 correctly.
+	# Needed on FreeBSD unless Python 2.7 is already installed.
+	# Please query BSD team before removing this!
+	# On AIX this is not needed, but would record '.' as runpath.
+	[[ ${CHOST} == *-aix* ]] ||
+	append-ldflags "-L."
+
+	local dbmliborder
+	if use gdbm; then
+		dbmliborder+="${dbmliborder:+:}gdbm"
+	fi
+	if use berkdb; then
+		dbmliborder+="${dbmliborder:+:}bdb"
+	fi
+
+	# python defaults to use 'cc_r' on aix
+	[[ ${CHOST} == *-aix* ]] && myconf="${myconf} --with-gcc=$(tc-getCC)"
+
+	# Don't include libmpc on IRIX - it is only available for 64bit MIPS4
+	[[ ${CHOST} == *-irix* ]] && export ac_cv_lib_mpc_usconfig=no
+
+	[[ ${CHOST} == *-mint* ]] && export ac_cv_func_poll=no
+
+	# we need this to get pythonw, the GUI version of python
+	# --enable-framework and --enable-shared are mutually exclusive:
+	# http://bugs.python.org/issue5809
+	use aqua \
+		&& myconf="${myconf} --enable-framework=${EPREFIX}/usr/lib" \
+		|| myconf="${myconf} --enable-shared"
+
+	BUILD_DIR="${WORKDIR}/${CHOST}"
+	mkdir -p "${BUILD_DIR}" || die
+	cd "${BUILD_DIR}" || die
+
+	# note: for a framework build we need to use ucs2 because OSX
+	# uses that internally too:
+	# http://bugs.python.org/issue763708
+	ECONF_SOURCE="${S}" OPT="" \
+	econf \
+		--with-fpectl \
+		$(use_enable ipv6) \
+		$(use_with threads) \
+		$( (use wide-unicode && use !aqua) && echo "--enable-unicode=ucs4" || echo "--enable-unicode=ucs2") \
+		--infodir='${prefix}/share/info' \
+		--mandir='${prefix}/share/man' \
+		--with-dbmliborder="${dbmliborder}" \
+		--with-libc="" \
+		--enable-loadable-sqlite-extensions \
+		--with-system-expat \
+		--with-system-ffi \
+		${myconf}
+}
+
+src_compile() {
+	# Avoid invoking pgen for cross-compiles.
+	touch Include/graminit.h Python/graminit.c
+
+	cd "${BUILD_DIR}" || die
+	emake
+
+	# Work around bug 329499. See also bug 413751 and 457194.
+	if has_version dev-libs/libffi[pax_kernel]; then
+		pax-mark E python
+	else
+		pax-mark m python
+	fi
+}
+
+src_test() {
+	# Tests will not work when cross compiling.
+	if tc-is-cross-compiler; then
+		elog "Disabling tests due to crosscompiling."
+		return
+	fi
+
+	cd "${BUILD_DIR}" || die
+
+	# Skip failing tests.
+	local skipped_tests="distutils gdb"
+
+	for test in ${skipped_tests}; do
+		mv "${S}"/Lib/test/test_${test}.py "${T}"
+	done
+
+	# Rerun failed tests in verbose mode (regrtest -w).
+	emake test EXTRATESTOPTS="-w" < /dev/tty
+	local result="$?"
+
+	for test in ${skipped_tests}; do
+		mv "${T}/test_${test}.py" "${S}"/Lib/test
+	done
+
+	elog "The following tests have been skipped:"
+	for test in ${skipped_tests}; do
+		elog "test_${test}.py"
+	done
+
+	elog "If you would like to run them, you may:"
+	elog "cd '${EPREFIX}/usr/$(get_libdir)/python${SLOT}/test'"
+	elog "and run the tests separately."
+
+	if [[ "${result}" -ne 0 ]]; then
+		die "emake test failed"
+	fi
+}
+
+src_install() {
+	local libdir=${ED}/usr/$(get_libdir)/python${SLOT}
+
+	cd "${BUILD_DIR}" || die
+	[[ ${CHOST} == *-mint* ]] && keepdir /usr/lib/python${SLOT}/lib-dynload/
+	if use aqua ; then
+		local fwdir="${EPREFIX}"/usr/$(get_libdir)/Python.framework
+
+		# do not make multiple targets in parallel when there are broken
+		# sharedmods (during bootstrap), would build them twice in parallel.
+
+		# let the makefiles do their thing
+		emake -j1 CC="$(tc-getCC)" DESTDIR="${D}" STRIPFLAG= altinstall
+
+		# avoid framework incompatability, degrade to a normal UNIX lib
+		mkdir -p "${ED}"/usr/$(get_libdir)
+		cp "${D}${fwdir}"/Versions/${SLOT}/Python \
+			"${ED}"/usr/$(get_libdir)/libpython${SLOT}.dylib || die
+		chmod u+w "${ED}"/usr/$(get_libdir)/libpython${SLOT}.dylib
+		install_name_tool \
+			-id "${EPREFIX}"/usr/$(get_libdir)/libpython${SLOT}.dylib \
+			"${ED}"/usr/$(get_libdir)/libpython${SLOT}.dylib
+		chmod u-w "${ED}"/usr/$(get_libdir)/libpython${SLOT}.dylib
+		cp libpython${SLOT}.a "${ED}"/usr/$(get_libdir)/ || die
+
+		# rebuild python executable to be the non-pythonw (python wrapper)
+		# version so we don't get framework crap
+		rm "${ED}"/usr/bin/python${SLOT}  # drop existing symlink, bug #390861
+		$(tc-getCC) "${ED}"/usr/$(get_libdir)/libpython${SLOT}.dylib \
+			-o "${ED}"/usr/bin/python${SLOT} \
+			Modules/python.o || die
+
+		# don't install the "Current" symlink, will always conflict
+		rm "${D}${fwdir}"/Versions/Current || die
+		# update whatever points to it, eselect-python sets them
+		rm "${D}${fwdir}"/{Headers,Python,Resources} || die
+
+		# remove unversioned files (that are not made versioned below)
+		pushd "${ED}"/usr/bin > /dev/null
+		rm -f python python-config python${SLOT}-config
+		# python${SLOT} was created above
+		for f in pythonw smtpd${SLOT}.py pydoc idle ; do
+			rm -f ${f} ${f}${SLOT}
+		done
+		# pythonw needs to remain in the framework (that's the whole
+		# reason we go through this framework hassle)
+		ln -s ../lib/Python.framework/Versions/${SLOT}/bin/pythonw${SLOT} || die
+		# copy the scripts to we can fix their shebangs
+		for f in 2to3 pydoc${SLOT} idle${SLOT} python${SLOT}-config ; do
+			# for some reason sometimes they already exist, bug #347321
+			rm -f ${f}
+			cp "${D}${fwdir}"/Versions/${SLOT}/bin/${f} . || die
+			sed -i -e '1c\#!'"${EPREFIX}"'/usr/bin/python'"${SLOT}" \
+				${f} || die
+		done
+		# "fix" to have below collision fix not to bail
+		mv pydoc${SLOT} pydoc || die
+		mv idle${SLOT} idle || die
+		popd > /dev/null
+
+		# basically we don't like the framework stuff at all, so just move
+		# stuff around or add some symlinks to make our life easier
+		mkdir -p "${ED}"/usr
+		mv "${D}${fwdir}"/Versions/${SLOT}/share \
+			"${ED}"/usr/ || die "can't move share"
+		# get includes just UNIX style
+		mkdir -p "${ED}"/usr/include
+		mv "${D}${fwdir}"/Versions/${SLOT}/include/python${SLOT} \
+			"${ED}"/usr/include/ || die "can't move include"
+		pushd "${D}${fwdir}"/Versions/${SLOT}/include > /dev/null
+		ln -s ../../../../../include/python${SLOT} || die
+		popd > /dev/null
+
+		# same for libs
+		# NOTE: can't symlink the entire dir, because a real dir already exists
+		# on upgrade (site-packages), however since we h4x0rzed python to
+		# actually look into the UNIX-style dir, we just switch them around.
+		mkdir -p "${ED}"/usr/$(get_libdir)
+		mv "${D}${fwdir}"/Versions/${SLOT}/lib/python${SLOT} \
+			"${ED}"/usr/lib/ || die "can't move python${SLOT}"
+		pushd "${D}${fwdir}"/Versions/${SLOT}/lib > /dev/null
+		ln -s ../../../../python${SLOT} || die
+		popd > /dev/null
+		# remove now dead symlinks
+		rm "${ED}"/usr/lib/python${SLOT}/config/libpython${SLOT}.a
+		rm "${ED}"/usr/lib/python${SLOT}/config/libpython${SLOT}.dylib
+
+		# fix up Makefile
+		sed -i \
+			-e '/^LINKFORSHARED=/s/-u _PyMac_Error.*$//' \
+			-e '/^LDFLAGS=/s/=.*$/=/' \
+			-e '/^prefix=/s:=.*$:= '"${EPREFIX}"'/usr:' \
+			-e '/^PYTHONFRAMEWORK=/s/=.*$/=/' \
+			-e '/^PYTHONFRAMEWORKDIR=/s/=.*$/= no-framework/' \
+			-e '/^PYTHONFRAMEWORKPREFIX=/s/=.*$/=/' \
+			-e '/^PYTHONFRAMEWORKINSTALLDIR=/s/=.*$/=/' \
+			-e '/^LDLIBRARY=/s:=.*$:libpython$(VERSION).dylib:' \
+			"${ED}"/usr/lib/python${SLOT}/config/Makefile || die
+
+		# add missing version.plist file
+		mkdir -p "${D}${fwdir}"/Versions/${SLOT}/Resources
+		cat > "${D}${fwdir}"/Versions/${SLOT}/Resources/version.plist << EOF
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN"
+"http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+	<key>BuildVersion</key>
+	<string>1</string>
+	<key>CFBundleShortVersionString</key>
+	<string>${PV}</string>
+	<key>CFBundleVersion</key>
+	<string>${PV}</string>
+	<key>ProjectName</key>
+	<string>Python</string>
+	<key>SourceVersion</key>
+	<string>${PV}</string>
+</dict>
+</plist>
+EOF
+	else
+		emake DESTDIR="${D}" altinstall
+	fi
+
+	sed -e "s/\(LDFLAGS=\).*/\1/" -i "${libdir}/config/Makefile" || die "sed failed"
+
+	# Backwards compat with Gentoo divergence.
+	dosym python${SLOT}-config /usr/bin/python-config-${SLOT}
+
+	# Fix collisions between different slots of Python.
+	mv "${ED}usr/bin/2to3" "${ED}usr/bin/2to3-${SLOT}"
+	mv "${ED}usr/bin/pydoc" "${ED}usr/bin/pydoc${SLOT}"
+	mv "${ED}usr/bin/idle" "${ED}usr/bin/idle${SLOT}"
+	rm -f "${ED}usr/bin/smtpd.py"
+
+	# http://src.opensolaris.org/source/xref/jds/spec-files/trunk/SUNWPython.spec
+	# These #defines cause problems when building c99 compliant python modules
+	# http://bugs.python.org/issue1759169
+	[[ ${CHOST} == *-solaris* ]] && sed -i -e \
+		's:^\(^#define \(_POSIX_C_SOURCE\|_XOPEN_SOURCE\|_XOPEN_SOURCE_EXTENDED\).*$\):/* \1 */:' \
+		 "${ED}"/usr/include/python${SLOT}/pyconfig.h
+
+	if use build; then
+		rm -fr "${ED}usr/bin/idle${SLOT}" "${libdir}/"{bsddb,dbhash.py,idlelib,lib-tk,sqlite3,test}
+	else
+		use berkdb || rm -r "${libdir}/"{bsddb,dbhash.py,test/test_bsddb*} || die
+		use sqlite || rm -r "${libdir}/"{sqlite3,test/test_sqlite*} || die
+		use tk || rm -fr "${ED}usr/bin/idle${SLOT}" "${libdir}/"{idlelib,lib-tk} || die
+		use elibc_uclibc && rm -fr "${libdir}/"{bsddb/test,test}
+	fi
+
+	use threads || rm -r "${libdir}/multiprocessing" || die
+	use wininst || rm -r "${libdir}/distutils/command/"wininst-*.exe || die
+
+	dodoc "${S}"/Misc/{ACKS,HISTORY,NEWS} || die "dodoc failed"
+
+	if use examples; then
+		insinto /usr/share/doc/${PF}/examples
+		doins -r "${S}"/Tools
+	fi
+	insinto /usr/share/gdb/auto-load/usr/$(get_libdir) #443510
+	local libname
+	if use aqua ; then
+		# we do framework, so the emake trick below returns a pathname
+		# since that won't work here, use a (cheap) trick instead
+		libname=libpython${SLOT}
+	else
+		libname=$(printf 'e:\n\t@echo $(INSTSONAME)\ninclude Makefile\n' | \
+			emake --no-print-directory -s -f - 2>/dev/null)
+	fi
+	newins "${S}"/Tools/gdb/libpython.py "${libname}"-gdb.py
+
+	newconfd "${FILESDIR}/pydoc.conf" pydoc-${SLOT}
+	newinitd "${FILESDIR}/pydoc.init" pydoc-${SLOT}
+	sed \
+		-e "s:@PYDOC_PORT_VARIABLE@:PYDOC${SLOT/./_}_PORT:" \
+		-e "s:@PYDOC@:pydoc${SLOT}:" \
+		-i "${ED}etc/conf.d/pydoc-${SLOT}" "${ED}etc/init.d/pydoc-${SLOT}" || die "sed failed"
+
+	# for python-exec
+	python_export python${SLOT} EPYTHON PYTHON PYTHON_SITEDIR
+
+	# if not using a cross-compiler, use the fresh binary
+	if ! tc-is-cross-compiler; then
+		local PYTHON=./python
+		local -x LD_LIBRARY_PATH=${LD_LIBRARY_PATH+${LD_LIBRARY_PATH}:}.
+	fi
+
+	echo "EPYTHON='${EPYTHON}'" > epython.py
+	python_domodule epython.py
+}
+
+pkg_preinst() {
+	if has_version "<${CATEGORY}/${PN}-${SLOT}" && ! has_version "${CATEGORY}/${PN}:2.7"; then
+		python_updater_warning="1"
+	fi
+}
+
+eselect_python_update() {
+	if [[ -z "$(eselect python show)" || ! -f "${EROOT}usr/bin/$(eselect python show)" ]]; then
+		eselect python update
+	fi
+
+	if [[ -z "$(eselect python show --python${PV%%.*})" || ! -f "${EROOT}usr/bin/$(eselect python show --python${PV%%.*})" ]]; then
+		eselect python update --python${PV%%.*}
+	fi
+}
+
+pkg_postinst() {
+	eselect_python_update
+
+	if [[ "${python_updater_warning}" == "1" ]]; then
+		ewarn "You have just upgraded from an older version of Python."
+		ewarn "You should switch active version of Python ${PV%%.*} and run"
+		ewarn "'python-updater [options]' to rebuild Python modules."
+	fi
+}
+
+pkg_postrm() {
+	eselect_python_update
+}

diff --git a/dev-lang/python/python-2.7.7.ebuild b/dev-lang/python/python-2.7.7.ebuild
new file mode 100644
index 0000000..e37dcf7
--- /dev/null
+++ b/dev-lang/python/python-2.7.7.ebuild
@@ -0,0 +1,357 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/python/python-2.7.7.ebuild,v 1.10 2014/09/09 21:26:21 vapier Exp $
+
+EAPI="4"
+WANT_AUTOMAKE="none"
+WANT_LIBTOOL="none"
+
+inherit autotools eutils flag-o-matic multilib pax-utils python-utils-r1 toolchain-funcs multiprocessing
+
+MY_P="Python-${PV}"
+PATCHSET_VERSION="2.7.7-0"
+
+DESCRIPTION="An interpreted, interactive, object-oriented programming language"
+HOMEPAGE="http://www.python.org/"
+SRC_URI="http://www.python.org/ftp/python/${PV}/${MY_P}.tar.xz
+	http://dev.gentoo.org/~floppym/python/python-gentoo-patches-${PATCHSET_VERSION}.tar.xz"
+
+LICENSE="PSF-2"
+SLOT="2.7"
+KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd"
+IUSE="-berkdb build doc elibc_uclibc examples gdbm hardened ipv6 +ncurses +readline sqlite +ssl +threads tk +wide-unicode wininst +xml"
+
+# Do not add a dependency on dev-lang/python to this ebuild.
+# If you need to apply a patch which requires python for bootstrapping, please
+# run the bootstrap code on your dev box and include the results in the
+# patchset. See bug 447752.
+
+RDEPEND="app-arch/bzip2
+	>=sys-libs/zlib-1.1.3
+	virtual/libffi
+	virtual/libintl
+	!build? (
+		berkdb? ( || (
+			sys-libs/db:5.3
+			sys-libs/db:5.2
+			sys-libs/db:5.1
+			sys-libs/db:5.0
+			sys-libs/db:4.8
+			sys-libs/db:4.7
+			sys-libs/db:4.6
+			sys-libs/db:4.5
+			sys-libs/db:4.4
+			sys-libs/db:4.3
+			sys-libs/db:4.2
+		) )
+		gdbm? ( sys-libs/gdbm[berkdb] )
+		ncurses? (
+			>=sys-libs/ncurses-5.2
+			readline? ( >=sys-libs/readline-4.1 )
+		)
+		sqlite? ( >=dev-db/sqlite-3.3.8:3 )
+		ssl? ( dev-libs/openssl )
+		tk? (
+			>=dev-lang/tk-8.0
+			dev-tcltk/blt
+			dev-tcltk/tix
+		)
+		xml? ( >=dev-libs/expat-2.1 )
+	)
+	!!<sys-apps/portage-2.1.9"
+DEPEND="${RDEPEND}
+	virtual/pkgconfig
+	>=sys-devel/autoconf-2.65
+	!sys-devel/gcc[libffi]"
+RDEPEND+=" !build? ( app-misc/mime-types )
+	doc? ( dev-python/python-docs:${SLOT} )"
+PDEPEND="app-admin/eselect-python
+	app-admin/python-updater"
+
+S="${WORKDIR}/${MY_P}"
+
+pkg_setup() {
+	if use berkdb; then
+		ewarn "'bsddb' module is out-of-date and no longer maintained inside"
+		ewarn "dev-lang/python. 'bsddb' and 'dbhash' modules have been additionally"
+		ewarn "removed in Python 3. A maintained alternative of 'bsddb3' module"
+		ewarn "is provided by dev-python/bsddb3."
+	else
+		if has_version "=${CATEGORY}/${PN}-${PV%%.*}*[berkdb]"; then
+			ewarn "You are migrating from =${CATEGORY}/${PN}-${PV%%.*}*[berkdb]"
+			ewarn "to =${CATEGORY}/${PN}-${PV%%.*}*[-berkdb]."
+			ewarn "You might need to migrate your databases."
+		fi
+	fi
+}
+
+src_prepare() {
+	# Ensure that internal copies of expat, libffi and zlib are not used.
+	rm -r Modules/expat || die
+	rm -r Modules/_ctypes/libffi* || die
+	rm -r Modules/zlib || die
+
+	if tc-is-cross-compiler; then
+		local EPATCH_EXCLUDE="*_regenerate_platform-specific_modules.patch"
+	fi
+
+	EPATCH_SUFFIX="patch" epatch "${WORKDIR}/patches"
+
+	# Fix for cross-compiling.
+	epatch "${FILESDIR}/python-2.7.5-nonfatal-compileall.patch"
+
+	sed -i -e "s:@@GENTOO_LIBDIR@@:$(get_libdir):g" \
+		Lib/distutils/command/install.py \
+		Lib/distutils/sysconfig.py \
+		Lib/site.py \
+		Lib/sysconfig.py \
+		Lib/test/test_site.py \
+		Makefile.pre.in \
+		Modules/Setup.dist \
+		Modules/getpath.c \
+		setup.py || die "sed failed to replace @@GENTOO_LIBDIR@@"
+
+	epatch_user
+
+	eautoconf
+	eautoheader
+}
+
+src_configure() {
+	if use build; then
+		# Disable extraneous modules with extra dependencies.
+		export PYTHON_DISABLE_MODULES="dbm _bsddb gdbm _curses _curses_panel readline _sqlite3 _tkinter _elementtree pyexpat"
+		export PYTHON_DISABLE_SSL="1"
+	else
+		# dbm module can be linked against berkdb or gdbm.
+		# Defaults to gdbm when both are enabled, #204343.
+		local disable
+		use berkdb   || use gdbm || disable+=" dbm"
+		use berkdb   || disable+=" _bsddb"
+		use gdbm     || disable+=" gdbm"
+		use ncurses  || disable+=" _curses _curses_panel"
+		use readline || disable+=" readline"
+		use sqlite   || disable+=" _sqlite3"
+		use ssl      || export PYTHON_DISABLE_SSL="1"
+		use tk       || disable+=" _tkinter"
+		use xml      || disable+=" _elementtree pyexpat" # _elementtree uses pyexpat.
+		export PYTHON_DISABLE_MODULES="${disable}"
+
+		if ! use xml; then
+			ewarn "You have configured Python without XML support."
+			ewarn "This is NOT a recommended configuration as you"
+			ewarn "may face problems parsing any XML documents."
+		fi
+	fi
+
+	if [[ -n "${PYTHON_DISABLE_MODULES}" ]]; then
+		einfo "Disabled modules: ${PYTHON_DISABLE_MODULES}"
+	fi
+
+	if [[ "$(gcc-major-version)" -ge 4 ]]; then
+		append-flags -fwrapv
+	fi
+
+	filter-flags -malign-double
+
+	[[ "${ARCH}" == "alpha" ]] && append-flags -fPIC
+
+	# https://bugs.gentoo.org/show_bug.cgi?id=50309
+	if is-flagq -O3; then
+		is-flagq -fstack-protector-all && replace-flags -O3 -O2
+		use hardened && replace-flags -O3 -O2
+	fi
+
+	if tc-is-cross-compiler; then
+		# Force some tests that try to poke fs paths.
+		export ac_cv_file__dev_ptc=no
+		export ac_cv_file__dev_ptmx=yes
+	fi
+
+	# Export CXX so it ends up in /usr/lib/python2.X/config/Makefile.
+	tc-export CXX
+	# The configure script fails to use pkg-config correctly.
+	# http://bugs.python.org/issue15506
+	export ac_cv_path_PKG_CONFIG=$(tc-getPKG_CONFIG)
+
+	# Set LDFLAGS so we link modules with -lpython2.7 correctly.
+	# Needed on FreeBSD unless Python 2.7 is already installed.
+	# Please query BSD team before removing this!
+	append-ldflags "-L."
+
+	local dbmliborder
+	if use gdbm; then
+		dbmliborder+="${dbmliborder:+:}gdbm"
+	fi
+	if use berkdb; then
+		dbmliborder+="${dbmliborder:+:}bdb"
+	fi
+
+	BUILD_DIR="${WORKDIR}/${CHOST}"
+	mkdir -p "${BUILD_DIR}" || die
+	cd "${BUILD_DIR}" || die
+
+	ECONF_SOURCE="${S}" OPT="" \
+	econf \
+		--with-fpectl \
+		--enable-shared \
+		$(use_enable ipv6) \
+		$(use_with threads) \
+		$(use wide-unicode && echo "--enable-unicode=ucs4" || echo "--enable-unicode=ucs2") \
+		--infodir='${prefix}/share/info' \
+		--mandir='${prefix}/share/man' \
+		--with-dbmliborder="${dbmliborder}" \
+		--with-libc="" \
+		--enable-loadable-sqlite-extensions \
+		--with-system-expat \
+		--with-system-ffi
+
+	if use threads && grep -q "#define POSIX_SEMAPHORES_NOT_ENABLED 1" pyconfig.h; then
+		eerror "configure has detected that the sem_open function is broken."
+		eerror "Please ensure that /dev/shm is mounted as a tmpfs with mode 1777."
+		die "Broken sem_open function (bug 496328)"
+	fi
+}
+
+src_compile() {
+	# Avoid invoking pgen for cross-compiles.
+	touch Include/graminit.h Python/graminit.c
+
+	cd "${BUILD_DIR}" || die
+	emake
+
+	# Work around bug 329499. See also bug 413751 and 457194.
+	if has_version dev-libs/libffi[pax_kernel]; then
+		pax-mark E python
+	else
+		pax-mark m python
+	fi
+}
+
+src_test() {
+	# Tests will not work when cross compiling.
+	if tc-is-cross-compiler; then
+		elog "Disabling tests due to crosscompiling."
+		return
+	fi
+
+	cd "${BUILD_DIR}" || die
+
+	# Skip failing tests.
+	local skipped_tests="distutils gdb"
+
+	for test in ${skipped_tests}; do
+		mv "${S}"/Lib/test/test_${test}.py "${T}"
+	done
+
+	# Rerun failed tests in verbose mode (regrtest -w).
+	emake test EXTRATESTOPTS="-w" < /dev/tty
+	local result="$?"
+
+	for test in ${skipped_tests}; do
+		mv "${T}/test_${test}.py" "${S}"/Lib/test
+	done
+
+	elog "The following tests have been skipped:"
+	for test in ${skipped_tests}; do
+		elog "test_${test}.py"
+	done
+
+	elog "If you would like to run them, you may:"
+	elog "cd '${EPREFIX}/usr/$(get_libdir)/python${SLOT}/test'"
+	elog "and run the tests separately."
+
+	if [[ "${result}" -ne 0 ]]; then
+		die "emake test failed"
+	fi
+}
+
+src_install() {
+	local libdir=${ED}/usr/$(get_libdir)/python${SLOT}
+
+	cd "${BUILD_DIR}" || die
+	emake DESTDIR="${D}" altinstall
+
+	sed -e "s/\(LDFLAGS=\).*/\1/" -i "${libdir}/config/Makefile" || die "sed failed"
+
+	# Backwards compat with Gentoo divergence.
+	dosym python${SLOT}-config /usr/bin/python-config-${SLOT}
+
+	# Fix collisions between different slots of Python.
+	mv "${ED}usr/bin/2to3" "${ED}usr/bin/2to3-${SLOT}"
+	mv "${ED}usr/bin/pydoc" "${ED}usr/bin/pydoc${SLOT}"
+	mv "${ED}usr/bin/idle" "${ED}usr/bin/idle${SLOT}"
+	rm -f "${ED}usr/bin/smtpd.py"
+
+	if use build; then
+		rm -fr "${ED}usr/bin/idle${SLOT}" "${libdir}/"{bsddb,dbhash.py,idlelib,lib-tk,sqlite3,test}
+	else
+		use berkdb || rm -r "${libdir}/"{bsddb,dbhash.py,test/test_bsddb*} || die
+		use sqlite || rm -r "${libdir}/"{sqlite3,test/test_sqlite*} || die
+		use tk || rm -r "${ED}usr/bin/idle${SLOT}" "${libdir}/"{idlelib,lib-tk} || die
+		use elibc_uclibc && rm -fr "${libdir}/"{bsddb/test,test}
+	fi
+
+	use threads || rm -r "${libdir}/multiprocessing" || die
+	use wininst || rm -r "${libdir}/distutils/command/"wininst-*.exe || die
+
+	dodoc "${S}"/Misc/{ACKS,HISTORY,NEWS}
+
+	if use examples; then
+		insinto /usr/share/doc/${PF}/examples
+		doins -r "${S}"/Tools
+	fi
+	insinto /usr/share/gdb/auto-load/usr/$(get_libdir) #443510
+	local libname=$(printf 'e:\n\t@echo $(INSTSONAME)\ninclude Makefile\n' | \
+		emake --no-print-directory -s -f - 2>/dev/null)
+	newins "${S}"/Tools/gdb/libpython.py "${libname}"-gdb.py
+
+	newconfd "${FILESDIR}/pydoc.conf" pydoc-${SLOT}
+	newinitd "${FILESDIR}/pydoc.init" pydoc-${SLOT}
+	sed \
+		-e "s:@PYDOC_PORT_VARIABLE@:PYDOC${SLOT/./_}_PORT:" \
+		-e "s:@PYDOC@:pydoc${SLOT}:" \
+		-i "${ED}etc/conf.d/pydoc-${SLOT}" "${ED}etc/init.d/pydoc-${SLOT}" || die "sed failed"
+
+	# for python-exec
+	python_export python${SLOT} EPYTHON PYTHON PYTHON_SITEDIR
+
+	# if not using a cross-compiler, use the fresh binary
+	if ! tc-is-cross-compiler; then
+		local PYTHON=./python
+		local -x LD_LIBRARY_PATH=${LD_LIBRARY_PATH+${LD_LIBRARY_PATH}:}.
+	fi
+
+	echo "EPYTHON='${EPYTHON}'" > epython.py
+	python_domodule epython.py
+}
+
+pkg_preinst() {
+	if has_version "<${CATEGORY}/${PN}-${SLOT}" && ! has_version "${CATEGORY}/${PN}:2.7"; then
+		python_updater_warning="1"
+	fi
+}
+
+eselect_python_update() {
+	if [[ -z "$(eselect python show)" || ! -f "${EROOT}usr/bin/$(eselect python show)" ]]; then
+		eselect python update
+	fi
+
+	if [[ -z "$(eselect python show --python${PV%%.*})" || ! -f "${EROOT}usr/bin/$(eselect python show --python${PV%%.*})" ]]; then
+		eselect python update --python${PV%%.*}
+	fi
+}
+
+pkg_postinst() {
+	eselect_python_update
+
+	if [[ "${python_updater_warning}" == "1" ]]; then
+		ewarn "You have just upgraded from an older version of Python."
+		ewarn "You should switch active version of Python ${PV%%.*} and run"
+		ewarn "'python-updater [options]' to rebuild Python modules."
+	fi
+}
+
+pkg_postrm() {
+	eselect_python_update
+}

diff --git a/dev-lang/python/python-2.7.8.ebuild b/dev-lang/python/python-2.7.8.ebuild
new file mode 100644
index 0000000..f21bc52
--- /dev/null
+++ b/dev-lang/python/python-2.7.8.ebuild
@@ -0,0 +1,360 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/python/python-2.7.8.ebuild,v 1.2 2014/09/22 16:47:38 floppym Exp $
+
+EAPI="4"
+WANT_AUTOMAKE="none"
+WANT_LIBTOOL="none"
+
+inherit autotools eutils flag-o-matic multilib pax-utils python-utils-r1 toolchain-funcs multiprocessing
+
+MY_P="Python-${PV}"
+PATCHSET_VERSION="2.7.8-0"
+
+DESCRIPTION="An interpreted, interactive, object-oriented programming language"
+HOMEPAGE="http://www.python.org/"
+SRC_URI="http://www.python.org/ftp/python/${PV}/${MY_P}.tar.xz
+	http://dev.gentoo.org/~floppym/python/python-gentoo-patches-${PATCHSET_VERSION}.tar.xz"
+
+LICENSE="PSF-2"
+SLOT="2.7"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd"
+IUSE="-berkdb build doc elibc_uclibc examples gdbm hardened ipv6 +ncurses +readline sqlite +ssl +threads tk +wide-unicode wininst +xml"
+
+# Do not add a dependency on dev-lang/python to this ebuild.
+# If you need to apply a patch which requires python for bootstrapping, please
+# run the bootstrap code on your dev box and include the results in the
+# patchset. See bug 447752.
+
+RDEPEND="app-arch/bzip2
+	>=sys-libs/zlib-1.1.3
+	virtual/libffi
+	virtual/libintl
+	!build? (
+		berkdb? ( || (
+			sys-libs/db:5.3
+			sys-libs/db:5.2
+			sys-libs/db:5.1
+			sys-libs/db:5.0
+			sys-libs/db:4.8
+			sys-libs/db:4.7
+			sys-libs/db:4.6
+			sys-libs/db:4.5
+			sys-libs/db:4.4
+			sys-libs/db:4.3
+			sys-libs/db:4.2
+		) )
+		gdbm? ( sys-libs/gdbm[berkdb] )
+		ncurses? (
+			>=sys-libs/ncurses-5.2
+			readline? ( >=sys-libs/readline-4.1 )
+		)
+		sqlite? ( >=dev-db/sqlite-3.3.8:3 )
+		ssl? ( dev-libs/openssl )
+		tk? (
+			>=dev-lang/tk-8.0
+			dev-tcltk/blt
+			dev-tcltk/tix
+		)
+		xml? ( >=dev-libs/expat-2.1 )
+	)
+	!!<sys-apps/portage-2.1.9"
+DEPEND="${RDEPEND}
+	virtual/pkgconfig
+	>=sys-devel/autoconf-2.65
+	!sys-devel/gcc[libffi]"
+RDEPEND+=" !build? ( app-misc/mime-types )
+	doc? ( dev-python/python-docs:${SLOT} )"
+PDEPEND="app-admin/eselect-python
+	app-admin/python-updater"
+
+S="${WORKDIR}/${MY_P}"
+
+pkg_setup() {
+	if use berkdb; then
+		ewarn "'bsddb' module is out-of-date and no longer maintained inside"
+		ewarn "dev-lang/python. 'bsddb' and 'dbhash' modules have been additionally"
+		ewarn "removed in Python 3. A maintained alternative of 'bsddb3' module"
+		ewarn "is provided by dev-python/bsddb3."
+	else
+		if has_version "=${CATEGORY}/${PN}-${PV%%.*}*[berkdb]"; then
+			ewarn "You are migrating from =${CATEGORY}/${PN}-${PV%%.*}*[berkdb]"
+			ewarn "to =${CATEGORY}/${PN}-${PV%%.*}*[-berkdb]."
+			ewarn "You might need to migrate your databases."
+		fi
+	fi
+}
+
+src_prepare() {
+	# Ensure that internal copies of expat, libffi and zlib are not used.
+	rm -r Modules/expat || die
+	rm -r Modules/_ctypes/libffi* || die
+	rm -r Modules/zlib || die
+
+	if tc-is-cross-compiler; then
+		local EPATCH_EXCLUDE="*_regenerate_platform-specific_modules.patch"
+	fi
+
+	EPATCH_SUFFIX="patch" epatch "${WORKDIR}/patches"
+
+	# Fix for cross-compiling.
+	epatch "${FILESDIR}/python-2.7.5-nonfatal-compileall.patch"
+
+	sed -i -e "s:@@GENTOO_LIBDIR@@:$(get_libdir):g" \
+		Lib/distutils/command/install.py \
+		Lib/distutils/sysconfig.py \
+		Lib/site.py \
+		Lib/sysconfig.py \
+		Lib/test/test_site.py \
+		Makefile.pre.in \
+		Modules/Setup.dist \
+		Modules/getpath.c \
+		setup.py || die "sed failed to replace @@GENTOO_LIBDIR@@"
+
+	epatch_user
+
+	eautoconf
+	eautoheader
+}
+
+src_configure() {
+	if use build; then
+		# Disable extraneous modules with extra dependencies.
+		export PYTHON_DISABLE_MODULES="dbm _bsddb gdbm _curses _curses_panel readline _sqlite3 _tkinter _elementtree pyexpat"
+		export PYTHON_DISABLE_SSL="1"
+	else
+		# dbm module can be linked against berkdb or gdbm.
+		# Defaults to gdbm when both are enabled, #204343.
+		local disable
+		use berkdb   || use gdbm || disable+=" dbm"
+		use berkdb   || disable+=" _bsddb"
+		use gdbm     || disable+=" gdbm"
+		use ncurses  || disable+=" _curses _curses_panel"
+		use readline || disable+=" readline"
+		use sqlite   || disable+=" _sqlite3"
+		use ssl      || export PYTHON_DISABLE_SSL="1"
+		use tk       || disable+=" _tkinter"
+		use xml      || disable+=" _elementtree pyexpat" # _elementtree uses pyexpat.
+		export PYTHON_DISABLE_MODULES="${disable}"
+
+		if ! use xml; then
+			ewarn "You have configured Python without XML support."
+			ewarn "This is NOT a recommended configuration as you"
+			ewarn "may face problems parsing any XML documents."
+		fi
+	fi
+
+	if [[ -n "${PYTHON_DISABLE_MODULES}" ]]; then
+		einfo "Disabled modules: ${PYTHON_DISABLE_MODULES}"
+	fi
+
+	if [[ "$(gcc-major-version)" -ge 4 ]]; then
+		append-flags -fwrapv
+	fi
+
+	filter-flags -malign-double
+
+	[[ "${ARCH}" == "alpha" ]] && append-flags -fPIC
+
+	# https://bugs.gentoo.org/show_bug.cgi?id=50309
+	if is-flagq -O3; then
+		is-flagq -fstack-protector-all && replace-flags -O3 -O2
+		use hardened && replace-flags -O3 -O2
+	fi
+
+	if tc-is-cross-compiler; then
+		# Force some tests that try to poke fs paths.
+		export ac_cv_file__dev_ptc=no
+		export ac_cv_file__dev_ptmx=yes
+	fi
+
+	# Export CXX so it ends up in /usr/lib/python2.X/config/Makefile.
+	tc-export CXX
+	# The configure script fails to use pkg-config correctly.
+	# http://bugs.python.org/issue15506
+	export ac_cv_path_PKG_CONFIG=$(tc-getPKG_CONFIG)
+
+	# Set LDFLAGS so we link modules with -lpython2.7 correctly.
+	# Needed on FreeBSD unless Python 2.7 is already installed.
+	# Please query BSD team before removing this!
+	append-ldflags "-L."
+
+	local dbmliborder
+	if use gdbm; then
+		dbmliborder+="${dbmliborder:+:}gdbm"
+	fi
+	if use berkdb; then
+		dbmliborder+="${dbmliborder:+:}bdb"
+	fi
+
+	BUILD_DIR="${WORKDIR}/${CHOST}"
+	mkdir -p "${BUILD_DIR}" || die
+	cd "${BUILD_DIR}" || die
+
+	ECONF_SOURCE="${S}" OPT="" \
+	econf \
+		--with-fpectl \
+		--enable-shared \
+		$(use_enable ipv6) \
+		$(use_with threads) \
+		$(use wide-unicode && echo "--enable-unicode=ucs4" || echo "--enable-unicode=ucs2") \
+		--infodir='${prefix}/share/info' \
+		--mandir='${prefix}/share/man' \
+		--with-dbmliborder="${dbmliborder}" \
+		--with-libc="" \
+		--enable-loadable-sqlite-extensions \
+		--with-system-expat \
+		--with-system-ffi
+
+	if use threads && grep -q "#define POSIX_SEMAPHORES_NOT_ENABLED 1" pyconfig.h; then
+		eerror "configure has detected that the sem_open function is broken."
+		eerror "Please ensure that /dev/shm is mounted as a tmpfs with mode 1777."
+		die "Broken sem_open function (bug 496328)"
+	fi
+}
+
+src_compile() {
+	# Avoid invoking pgen for cross-compiles.
+	touch Include/graminit.h Python/graminit.c
+
+	# Guide h2py to look into glibc of Prefix
+	use rap && export INCLUDE="${EPREFIX}"/usr/include
+
+	cd "${BUILD_DIR}" || die
+	emake
+
+	# Work around bug 329499. See also bug 413751 and 457194.
+	if has_version dev-libs/libffi[pax_kernel]; then
+		pax-mark E python
+	else
+		pax-mark m python
+	fi
+}
+
+src_test() {
+	# Tests will not work when cross compiling.
+	if tc-is-cross-compiler; then
+		elog "Disabling tests due to crosscompiling."
+		return
+	fi
+
+	cd "${BUILD_DIR}" || die
+
+	# Skip failing tests.
+	local skipped_tests="distutils gdb"
+
+	for test in ${skipped_tests}; do
+		mv "${S}"/Lib/test/test_${test}.py "${T}"
+	done
+
+	# Rerun failed tests in verbose mode (regrtest -w).
+	emake test EXTRATESTOPTS="-w" < /dev/tty
+	local result="$?"
+
+	for test in ${skipped_tests}; do
+		mv "${T}/test_${test}.py" "${S}"/Lib/test
+	done
+
+	elog "The following tests have been skipped:"
+	for test in ${skipped_tests}; do
+		elog "test_${test}.py"
+	done
+
+	elog "If you would like to run them, you may:"
+	elog "cd '${EPREFIX}/usr/$(get_libdir)/python${SLOT}/test'"
+	elog "and run the tests separately."
+
+	if [[ "${result}" -ne 0 ]]; then
+		die "emake test failed"
+	fi
+}
+
+src_install() {
+	local libdir=${ED}/usr/$(get_libdir)/python${SLOT}
+
+	cd "${BUILD_DIR}" || die
+	emake DESTDIR="${D}" altinstall
+
+	sed -e "s/\(LDFLAGS=\).*/\1/" -i "${libdir}/config/Makefile" || die "sed failed"
+
+	# Backwards compat with Gentoo divergence.
+	dosym python${SLOT}-config /usr/bin/python-config-${SLOT}
+
+	# Fix collisions between different slots of Python.
+	mv "${ED}usr/bin/2to3" "${ED}usr/bin/2to3-${SLOT}"
+	mv "${ED}usr/bin/pydoc" "${ED}usr/bin/pydoc${SLOT}"
+	mv "${ED}usr/bin/idle" "${ED}usr/bin/idle${SLOT}"
+	rm -f "${ED}usr/bin/smtpd.py"
+
+	if use build; then
+		rm -fr "${ED}usr/bin/idle${SLOT}" "${libdir}/"{bsddb,dbhash.py,idlelib,lib-tk,sqlite3,test}
+	else
+		use berkdb || rm -r "${libdir}/"{bsddb,dbhash.py,test/test_bsddb*} || die
+		use sqlite || rm -r "${libdir}/"{sqlite3,test/test_sqlite*} || die
+		use tk || rm -r "${ED}usr/bin/idle${SLOT}" "${libdir}/"{idlelib,lib-tk} || die
+		use elibc_uclibc && rm -fr "${libdir}/"{bsddb/test,test}
+	fi
+
+	use threads || rm -r "${libdir}/multiprocessing" || die
+	use wininst || rm -r "${libdir}/distutils/command/"wininst-*.exe || die
+
+	dodoc "${S}"/Misc/{ACKS,HISTORY,NEWS}
+
+	if use examples; then
+		insinto /usr/share/doc/${PF}/examples
+		doins -r "${S}"/Tools
+	fi
+	insinto /usr/share/gdb/auto-load/usr/$(get_libdir) #443510
+	local libname=$(printf 'e:\n\t@echo $(INSTSONAME)\ninclude Makefile\n' | \
+		emake --no-print-directory -s -f - 2>/dev/null)
+	newins "${S}"/Tools/gdb/libpython.py "${libname}"-gdb.py
+
+	newconfd "${FILESDIR}/pydoc.conf" pydoc-${SLOT}
+	newinitd "${FILESDIR}/pydoc.init" pydoc-${SLOT}
+	sed \
+		-e "s:@PYDOC_PORT_VARIABLE@:PYDOC${SLOT/./_}_PORT:" \
+		-e "s:@PYDOC@:pydoc${SLOT}:" \
+		-i "${ED}etc/conf.d/pydoc-${SLOT}" "${ED}etc/init.d/pydoc-${SLOT}" || die "sed failed"
+
+	# for python-exec
+	python_export python${SLOT} EPYTHON PYTHON PYTHON_SITEDIR
+
+	# if not using a cross-compiler, use the fresh binary
+	if ! tc-is-cross-compiler; then
+		local PYTHON=./python
+		local -x LD_LIBRARY_PATH=${LD_LIBRARY_PATH+${LD_LIBRARY_PATH}:}.
+	fi
+
+	echo "EPYTHON='${EPYTHON}'" > epython.py
+	python_domodule epython.py
+}
+
+pkg_preinst() {
+	if has_version "<${CATEGORY}/${PN}-${SLOT}" && ! has_version "${CATEGORY}/${PN}:2.7"; then
+		python_updater_warning="1"
+	fi
+}
+
+eselect_python_update() {
+	if [[ -z "$(eselect python show)" || ! -f "${EROOT}usr/bin/$(eselect python show)" ]]; then
+		eselect python update
+	fi
+
+	if [[ -z "$(eselect python show --python${PV%%.*})" || ! -f "${EROOT}usr/bin/$(eselect python show --python${PV%%.*})" ]]; then
+		eselect python update --python${PV%%.*}
+	fi
+}
+
+pkg_postinst() {
+	eselect_python_update
+
+	if [[ "${python_updater_warning}" == "1" ]]; then
+		ewarn "You have just upgraded from an older version of Python."
+		ewarn "You should switch active version of Python ${PV%%.*} and run"
+		ewarn "'python-updater [options]' to rebuild Python modules."
+	fi
+}
+
+pkg_postrm() {
+	eselect_python_update
+}

diff --git a/dev-lang/python/python-3.2.5-r6.ebuild b/dev-lang/python/python-3.2.5-r6.ebuild
new file mode 100644
index 0000000..08695ed
--- /dev/null
+++ b/dev-lang/python/python-3.2.5-r6.ebuild
@@ -0,0 +1,382 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/python/python-3.2.5-r6.ebuild,v 1.9 2014/08/09 10:47:42 ago Exp $
+
+EAPI="4"
+WANT_AUTOMAKE="none"
+WANT_LIBTOOL="none"
+
+inherit autotools eutils flag-o-matic multilib pax-utils python-utils-r1 toolchain-funcs multiprocessing
+
+MY_P="Python-${PV}"
+PATCHSET_REVISION="1"
+
+DESCRIPTION="An interpreted, interactive, object-oriented programming language"
+HOMEPAGE="http://www.python.org/"
+SRC_URI="http://www.python.org/ftp/python/${PV}/${MY_P}.tar.xz
+	http://dev.gentoo.org/~floppym/python/python-gentoo-patches-${PV}-${PATCHSET_REVISION}.tar.xz"
+
+LICENSE="PSF-2"
+SLOT="3.2"
+KEYWORDS="alpha amd64 arm hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd"
+IUSE="build doc elibc_uclibc examples gdbm hardened ipv6 +ncurses +readline sqlite +ssl +threads tk +wide-unicode wininst +xml"
+
+# Do not add a dependency on dev-lang/python to this ebuild.
+# If you need to apply a patch which requires python for bootstrapping, please
+# run the bootstrap code on your dev box and include the results in the
+# patchset. See bug 447752.
+
+RDEPEND="app-arch/bzip2
+	>=sys-libs/zlib-1.1.3
+	virtual/libffi
+	virtual/libintl
+	!build? (
+		gdbm? ( sys-libs/gdbm[berkdb] )
+		ncurses? (
+			>=sys-libs/ncurses-5.2
+			readline? ( >=sys-libs/readline-4.1 )
+		)
+		sqlite? ( >=dev-db/sqlite-3.3.8:3 )
+		ssl? ( dev-libs/openssl )
+		tk? (
+			>=dev-lang/tk-8.0
+			dev-tcltk/blt
+			dev-tcltk/tix
+		)
+		xml? ( >=dev-libs/expat-2.1 )
+	)"
+DEPEND="${RDEPEND}
+	virtual/pkgconfig
+	>=sys-devel/autoconf-2.65
+	!sys-devel/gcc[libffi]"
+RDEPEND+=" !build? ( app-misc/mime-types )
+	doc? ( dev-python/python-docs:${SLOT} )"
+PDEPEND="app-admin/eselect-python
+	app-admin/python-updater"
+
+S="${WORKDIR}/${MY_P}"
+
+pkg_setup() {
+	if [[ "${PV}" =~ ^3\.2(\.[1234])?(_pre)? ]]; then
+		rm -f "${EROOT}usr/$(get_libdir)/llibpython3.so"
+	else
+		die "Deprecated code not deleted"
+	fi
+}
+
+src_prepare() {
+	# Ensure that internal copies of expat, libffi and zlib are not used.
+	rm -r Modules/expat
+	rm -r Modules/_ctypes/libffi*
+	rm -r Modules/zlib
+
+	local excluded_patches
+	if ! tc-is-cross-compiler; then
+		excluded_patches="*_all_crosscompile.patch"
+	fi
+
+	EPATCH_EXCLUDE="${excluded_patches}" EPATCH_SUFFIX="patch" \
+		epatch "${WORKDIR}/patches"
+
+	epatch "${FILESDIR}/python-3.2-CVE-2013-2099.patch"
+	epatch "${FILESDIR}/CVE-2013-4238_py33.patch"
+	epatch "${FILESDIR}/python-3.2-issue16248.patch"
+
+	sed -i -e "s:@@GENTOO_LIBDIR@@:$(get_libdir):g" \
+		Lib/distutils/command/install.py \
+		Lib/distutils/sysconfig.py \
+		Lib/site.py \
+		Lib/sysconfig.py \
+		Lib/test/test_site.py \
+		Makefile.pre.in \
+		Modules/Setup.dist \
+		Modules/getpath.c \
+		setup.py || die "sed failed to replace @@GENTOO_LIBDIR@@"
+
+	# Disable ABI flags.
+	sed -e "s/ABIFLAGS=\"\${ABIFLAGS}.*\"/:/" -i configure.ac || die "sed failed"
+
+	# bug #514686
+	epatch "${FILESDIR}/${PN}-3.2-CVE-2014-4616.patch"
+	# bug #500518
+	epatch "${FILESDIR}/${PN}-3.2-CVE-2014-1912.patch"
+
+	epatch_user
+
+	eautoconf
+	eautoheader
+}
+
+src_configure() {
+	if use build; then
+		# Disable extraneous modules with extra dependencies.
+		export PYTHON_DISABLE_MODULES="gdbm _curses _curses_panel readline _sqlite3 _tkinter _elementtree pyexpat"
+		export PYTHON_DISABLE_SSL="1"
+	else
+		local disable
+		use gdbm     || disable+=" gdbm"
+		use ncurses  || disable+=" _curses _curses_panel"
+		use readline || disable+=" readline"
+		use sqlite   || disable+=" _sqlite3"
+		use ssl      || export PYTHON_DISABLE_SSL="1"
+		use tk       || disable+=" _tkinter"
+		use xml      || disable+=" _elementtree pyexpat" # _elementtree uses pyexpat.
+		export PYTHON_DISABLE_MODULES="${disable}"
+
+		if ! use xml; then
+			ewarn "You have configured Python without XML support."
+			ewarn "This is NOT a recommended configuration as you"
+			ewarn "may face problems parsing any XML documents."
+		fi
+	fi
+
+	if [[ -n "${PYTHON_DISABLE_MODULES}" ]]; then
+		einfo "Disabled modules: ${PYTHON_DISABLE_MODULES}"
+	fi
+
+	if [[ "$(gcc-major-version)" -ge 4 ]]; then
+		append-flags -fwrapv
+	fi
+
+	filter-flags -malign-double
+
+	[[ "${ARCH}" == "alpha" ]] && append-flags -fPIC
+
+	# https://bugs.gentoo.org/show_bug.cgi?id=50309
+	if is-flagq -O3; then
+		is-flagq -fstack-protector-all && replace-flags -O3 -O2
+		use hardened && replace-flags -O3 -O2
+	fi
+
+	# Run the configure scripts in parallel.
+	multijob_init
+
+	mkdir -p "${WORKDIR}"/{${CBUILD},${CHOST}}
+
+	if tc-is-cross-compiler; then
+		(
+		multijob_child_init
+		cd "${WORKDIR}"/${CBUILD} >/dev/null
+		OPT="-O1" CFLAGS="" CPPFLAGS="" LDFLAGS="" CC="" \
+		"${S}"/configure \
+			--{build,host}=${CBUILD} \
+			|| die "cross-configure failed"
+		) &
+		multijob_post_fork
+
+		# The configure script assumes it's buggy when cross-compiling.
+		export ac_cv_buggy_getaddrinfo=no
+		export ac_cv_have_long_long_format=yes
+	fi
+
+	# Export CXX so it ends up in /usr/lib/python3.X/config/Makefile.
+	tc-export CXX
+	# The configure script fails to use pkg-config correctly.
+	# http://bugs.python.org/issue15506
+	export ac_cv_path_PKG_CONFIG=$(tc-getPKG_CONFIG)
+
+	# Set LDFLAGS so we link modules with -lpython3.2 correctly.
+	# Needed on FreeBSD unless Python 3.2 is already installed.
+	# Please query BSD team before removing this!
+	append-ldflags "-L."
+
+	local dbmliborder
+	if use gdbm; then
+		dbmliborder+="${dbmliborder:+:}gdbm"
+	fi
+
+	cd "${WORKDIR}"/${CHOST}
+	ECONF_SOURCE=${S} OPT="" \
+	econf \
+		--with-fpectl \
+		--enable-shared \
+		$(use_enable ipv6) \
+		$(use_with threads) \
+		$(use_with wide-unicode) \
+		--infodir='${prefix}/share/info' \
+		--mandir='${prefix}/share/man' \
+		--with-computed-gotos \
+		--with-dbmliborder="${dbmliborder}" \
+		--with-libc="" \
+		--enable-loadable-sqlite-extensions \
+		--with-system-expat \
+		--with-system-ffi
+
+	if use threads && grep -q "#define POSIX_SEMAPHORES_NOT_ENABLED 1" pyconfig.h; then
+		eerror "configure has detected that the sem_open function is broken."
+		eerror "Please ensure that /dev/shm is mounted as a tmpfs with mode 1777."
+		die "Broken sem_open function (bug 496328)"
+	fi
+
+	if tc-is-cross-compiler; then
+		# Modify the Makefile.pre so we don't regen for the host/ one.
+		# We need to link the host python programs into $PWD and run
+		# them from here because the distutils sysconfig module will
+		# parse Makefile/etc... from argv[0], and we need it to pick
+		# up the target settings, not the host ones.
+		sed -i \
+			-e '1iHOSTPYTHONPATH = ./hostpythonpath:' \
+			-e '/^HOSTPYTHON/s:=.*:= ./hostpython:' \
+			-e '/^HOSTPGEN/s:=.*:= ./Parser/hostpgen:' \
+			Makefile{.pre,} || die "sed failed"
+	fi
+
+	multijob_finish
+}
+
+src_compile() {
+	if tc-is-cross-compiler; then
+		cd "${WORKDIR}"/${CBUILD}
+		# Disable as many modules as possible -- but we need a few to install.
+		PYTHON_DISABLE_MODULES=$(
+			sed -n "/Extension('/{s:^.*Extension('::;s:'.*::;p}" "${S}"/setup.py | \
+				egrep -v '(unicodedata|time|cStringIO|_struct|binascii)'
+		) \
+		PTHON_DISABLE_SSL="1" \
+		SYSROOT= \
+		emake
+		# See comment in src_configure about these.
+		ln python ../${CHOST}/hostpython || die
+		ln Parser/pgen ../${CHOST}/Parser/hostpgen || die
+		ln -s ../${CBUILD}/build/lib.*/ ../${CHOST}/hostpythonpath || die
+	fi
+
+	cd "${WORKDIR}"/${CHOST}
+	emake CPPFLAGS="" CFLAGS="" LDFLAGS=""
+
+	# Work around bug 329499. See also bug 413751 and 457194.
+	if has_version dev-libs/libffi[pax_kernel]; then
+		pax-mark E python
+	else
+		pax-mark m python
+	fi
+}
+
+src_test() {
+	# Tests will not work when cross compiling.
+	if tc-is-cross-compiler; then
+		elog "Disabling tests due to crosscompiling."
+		return
+	fi
+
+	cd "${WORKDIR}"/${CHOST}
+
+	# Skip failing tests.
+	local skipped_tests="gdb"
+
+	for test in ${skipped_tests}; do
+		mv "${S}"/Lib/test/test_${test}.py "${T}"
+	done
+
+	# Rerun failed tests in verbose mode (regrtest -w).
+	PYTHONDONTWRITEBYTECODE="" emake test EXTRATESTOPTS="-w" CPPFLAGS="" CFLAGS="" LDFLAGS="" < /dev/tty
+	local result="$?"
+
+	for test in ${skipped_tests}; do
+		mv "${T}/test_${test}.py" "${S}"/Lib/test
+	done
+
+	elog "The following tests have been skipped:"
+	for test in ${skipped_tests}; do
+		elog "test_${test}.py"
+	done
+
+	elog "If you would like to run them, you may:"
+	elog "cd '${EPREFIX}/usr/$(get_libdir)/python${SLOT}/test'"
+	elog "and run the tests separately."
+
+	if [[ "${result}" -ne 0 ]]; then
+		die "emake test failed"
+	fi
+}
+
+src_install() {
+	local libdir=${ED}/usr/$(get_libdir)/python${SLOT}
+
+	cd "${WORKDIR}"/${CHOST}
+	emake DESTDIR="${D}" altinstall
+
+	sed \
+		-e "s/\(CONFIGURE_LDFLAGS=\).*/\1/" \
+		-e "s/\(PY_LDFLAGS=\).*/\1/" \
+		-i "${libdir}/config-${SLOT}/Makefile" || die "sed failed"
+
+	# Backwards compat with Gentoo divergence.
+	dosym python${SLOT}-config /usr/bin/python-config-${SLOT}
+
+	# Fix collisions between different slots of Python.
+	rm "${ED}usr/$(get_libdir)/libpython3.so" || die
+
+	if use build; then
+		rm -fr "${ED}usr/bin/idle${SLOT}" "${libdir}/"{idlelib,sqlite3,test,tkinter}
+	else
+		use elibc_uclibc && rm -fr "${libdir}/test"
+		use sqlite || rm -fr "${libdir}/"{sqlite3,test/test_sqlite*}
+		use tk || rm -fr "${ED}usr/bin/idle${SLOT}" "${libdir}/"{idlelib,tkinter,test/test_tk*}
+	fi
+
+	use threads || rm -fr "${libdir}/multiprocessing"
+	use wininst || rm -f "${libdir}/distutils/command/"wininst-*.exe
+
+	dodoc "${S}"/Misc/{ACKS,HISTORY,NEWS}
+
+	if use examples; then
+		insinto /usr/share/doc/${PF}/examples
+		find "${S}"/Tools -name __pycache__ -print0 | xargs -0 rm -fr
+		doins -r "${S}"/Tools
+	fi
+	insinto /usr/share/gdb/auto-load/usr/$(get_libdir) #443510
+	local libname=$(printf 'e:\n\t@echo $(INSTSONAME)\ninclude Makefile\n' | \
+		emake --no-print-directory -s -f - 2>/dev/null)
+	newins "${S}"/Tools/gdb/libpython.py "${libname}"-gdb.py
+
+	newconfd "${FILESDIR}/pydoc.conf" pydoc-${SLOT}
+	newinitd "${FILESDIR}/pydoc.init" pydoc-${SLOT}
+	sed \
+		-e "s:@PYDOC_PORT_VARIABLE@:PYDOC${SLOT/./_}_PORT:" \
+		-e "s:@PYDOC@:pydoc${SLOT}:" \
+		-i "${ED}etc/conf.d/pydoc-${SLOT}" "${ED}etc/init.d/pydoc-${SLOT}" || die "sed failed"
+
+	# for python-exec
+	python_export python${SLOT} EPYTHON PYTHON PYTHON_SITEDIR
+
+	# if not using a cross-compiler, use the fresh binary
+	if ! tc-is-cross-compiler; then
+		local PYTHON=./python \
+			LD_LIBRARY_PATH=${LD_LIBRARY_PATH+${LD_LIBRARY_PATH}:}.
+		export LD_LIBRARY_PATH
+	fi
+
+	echo "EPYTHON='${EPYTHON}'" > epython.py
+	python_domodule epython.py
+}
+
+pkg_preinst() {
+	if has_version "<${CATEGORY}/${PN}-${SLOT}" && ! has_version ">=${CATEGORY}/${PN}-${SLOT}_alpha"; then
+		python_updater_warning="1"
+	fi
+}
+
+eselect_python_update() {
+	if [[ -z "$(eselect python show)" || ! -f "${EROOT}usr/bin/$(eselect python show)" ]]; then
+		eselect python update
+	fi
+
+	if [[ -z "$(eselect python show --python${PV%%.*})" || ! -f "${EROOT}usr/bin/$(eselect python show --python${PV%%.*})" ]]; then
+		eselect python update --python${PV%%.*}
+	fi
+}
+
+pkg_postinst() {
+	eselect_python_update
+
+	if [[ "${python_updater_warning}" == "1" ]]; then
+		ewarn "You have just upgraded from an older version of Python."
+		ewarn "You should switch active version of Python ${PV%%.*} and run"
+		ewarn "'python-updater [options]' to rebuild Python modules."
+	fi
+}
+
+pkg_postrm() {
+	eselect_python_update
+}

diff --git a/dev-lang/python/python-3.3.5-r1.ebuild b/dev-lang/python/python-3.3.5-r1.ebuild
new file mode 100644
index 0000000..6888736
--- /dev/null
+++ b/dev-lang/python/python-3.3.5-r1.ebuild
@@ -0,0 +1,324 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/python/python-3.3.5-r1.ebuild,v 1.10 2014/09/10 08:33:04 vapier Exp $
+
+EAPI="4"
+WANT_AUTOMAKE="none"
+WANT_LIBTOOL="none"
+
+inherit autotools eutils flag-o-matic multilib pax-utils python-utils-r1 toolchain-funcs multiprocessing
+
+MY_P="Python-${PV}"
+PATCHSET_VERSION="${PV}-0"
+
+DESCRIPTION="An interpreted, interactive, object-oriented programming language"
+HOMEPAGE="http://www.python.org/"
+SRC_URI="http://www.python.org/ftp/python/${PV}/${MY_P}.tar.xz
+	http://dev.gentoo.org/~floppym/python/python-gentoo-patches-${PATCHSET_VERSION}.tar.xz
+	mirror://gentoo/python-gentoo-patches-${PATCHSET_VERSION}.tar.xz"
+
+LICENSE="PSF-2"
+SLOT="3.3"
+KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd"
+IUSE="build doc elibc_uclibc examples gdbm hardened ipv6 +ncurses +readline sqlite +ssl +threads tk wininst +xml"
+
+# Do not add a dependency on dev-lang/python to this ebuild.
+# If you need to apply a patch which requires python for bootstrapping, please
+# run the bootstrap code on your dev box and include the results in the
+# patchset. See bug 447752.
+
+RDEPEND="app-arch/bzip2
+	app-arch/xz-utils
+	>=sys-libs/zlib-1.1.3
+	virtual/libffi
+	virtual/libintl
+	!build? (
+		gdbm? ( sys-libs/gdbm[berkdb] )
+		ncurses? (
+			>=sys-libs/ncurses-5.2
+			readline? ( >=sys-libs/readline-4.1 )
+		)
+		sqlite? ( >=dev-db/sqlite-3.3.8:3 )
+		ssl? ( dev-libs/openssl )
+		tk? (
+			>=dev-lang/tk-8.0
+			dev-tcltk/blt
+			dev-tcltk/tix
+		)
+		xml? ( >=dev-libs/expat-2.1 )
+	)
+	!!<sys-apps/sandbox-2.6-r1"
+DEPEND="${RDEPEND}
+	virtual/pkgconfig
+	>=sys-devel/autoconf-2.65
+	!sys-devel/gcc[libffi]"
+RDEPEND+=" !build? ( app-misc/mime-types )
+	doc? ( dev-python/python-docs:${SLOT} )"
+PDEPEND="app-admin/eselect-python
+	app-admin/python-updater"
+
+S="${WORKDIR}/${MY_P}"
+
+src_prepare() {
+	# Ensure that internal copies of expat, libffi and zlib are not used.
+	rm -fr Modules/expat
+	rm -fr Modules/_ctypes/libffi*
+	rm -fr Modules/zlib
+
+	if tc-is-cross-compiler; then
+		# Invokes BUILDPYTHON, which is built for the host arch
+		local EPATCH_EXCLUDE="*_regenerate_platform-specific_modules.patch"
+	fi
+
+	EPATCH_SUFFIX="patch" epatch "${WORKDIR}/patches"
+
+	sed -i -e "s:@@GENTOO_LIBDIR@@:$(get_libdir):g" \
+		Lib/distutils/command/install.py \
+		Lib/distutils/sysconfig.py \
+		Lib/site.py \
+		Lib/sysconfig.py \
+		Lib/test/test_site.py \
+		Makefile.pre.in \
+		Modules/Setup.dist \
+		Modules/getpath.c \
+		setup.py || die "sed failed to replace @@GENTOO_LIBDIR@@"
+
+	# Disable ABI flags.
+	sed -e "s/ABIFLAGS=\"\${ABIFLAGS}.*\"/:/" -i configure.ac || die "sed failed"
+
+	# bug #514686
+	epatch "${FILESDIR}/${PN}-3.3-CVE-2014-4616.patch"
+
+	epatch_user
+
+	eautoconf
+	eautoheader
+}
+
+src_configure() {
+	if use build; then
+		# Disable extraneous modules with extra dependencies.
+		export PYTHON_DISABLE_MODULES="gdbm _curses _curses_panel readline _sqlite3 _tkinter _elementtree pyexpat"
+		export PYTHON_DISABLE_SSL="1"
+	else
+		local disable
+		use gdbm     || disable+=" gdbm"
+		use ncurses  || disable+=" _curses _curses_panel"
+		use readline || disable+=" readline"
+		use sqlite   || disable+=" _sqlite3"
+		use ssl      || export PYTHON_DISABLE_SSL="1"
+		use tk       || disable+=" _tkinter"
+		use xml      || disable+=" _elementtree pyexpat" # _elementtree uses pyexpat.
+		export PYTHON_DISABLE_MODULES="${disable}"
+
+		if ! use xml; then
+			ewarn "You have configured Python without XML support."
+			ewarn "This is NOT a recommended configuration as you"
+			ewarn "may face problems parsing any XML documents."
+		fi
+	fi
+
+	if [[ -n "${PYTHON_DISABLE_MODULES}" ]]; then
+		einfo "Disabled modules: ${PYTHON_DISABLE_MODULES}"
+	fi
+
+	if [[ "$(gcc-major-version)" -ge 4 ]]; then
+		append-flags -fwrapv
+	fi
+
+	filter-flags -malign-double
+
+	[[ "${ARCH}" == "alpha" ]] && append-flags -fPIC
+
+	# https://bugs.gentoo.org/show_bug.cgi?id=50309
+	if is-flagq -O3; then
+		is-flagq -fstack-protector-all && replace-flags -O3 -O2
+		use hardened && replace-flags -O3 -O2
+	fi
+
+	# Export CXX so it ends up in /usr/lib/python3.X/config/Makefile.
+	tc-export CXX
+	# The configure script fails to use pkg-config correctly.
+	# http://bugs.python.org/issue15506
+	export ac_cv_path_PKG_CONFIG=$(tc-getPKG_CONFIG)
+
+	# Set LDFLAGS so we link modules with -lpython3.2 correctly.
+	# Needed on FreeBSD unless Python 3.2 is already installed.
+	# Please query BSD team before removing this!
+	append-ldflags "-L."
+
+	local dbmliborder
+	if use gdbm; then
+		dbmliborder+="${dbmliborder:+:}gdbm"
+	fi
+
+	BUILD_DIR="${WORKDIR}/${CHOST}"
+	mkdir -p "${BUILD_DIR}" || die
+	cd "${BUILD_DIR}" || die
+
+	ECONF_SOURCE="${S}" OPT="" \
+	econf \
+		--with-fpectl \
+		--enable-shared \
+		$(use_enable ipv6) \
+		$(use_with threads) \
+		--infodir='${prefix}/share/info' \
+		--mandir='${prefix}/share/man' \
+		--with-computed-gotos \
+		--with-dbmliborder="${dbmliborder}" \
+		--with-libc="" \
+		--enable-loadable-sqlite-extensions \
+		--with-system-expat \
+		--with-system-ffi
+
+	if use threads && grep -q "#define POSIX_SEMAPHORES_NOT_ENABLED 1" pyconfig.h; then
+		eerror "configure has detected that the sem_open function is broken."
+		eerror "Please ensure that /dev/shm is mounted as a tmpfs with mode 1777."
+		die "Broken sem_open function (bug 496328)"
+	fi
+}
+
+src_compile() {
+	# Avoid invoking pgen for cross-compiles.
+	touch Include/graminit.h Python/graminit.c || die
+
+	cd "${BUILD_DIR}" || die
+	emake CPPFLAGS="" CFLAGS="" LDFLAGS=""
+
+	# Work around bug 329499. See also bug 413751 and 457194.
+	if has_version dev-libs/libffi[pax_kernel]; then
+		pax-mark E python
+	else
+		pax-mark m python
+	fi
+}
+
+src_test() {
+	# Tests will not work when cross compiling.
+	if tc-is-cross-compiler; then
+		elog "Disabling tests due to crosscompiling."
+		return
+	fi
+
+	cd "${BUILD_DIR}" || die
+
+	# Skip failing tests.
+	local skipped_tests="gdb"
+
+	for test in ${skipped_tests}; do
+		mv "${S}"/Lib/test/test_${test}.py "${T}"
+	done
+
+	PYTHONDONTWRITEBYTECODE="" emake test EXTRATESTOPTS="-u -network" FLAGS="" CFLAGS="" LDFLAGS="" < /dev/tty
+	local result="$?"
+
+	for test in ${skipped_tests}; do
+		mv "${T}/test_${test}.py" "${S}"/Lib/test
+	done
+
+	elog "The following tests have been skipped:"
+	for test in ${skipped_tests}; do
+		elog "test_${test}.py"
+	done
+
+	elog "If you would like to run them, you may:"
+	elog "cd '${EPREFIX}/usr/$(get_libdir)/python${SLOT}/test'"
+	elog "and run the tests separately."
+
+	if [[ "${result}" -ne 0 ]]; then
+		die "emake test failed"
+	fi
+}
+
+src_install() {
+	local libdir=${ED}/usr/$(get_libdir)/python${SLOT}
+
+	cd "${BUILD_DIR}" || die
+
+	emake DESTDIR="${D}" altinstall
+
+	sed \
+		-e "s/\(CONFIGURE_LDFLAGS=\).*/\1/" \
+		-e "s/\(PY_LDFLAGS=\).*/\1/" \
+		-i "${libdir}/config-${SLOT}/Makefile" || die "sed failed"
+
+	# Backwards compat with Gentoo divergence.
+	dosym python${SLOT}-config /usr/bin/python-config-${SLOT}
+
+	# Fix collisions between different slots of Python.
+	rm -f "${ED}usr/$(get_libdir)/libpython3.so"
+
+	if use build; then
+		rm -fr "${ED}usr/bin/idle${SLOT}" "${libdir}/"{idlelib,sqlite3,test,tkinter}
+	else
+		use elibc_uclibc && rm -fr "${libdir}/test"
+		use sqlite || rm -fr "${libdir}/"{sqlite3,test/test_sqlite*}
+		use tk || rm -fr "${ED}usr/bin/idle${SLOT}" "${libdir}/"{idlelib,tkinter,test/test_tk*}
+	fi
+
+	use threads || rm -fr "${libdir}/multiprocessing"
+	use wininst || rm -f "${libdir}/distutils/command/"wininst-*.exe
+
+	dodoc "${S}"/Misc/{ACKS,HISTORY,NEWS}
+
+	if use examples; then
+		insinto /usr/share/doc/${PF}/examples
+		find "${S}"/Tools -name __pycache__ -print0 | xargs -0 rm -fr
+		doins -r "${S}"/Tools
+	fi
+	insinto /usr/share/gdb/auto-load/usr/$(get_libdir) #443510
+	local libname=$(printf 'e:\n\t@echo $(INSTSONAME)\ninclude Makefile\n' | \
+		emake --no-print-directory -s -f - 2>/dev/null)
+	newins "${S}"/Tools/gdb/libpython.py "${libname}"-gdb.py
+
+	newconfd "${FILESDIR}/pydoc.conf" pydoc-${SLOT}
+	newinitd "${FILESDIR}/pydoc.init" pydoc-${SLOT}
+	sed \
+		-e "s:@PYDOC_PORT_VARIABLE@:PYDOC${SLOT/./_}_PORT:" \
+		-e "s:@PYDOC@:pydoc${SLOT}:" \
+		-i "${ED}etc/conf.d/pydoc-${SLOT}" "${ED}etc/init.d/pydoc-${SLOT}" || die "sed failed"
+
+	# for python-exec
+	python_export python${SLOT} EPYTHON PYTHON PYTHON_SITEDIR
+
+	# if not using a cross-compiler, use the fresh binary
+	if ! tc-is-cross-compiler; then
+		local PYTHON=./python
+		local -x LD_LIBRARY_PATH=${LD_LIBRARY_PATH+${LD_LIBRARY_PATH}:}.
+	fi
+
+	echo "EPYTHON='${EPYTHON}'" > epython.py
+	python_domodule epython.py
+}
+
+pkg_preinst() {
+	if has_version "<${CATEGORY}/${PN}-${SLOT}" && ! has_version ">=${CATEGORY}/${PN}-${SLOT}_alpha"; then
+		python_updater_warning="1"
+	fi
+}
+
+eselect_python_update() {
+	if [[ -z "$(eselect python show)" || ! -f "${EROOT}usr/bin/$(eselect python show)" ]]; then
+		eselect python update
+	fi
+
+	if [[ -z "$(eselect python show --python${PV%%.*})" || ! -f "${EROOT}usr/bin/$(eselect python show --python${PV%%.*})" ]]; then
+		eselect python update --python${PV%%.*}
+	fi
+}
+
+pkg_postinst() {
+	eselect_python_update
+
+	if [[ "${python_updater_warning}" == "1" ]]; then
+		ewarn "You have just upgraded from an older version of Python."
+		ewarn
+		ewarn "Please adjust PYTHON_TARGETS (if so desired), and run emerge with the --newuse or --changed-use option to rebuild packages installing python modules."
+		ewarn
+		ewarn "For legacy packages, you should switch active version of Python and run 'python-updater [options]' to rebuild Python modules."
+	fi
+}
+
+pkg_postrm() {
+	eselect_python_update
+}

diff --git a/dev-lang/python/python-3.4.0.ebuild b/dev-lang/python/python-3.4.0.ebuild
new file mode 100644
index 0000000..70fe220
--- /dev/null
+++ b/dev-lang/python/python-3.4.0.ebuild
@@ -0,0 +1,320 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/python/python-3.4.0.ebuild,v 1.3 2014/05/10 01:44:50 floppym Exp $
+
+EAPI="4"
+WANT_AUTOMAKE="none"
+WANT_LIBTOOL="none"
+
+inherit autotools eutils flag-o-matic multilib pax-utils python-utils-r1 toolchain-funcs multiprocessing
+
+MY_P="Python-${PV/_/}"
+PATCHSET_VERSION="3.4.0-0"
+
+DESCRIPTION="An interpreted, interactive, object-oriented programming language"
+HOMEPAGE="http://www.python.org/"
+SRC_URI="http://www.python.org/ftp/python/${PV%_rc*}/${MY_P}.tar.xz
+	http://dev.gentoo.org/~floppym/python/python-gentoo-patches-${PATCHSET_VERSION}.tar.xz
+	mirror://gentoo/python-gentoo-patches-${PATCHSET_VERSION}.tar.xz"
+
+LICENSE="PSF-2"
+SLOT="3.4"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd"
+IUSE="build elibc_uclibc examples gdbm hardened ipv6 +ncurses +readline sqlite +ssl +threads tk wininst +xml"
+
+# Do not add a dependency on dev-lang/python to this ebuild.
+# If you need to apply a patch which requires python for bootstrapping, please
+# run the bootstrap code on your dev box and include the results in the
+# patchset. See bug 447752.
+
+RDEPEND="app-arch/bzip2
+	app-arch/xz-utils
+	>=sys-libs/zlib-1.1.3
+	virtual/libffi
+	virtual/libintl
+	!build? (
+		gdbm? ( sys-libs/gdbm[berkdb] )
+		ncurses? (
+			>=sys-libs/ncurses-5.2
+			readline? ( >=sys-libs/readline-4.1 )
+		)
+		sqlite? ( >=dev-db/sqlite-3.3.8:3 )
+		ssl? ( dev-libs/openssl )
+		tk? (
+			>=dev-lang/tk-8.0
+			dev-tcltk/blt
+			dev-tcltk/tix
+		)
+		xml? ( >=dev-libs/expat-2.1 )
+	)
+	!!<sys-apps/sandbox-2.6-r1"
+DEPEND="${RDEPEND}
+	virtual/pkgconfig
+	>=sys-devel/autoconf-2.65
+	!sys-devel/gcc[libffi]"
+RDEPEND+=" !build? ( app-misc/mime-types )"
+PDEPEND="app-admin/eselect-python
+	app-admin/python-updater"
+
+S="${WORKDIR}/${MY_P}"
+
+src_prepare() {
+	# Ensure that internal copies of expat, libffi and zlib are not used.
+	rm -fr Modules/expat
+	rm -fr Modules/_ctypes/libffi*
+	rm -fr Modules/zlib
+
+	if tc-is-cross-compiler; then
+		# Invokes BUILDPYTHON, which is built for the host arch
+		local EPATCH_EXCLUDE="*_regenerate_platform-specific_modules.patch"
+	fi
+
+	EPATCH_SUFFIX="patch" epatch "${WORKDIR}/patches"
+
+	sed -i -e "s:@@GENTOO_LIBDIR@@:$(get_libdir):g" \
+		Lib/distutils/command/install.py \
+		Lib/distutils/sysconfig.py \
+		Lib/site.py \
+		Lib/sysconfig.py \
+		Lib/test/test_site.py \
+		Makefile.pre.in \
+		Modules/Setup.dist \
+		Modules/getpath.c \
+		setup.py || die "sed failed to replace @@GENTOO_LIBDIR@@"
+
+	# Disable ABI flags.
+	sed -e "s/ABIFLAGS=\"\${ABIFLAGS}.*\"/:/" -i configure.ac || die "sed failed"
+
+	epatch_user
+
+	eautoconf
+	eautoheader
+}
+
+src_configure() {
+	if use build; then
+		# Disable extraneous modules with extra dependencies.
+		export PYTHON_DISABLE_MODULES="gdbm _curses _curses_panel readline _sqlite3 _tkinter _elementtree pyexpat"
+		export PYTHON_DISABLE_SSL="1"
+	else
+		local disable
+		use gdbm     || disable+=" gdbm"
+		use ncurses  || disable+=" _curses _curses_panel"
+		use readline || disable+=" readline"
+		use sqlite   || disable+=" _sqlite3"
+		use ssl      || export PYTHON_DISABLE_SSL="1"
+		use tk       || disable+=" _tkinter"
+		use xml      || disable+=" _elementtree pyexpat" # _elementtree uses pyexpat.
+		export PYTHON_DISABLE_MODULES="${disable}"
+
+		if ! use xml; then
+			ewarn "You have configured Python without XML support."
+			ewarn "This is NOT a recommended configuration as you"
+			ewarn "may face problems parsing any XML documents."
+		fi
+	fi
+
+	if [[ -n "${PYTHON_DISABLE_MODULES}" ]]; then
+		einfo "Disabled modules: ${PYTHON_DISABLE_MODULES}"
+	fi
+
+	if [[ "$(gcc-major-version)" -ge 4 ]]; then
+		append-flags -fwrapv
+	fi
+
+	filter-flags -malign-double
+
+	[[ "${ARCH}" == "alpha" ]] && append-flags -fPIC
+
+	# https://bugs.gentoo.org/show_bug.cgi?id=50309
+	if is-flagq -O3; then
+		is-flagq -fstack-protector-all && replace-flags -O3 -O2
+		use hardened && replace-flags -O3 -O2
+	fi
+
+	# Export CXX so it ends up in /usr/lib/python3.X/config/Makefile.
+	tc-export CXX
+	# The configure script fails to use pkg-config correctly.
+	# http://bugs.python.org/issue15506
+	export ac_cv_path_PKG_CONFIG=$(tc-getPKG_CONFIG)
+
+	# Set LDFLAGS so we link modules with -lpython3.2 correctly.
+	# Needed on FreeBSD unless Python 3.2 is already installed.
+	# Please query BSD team before removing this!
+	append-ldflags "-L."
+
+	local dbmliborder
+	if use gdbm; then
+		dbmliborder+="${dbmliborder:+:}gdbm"
+	fi
+
+	BUILD_DIR="${WORKDIR}/${CHOST}"
+	mkdir -p "${BUILD_DIR}" || die
+	cd "${BUILD_DIR}" || die
+
+	ECONF_SOURCE="${S}" OPT="" \
+	econf \
+		--with-fpectl \
+		--enable-shared \
+		$(use_enable ipv6) \
+		$(use_with threads) \
+		--infodir='${prefix}/share/info' \
+		--mandir='${prefix}/share/man' \
+		--with-computed-gotos \
+		--with-dbmliborder="${dbmliborder}" \
+		--with-libc="" \
+		--enable-loadable-sqlite-extensions \
+		--with-system-expat \
+		--with-system-ffi \
+		--without-ensurepip
+
+	if use threads && grep -q "#define POSIX_SEMAPHORES_NOT_ENABLED 1" pyconfig.h; then
+		eerror "configure has detected that the sem_open function is broken."
+		eerror "Please ensure that /dev/shm is mounted as a tmpfs with mode 1777."
+		die "Broken sem_open function (bug 496328)"
+	fi
+}
+
+src_compile() {
+	# Avoid invoking pgen for cross-compiles.
+	touch Include/graminit.h Python/graminit.c || die
+
+	cd "${BUILD_DIR}" || die
+	emake CPPFLAGS="" CFLAGS="" LDFLAGS=""
+
+	# Work around bug 329499. See also bug 413751 and 457194.
+	if has_version dev-libs/libffi[pax_kernel]; then
+		pax-mark E python
+	else
+		pax-mark m python
+	fi
+}
+
+src_test() {
+	# Tests will not work when cross compiling.
+	if tc-is-cross-compiler; then
+		elog "Disabling tests due to crosscompiling."
+		return
+	fi
+
+	cd "${BUILD_DIR}" || die
+
+	# Skip failing tests.
+	local skipped_tests="gdb"
+
+	for test in ${skipped_tests}; do
+		mv "${S}"/Lib/test/test_${test}.py "${T}"
+	done
+
+	local -x PYTHONDONTWRITEBYTECODE=
+	emake test EXTRATESTOPTS="-u-network" CPPFLAGS= CFLAGS= LDFLAGS= < /dev/tty
+	local result=$?
+
+	for test in ${skipped_tests}; do
+		mv "${T}/test_${test}.py" "${S}"/Lib/test
+	done
+
+	elog "The following tests have been skipped:"
+	for test in ${skipped_tests}; do
+		elog "test_${test}.py"
+	done
+
+	elog "If you would like to run them, you may:"
+	elog "cd '${EPREFIX}/usr/$(get_libdir)/python${SLOT}/test'"
+	elog "and run the tests separately."
+
+	if [[ ${result} -ne 0 ]]; then
+		die "emake test failed"
+	fi
+}
+
+src_install() {
+	local libdir=${ED}/usr/$(get_libdir)/python${SLOT}
+
+	cd "${BUILD_DIR}" || die
+
+	emake DESTDIR="${D}" altinstall
+
+	sed \
+		-e "s/\(CONFIGURE_LDFLAGS=\).*/\1/" \
+		-e "s/\(PY_LDFLAGS=\).*/\1/" \
+		-i "${libdir}/config-${SLOT}/Makefile" || die "sed failed"
+
+	# Backwards compat with Gentoo divergence.
+	dosym python${SLOT}-config /usr/bin/python-config-${SLOT}
+
+	# Fix collisions between different slots of Python.
+	rm -f "${ED}usr/$(get_libdir)/libpython3.so"
+
+	if use build; then
+		rm -fr "${ED}usr/bin/idle${SLOT}" "${libdir}/"{idlelib,sqlite3,test,tkinter}
+	else
+		use elibc_uclibc && rm -fr "${libdir}/test"
+		use sqlite || rm -fr "${libdir}/"{sqlite3,test/test_sqlite*}
+		use tk || rm -fr "${ED}usr/bin/idle${SLOT}" "${libdir}/"{idlelib,tkinter,test/test_tk*}
+	fi
+
+	use threads || rm -fr "${libdir}/multiprocessing"
+	use wininst || rm -f "${libdir}/distutils/command/"wininst-*.exe
+
+	dodoc "${S}"/Misc/{ACKS,HISTORY,NEWS}
+
+	if use examples; then
+		insinto /usr/share/doc/${PF}/examples
+		find "${S}"/Tools -name __pycache__ -print0 | xargs -0 rm -fr
+		doins -r "${S}"/Tools
+	fi
+	insinto /usr/share/gdb/auto-load/usr/$(get_libdir) #443510
+	local libname=$(printf 'e:\n\t@echo $(INSTSONAME)\ninclude Makefile\n' | \
+		emake --no-print-directory -s -f - 2>/dev/null)
+	newins "${S}"/Tools/gdb/libpython.py "${libname}"-gdb.py
+
+	newconfd "${FILESDIR}/pydoc.conf" pydoc-${SLOT}
+	newinitd "${FILESDIR}/pydoc.init" pydoc-${SLOT}
+	sed \
+		-e "s:@PYDOC_PORT_VARIABLE@:PYDOC${SLOT/./_}_PORT:" \
+		-e "s:@PYDOC@:pydoc${SLOT}:" \
+		-i "${ED}etc/conf.d/pydoc-${SLOT}" "${ED}etc/init.d/pydoc-${SLOT}" || die "sed failed"
+
+	# for python-exec
+	python_export python${SLOT} EPYTHON PYTHON PYTHON_SITEDIR
+
+	# if not using a cross-compiler, use the fresh binary
+	if ! tc-is-cross-compiler; then
+		local PYTHON=./python
+		local -x LD_LIBRARY_PATH=${LD_LIBRARY_PATH+${LD_LIBRARY_PATH}:}.
+	fi
+
+	echo "EPYTHON='${EPYTHON}'" > epython.py
+	python_domodule epython.py
+}
+
+pkg_preinst() {
+	if has_version "<${CATEGORY}/${PN}-${SLOT}" && ! has_version ">=${CATEGORY}/${PN}-${SLOT}_alpha"; then
+		python_updater_warning="1"
+	fi
+}
+
+eselect_python_update() {
+	if [[ -z "$(eselect python show)" || ! -f "${EROOT}usr/bin/$(eselect python show)" ]]; then
+		eselect python update
+	fi
+
+	if [[ -z "$(eselect python show --python${PV%%.*})" || ! -f "${EROOT}usr/bin/$(eselect python show --python${PV%%.*})" ]]; then
+		eselect python update --python${PV%%.*}
+	fi
+}
+
+pkg_postinst() {
+	eselect_python_update
+
+	if [[ "${python_updater_warning}" == "1" ]]; then
+		ewarn "You have just upgraded from an older version of Python."
+		ewarn
+		ewarn "Please adjust PYTHON_TARGETS (if so desired), and run emerge with the --newuse or --changed-use option to rebuild packages installing python modules."
+	fi
+}
+
+pkg_postrm() {
+	eselect_python_update
+}

diff --git a/dev-lang/python/python-3.4.1.ebuild b/dev-lang/python/python-3.4.1.ebuild
new file mode 100644
index 0000000..5a8e844
--- /dev/null
+++ b/dev-lang/python/python-3.4.1.ebuild
@@ -0,0 +1,319 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/python/python-3.4.1.ebuild,v 1.10 2014/11/11 21:01:03 maekke Exp $
+
+EAPI="4"
+WANT_AUTOMAKE="none"
+WANT_LIBTOOL="none"
+
+inherit autotools eutils flag-o-matic multilib pax-utils python-utils-r1 toolchain-funcs multiprocessing
+
+MY_P="Python-${PV/_/}"
+PATCHSET_VERSION="3.4.1-0"
+
+DESCRIPTION="An interpreted, interactive, object-oriented programming language"
+HOMEPAGE="http://www.python.org/"
+SRC_URI="http://www.python.org/ftp/python/${PV%_rc*}/${MY_P}.tar.xz
+	http://dev.gentoo.org/~floppym/python/python-gentoo-patches-${PATCHSET_VERSION}.tar.xz"
+
+LICENSE="PSF-2"
+SLOT="3.4"
+KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd"
+IUSE="build elibc_uclibc examples gdbm hardened ipv6 +ncurses +readline sqlite +ssl +threads tk wininst +xml"
+
+# Do not add a dependency on dev-lang/python to this ebuild.
+# If you need to apply a patch which requires python for bootstrapping, please
+# run the bootstrap code on your dev box and include the results in the
+# patchset. See bug 447752.
+
+RDEPEND="app-arch/bzip2
+	app-arch/xz-utils
+	>=sys-libs/zlib-1.1.3
+	virtual/libffi
+	virtual/libintl
+	!build? (
+		gdbm? ( sys-libs/gdbm[berkdb] )
+		ncurses? (
+			>=sys-libs/ncurses-5.2
+			readline? ( >=sys-libs/readline-4.1 )
+		)
+		sqlite? ( >=dev-db/sqlite-3.3.8:3 )
+		ssl? ( dev-libs/openssl )
+		tk? (
+			>=dev-lang/tk-8.0
+			dev-tcltk/blt
+			dev-tcltk/tix
+		)
+		xml? ( >=dev-libs/expat-2.1 )
+	)
+	!!<sys-apps/sandbox-2.6-r1"
+DEPEND="${RDEPEND}
+	virtual/pkgconfig
+	>=sys-devel/autoconf-2.65
+	!sys-devel/gcc[libffi]"
+RDEPEND+=" !build? ( app-misc/mime-types )"
+PDEPEND="app-admin/eselect-python
+	app-admin/python-updater"
+
+S="${WORKDIR}/${MY_P}"
+
+src_prepare() {
+	# Ensure that internal copies of expat, libffi and zlib are not used.
+	rm -fr Modules/expat
+	rm -fr Modules/_ctypes/libffi*
+	rm -fr Modules/zlib
+
+	if tc-is-cross-compiler; then
+		# Invokes BUILDPYTHON, which is built for the host arch
+		local EPATCH_EXCLUDE="*_regenerate_platform-specific_modules.patch"
+	fi
+
+	EPATCH_SUFFIX="patch" epatch "${WORKDIR}/patches"
+
+	sed -i -e "s:@@GENTOO_LIBDIR@@:$(get_libdir):g" \
+		Lib/distutils/command/install.py \
+		Lib/distutils/sysconfig.py \
+		Lib/site.py \
+		Lib/sysconfig.py \
+		Lib/test/test_site.py \
+		Makefile.pre.in \
+		Modules/Setup.dist \
+		Modules/getpath.c \
+		setup.py || die "sed failed to replace @@GENTOO_LIBDIR@@"
+
+	# Disable ABI flags.
+	sed -e "s/ABIFLAGS=\"\${ABIFLAGS}.*\"/:/" -i configure.ac || die "sed failed"
+
+	epatch_user
+
+	eautoconf
+	eautoheader
+}
+
+src_configure() {
+	if use build; then
+		# Disable extraneous modules with extra dependencies.
+		export PYTHON_DISABLE_MODULES="gdbm _curses _curses_panel readline _sqlite3 _tkinter _elementtree pyexpat"
+		export PYTHON_DISABLE_SSL="1"
+	else
+		local disable
+		use gdbm     || disable+=" gdbm"
+		use ncurses  || disable+=" _curses _curses_panel"
+		use readline || disable+=" readline"
+		use sqlite   || disable+=" _sqlite3"
+		use ssl      || export PYTHON_DISABLE_SSL="1"
+		use tk       || disable+=" _tkinter"
+		use xml      || disable+=" _elementtree pyexpat" # _elementtree uses pyexpat.
+		export PYTHON_DISABLE_MODULES="${disable}"
+
+		if ! use xml; then
+			ewarn "You have configured Python without XML support."
+			ewarn "This is NOT a recommended configuration as you"
+			ewarn "may face problems parsing any XML documents."
+		fi
+	fi
+
+	if [[ -n "${PYTHON_DISABLE_MODULES}" ]]; then
+		einfo "Disabled modules: ${PYTHON_DISABLE_MODULES}"
+	fi
+
+	if [[ "$(gcc-major-version)" -ge 4 ]]; then
+		append-flags -fwrapv
+	fi
+
+	filter-flags -malign-double
+
+	[[ "${ARCH}" == "alpha" ]] && append-flags -fPIC
+
+	# https://bugs.gentoo.org/show_bug.cgi?id=50309
+	if is-flagq -O3; then
+		is-flagq -fstack-protector-all && replace-flags -O3 -O2
+		use hardened && replace-flags -O3 -O2
+	fi
+
+	# Export CXX so it ends up in /usr/lib/python3.X/config/Makefile.
+	tc-export CXX
+	# The configure script fails to use pkg-config correctly.
+	# http://bugs.python.org/issue15506
+	export ac_cv_path_PKG_CONFIG=$(tc-getPKG_CONFIG)
+
+	# Set LDFLAGS so we link modules with -lpython3.2 correctly.
+	# Needed on FreeBSD unless Python 3.2 is already installed.
+	# Please query BSD team before removing this!
+	append-ldflags "-L."
+
+	local dbmliborder
+	if use gdbm; then
+		dbmliborder+="${dbmliborder:+:}gdbm"
+	fi
+
+	BUILD_DIR="${WORKDIR}/${CHOST}"
+	mkdir -p "${BUILD_DIR}" || die
+	cd "${BUILD_DIR}" || die
+
+	ECONF_SOURCE="${S}" OPT="" \
+	econf \
+		--with-fpectl \
+		--enable-shared \
+		$(use_enable ipv6) \
+		$(use_with threads) \
+		--infodir='${prefix}/share/info' \
+		--mandir='${prefix}/share/man' \
+		--with-computed-gotos \
+		--with-dbmliborder="${dbmliborder}" \
+		--with-libc="" \
+		--enable-loadable-sqlite-extensions \
+		--with-system-expat \
+		--with-system-ffi \
+		--without-ensurepip
+
+	if use threads && grep -q "#define POSIX_SEMAPHORES_NOT_ENABLED 1" pyconfig.h; then
+		eerror "configure has detected that the sem_open function is broken."
+		eerror "Please ensure that /dev/shm is mounted as a tmpfs with mode 1777."
+		die "Broken sem_open function (bug 496328)"
+	fi
+}
+
+src_compile() {
+	# Avoid invoking pgen for cross-compiles.
+	touch Include/graminit.h Python/graminit.c || die
+
+	cd "${BUILD_DIR}" || die
+	emake CPPFLAGS="" CFLAGS="" LDFLAGS=""
+
+	# Work around bug 329499. See also bug 413751 and 457194.
+	if has_version dev-libs/libffi[pax_kernel]; then
+		pax-mark E python
+	else
+		pax-mark m python
+	fi
+}
+
+src_test() {
+	# Tests will not work when cross compiling.
+	if tc-is-cross-compiler; then
+		elog "Disabling tests due to crosscompiling."
+		return
+	fi
+
+	cd "${BUILD_DIR}" || die
+
+	# Skip failing tests.
+	local skipped_tests="gdb"
+
+	for test in ${skipped_tests}; do
+		mv "${S}"/Lib/test/test_${test}.py "${T}"
+	done
+
+	local -x PYTHONDONTWRITEBYTECODE=
+	emake test EXTRATESTOPTS="-u-network" CPPFLAGS= CFLAGS= LDFLAGS= < /dev/tty
+	local result=$?
+
+	for test in ${skipped_tests}; do
+		mv "${T}/test_${test}.py" "${S}"/Lib/test
+	done
+
+	elog "The following tests have been skipped:"
+	for test in ${skipped_tests}; do
+		elog "test_${test}.py"
+	done
+
+	elog "If you would like to run them, you may:"
+	elog "cd '${EPREFIX}/usr/$(get_libdir)/python${SLOT}/test'"
+	elog "and run the tests separately."
+
+	if [[ ${result} -ne 0 ]]; then
+		die "emake test failed"
+	fi
+}
+
+src_install() {
+	local libdir=${ED}/usr/$(get_libdir)/python${SLOT}
+
+	cd "${BUILD_DIR}" || die
+
+	emake DESTDIR="${D}" altinstall
+
+	sed \
+		-e "s/\(CONFIGURE_LDFLAGS=\).*/\1/" \
+		-e "s/\(PY_LDFLAGS=\).*/\1/" \
+		-i "${libdir}/config-${SLOT}/Makefile" || die "sed failed"
+
+	# Backwards compat with Gentoo divergence.
+	dosym python${SLOT}-config /usr/bin/python-config-${SLOT}
+
+	# Fix collisions between different slots of Python.
+	rm -f "${ED}usr/$(get_libdir)/libpython3.so"
+
+	if use build; then
+		rm -fr "${ED}usr/bin/idle${SLOT}" "${libdir}/"{idlelib,sqlite3,test,tkinter}
+	else
+		use elibc_uclibc && rm -fr "${libdir}/test"
+		use sqlite || rm -fr "${libdir}/"{sqlite3,test/test_sqlite*}
+		use tk || rm -fr "${ED}usr/bin/idle${SLOT}" "${libdir}/"{idlelib,tkinter,test/test_tk*}
+	fi
+
+	use threads || rm -fr "${libdir}/multiprocessing"
+	use wininst || rm -f "${libdir}/distutils/command/"wininst-*.exe
+
+	dodoc "${S}"/Misc/{ACKS,HISTORY,NEWS}
+
+	if use examples; then
+		insinto /usr/share/doc/${PF}/examples
+		find "${S}"/Tools -name __pycache__ -print0 | xargs -0 rm -fr
+		doins -r "${S}"/Tools
+	fi
+	insinto /usr/share/gdb/auto-load/usr/$(get_libdir) #443510
+	local libname=$(printf 'e:\n\t@echo $(INSTSONAME)\ninclude Makefile\n' | \
+		emake --no-print-directory -s -f - 2>/dev/null)
+	newins "${S}"/Tools/gdb/libpython.py "${libname}"-gdb.py
+
+	newconfd "${FILESDIR}/pydoc.conf" pydoc-${SLOT}
+	newinitd "${FILESDIR}/pydoc.init" pydoc-${SLOT}
+	sed \
+		-e "s:@PYDOC_PORT_VARIABLE@:PYDOC${SLOT/./_}_PORT:" \
+		-e "s:@PYDOC@:pydoc${SLOT}:" \
+		-i "${ED}etc/conf.d/pydoc-${SLOT}" "${ED}etc/init.d/pydoc-${SLOT}" || die "sed failed"
+
+	# for python-exec
+	python_export python${SLOT} EPYTHON PYTHON PYTHON_SITEDIR
+
+	# if not using a cross-compiler, use the fresh binary
+	if ! tc-is-cross-compiler; then
+		local PYTHON=./python
+		local -x LD_LIBRARY_PATH=${LD_LIBRARY_PATH+${LD_LIBRARY_PATH}:}.
+	fi
+
+	echo "EPYTHON='${EPYTHON}'" > epython.py
+	python_domodule epython.py
+}
+
+pkg_preinst() {
+	if has_version "<${CATEGORY}/${PN}-${SLOT}" && ! has_version ">=${CATEGORY}/${PN}-${SLOT}_alpha"; then
+		python_updater_warning="1"
+	fi
+}
+
+eselect_python_update() {
+	if [[ -z "$(eselect python show)" || ! -f "${EROOT}usr/bin/$(eselect python show)" ]]; then
+		eselect python update
+	fi
+
+	if [[ -z "$(eselect python show --python${PV%%.*})" || ! -f "${EROOT}usr/bin/$(eselect python show --python${PV%%.*})" ]]; then
+		eselect python update --python${PV%%.*}
+	fi
+}
+
+pkg_postinst() {
+	eselect_python_update
+
+	if [[ "${python_updater_warning}" == "1" ]]; then
+		ewarn "You have just upgraded from an older version of Python."
+		ewarn
+		ewarn "Please adjust PYTHON_TARGETS (if so desired), and run emerge with the --newuse or --changed-use option to rebuild packages installing python modules."
+	fi
+}
+
+pkg_postrm() {
+	eselect_python_update
+}

diff --git a/dev-lang/python/python-3.4.2.ebuild b/dev-lang/python/python-3.4.2.ebuild
new file mode 100644
index 0000000..5887453
--- /dev/null
+++ b/dev-lang/python/python-3.4.2.ebuild
@@ -0,0 +1,319 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/python/python-3.4.2.ebuild,v 1.1 2014/10/12 15:18:48 floppym Exp $
+
+EAPI="4"
+WANT_AUTOMAKE="none"
+WANT_LIBTOOL="none"
+
+inherit autotools eutils flag-o-matic multilib pax-utils python-utils-r1 toolchain-funcs multiprocessing
+
+MY_P="Python-${PV/_/}"
+PATCHSET_VERSION="3.4.2-0"
+
+DESCRIPTION="An interpreted, interactive, object-oriented programming language"
+HOMEPAGE="http://www.python.org/"
+SRC_URI="http://www.python.org/ftp/python/${PV%_rc*}/${MY_P}.tar.xz
+	http://dev.gentoo.org/~floppym/python/python-gentoo-patches-${PATCHSET_VERSION}.tar.xz"
+
+LICENSE="PSF-2"
+SLOT="3.4"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd"
+IUSE="build elibc_uclibc examples gdbm hardened ipv6 +ncurses +readline sqlite +ssl +threads tk wininst +xml"
+
+# Do not add a dependency on dev-lang/python to this ebuild.
+# If you need to apply a patch which requires python for bootstrapping, please
+# run the bootstrap code on your dev box and include the results in the
+# patchset. See bug 447752.
+
+RDEPEND="app-arch/bzip2
+	app-arch/xz-utils
+	>=sys-libs/zlib-1.1.3
+	virtual/libffi
+	virtual/libintl
+	!build? (
+		gdbm? ( sys-libs/gdbm[berkdb] )
+		ncurses? (
+			>=sys-libs/ncurses-5.2
+			readline? ( >=sys-libs/readline-4.1 )
+		)
+		sqlite? ( >=dev-db/sqlite-3.3.8:3 )
+		ssl? ( dev-libs/openssl )
+		tk? (
+			>=dev-lang/tk-8.0
+			dev-tcltk/blt
+			dev-tcltk/tix
+		)
+		xml? ( >=dev-libs/expat-2.1 )
+	)
+	!!<sys-apps/sandbox-2.6-r1"
+DEPEND="${RDEPEND}
+	virtual/pkgconfig
+	>=sys-devel/autoconf-2.65
+	!sys-devel/gcc[libffi]"
+RDEPEND+=" !build? ( app-misc/mime-types )"
+PDEPEND="app-admin/eselect-python
+	app-admin/python-updater"
+
+S="${WORKDIR}/${MY_P}"
+
+src_prepare() {
+	# Ensure that internal copies of expat, libffi and zlib are not used.
+	rm -fr Modules/expat
+	rm -fr Modules/_ctypes/libffi*
+	rm -fr Modules/zlib
+
+	if tc-is-cross-compiler; then
+		# Invokes BUILDPYTHON, which is built for the host arch
+		local EPATCH_EXCLUDE="*_regenerate_platform-specific_modules.patch"
+	fi
+
+	EPATCH_SUFFIX="patch" epatch "${WORKDIR}/patches"
+
+	sed -i -e "s:@@GENTOO_LIBDIR@@:$(get_libdir):g" \
+		Lib/distutils/command/install.py \
+		Lib/distutils/sysconfig.py \
+		Lib/site.py \
+		Lib/sysconfig.py \
+		Lib/test/test_site.py \
+		Makefile.pre.in \
+		Modules/Setup.dist \
+		Modules/getpath.c \
+		setup.py || die "sed failed to replace @@GENTOO_LIBDIR@@"
+
+	# Disable ABI flags.
+	sed -e "s/ABIFLAGS=\"\${ABIFLAGS}.*\"/:/" -i configure.ac || die "sed failed"
+
+	epatch_user
+
+	eautoconf
+	eautoheader
+}
+
+src_configure() {
+	if use build; then
+		# Disable extraneous modules with extra dependencies.
+		export PYTHON_DISABLE_MODULES="gdbm _curses _curses_panel readline _sqlite3 _tkinter _elementtree pyexpat"
+		export PYTHON_DISABLE_SSL="1"
+	else
+		local disable
+		use gdbm     || disable+=" gdbm"
+		use ncurses  || disable+=" _curses _curses_panel"
+		use readline || disable+=" readline"
+		use sqlite   || disable+=" _sqlite3"
+		use ssl      || export PYTHON_DISABLE_SSL="1"
+		use tk       || disable+=" _tkinter"
+		use xml      || disable+=" _elementtree pyexpat" # _elementtree uses pyexpat.
+		export PYTHON_DISABLE_MODULES="${disable}"
+
+		if ! use xml; then
+			ewarn "You have configured Python without XML support."
+			ewarn "This is NOT a recommended configuration as you"
+			ewarn "may face problems parsing any XML documents."
+		fi
+	fi
+
+	if [[ -n "${PYTHON_DISABLE_MODULES}" ]]; then
+		einfo "Disabled modules: ${PYTHON_DISABLE_MODULES}"
+	fi
+
+	if [[ "$(gcc-major-version)" -ge 4 ]]; then
+		append-flags -fwrapv
+	fi
+
+	filter-flags -malign-double
+
+	[[ "${ARCH}" == "alpha" ]] && append-flags -fPIC
+
+	# https://bugs.gentoo.org/show_bug.cgi?id=50309
+	if is-flagq -O3; then
+		is-flagq -fstack-protector-all && replace-flags -O3 -O2
+		use hardened && replace-flags -O3 -O2
+	fi
+
+	# Export CXX so it ends up in /usr/lib/python3.X/config/Makefile.
+	tc-export CXX
+	# The configure script fails to use pkg-config correctly.
+	# http://bugs.python.org/issue15506
+	export ac_cv_path_PKG_CONFIG=$(tc-getPKG_CONFIG)
+
+	# Set LDFLAGS so we link modules with -lpython3.2 correctly.
+	# Needed on FreeBSD unless Python 3.2 is already installed.
+	# Please query BSD team before removing this!
+	append-ldflags "-L."
+
+	local dbmliborder
+	if use gdbm; then
+		dbmliborder+="${dbmliborder:+:}gdbm"
+	fi
+
+	BUILD_DIR="${WORKDIR}/${CHOST}"
+	mkdir -p "${BUILD_DIR}" || die
+	cd "${BUILD_DIR}" || die
+
+	ECONF_SOURCE="${S}" OPT="" \
+	econf \
+		--with-fpectl \
+		--enable-shared \
+		$(use_enable ipv6) \
+		$(use_with threads) \
+		--infodir='${prefix}/share/info' \
+		--mandir='${prefix}/share/man' \
+		--with-computed-gotos \
+		--with-dbmliborder="${dbmliborder}" \
+		--with-libc="" \
+		--enable-loadable-sqlite-extensions \
+		--with-system-expat \
+		--with-system-ffi \
+		--without-ensurepip
+
+	if use threads && grep -q "#define POSIX_SEMAPHORES_NOT_ENABLED 1" pyconfig.h; then
+		eerror "configure has detected that the sem_open function is broken."
+		eerror "Please ensure that /dev/shm is mounted as a tmpfs with mode 1777."
+		die "Broken sem_open function (bug 496328)"
+	fi
+}
+
+src_compile() {
+	# Avoid invoking pgen for cross-compiles.
+	touch Include/graminit.h Python/graminit.c || die
+
+	cd "${BUILD_DIR}" || die
+	emake CPPFLAGS="" CFLAGS="" LDFLAGS=""
+
+	# Work around bug 329499. See also bug 413751 and 457194.
+	if has_version dev-libs/libffi[pax_kernel]; then
+		pax-mark E python
+	else
+		pax-mark m python
+	fi
+}
+
+src_test() {
+	# Tests will not work when cross compiling.
+	if tc-is-cross-compiler; then
+		elog "Disabling tests due to crosscompiling."
+		return
+	fi
+
+	cd "${BUILD_DIR}" || die
+
+	# Skip failing tests.
+	local skipped_tests="gdb"
+
+	for test in ${skipped_tests}; do
+		mv "${S}"/Lib/test/test_${test}.py "${T}"
+	done
+
+	local -x PYTHONDONTWRITEBYTECODE=
+	emake test EXTRATESTOPTS="-u-network" CPPFLAGS= CFLAGS= LDFLAGS= < /dev/tty
+	local result=$?
+
+	for test in ${skipped_tests}; do
+		mv "${T}/test_${test}.py" "${S}"/Lib/test
+	done
+
+	elog "The following tests have been skipped:"
+	for test in ${skipped_tests}; do
+		elog "test_${test}.py"
+	done
+
+	elog "If you would like to run them, you may:"
+	elog "cd '${EPREFIX}/usr/$(get_libdir)/python${SLOT}/test'"
+	elog "and run the tests separately."
+
+	if [[ ${result} -ne 0 ]]; then
+		die "emake test failed"
+	fi
+}
+
+src_install() {
+	local libdir=${ED}/usr/$(get_libdir)/python${SLOT}
+
+	cd "${BUILD_DIR}" || die
+
+	emake DESTDIR="${D}" altinstall
+
+	sed \
+		-e "s/\(CONFIGURE_LDFLAGS=\).*/\1/" \
+		-e "s/\(PY_LDFLAGS=\).*/\1/" \
+		-i "${libdir}/config-${SLOT}/Makefile" || die "sed failed"
+
+	# Backwards compat with Gentoo divergence.
+	dosym python${SLOT}-config /usr/bin/python-config-${SLOT}
+
+	# Fix collisions between different slots of Python.
+	rm -f "${ED}usr/$(get_libdir)/libpython3.so"
+
+	if use build; then
+		rm -fr "${ED}usr/bin/idle${SLOT}" "${libdir}/"{idlelib,sqlite3,test,tkinter}
+	else
+		use elibc_uclibc && rm -fr "${libdir}/test"
+		use sqlite || rm -fr "${libdir}/"{sqlite3,test/test_sqlite*}
+		use tk || rm -fr "${ED}usr/bin/idle${SLOT}" "${libdir}/"{idlelib,tkinter,test/test_tk*}
+	fi
+
+	use threads || rm -fr "${libdir}/multiprocessing"
+	use wininst || rm -f "${libdir}/distutils/command/"wininst-*.exe
+
+	dodoc "${S}"/Misc/{ACKS,HISTORY,NEWS}
+
+	if use examples; then
+		insinto /usr/share/doc/${PF}/examples
+		find "${S}"/Tools -name __pycache__ -print0 | xargs -0 rm -fr
+		doins -r "${S}"/Tools
+	fi
+	insinto /usr/share/gdb/auto-load/usr/$(get_libdir) #443510
+	local libname=$(printf 'e:\n\t@echo $(INSTSONAME)\ninclude Makefile\n' | \
+		emake --no-print-directory -s -f - 2>/dev/null)
+	newins "${S}"/Tools/gdb/libpython.py "${libname}"-gdb.py
+
+	newconfd "${FILESDIR}/pydoc.conf" pydoc-${SLOT}
+	newinitd "${FILESDIR}/pydoc.init" pydoc-${SLOT}
+	sed \
+		-e "s:@PYDOC_PORT_VARIABLE@:PYDOC${SLOT/./_}_PORT:" \
+		-e "s:@PYDOC@:pydoc${SLOT}:" \
+		-i "${ED}etc/conf.d/pydoc-${SLOT}" "${ED}etc/init.d/pydoc-${SLOT}" || die "sed failed"
+
+	# for python-exec
+	python_export python${SLOT} EPYTHON PYTHON PYTHON_SITEDIR
+
+	# if not using a cross-compiler, use the fresh binary
+	if ! tc-is-cross-compiler; then
+		local PYTHON=./python
+		local -x LD_LIBRARY_PATH=${LD_LIBRARY_PATH+${LD_LIBRARY_PATH}:}.
+	fi
+
+	echo "EPYTHON='${EPYTHON}'" > epython.py
+	python_domodule epython.py
+}
+
+pkg_preinst() {
+	if has_version "<${CATEGORY}/${PN}-${SLOT}" && ! has_version ">=${CATEGORY}/${PN}-${SLOT}_alpha"; then
+		python_updater_warning="1"
+	fi
+}
+
+eselect_python_update() {
+	if [[ -z "$(eselect python show)" || ! -f "${EROOT}usr/bin/$(eselect python show)" ]]; then
+		eselect python update
+	fi
+
+	if [[ -z "$(eselect python show --python${PV%%.*})" || ! -f "${EROOT}usr/bin/$(eselect python show --python${PV%%.*})" ]]; then
+		eselect python update --python${PV%%.*}
+	fi
+}
+
+pkg_postinst() {
+	eselect_python_update
+
+	if [[ "${python_updater_warning}" == "1" ]]; then
+		ewarn "You have just upgraded from an older version of Python."
+		ewarn
+		ewarn "Please adjust PYTHON_TARGETS (if so desired), and run emerge with the --newuse or --changed-use option to rebuild packages installing python modules."
+	fi
+}
+
+pkg_postrm() {
+	eselect_python_update
+}


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [gentoo-commits] dev/heroxbd:master commit in: dev-lang/python/files/, dev-lang/python/
@ 2015-05-08  7:48 Benda XU
  0 siblings, 0 replies; 2+ messages in thread
From: Benda XU @ 2015-05-08  7:48 UTC (permalink / raw
  To: gentoo-commits

commit:     c3d5b197b8c80bb02a221905971c86a57e413130
Author:     Benda Xu <heroxbd <AT> gentoo <DOT> org>
AuthorDate: Fri May  8 02:24:42 2015 +0000
Commit:     Benda XU <heroxbd <AT> gentoo <DOT> org>
CommitDate: Fri May  8 02:24:42 2015 +0000
URL:        https://gitweb.gentoo.org/dev/heroxbd.git/commit/?id=c3d5b197

dev-lang/python: bump to 2.7.9.  Carrying h2py.py patch.

 dev-lang/python/ChangeLog                          |  88 +++-
 dev-lang/python/Manifest                           |  38 +-
 dev-lang/python/files/python-2.5-tcl86.patch       |  11 +
 .../python/files/python-2.7.5-runtime-prefix.patch |  26 -
 .../files/python-2.7.9-ncurses-pkg-config.patch    |  13 +
 .../files/python-3.3.5-ncurses-pkg-config.patch    |  40 ++
 .../files/python-3.4.3-ncurses-pkg-config.patch    |  13 +
 ...{python-3.2.5-r6.ebuild => python-2.6.9.ebuild} | 155 +++---
 dev-lang/python/python-2.7.5-r4.ebuild             | 538 ---------------------
 ...{python-2.7.7.ebuild => python-2.7.9-r1.ebuild} |  11 +-
 ...{python-2.7.8.ebuild => python-2.7.9-r2.ebuild} |  12 +-
 dev-lang/python/python-3.2.5-r6.ebuild             |  22 +-
 dev-lang/python/python-3.3.5-r1.ebuild             |   7 +-
 dev-lang/python/python-3.4.0.ebuild                |   6 +-
 dev-lang/python/python-3.4.1.ebuild                |   8 +-
 dev-lang/python/python-3.4.2.ebuild                |   6 +-
 .../{python-3.4.2.ebuild => python-3.4.3.ebuild}   |  13 +-
 17 files changed, 301 insertions(+), 706 deletions(-)

diff --git a/dev-lang/python/ChangeLog b/dev-lang/python/ChangeLog
index 09eae68..022a456 100644
--- a/dev-lang/python/ChangeLog
+++ b/dev-lang/python/ChangeLog
@@ -1,6 +1,90 @@
 # ChangeLog for dev-lang/python
-# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/python/ChangeLog,v 1.797 2014/11/11 21:01:03 maekke Exp $
+# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/python/ChangeLog,v 1.818 2015/04/23 19:25:27 floppym Exp $
+
+  23 Apr 2015; Mike Gilbert <floppym@gentoo.org> python-2.6.9.ebuild:
+  Fix dep on eselect-python.
+
+*python-2.6.9 (23 Apr 2015)
+
+  23 Apr 2015; Mike Gilbert <floppym@gentoo.org> +files/python-2.5-tcl86.patch,
+  +python-2.6.9.ebuild:
+  Restore python-2.6.9, without keywords.
+
+  31 Mar 2015; Ulrich Müller <ulm@gentoo.org> python-2.7.9-r1.ebuild,
+  python-2.7.9-r2.ebuild, python-3.2.5-r6.ebuild, python-3.3.5-r1.ebuild,
+  python-3.4.0.ebuild, python-3.4.1.ebuild, python-3.4.2.ebuild,
+  python-3.4.3.ebuild:
+  Update dependency after package move of eselect modules to app-eselect.
+
+  03 Mar 2015; Mike Frysinger <vapier@gentoo.org>
+  +files/python-2.7.9-ncurses-pkg-config.patch,
+  +files/python-3.3.5-ncurses-pkg-config.patch,
+  +files/python-3.4.3-ncurses-pkg-config.patch, python-2.7.9-r2.ebuild,
+  python-3.3.5-r1.ebuild, python-3.4.3.ebuild:
+  Use pkg-config to locate ncurses headers to fix cross-compiling.
+
+*python-3.4.3 (03 Mar 2015)
+
+  03 Mar 2015; Mike Gilbert <floppym@gentoo.org> +python-3.4.3.ebuild:
+  Version bump.
+
+  09 Feb 2015; Mike Frysinger <vapier@gentoo.org> python-2.7.9-r1.ebuild,
+  python-3.4.1.ebuild:
+  Mark arm64/m68k/s390/sh stable.
+
+*python-2.7.9-r2 (07 Feb 2015)
+
+  07 Feb 2015; Mike Gilbert <floppym@gentoo.org> +python-2.7.9-r2.ebuild:
+  Drop 61_all_process_data.patch, fixes musl build, bug 539210.
+
+  07 Feb 2015; Mike Gilbert <floppym@gentoo.org> -python-2.7.7.ebuild,
+  -python-2.7.8.ebuild:
+  Remove old.
+
+  09 Jan 2015; Tobias Klausmann <klausman@gentoo.org> python-2.7.9-r1.ebuild:
+  Stable on alpha, bug 532232
+
+  30 Dec 2014; Markus Meier <maekke@gentoo.org> python-2.7.9-r1.ebuild:
+  arm stable, bug #532232
+
+  26 Dec 2014; Agostino Sarubbo <ago@gentoo.org> python-2.7.9-r1.ebuild:
+  Stable for sparc, wrt bug #532232
+
+  25 Dec 2014; Agostino Sarubbo <ago@gentoo.org> python-2.7.9-r1.ebuild:
+  Stable for ia64, wrt bug #532232
+
+*python-2.7.9-r1 (24 Dec 2014)
+
+  24 Dec 2014; Mike Gilbert <floppym@gentoo.org> +python-2.7.9-r1.ebuild,
+  -python-2.7.9.ebuild:
+  Revbump for ensurepip change.
+
+  24 Dec 2014; Mike Gilbert <floppym@gentoo.org> python-2.7.9.ebuild:
+  Pass --without-ensurepip to configure.
+
+  24 Dec 2014; Agostino Sarubbo <ago@gentoo.org> python-2.7.9.ebuild:
+  Stable for ppc64, wrt bug #532232
+
+  24 Dec 2014; Agostino Sarubbo <ago@gentoo.org> python-2.7.9.ebuild:
+  Stable for ppc, wrt bug #532232
+
+  23 Dec 2014; Agostino Sarubbo <ago@gentoo.org> python-2.7.9.ebuild:
+  Stable for x86, wrt bug #532232
+
+  23 Dec 2014; Agostino Sarubbo <ago@gentoo.org> python-2.7.9.ebuild:
+  Stable for amd64, wrt bug #532232
+
+  22 Dec 2014; Jeroen Roovers <jer@gentoo.org> python-2.7.9.ebuild:
+  Stable for HPPA (bug #532232).
+
+*python-2.7.9 (14 Dec 2014)
+
+  14 Dec 2014; Mike Gilbert <floppym@gentoo.org> +python-2.7.9.ebuild:
+  Version bump.
+
+  11 Dec 2014; Michał Górny <mgorny@gentoo.org> python-3.2.5-r6.ebuild:
+  Add a postinst explaining that Python 3.2 is not supported.
 
   11 Nov 2014; Markus Meier <maekke@gentoo.org> python-3.4.1.ebuild:
   arm stable, bug #522322

diff --git a/dev-lang/python/Manifest b/dev-lang/python/Manifest
index 01e8f80..8042abd 100644
--- a/dev-lang/python/Manifest
+++ b/dev-lang/python/Manifest
@@ -2,45 +2,49 @@ AUX CVE-2013-4238_py27.patch 11591 SHA256 050cc2d4b9d588f2587010a30819591e02130f
 AUX CVE-2013-4238_py33.patch 11437 SHA256 e4f78490fc247df9d1133dc9f2deec47b1c582c4af1c8e93bd503d889c9eb716 SHA512 d1f1b64c46056f178b89abfe61c7c653afc0ed67cf9a8ef8c981d1cf6a1c389cb20bd354cac3a30c1241e6fe24a49e165527571276c1f8afb55989f5f069ba00 WHIRLPOOL e5889b6be0a2db7ec45ff8cbe9fa8481c6c69b25091b62635d2ff595ef5d0b1136485f7adb04f4c0c97402edfd9d915d4fd05e2b6bf1942497d81de1b1cefdce
 AUX pydoc.conf 279 SHA256 6437e85d16d34efaf2665b3cabb0707392e6dee3df04989d3fcac63fd22997e8 SHA512 2d552b6262fa4c7cd75f45d93b8a2657eb9154decbc08f9b73d2e67e1d84367b498f8556fbba20f7b57414281cfd673fff607da3c688c1d6bb9842e92cf0c32a WHIRLPOOL 1ba44797765939d7c0bcbecb08cb6201eeff9b134d4d3caef9339729dcad9f258e20b16db5f369f49b378df3c91e530115dbce5ce3595d71cd325a48793ac814
 AUX pydoc.init 711 SHA256 bf42ce358c4505bb9c9923758cf7c237113b5465778fe8d0d9781625586003fd SHA512 328597e0f7594dcc1d929dcf15feb39e08a0f85067b226140219c03c2f0a0a5fa9518f26d52723aeb77e36eb5e46d54b5ee4ddbcfc52aa81540a738c49c03b73 WHIRLPOOL 846c7d90fc4b7b74d65c6019ea8e7c9f0d2efb0b6cad5b91d53b5b7bda509f3b625fb30eb27ea59cacf6233378d800c35375108762ba82fb4c2155f2dbf08f13
+AUX python-2.5-tcl86.patch 615 SHA256 cc649fbd471c7e348fc64f3844d9f4e1aab604cb3a028c9fb2cc58ba816b7bda SHA512 dca5eaff3ba981d699805c310dba0a7412ab2b856256ef25e41eb49e1441c382f868406ddce04a1e9768ccfacab1fb39e5e7a320f4ca6884a51583ca61a77dc8 WHIRLPOOL 515f1a5a163d4b34adff2b8e10e43c83f9575f185391440cf89155076b0399d3c5249e5a8741894d94092af4c5271c125b032bbc76c9e4e6f6d94f26133e5672
 AUX python-2.7-issue16248.patch 735 SHA256 ed137a0ab513e6d9c910e37f637aef2d58fb730070e447572f39d46d9cc99568 SHA512 da00f8571741d4cfb529b9db875b5d831d5d8e43fdc464bc43adee046f208165ab6b13d671bc90be988b1099afeac4fc0e7ba7fa473ff74a9ec7731da89e11a9 WHIRLPOOL ad770b848666efb5cc3b8c07a530f2a9aaca683f4b447c2d835e39be59a5dde35a28ab8cdb278ecf456e15e57b7401ff83fb04ac71bd8d80abc19d45beb84d62
 AUX python-2.7-issue18851.patch 11805 SHA256 4ecff8db20cdc4d9b0692a126859c318a9ba20bf1eff6e633c964871b2410d66 SHA512 b1eeec1451d011f37c65676819bf8391b9657d93a0b9f03d0db09956ef052fa3f2d922d1d5fc3c69567f549aa86f65a06670dcf3ead8300c0ac97651f9a503cd WHIRLPOOL b4b51d590175959df1f8373ff86343618b4474ea9afc2ef9360c680c986f30fa8f432eeb076de676cb87052cc6453a2b613dfaab51ab1ec5945a7c7c496a4f9f
 AUX python-2.7.5-library-path.patch 991 SHA256 ff7a4a1846ebcadc2dbf979ea619072caac22e47909fe188fc4b6becce6ea2eb SHA512 74916d541eb38c526dc1243fe5e5a9de3a7875f02c53e5f49e60182ba042de2f15514364e7fbd821146dcf92db2bba88d8a9f46d4c71237b73fd39cbabf93d85 WHIRLPOOL 62bb1c85941ccaac7ca6f6fb2d93dc27f206cf9f815b90ef1f89748dfdd1d38deda9f6bf7eb2ce9fd8635d1a77576819192e8049ec5de52fdeb9f981dfb32f9f
 AUX python-2.7.5-nonfatal-compileall.patch 750 SHA256 3f5a137602f1b3f0522f561c168a740f0080b29c2c888cb3a8dbbcc4407c2d9e SHA512 d2e93e2a6fcd55d516df0ddaca31af97faed677ea6b4be282eb99e7864f8a7399b5ca11139844a4b3c264832183483b0f4c8c9865c05de0e8520e6d2c8f1dbc6 WHIRLPOOL ab576e3a4e67f881d6d5c705503230ace125fe94d907d7f69bb573dd492070b8b34078a2b1205f315eb45244fbae8855c0f15ce35158f1d356f1bd4acf83b3c2
 AUX python-2.7.5-re_unsigned_ptrdiff.patch 941 SHA256 5b0c0465a23d27e1c8f0961a8d88b3af75fbc9933ab60c2a71091720a3681079 SHA512 d46fbbc8411fae78cdfca2564faca42f32bb95ee348b9aa3fd1ca90b346cc52cd468945cee07e6df4dff46c10cee6856a58004f8e453960f6dca2751c077802b WHIRLPOOL 10bb08242dd9a055f6bdaf3eb1546786b58f180667c6355ea7276114cbac0ffba6c34822add7965fe3b5d41cc92ce8ec45e2d1d56377d8a6aa2755ef4267d101
-AUX python-2.7.5-runtime-prefix.patch 949 SHA256 56e91a1d5c9693af9572782ee22fc4176c7ebd8d34b6ee6c8ff1d73ef0bf9bb2 SHA512 82030c641e8f11ceaf062ab591f2dd9ad40e71a57351b491be34004cdc0d080ce5d25fb0d0050509fc8a4c4cdd44105288cea012f2b5693169264e0c52ba938d WHIRLPOOL 82b4b785b556024b3271fcc5738eef0ecd4e8568de315232407d102bc6336c05169b881464bcd744f7bef480ba15f07cf5de8edf6c33a6b5ed449d37ca46e38a
 AUX python-2.7.6-recvfrom_into_buffer_overflow.patch 563 SHA256 bdf280058fe31b6e9d08a32e4ce16e958e3dddeed515417a03b25e5ec62d41b4 SHA512 21b534e41ce1cd1bf954849f4246ef0ae907ba7335b42ccfc914cc33068db91140dc1fea0f1b8a83818609e7f5a5f5df6623f029c2c86004f2126eb3f2699c06 WHIRLPOOL 2ffe173be651aae7d43ad8ee75600133ea96952431140c7c00e0ca6ad431d3faa230207f93f1191bfd3bcdf7b0c9af61948871b06158e6953106d7f2d0c7e9f5
+AUX python-2.7.9-ncurses-pkg-config.patch 305 SHA256 0464ec04985c642b40d53cb8f816abf18702aeae97cb52ec73541694317180c7 SHA512 2c18b5041a7a2f306dd4d0d6695bd851ca14c9107b2e3e856ec094bc53c7cc407b49e1f4813ee9e753b3ad2d4f6edda943a66bb1e6c895ab956a5f84d30646c6 WHIRLPOOL 774e2707a0c6ace106df30c0d4915527fb0ac7584cd0f1e12bbdb29d584c3b38c770d8fe8999d0166e94deab561cbed0c8ad09c27fcd83ed27045dfdede89a5a
 AUX python-3.2-CVE-2013-2099.patch 2102 SHA256 76a89951e7efcf14d37e30e0104446429ca121c68cbb1753ec362a177c1b5a54 SHA512 03d2a09fe730bf8c94df1eb10f8bac37a31a28dfb45b7d49abe1c3ffe26ca948f8d00eb58319d34102f8a747a038d447d3507b11c051c778c42ae21ac1066c8e WHIRLPOOL 3cd701c606ef1f4f557d1d250af41a860a6a5c4b6d9ff9a9f469ab6974f13e1205d2c4c791e9bd353fd4ff726f6cbf979f9a3927b83b04af5128c1aea7070496
 AUX python-3.2-CVE-2014-1912.patch 1635 SHA256 044a5857f54f1c6adfc8e3018cbcc5230ca21bc8efaf6b68f95fc47560ed13aa SHA512 afca87c0491087715f54bac777c15be426dbf3cf079859bc8559b4f4bab520e0835976221d16073b14b2fa584c0260a565307bea039f345fa5c7e3e1f9396228 WHIRLPOOL 97c08598f7cbaa28fa83819c9b9423ec218363c18781afc8ab98a3e9847459e59ae35d567b1f775eca7bc1ec53b17c656203ea6e332559607c507ec958eb8291
 AUX python-3.2-CVE-2014-4616.patch 1515 SHA256 8d971bca441c3b17cf7c2a1ee2391059de472d8a10ec4060af23bae65ffddf8c SHA512 fff6cdbde476a5804184fad6615dab3577c2e81bf2dc8f2276ad02d213239e6f47a642e9c8270de352e7123fcd712a1b0073d85146c9bee59d9b6644f5a2cb3f WHIRLPOOL 4894fd9f33a01d4aae477cc558f790ad792f02965ca841b4fb1119711ff4254bd19bac3f67872ae3fc761c677ec078b6c156d71ba036cc91fdbfe32b43044cfc
 AUX python-3.2-issue16248.patch 738 SHA256 b5e94ead2622f355d733232dcfdac4dab53889aab12980fa1e4496c296191e77 SHA512 6fcf3d4cf05e41758a6d51ad9cc25ce9fcd1d33854f096b599811a07ef6b7f0cc4f178c4db6b15c5c9ee86eb53fcc736fede0dfb4eae81ca429d0fad62d84db9 WHIRLPOOL dd620bdce394a74910f4deed50b8bcd2b5d6b61af1e2e225a7c36fe4f293560fe1237a2111a4a4a334dfd1272fa4b7faf6289b2a018864c4f154c8a8a8b85c5c
 AUX python-3.3-CVE-2013-2099.patch 2102 SHA256 d5ccc8de43a176d9d16c3a7be58d32dcf3c952147d8866f84dffcd8fa66f6396 SHA512 a8e2c8fd3d3c3924acb856e89b6dc6965c887688e4c7d078c27abacfaf6b33b12484d86942b75643f28e4a14a465e2ec6a30fe53acf2ab036ae667fb7f76d737 WHIRLPOOL c02bd815d5143b6a916a91f40bb7971f1be188e836ab6095a5befd6410545acba0d44b4b0a75a5f7e7d84105018c0ef27887eefdcd883c73e68f872bb4138e35
 AUX python-3.3-CVE-2014-4616.patch 1896 SHA256 50262c507dff44a2ec928281251882aa7c192954713f5a29def8eee7cc29d3d0 SHA512 98d7929d7b6dd88de511690776bf6cabfb5a2d21f89cd21573aba39cb03156666ce0404bd9e380c8193a28cf73d386a6b56c71f90ff3b66da48689953dea997b WHIRLPOOL 5debc17107a9d15a36bc73ef8c68f6f9c89ba060191f6d310709852a2cb01d9b4143c40cd0ce0a3df1b02ace8afe865122bd10dab38aafc1d1ec1e1c2c1b7331
+AUX python-3.3.5-ncurses-pkg-config.patch 1175 SHA256 2a64b3b5628f9114c091bfc5221c244f8966d83ce08e81971ec890a59f2d93c3 SHA512 25e37ac17a8fc5907bf9ce55e5c58337895a38cf4d4a6bd333a44f30a0f6ac65510a8594d3e953f477a8d724de9932450e6df56e79d7884bc451b23c9a7ad8e0 WHIRLPOOL b213fa0c9707b1e04036fd3cd85f040b7d459f1046b90c619f85a4c221e946b09ffb2d1a7c5b10f795674f89af886ac7f93ff8fd440c2f7014ee40e77b752e21
+AUX python-3.4.3-ncurses-pkg-config.patch 302 SHA256 43e704d8dc96606d96c5eee82ecb53798d6586f591b4ee54d08137e962705101 SHA512 9e2bc2af0077d6282d9512b172d80ee294c47a6d41855474eed641afa8139ce4667a64c4676f5b2e40a90278b780a46e998d1096422ed0fe1d83b973dc455dc2 WHIRLPOOL 321452dd6f443609fddd4da7f5fb0c8897e99f9f4eea77eafc81ca14a9a4995818ea5e1400e44d9531c2b5d9491326c64d838b262b9e1b4814ec47f564a069ef
 AUX python-config-2.4-r1 1624 SHA256 923a9e896f99cca5aa4ccbb02f981c6e26a2b1aa42326de2359d3c884bde2a9f SHA512 f8a0e12bed93385b3dddfa64a416ff4a560ec1b12c6c4a0dd715a2c804a43b6a292f0fe13e28d7828d4c4d620cde9dd7eab6a3423216786917ea6f51856ff53c WHIRLPOOL f2fe759b05ac0eb3b8dd196b0c68b8b8e0145ab79659eb4a45adee1bf7ae7260f457ae6192b9792990babd59cb98cceec05a8d93a50a3203517fe49ec30f5e0e
-DIST Python-2.7.5.tar.xz 10252148 SHA256 f33c4cab167dc69e10962e1cebf1c0768e2d0e8575648130c20e6bda84551db1 SHA512 c4691199d770cc4130604cd801375967ae0bb8a39ef34e01a4c8ab58d1c23ae83a1b493305178c4317c5622a19857750d33ffc3f10075becd5766ae664c68ee1 WHIRLPOOL fc5d3762cd67214b30de8b43024f5952362c4c811f23837e43ac2a7747c5353cc49b8785e75edd760ea58420609cd67a9a7e94abd2ea8ab25b3271af6a85168d
-DIST Python-2.7.7.tar.xz 10496500 SHA256 2983e3cd089b30c50e2b2234f07c2ac4fb8a5df230ab8f2e1133a1d8b208da78 SHA512 ea2101feeb41da953b078b93977bd320a937f4047d074fbed568c7c73b1dfe433a66f7f14009ad7160862694a1b378e61f688831b655dcab8a8825e0d1a9acff WHIRLPOOL c3e8862ca2e66a18755adecca98cf59a56d667238671b10810e056cc27fcc099f94126064c93bf30e9941dbf5cdde67114cead527111b8c73244cd707b5cadd3
-DIST Python-2.7.8.tar.xz 10525244 SHA256 edde10a0cb7d14e2735e682882d5b287028d1485c456758154c19573db68075a SHA512 0a992e34b6b704f028f5178c0404f8ca5fd9a7ab9da1879a20f0c72ffa712dc4925e45eb78e9368d6a17ee618259fc3f078d71766b314a732a1a28e526511a5e WHIRLPOOL 81ee40be85a8713dcc91e64c7faaf7605c43dc28f97b410b88411bbf7d4adbdf48a3e4bfa18c039c1da8695160a98ebb57e144c3198abec2b12398d80ece2971
+DIST Python-2.6.9.tgz 13285074 SHA256 7277b1285d8a82f374ef6ebaac85b003266f7939b3f2a24a3af52f9523ac94db SHA512 7ff28f41f7dc12e1504a781060520440bbf74b96c5df269ca5218f5910eae63898b94fdd398f549217912689814bc5275bb3b5ec4cc892f20bb468fc1b041c0c WHIRLPOOL 909f612286314ea004eef328a58d7b0aecffc1a524f6b283333ef0f299413055c1f7ec4e2d21a44d1beeaa8e11aabd68510cf9c5840cb5394176cbc8f2e5c147
+DIST Python-2.7.9.tar.xz 12164712 SHA256 90d27e14ea7e03570026850e2e50ba71ad20b7eb31035aada1cf3def8f8d4916 SHA512 6939182463272a6bb9da0e327bfb9efc574a87820f2ae39eaf02d9fae053dbe0004330e916e6828becfef94cbe294acb0a88a600f8930b99b94fcfc4efc44ff4 WHIRLPOOL 993313811eddef1820e6f3ee0e02848c73bdfce65b85ab0e360603e726c31e1cc9dc6c128e3fe086cafc94164d2d628ff5d859e13b90648da6352c35ddeedcd4
 DIST Python-3.2.5.tar.xz 9221624 SHA256 8ccb9645b9779fc4550055b2ebb21a724ab7a63dee45643286eb4f79b2f84116 SHA512 6e71d01695c7b1e74d9781e4ac40a8d1560cae659d5351d392fc685b84316568d93740a99d2ed878dd87d4ce1708d0474cb01c6bad7b3dab610c639f3255b09d WHIRLPOOL d5e5fae5e1d4110861e1e1dac00c9812abbbc37205e8ce3cd268535ab9f66e24038ab4778af8bb834fd472eaa0281730f1f2fabdf6dffc4f6b54ef32c1d75953
 DIST Python-3.3.5.tar.xz 12116308 SHA256 abe99b484434503d8b23be0f243ec27139e743a4798cd71c1dce3cf40e63b6e5 SHA512 562ebd85291f29ff18d37f05682763fc45aa9d070688006f4ef5c89392a48022357c3ca9ee1d795e9e863bdef413e6bab77b8d65581d374a76dbe7cacec65550 WHIRLPOOL f4b6010d32b28b7bb038cbb7c5f98d325cc4253fd1be9a0a1089ed6fd7dd414c5169931d21ef819137d5c1084517a650828f260cf2a1d8ce871bc67aeef3fff8
 DIST Python-3.4.0.tar.xz 14084912 SHA256 f13686c0a2d45e7146759e9d5d1cbd8097a0606483c0cf7730e1e13f58b14cbe SHA512 4fd4d3352e3b64ef8017ba083a2d894b99e89882581bcf30cdb218578f0f384aa6efc89211ffe44f5bb3d783c79763e26823242d27382fd05900099dd966ca31 WHIRLPOOL 82a1bb14a7683e2bce32221792923f334b61fabc75b0b293b0ecc0d810c8a4bebf05b75a061d85dd6612a8ca699c9b4f358e2aef5d14706aad1c18f42c9b8d55
 DIST Python-3.4.1.tar.xz 14125788 SHA256 c595a163104399041fcbe1c5c04db4c1da94f917b82ce89e8944c8edff7aedc4 SHA512 09b6390c07334974f189fb1c90bc2310898aef76661b1cecaa2b4d50001fa3df0fa0c63d3471a5a0dc7f9e08dd559d38d3bc45a6c05a816d8b2ed6b2a20e5fa9 WHIRLPOOL c8f879bb5d42a759b0804aa58d90330d9be6f4c29652ec40f07ca7da31510eadbd6b4eceb2b213af9a1af031c8321fc25faccae77763a31814eb0569831b8bfd
 DIST Python-3.4.2.tar.xz 14223804 SHA256 1c6d9682d145c056537e477bbfa060ce727f9edd38df1827e0f970dcf04b2def SHA512 12de5309cfaf91f5292efd660b5abe31581b902fdcc302317b597ffa74c9f5ec14ec1dd55994bcccd50d40473ae344ae19bf917ccfb8ab4906c8777d6ea95b17 WHIRLPOOL 358a2ca605676a7b6decf7cc9edfcf5edd6e15eb7b08e48fbf5f78422d3470a1233830867e3986a6bd564e105726298d3664ad04b90a233f90a46d6b81d8d60f
-DIST python-gentoo-patches-2.7.5-0.tar.xz 13848 SHA256 b84ff6a7669d639272cb2f94d4268d3be3af64903a380f4f60ab539e4a29b111 SHA512 9fec0ba9d958894861d4282ff9145f0387ad7fd3914a3689d148308f56158c1b397f0816c58383d2cf198f9a3b9bf321f2f441ec4aa91e4a503cd957b4a7fbd4 WHIRLPOOL 39d807453f6510f14db1b74f5dac1cd2c52d00be356d132c0f9229caeb8ba8bcbbbf32b05b3d3f6236e853b204ecb961e6b12cabacaadf5f515e93f00cda71d5
-DIST python-gentoo-patches-2.7.7-0.tar.xz 13664 SHA256 80e683fc95b709beca1fda13d72851696d158e97f30cfa692f513eba73876d26 SHA512 66cb9937c64a605f6280fee62ebc4c18b7089905b2d2382f310725ce74c446a2d7b1a783c20ad36b02f8e740ac177064f59fd887f1ede428d46d90491e946c2f WHIRLPOOL 0a7615309bd94012cc28d68ee8dfa75bd1e96d67ffe93194e4c9ff7ed4239d5b17078f961c35d4220ea8ff46ebb28db34af19079712f680e8e69ffeb097db165
-DIST python-gentoo-patches-2.7.8-0.tar.xz 14016 SHA256 22ca5eab8e1702f220c272c57359f547b753b88d59b53ab95c7985c17f4f90ec SHA512 17020c8a2039cc073c973e213e77dc67ad9ed4ae7f5fafb931933943aa745733309c46e3972bfde85d112cdef6d47aa91868a614db08bb135c29051999c3df4e WHIRLPOOL 96f0e5c7329cc886d979ec782ffd3c63461f49ba112f0d95e5528d7f15048170cd4e52b78cb4100839d509ef28b927bf7a0f1a610fcf4ec562730a284f8c9fc3
+DIST Python-3.4.3.tar.xz 14421964 SHA256 b5b3963533768d5fc325a4d7a6bd6f666726002d696f1d399ec06b043ea996b8 SHA512 55b2d7c07da8ad3a3971b4687da2e45809c6f1474732e93b0432f121f287d0b63ad8a9bf381987ea70f47a03d9474c3e55b7d86d14800bf7ef29b3324d8d35b9 WHIRLPOOL f851dedc6a1ea35adec83d60784a5fbcd9dfcf6aa8858bb5ada114fa2ff55add1fbf323ab94ec039ecdedb26d59e8f2e6e171cd9fc1ed41ad9cfa434a555cff3
+DIST python-gentoo-patches-2.6.9-0.tar.xz 17532 SHA256 6ff9448c3a8412f9624363ec6f321b4e7f098aff350a82fde74f82adfbb0cae3 SHA512 e6d134200df8320fe137f0a282b7564aba02b10eab2d4585fa82de5b4740223ddeac7a5ea922a40cea8496a1a706b6787310eae45978a3e69342bb80a7670a39 WHIRLPOOL 09b38d10f9415f41205dec2c9e9df5f0687e23f791d31ce1127d96bd489c9fc7825912096b37329d62e66d8c99778ad1ffcbdbd4a2b77b5305f75ea7c28fe15d
+DIST python-gentoo-patches-2.7.9-0.tar.xz 14020 SHA256 d1ae164ab14e265ff63d6a724e0c2b5519bdb790fe8b7796c2124a30cecc8ef8 SHA512 83aa867ce562ff3acf970a4b3ecf7132f34aca1ecf286b90575a20e6e044600b98ff1d7f1a7ee613d4429a6a71cfe8beaff144b64b6beb456ea8691ca00937b0 WHIRLPOOL 5b4f7bd2dcec3a45e12fe5baf1c196faf2b754376a6bccb555dd12a1af28a202d51a0d956e4450ff2f334df13b296ee27b36aa967cb179925c386cd58389050b
+DIST python-gentoo-patches-2.7.9-1.tar.xz 12872 SHA256 9d912c55db56b5bfe054a6164614969fc9605f48f2ffec8770941f798a16470a SHA512 cbbae0faa246516361cd39e55d841660471931bb26cae8396a7d3929c9f4b4a3d8d5a76f7fa295deeb6335c26ed95aab18399e34c2603a582743b6e760f2b280 WHIRLPOOL 422ace8a204481458acd9cfd3b3b85e4b02fb2fe656c8ef8473a76444d5a1b54cd9d690e0009904f8c251697f60105769ce6a97c26224548476c0ece6595e484
 DIST python-gentoo-patches-3.2.5-1.tar.xz 14628 SHA256 0acc5531421781ab7f30e6fc8a502f202b79aa285b4f411eb16ea0a9e6d958c1 SHA512 1abbd53e92466d258802717309e1839ae931b8a4b0a5a27d4d0da748e71cf96ac47c6837bdbae5dd6921a46cee339c178f86ff3108afe95e6a0a42c4f4300791 WHIRLPOOL de003cccb8b311413889713d66b7987f28a1f906cc9642621d1fd2a379ceae4f0f901c137503d808dc3da7295ac611de09781bf8661cdbcd14c1d7c94ba489c2
 DIST python-gentoo-patches-3.3.5-0.tar.xz 12892 SHA256 a7240de9598033cb40f8f273d8104d4e2b1dcaea028d45ac28efaa3c680ff6f7 SHA512 27eef4c2b3f631b000db3f6a5c426d9b498d63a08fe82b1ab7c2c010fb72208109461a5f008d47703852526655b70a734ea95be8742897026db5750bb9cc9d16 WHIRLPOOL edab9222d7da94cab3b1de0e1a27c6c7dbd49194b813a0a1cf9e532063029c4e4f19151c9f4878eeabed3168ff1f97eae7f008280c7ed2897fc14c5516c68d7e
 DIST python-gentoo-patches-3.4.0-0.tar.xz 12900 SHA256 5e5ca54eaf446c7dde4155e5d792df5229c7790b32abb5aca38cbc4fc30f9c45 SHA512 be9851f9062f6aebbd2f23d91a4038dad1a8757049745ccbb1cc618ff6bc3dfab0326d520d27678541f4421e5db41d64f632fe6fb3e80f2cf4e73dadd3d5620b WHIRLPOOL df998b5588c928ca506f9f4434093a1f60637206f03f5e067444531dae02168f88b22c8de7d58e745bdb9d85e17abd667ed51f7f5651779c2c94da98f0925679
 DIST python-gentoo-patches-3.4.1-0.tar.xz 11164 SHA256 7d88e40ed02bef2d26802516fc0138a28cca58e298204e6b1a32054f9224fcb6 SHA512 5ecdf6a1ccb8d12b5b7436e1b7f641a41afcd7fde573e9249e3dc0d438bacb1eb6a5255e149388194dbfd2951fee4f8c800199362dfd072ff96776bbbcad0bbe WHIRLPOOL 707f943f9af7c3fc6deed7cfca5a4198f65a34434893840ba8e4f4c2a3d055e8f927069cb8855b5fe20dff643b7e2d41f35f65e1f3f300e350c0f291b4df6bc2
 DIST python-gentoo-patches-3.4.2-0.tar.xz 11568 SHA256 86028c50ecb16fdbaae68662d9749f8c5dbbad6359423ed02c7b379d4aaeb7e3 SHA512 786d74df8ca168655f38d052a3e79541fd1d9f58845f8fdc296246208f8ddc61e5a0d95d675432fcac77dda7c0ab419162790d0e39337bce2fb5c5d3f23c9ef4 WHIRLPOOL 5b26c7d5facd93ca334f23057e26e3a2af71d9d590ab270d4619bb57e0d14bc6465c08ea34c53e1ccf347f5938fd0199a0edf2ddada3c3a891a5568f1eb81227
-DIST python-prefix-2.7.5-gentoo-patches-r2.tar.bz2 18638 SHA256 91f2f2298ba3e5f6879a9327914f080eb5c2fa5c598fec38d283e1074e6da753 SHA512 16a67c7b32a0ff70a7ec1137f3d037664c5adb6c0008125b565fd9b8d25c64150aaa0a36c98ced0fc162688ba260db47fbff3221bab973f58409121e4b6ed1cb WHIRLPOOL ea11d64d0a07093eb9a7831b09989bace8d4d9dee2596167de42c4b0588e7eeaea3fc3170b2da028628a9a3099b2db1ca673db954f86a83db9d3ff24a28e623c
-EBUILD python-2.7.5-r4.ebuild 18043 SHA256 a69c6d4e6f0ecb719152467a5eaa6f16fbecc77b8d68592fec04f4a7a22b4ca2 SHA512 88b340d24060d3ca5ade60f1a23384f1fe7d05c997ba635fb40e5b075c13892c7e4c83e9d3ecff39337cc9c642f025c53ca01158a55e316594117a1afa58eed2 WHIRLPOOL 1bdb44c4f1a7989963e58a4f6cf50880cdf464ae08c870d866e45559d5c108dd8eb66e48d998c687ce997686916796331f4f65d9116aca50a3eae63152c20a3d
-EBUILD python-2.7.7.ebuild 10507 SHA256 514bc13078318e58eef4fc01595343c7431dc7f901891882e4dd05b5af06b80d SHA512 f12c580f43ac5282e5ca187e7df4409e161473b45ccdee01552b6f840019c06feab38f4643d363928cfc7a6ca75c03fc8cd99d5b6383fccac643290bf3a37f4b WHIRLPOOL d3ce7ac16e5ef377913a7c30331710f6271fe0c9a2bd8ee0b31dca420f79f94d9f871945189dafeb9b27194c3df2460b0efe792fc0b166b7493049b9fce8785e
-EBUILD python-2.7.8.ebuild 10616 SHA256 49ba358d1009c7385ed23fe9e21da98ee4006728f4e03951a3d0c0822df1ad09 SHA512 11ac1a81751c91027582a4f31254b29955fa54a6513080156656e9a6e1c8fc887db8f679b008ffbbb4ffb72a844ebe14048bd25ef0b112b92ff4f8a89549b6b2 WHIRLPOOL 4ce252928ffc2d618b458ea9a2322c3a6169b490fc9a3b44f5af0561b34a7f38c9d48ec964fb22c64dbe950372e51217c852e95b0e72ad1524e0879d701473b4
-EBUILD python-3.2.5-r6.ebuild 11164 SHA256 7fbf0853d0e5449659340216a0c2d49e6e808965771a99946a748910fce788cb SHA512 9fd8a85127c25289aa2be65ce63b9da145845c1df34612c5dd911906e20712ed2ddb63ef43ccd15c0d9036105289e010f1283bd8572d111f9925b4969c34e8ab WHIRLPOOL b1d5854ef0a8e65c1775f6380ca0b82f4109a91fdf90b40f3f3fd396c702446e30e5e2ee71d3be90213bda1c2295c706e3a265b92a65a7dd34e4e2c6484e8ac2
-EBUILD python-3.3.5-r1.ebuild 9523 SHA256 27d6d0444e6b948b49e5438f53aaa0796a9c785096ea63cbe9b4788745077cb1 SHA512 edacf0952c26ca36e754c03a292068554bf1a77c0dab7317eaf0f92ec6fd7e5784072f74d446723d12897d6b464fb275d6884474e9e47d11ed50665873fd154f WHIRLPOOL 34e35e62843e9d2d770fccf9439c23ffbda15bebc9dcb6d2665a46d7f6f27f6b5522483faf74657b4c311b310d3c45ded9d9a60ea9c5b8c1588fc9512f5d9066
-EBUILD python-3.4.0.ebuild 9308 SHA256 4af07645d7b8ab88742c10332fd1e16649c25abfb38638db3060ae087c9f1876 SHA512 a6c94c99a019f9bf68f69ec3ebea041a42cd833a1a7e1fe63bcc4756cd81184e895ccd120ba2d8adfd8158428a82e660132f6e5fdab70592c19eedad9557b366 WHIRLPOOL c6bfda5a4022ee5fb901ba376299b3c809b78a40a917feea5acf29e241c70e71d3fc801ee34b2a6d187257886f7aeb5ef77213d4403ad83185763e0c8ac13ef9
-EBUILD python-3.4.1.ebuild 9233 SHA256 362656400124c36a04091d91e3952c0fd5009b744dd513012c6cd71380652fe8 SHA512 697fc0ccee84292bc1406f04ff9492e181a18f46c24c34512a06ec4979236e380fa3d9e9dacc808863209056a061715c3b7c675f163f3c95a365881d2a9485da WHIRLPOOL f82ab0a9fd49e3f1218172462442b676c8245a12dfe5669396808eac6a9085769921341e40af5d68bf4c535368f20917e3b8106a740ad2e4608d29a7925047af
-EBUILD python-3.4.2.ebuild 9242 SHA256 312fc7a668ac3a821d5c561b04be2be0b10ac8e9cbe8d6a3170f477c355cf88e SHA512 74216fc9bd79b09b763b96026dfb88fbe83716944bd7c208003fd457cec11562e79088ab5620e8e7eb9cf226fbdd1770914b023a78719554425cbfb159a92f2c WHIRLPOOL e2a3910e38d75a29732a039dfe6d0d6a1ac850f391e580bcab24782665027ce51b82ac55483c8e3d16f2871b4beadd79c0c486f48ca01c6389efc777c1ad1f72
-MISC ChangeLog 37683 SHA256 00815b8e7a14433ab4903c458964386346c7866d733f2a564b0b9fcb5fe0525a SHA512 ca2d60b85e26768a106419c1e5814bd18f0fe2d80cc33d0da3813d9e3491be097f1e506c64ac85b82fa91f2d448f40037ac1c8d38aa2a3fa8d57943eebd4cb31 WHIRLPOOL a4c655f028cb5e1712019411715ce08450bf3985ebd5fbd158a39ba06827b2c24931f278d7e37c0e358a91a7372a8a974e67990a0191b94197dd6c1cb944254a
+DIST python-gentoo-patches-3.4.3-0.tar.xz 11736 SHA256 917a9d98d40a91379c81ea57922a8632ba3c6f6db6f304ed6262bc88c5044946 SHA512 7ad1b30cf8bb7900fe518ed71e4ee55dd92ce7e23ae583a1f2f851b26cfa8c4f4271d28f418e780f3725a48d4ca8eeb8fd083f850810c66c29fb08c430828d72 WHIRLPOOL 074e8c0055b49a028eebda21d1acfb8a25ec968eb8b350c2bed37e042f9f354871e413db13e0ef2fe41d7e56d647178a7b3622019f36c4819c2c68f088366eb1
+EBUILD python-2.6.9.ebuild 11294 SHA256 afd73be1f2aeaa83d2ada51f126115cd99e83f1d28323fe7294e67fc46883346 SHA512 ef6952a0c69267534d9c4875ae5a6179f8e1fca2d431ea75085f100240297a2de4cf48aca72491628b20ac6d40773bca06176ff7191a6fd6f481653f8c975b2d WHIRLPOOL 29883ed256da0abe6ef2b4c8ee35ee9c95cb64564486d74a7dd0d32b2c157b17779ce31347f39bb003a7a06dc68557de5081c5af6a4d15ca3fd7c6793bf767c2
+EBUILD python-2.7.9-r1.ebuild 10532 SHA256 b257af119d2bb1fe14c9ffb9d7f5eb083446ecb2e455d54de878bd081ae52342 SHA512 46199fa81a8aa897f853ad50bc9d63127ab16f4062f57e10b536f49c09c37ba1fb357f449ad4570b3878414c58b80f14019ec1ecd12d1fe764c0c14a883478e7 WHIRLPOOL fe66cf76e68fa1ac211c0a60bc75b69f0d55ecf151611aa7b7f3ecaa6f5f42979b471ce9d7ce275083b9d1e2ba1b1d43b4a0c913730099036213a646d151a6e1
+EBUILD python-2.7.9-r2.ebuild 10701 SHA256 b1e73f3646351b27baa31079a18db4b51b47151e25655856fb037f8144ff3cf8 SHA512 2f4b782941c933a0e09b9a9459812a1bcdd46126f7d675ad3ca8753aa505efabc8e5b68009c7f7956027f040c944a6974b759bf696110c60a8371a2f5a8c867c WHIRLPOOL 0399f5ae86ff253bd8e4f379822bef7404f968689718abae366e49c32646350677d0f873e44d3163eed98036f4c0cfa23abf3df97017fcfc286941b1121db840
+EBUILD python-3.2.5-r6.ebuild 11463 SHA256 3dc64bc08b641e7befa7366f8a5bb34567beb970adeeccd8f3c71a36876fc27f SHA512 615d181fd1587ba106f1ad68a081752a1bea4163fa340abacebc13b9fac2c556e186db39763c59b4e100eda15e404bb100480d7f839cb8c4746cdc32d1662ae0 WHIRLPOOL 5c998bfe4d8b2d3874b2c2bbb121b84b6e7dd3d247d3e4fe657153226f12c5eb98b6802ddbc53c6ce2ea3a72dc1e830fe00e6963157768ca3012a8e118dd4d70
+EBUILD python-3.3.5-r1.ebuild 9581 SHA256 45e32db6d88b744d1f0100c4ca80a946e727379df4ce1d4a75046cf1fa49f3dc SHA512 58b1c4d0c3bc78f90dd2eebcd4864b163d4d7f4c919727c34b80f554025a57b0ac4c72dd78b3fdb4985f0fc8453ce46b530f5864ffa39b2f8449f9fc1db869b7 WHIRLPOOL 99e84e88f81f430d319fcf316c71af148a5cf155802a5132bc9dc34fa59fa1ea9fa27570181ab9866f501ab4f5a9908f7b9ada4c2a553750c1ea6276b81ec4a2
+EBUILD python-3.4.0.ebuild 9306 SHA256 ecb382171c85b5dae6f9da1b1ead58548ae0077669bc851c2416abdc5180a25c SHA512 6b51e94abefde02c569969f2f4e3d6ab19dd548ec8c3d925b519d9abd91c13e29b13d84695ec02a5cc526a38af4e0965c6eb2a90745ffcc75c88072696e8b0c4 WHIRLPOOL 41e110e37c8fa282183bec1fe628e4b36416396094f8548a32b8a7714a49e1a11bc1874aea89e808eb20fc34b011836c22b22755aa09886833e1cde9144cf2fa
+EBUILD python-3.4.1.ebuild 9228 SHA256 2e0c3853e037995afde3f233889eb05e9f5459a94a4cccbad28a4b1d97084441 SHA512 344a2903f47be14248edb1318cb138fe20113610211d368aca1e0a298fe4c3a169665884d39a882f2f488537c441a0d4fd87f52c2d3a595a0b40886c84fc6f50 WHIRLPOOL bcc30f3ef7f67327634f066c1b0de6c0549dfd7a32d03d22a8bcd5f8468d17c8f7e31da5fa8910add24fab64dfbb663c8dcf3127d86dff6f165274a538dcd14a
+EBUILD python-3.4.2.ebuild 9240 SHA256 24914c177f25fd847a792bbca0739b217dd02a44e101d38940eb28730984a29c SHA512 0f154558579481c3549a2969ee9a300d82aa266106faa02d4e5a547a0344de795ad7c6f255b833e2b89a3098a9c3f7166c221de0b8ba4f00b8a657b6ebae5851 WHIRLPOOL d7df13b58fdac0ac1ec351fa802bbb7b30605de2eda7934b395480de9bbdb4d97beeb5f581e99e6ce707ced024728edc389930ef8df5dfcc89352e71f4077d45
+EBUILD python-3.4.3.ebuild 9267 SHA256 19eeba5229976e9c59ee03f46b3a2d743c401ff0098ba434eb79b4cf211b2843 SHA512 82aa5c9011c9b0cf06dd8df1dc4af3048f5eebd8a3d7909883cf778294f34c11db0ff4e2d2cd90c64c1362d410de297dd134eb1c89e4e0b66e4dae8a974a49f8 WHIRLPOOL 802f5b8c7d3ea08a2dbbea243028f273e556dacedd20fb5d936555e88d9441cd3580715ffd946cd9bf890303fdaaa4378b002138cdf04980ec4eebdabfb7f895
+MISC ChangeLog 40613 SHA256 94b40f7cf900a8e63e8715d5c1005320498c5fee93e8aad6cf44a7063816d534 SHA512 6dfa11e154c8c8c6beb69876610c39a17ffcd22115f2c141c57e600e3ace0c37e44495716425afdc371fec295dbb04c5ba5b3c90133eef0b720ed9a128fe631c WHIRLPOOL 70bbdf38d65786423874e77872c544a77504f17667e9fdca58c09111c6935b26f5e7bb8afdab521e9e936224806b625258875c2a5ba27e7880fe5c61208a6bf0
 MISC ChangeLog-2011 100599 SHA256 23129cb47321b2a6b1cb9323f1815d0cd11d6f30c3893908ed51575c270a0cc8 SHA512 4181ba9d965139ba58218da5b960c87b7a611b27606a1ab1ce1b4c3c9255b4e0e2947307cbfffc531f0f8b6b545ee11e083fcb29dc7b2b7ba31c6bb40b8ab128 WHIRLPOOL 4ceebb6a6ed58b906d3a7331795748ac6e4fe2e1401bcccae9024a8e81e2c444aebc5fec610398cfe6002354ad3b10487484598da5091867874727f07e239c56
 MISC metadata.xml 661 SHA256 2c6c3407251f7ccd6501dee49494e539a9544f2fbae99a4373eefdf4e83e8908 SHA512 871989a29417ce20d95da950fa385f1a958139de7b1567beb9cda28a1217901243cd9d25235fe3c7b0e43a82176d72286e31e4e97310b26488d2a3252ef3a8a0 WHIRLPOOL b694b1b4270ba15640d04a3b0b26a08575ea4afc9be256717f7f3b1768d75da9f71ceca6afd2f69971906227d5ba42263d2df2fc9387441aa240222d39fd094e

diff --git a/dev-lang/python/files/python-2.5-tcl86.patch b/dev-lang/python/files/python-2.5-tcl86.patch
new file mode 100644
index 0000000..2362e98
--- /dev/null
+++ b/dev-lang/python/files/python-2.5-tcl86.patch
@@ -0,0 +1,11 @@
+--- a/setup.py
++++ b/setup.py
+@@ -1518,7 +1518,7 @@
+         # The versions with dots are used on Unix, and the versions without
+         # dots on Windows, for detection by cygwin.
+         tcllib = tklib = tcl_includes = tk_includes = None
+-        for version in ['8.5', '85', '8.4', '84', '8.3', '83', '8.2',
++        for version in ['8.6', '86', '8.5', '85', '8.4', '84', '8.3', '83', '8.2',
+                         '82', '8.1', '81', '8.0', '80']:
+             tklib = self.compiler.find_library_file(lib_dirs, 'tk' + version)
+             tcllib = self.compiler.find_library_file(lib_dirs, 'tcl' + version)

diff --git a/dev-lang/python/files/python-2.7.5-runtime-prefix.patch b/dev-lang/python/files/python-2.7.5-runtime-prefix.patch
deleted file mode 100644
index 2e47232..0000000
--- a/dev-lang/python/files/python-2.7.5-runtime-prefix.patch
+++ /dev/null
@@ -1,26 +0,0 @@
-Index: Python-2.7.5/Lib/popen2.py
-===================================================================
---- Python-2.7.5.orig/Lib/popen2.py
-+++ Python-2.7.5/Lib/popen2.py
-@@ -81,7 +81,7 @@ class Popen3:
- 
-     def _run_child(self, cmd):
-         if isinstance(cmd, basestring):
--            cmd = ['/bin/sh', '-c', cmd]
-+            cmd = ['@GENTOO_PORTAGE_EPREFIX@/bin/sh', '-c', cmd]
-         os.closerange(3, MAXFD)
-         try:
-             os.execvp(cmd[0], cmd)
-Index: Python-2.7.5/Lib/subprocess.py
-===================================================================
---- Python-2.7.5.orig/Lib/subprocess.py
-+++ Python-2.7.5/Lib/subprocess.py
-@@ -1184,7 +1184,7 @@ class Popen(object):
-                 args = list(args)
- 
-             if shell:
--                args = ["/bin/sh", "-c"] + args
-+                args = ["@GENTOO_PORTAGE_EPREFIX@/bin/sh", "-c"] + args
-                 if executable:
-                     args[0] = executable
- 

diff --git a/dev-lang/python/files/python-2.7.9-ncurses-pkg-config.patch b/dev-lang/python/files/python-2.7.9-ncurses-pkg-config.patch
new file mode 100644
index 0000000..38ce6f7
--- /dev/null
+++ b/dev-lang/python/files/python-2.7.9-ncurses-pkg-config.patch
@@ -0,0 +1,13 @@
+do not hardcode /usr/include paths
+
+--- a/configure.ac
++++ b/configure.ac
+@@ -4316,7 +4316,7 @@ fi
+ 
+ # first curses configure check
+ ac_save_cppflags="$CPPFLAGS"
+-CPPFLAGS="$CPPFLAGS -I/usr/include/ncursesw"
++CPPFLAGS="$CPPFLAGS `$PKG_CONFIG --cflags ncursesw`"
+ 
+ AC_CHECK_HEADERS(curses.h ncurses.h)
+ 

diff --git a/dev-lang/python/files/python-3.3.5-ncurses-pkg-config.patch b/dev-lang/python/files/python-3.3.5-ncurses-pkg-config.patch
new file mode 100644
index 0000000..d963b9e
--- /dev/null
+++ b/dev-lang/python/files/python-3.3.5-ncurses-pkg-config.patch
@@ -0,0 +1,40 @@
+do not hardcode /usr/include paths
+
+--- a/configure.ac
++++ b/configure.ac
+@@ -668,6 +668,8 @@ AC_ARG_WITH(cxx_main,
+ ])
+ AC_MSG_RESULT($with_cxx_main)
+ 
++AC_PATH_TOOL([PKG_CONFIG], [pkg-config])
++
+ preset_cxx="$CXX"
+ if test -z "$CXX"
+ then
+@@ -1513,7 +1515,7 @@ dnl AC_MSG_RESULT($cpp_type)
+ # checks for header files
+ AC_HEADER_STDC
+ ac_save_cppflags="$CPPFLAGS"
+-CPPFLAGS="$CPPFLAGS -I/usr/include/ncursesw"
++CPPFLAGS="$CPPFLAGS `$PKG_CONFIG --cflags ncursesw`"
+ AC_CHECK_HEADERS(asm/types.h conio.h curses.h direct.h dlfcn.h errno.h \
+ fcntl.h grp.h \
+ ieeefp.h io.h langinfo.h libintl.h ncurses.h process.h pthread.h \
+@@ -2225,8 +2227,6 @@ LIBS="$withval $LIBS"
+ ],
+ [AC_MSG_RESULT(no)])
+ 
+-AC_PATH_TOOL([PKG_CONFIG], [pkg-config])
+-
+ # Check for use of the system expat library
+ AC_MSG_CHECKING(for --with-system-expat)
+ AC_ARG_WITH(system_expat,
+@@ -4273,7 +4273,7 @@ then
+ fi
+ 
+ ac_save_cppflags="$CPPFLAGS"
+-CPPFLAGS="$CPPFLAGS -I/usr/include/ncursesw"
++CPPFLAGS="$CPPFLAGS `$PKG_CONFIG --cflags ncursesw`"
+ # On HP/UX 11.0, mvwdelch is a block with a return statement
+ AC_MSG_CHECKING(whether mvwdelch is an expression)
+ AC_CACHE_VAL(ac_cv_mvwdelch_is_expression,

diff --git a/dev-lang/python/files/python-3.4.3-ncurses-pkg-config.patch b/dev-lang/python/files/python-3.4.3-ncurses-pkg-config.patch
new file mode 100644
index 0000000..8bfad11
--- /dev/null
+++ b/dev-lang/python/files/python-3.4.3-ncurses-pkg-config.patch
@@ -0,0 +1,13 @@
+do not hardcode /usr/include paths
+
+--- a/configure.ac
++++ b/configure.ac
+@@ -4402,7 +4402,7 @@ fi
+ 
+ # first curses header check
+ ac_save_cppflags="$CPPFLAGS"
+-CPPFLAGS="$CPPFLAGS -I/usr/include/ncursesw"
++CPPFLAGS="$CPPFLAGS `$PKG_CONFIG --cflags ncursesw`"
+ 
+ AC_CHECK_HEADERS(curses.h ncurses.h)
+ 

diff --git a/dev-lang/python/python-3.2.5-r6.ebuild b/dev-lang/python/python-2.6.9.ebuild
similarity index 68%
copy from dev-lang/python/python-3.2.5-r6.ebuild
copy to dev-lang/python/python-2.6.9.ebuild
index 08695ed..9ca66c6 100644
--- a/dev-lang/python/python-3.2.5-r6.ebuild
+++ b/dev-lang/python/python-2.6.9.ebuild
@@ -1,25 +1,25 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2015 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/python/python-3.2.5-r6.ebuild,v 1.9 2014/08/09 10:47:42 ago Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/python/python-2.6.9.ebuild,v 1.7 2015/04/23 19:25:27 floppym Exp $
 
-EAPI="4"
+EAPI="2"
 WANT_AUTOMAKE="none"
 WANT_LIBTOOL="none"
 
-inherit autotools eutils flag-o-matic multilib pax-utils python-utils-r1 toolchain-funcs multiprocessing
+inherit autotools eutils flag-o-matic multilib multiprocessing pax-utils python-utils-r1 toolchain-funcs unpacker
 
 MY_P="Python-${PV}"
-PATCHSET_REVISION="1"
+PATCHSET_VERSION="${PV}-0"
 
 DESCRIPTION="An interpreted, interactive, object-oriented programming language"
 HOMEPAGE="http://www.python.org/"
-SRC_URI="http://www.python.org/ftp/python/${PV}/${MY_P}.tar.xz
-	http://dev.gentoo.org/~floppym/python/python-gentoo-patches-${PV}-${PATCHSET_REVISION}.tar.xz"
+SRC_URI="http://www.python.org/ftp/python/${PV}/${MY_P}.tgz
+	http://dev.gentoo.org/~floppym/python/python-gentoo-patches-${PATCHSET_VERSION}.tar.xz"
 
 LICENSE="PSF-2"
-SLOT="3.2"
-KEYWORDS="alpha amd64 arm hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd"
-IUSE="build doc elibc_uclibc examples gdbm hardened ipv6 +ncurses +readline sqlite +ssl +threads tk +wide-unicode wininst +xml"
+SLOT="2.6"
+#KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd"
+IUSE="-berkdb build doc elibc_uclibc examples gdbm hardened ipv6 +ncurses +readline sqlite +ssl +threads tk +wide-unicode wininst +xml"
 
 # Do not add a dependency on dev-lang/python to this ebuild.
 # If you need to apply a patch which requires python for bootstrapping, please
@@ -31,44 +31,59 @@ RDEPEND="app-arch/bzip2
 	virtual/libffi
 	virtual/libintl
 	!build? (
+		berkdb? ( || (
+			sys-libs/db:4.7
+			sys-libs/db:4.6
+			sys-libs/db:4.5
+			sys-libs/db:4.4
+			sys-libs/db:4.3
+			sys-libs/db:4.2
+		) )
 		gdbm? ( sys-libs/gdbm[berkdb] )
 		ncurses? (
 			>=sys-libs/ncurses-5.2
 			readline? ( >=sys-libs/readline-4.1 )
 		)
-		sqlite? ( >=dev-db/sqlite-3.3.8:3 )
+		sqlite? ( >=dev-db/sqlite-3.3.3:3 )
 		ssl? ( dev-libs/openssl )
 		tk? (
 			>=dev-lang/tk-8.0
 			dev-tcltk/blt
-			dev-tcltk/tix
 		)
 		xml? ( >=dev-libs/expat-2.1 )
-	)"
+	)
+	!!<sys-apps/portage-2.1.9"
 DEPEND="${RDEPEND}
 	virtual/pkgconfig
-	>=sys-devel/autoconf-2.65
+	>=sys-devel/autoconf-2.61
 	!sys-devel/gcc[libffi]"
 RDEPEND+=" !build? ( app-misc/mime-types )
 	doc? ( dev-python/python-docs:${SLOT} )"
-PDEPEND="app-admin/eselect-python
+PDEPEND="app-eselect/eselect-python
 	app-admin/python-updater"
 
 S="${WORKDIR}/${MY_P}"
 
 pkg_setup() {
-	if [[ "${PV}" =~ ^3\.2(\.[1234])?(_pre)? ]]; then
-		rm -f "${EROOT}usr/$(get_libdir)/llibpython3.so"
+	if use berkdb; then
+		ewarn "'bsddb' module is out-of-date and no longer maintained inside"
+		ewarn "dev-lang/python. 'bsddb' and 'dbhash' modules have been additionally"
+		ewarn "removed in Python 3. A maintained alternative of 'bsddb3' module"
+		ewarn "is provided by dev-python/bsddb3."
 	else
-		die "Deprecated code not deleted"
+		if has_version "=${CATEGORY}/${PN}-${PV%%.*}*[berkdb]"; then
+			ewarn "You are migrating from =${CATEGORY}/${PN}-${PV%%.*}*[berkdb]"
+			ewarn "to =${CATEGORY}/${PN}-${PV%%.*}*[-berkdb]."
+			ewarn "You might need to migrate your databases."
+		fi
 	fi
 }
 
 src_prepare() {
 	# Ensure that internal copies of expat, libffi and zlib are not used.
-	rm -r Modules/expat
-	rm -r Modules/_ctypes/libffi*
-	rm -r Modules/zlib
+	rm -fr Modules/expat
+	rm -fr Modules/_ctypes/libffi*
+	rm -fr Modules/zlib
 
 	local excluded_patches
 	if ! tc-is-cross-compiler; then
@@ -78,29 +93,17 @@ src_prepare() {
 	EPATCH_EXCLUDE="${excluded_patches}" EPATCH_SUFFIX="patch" \
 		epatch "${WORKDIR}/patches"
 
-	epatch "${FILESDIR}/python-3.2-CVE-2013-2099.patch"
-	epatch "${FILESDIR}/CVE-2013-4238_py33.patch"
-	epatch "${FILESDIR}/python-3.2-issue16248.patch"
+	epatch "${FILESDIR}/python-2.5-tcl86.patch"
 
 	sed -i -e "s:@@GENTOO_LIBDIR@@:$(get_libdir):g" \
 		Lib/distutils/command/install.py \
 		Lib/distutils/sysconfig.py \
 		Lib/site.py \
-		Lib/sysconfig.py \
-		Lib/test/test_site.py \
 		Makefile.pre.in \
 		Modules/Setup.dist \
 		Modules/getpath.c \
 		setup.py || die "sed failed to replace @@GENTOO_LIBDIR@@"
 
-	# Disable ABI flags.
-	sed -e "s/ABIFLAGS=\"\${ABIFLAGS}.*\"/:/" -i configure.ac || die "sed failed"
-
-	# bug #514686
-	epatch "${FILESDIR}/${PN}-3.2-CVE-2014-4616.patch"
-	# bug #500518
-	epatch "${FILESDIR}/${PN}-3.2-CVE-2014-1912.patch"
-
 	epatch_user
 
 	eautoconf
@@ -110,10 +113,14 @@ src_prepare() {
 src_configure() {
 	if use build; then
 		# Disable extraneous modules with extra dependencies.
-		export PYTHON_DISABLE_MODULES="gdbm _curses _curses_panel readline _sqlite3 _tkinter _elementtree pyexpat"
+		export PYTHON_DISABLE_MODULES="dbm _bsddb gdbm _curses _curses_panel readline _sqlite3 _tkinter _elementtree pyexpat"
 		export PYTHON_DISABLE_SSL="1"
 	else
+		# dbm module can be linked against berkdb or gdbm.
+		# Defaults to gdbm when both are enabled, #204343.
 		local disable
+		use berkdb   || use gdbm || disable+=" dbm"
+		use berkdb   || disable+=" _bsddb"
 		use gdbm     || disable+=" gdbm"
 		use ncurses  || disable+=" _curses _curses_panel"
 		use readline || disable+=" readline"
@@ -163,28 +170,19 @@ src_configure() {
 			|| die "cross-configure failed"
 		) &
 		multijob_post_fork
-
-		# The configure script assumes it's buggy when cross-compiling.
-		export ac_cv_buggy_getaddrinfo=no
-		export ac_cv_have_long_long_format=yes
 	fi
 
-	# Export CXX so it ends up in /usr/lib/python3.X/config/Makefile.
+	# Export CXX so it ends up in /usr/lib/python2.X/config/Makefile.
 	tc-export CXX
 	# The configure script fails to use pkg-config correctly.
 	# http://bugs.python.org/issue15506
 	export ac_cv_path_PKG_CONFIG=$(tc-getPKG_CONFIG)
 
-	# Set LDFLAGS so we link modules with -lpython3.2 correctly.
-	# Needed on FreeBSD unless Python 3.2 is already installed.
+	# Set LDFLAGS so we link modules with -lpython2.6 correctly.
+	# Needed on FreeBSD unless Python 2.6 is already installed.
 	# Please query BSD team before removing this!
 	append-ldflags "-L."
 
-	local dbmliborder
-	if use gdbm; then
-		dbmliborder+="${dbmliborder:+:}gdbm"
-	fi
-
 	cd "${WORKDIR}"/${CHOST}
 	ECONF_SOURCE=${S} OPT="" \
 	econf \
@@ -192,14 +190,10 @@ src_configure() {
 		--enable-shared \
 		$(use_enable ipv6) \
 		$(use_with threads) \
-		$(use_with wide-unicode) \
+		$(use wide-unicode && echo "--enable-unicode=ucs4" || echo "--enable-unicode=ucs2") \
 		--infodir='${prefix}/share/info' \
 		--mandir='${prefix}/share/man' \
-		--with-computed-gotos \
-		--with-dbmliborder="${dbmliborder}" \
 		--with-libc="" \
-		--enable-loadable-sqlite-extensions \
-		--with-system-expat \
 		--with-system-ffi
 
 	if use threads && grep -q "#define POSIX_SEMAPHORES_NOT_ENABLED 1" pyconfig.h; then
@@ -234,7 +228,7 @@ src_compile() {
 		) \
 		PTHON_DISABLE_SSL="1" \
 		SYSROOT= \
-		emake
+		emake || die "cross-make failed"
 		# See comment in src_configure about these.
 		ln python ../${CHOST}/hostpython || die
 		ln Parser/pgen ../${CHOST}/Parser/hostpgen || die
@@ -242,14 +236,10 @@ src_compile() {
 	fi
 
 	cd "${WORKDIR}"/${CHOST}
-	emake CPPFLAGS="" CFLAGS="" LDFLAGS=""
+	default
 
-	# Work around bug 329499. See also bug 413751 and 457194.
-	if has_version dev-libs/libffi[pax_kernel]; then
-		pax-mark E python
-	else
-		pax-mark m python
-	fi
+	# Work around bug 329499. See also bug 413751.
+	pax-mark m python
 }
 
 src_test() {
@@ -262,14 +252,14 @@ src_test() {
 	cd "${WORKDIR}"/${CHOST}
 
 	# Skip failing tests.
-	local skipped_tests="gdb"
+	local skipped_tests="distutils tcl"
 
 	for test in ${skipped_tests}; do
 		mv "${S}"/Lib/test/test_${test}.py "${T}"
 	done
 
 	# Rerun failed tests in verbose mode (regrtest -w).
-	PYTHONDONTWRITEBYTECODE="" emake test EXTRATESTOPTS="-w" CPPFLAGS="" CFLAGS="" LDFLAGS="" < /dev/tty
+	PYTHONDONTWRITEBYTECODE="" emake test EXTRATESTOPTS="-w" < /dev/tty
 	local result="$?"
 
 	for test in ${skipped_tests}; do
@@ -291,47 +281,44 @@ src_test() {
 }
 
 src_install() {
+	[[ -z "${ED}" ]] && ED="${D%/}${EPREFIX}/"
+
 	local libdir=${ED}/usr/$(get_libdir)/python${SLOT}
 
 	cd "${WORKDIR}"/${CHOST}
-	emake DESTDIR="${D}" altinstall
-
-	sed \
-		-e "s/\(CONFIGURE_LDFLAGS=\).*/\1/" \
-		-e "s/\(PY_LDFLAGS=\).*/\1/" \
-		-i "${libdir}/config-${SLOT}/Makefile" || die "sed failed"
+	emake DESTDIR="${D}" altinstall maninstall || die "emake altinstall maninstall failed"
 
 	# Backwards compat with Gentoo divergence.
-	dosym python${SLOT}-config /usr/bin/python-config-${SLOT}
+	dosym python${SLOT}-config /usr/bin/python-config-${SLOT} || die
 
 	# Fix collisions between different slots of Python.
-	rm "${ED}usr/$(get_libdir)/libpython3.so" || die
+	mv "${ED}usr/bin/2to3" "${ED}usr/bin/2to3-${SLOT}"
+	mv "${ED}usr/bin/pydoc" "${ED}usr/bin/pydoc${SLOT}"
+	mv "${ED}usr/bin/idle" "${ED}usr/bin/idle${SLOT}"
+	mv "${ED}usr/share/man/man1/python.1" "${ED}usr/share/man/man1/python${SLOT}.1"
+	rm -f "${ED}usr/bin/smtpd.py"
 
 	if use build; then
-		rm -fr "${ED}usr/bin/idle${SLOT}" "${libdir}/"{idlelib,sqlite3,test,tkinter}
+		rm -fr "${ED}usr/bin/idle${SLOT}" "${libdir}/"{bsddb,dbhash.py,idlelib,lib-tk,sqlite3,test}
 	else
-		use elibc_uclibc && rm -fr "${libdir}/test"
+		use elibc_uclibc && rm -fr "${libdir}/"{bsddb/test,test}
+		use berkdb || rm -fr "${libdir}/"{bsddb,dbhash.py,test/test_bsddb*}
 		use sqlite || rm -fr "${libdir}/"{sqlite3,test/test_sqlite*}
-		use tk || rm -fr "${ED}usr/bin/idle${SLOT}" "${libdir}/"{idlelib,tkinter,test/test_tk*}
+		use tk || rm -fr "${ED}usr/bin/idle${SLOT}" "${libdir}/"{idlelib,lib-tk}
 	fi
 
 	use threads || rm -fr "${libdir}/multiprocessing"
 	use wininst || rm -f "${libdir}/distutils/command/"wininst-*.exe
 
-	dodoc "${S}"/Misc/{ACKS,HISTORY,NEWS}
+	dodoc "${S}"/Misc/{ACKS,HISTORY,NEWS} || die "dodoc failed"
 
 	if use examples; then
 		insinto /usr/share/doc/${PF}/examples
-		find "${S}"/Tools -name __pycache__ -print0 | xargs -0 rm -fr
-		doins -r "${S}"/Tools
+		doins -r "${S}"/Tools || die "doins failed"
 	fi
-	insinto /usr/share/gdb/auto-load/usr/$(get_libdir) #443510
-	local libname=$(printf 'e:\n\t@echo $(INSTSONAME)\ninclude Makefile\n' | \
-		emake --no-print-directory -s -f - 2>/dev/null)
-	newins "${S}"/Tools/gdb/libpython.py "${libname}"-gdb.py
 
-	newconfd "${FILESDIR}/pydoc.conf" pydoc-${SLOT}
-	newinitd "${FILESDIR}/pydoc.init" pydoc-${SLOT}
+	newconfd "${FILESDIR}/pydoc.conf" pydoc-${SLOT} || die "newconfd failed"
+	newinitd "${FILESDIR}/pydoc.init" pydoc-${SLOT} || die "newinitd failed"
 	sed \
 		-e "s:@PYDOC_PORT_VARIABLE@:PYDOC${SLOT/./_}_PORT:" \
 		-e "s:@PYDOC@:pydoc${SLOT}:" \
@@ -352,12 +339,14 @@ src_install() {
 }
 
 pkg_preinst() {
-	if has_version "<${CATEGORY}/${PN}-${SLOT}" && ! has_version ">=${CATEGORY}/${PN}-${SLOT}_alpha"; then
+	if has_version "<${CATEGORY}/${PN}-${SLOT}" && ! has_version "${CATEGORY}/${PN}:2.6" && ! has_version "${CATEGORY}/${PN}:2.7"; then
 		python_updater_warning="1"
 	fi
 }
 
 eselect_python_update() {
+	[[ -z "${EROOT}" || (! -d "${EROOT}" && -d "${ROOT}") ]] && EROOT="${ROOT%/}${EPREFIX}/"
+
 	if [[ -z "$(eselect python show)" || ! -f "${EROOT}usr/bin/$(eselect python show)" ]]; then
 		eselect python update
 	fi

diff --git a/dev-lang/python/python-2.7.5-r4.ebuild b/dev-lang/python/python-2.7.5-r4.ebuild
deleted file mode 100644
index b7c0335..0000000
--- a/dev-lang/python/python-2.7.5-r4.ebuild
+++ /dev/null
@@ -1,538 +0,0 @@
-# Copyright 1999-2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/python/python-2.7.5-r4.ebuild,v 1.1 2013/10/26 15:11:20 floppym Exp $
-
-EAPI="4"
-WANT_AUTOMAKE="none"
-WANT_LIBTOOL="none"
-
-inherit autotools eutils flag-o-matic multilib pax-utils python-utils-r1 toolchain-funcs multiprocessing prefix
-
-MY_P="Python-${PV}"
-PATCHSET_REVISION="0"
-PREFIX_PATCHREV="-r2"
-
-DESCRIPTION="An interpreted, interactive, object-oriented programming language"
-HOMEPAGE="http://www.python.org/"
-SRC_URI="http://www.python.org/ftp/python/${PV}/${MY_P}.tar.xz
-	mirror://gentoo/python-gentoo-patches-${PV}-${PATCHSET_REVISION}.tar.xz
-	prefix? ( http://dev.gentoo.org/~grobian/distfiles/python-prefix-${PV}-gentoo-patches${PREFIX_PATCHREV}.tar.bz2 )"
-
-LICENSE="PSF-2"
-SLOT="2.7"
-KEYWORDS="~ppc-aix ~x64-freebsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
-IUSE="aqua -berkdb build doc elibc_uclibc examples gdbm hardened ipv6 +ncurses +readline sqlite +ssl +threads tk +wide-unicode wininst +xml"
-
-# Do not add a dependency on dev-lang/python to this ebuild.
-# If you need to apply a patch which requires python for bootstrapping, please
-# run the bootstrap code on your dev box and include the results in the
-# patchset. See bug 447752.
-
-RDEPEND="app-arch/bzip2
-	>=sys-libs/zlib-1.1.3
-	!m68k-mint? ( virtual/libffi )
-	virtual/libintl
-	!build? (
-		berkdb? ( || (
-			sys-libs/db:5.3
-			sys-libs/db:5.2
-			sys-libs/db:5.1
-			sys-libs/db:5.0
-			sys-libs/db:4.8
-			sys-libs/db:4.7
-			sys-libs/db:4.6
-			sys-libs/db:4.5
-			sys-libs/db:4.4
-			sys-libs/db:4.3
-			sys-libs/db:4.2
-		) )
-		gdbm? ( sys-libs/gdbm[berkdb] )
-		ncurses? (
-			>=sys-libs/ncurses-5.2
-			readline? ( >=sys-libs/readline-4.1 )
-		)
-		sqlite? ( >=dev-db/sqlite-3.3.8:3 )
-		ssl? ( dev-libs/openssl )
-		tk? (
-			>=dev-lang/tk-8.0[-aqua]
-			dev-tcltk/blt
-		)
-		xml? ( >=dev-libs/expat-2.1 )
-	)
-	!!<sys-apps/portage-2.1.9"
-DEPEND="${RDEPEND}
-	virtual/pkgconfig
-	>=sys-devel/autoconf-2.65
-	!sys-devel/gcc[libffi]"
-RDEPEND+=" !build? ( app-misc/mime-types )
-	doc? ( dev-python/python-docs:${SLOT} )"
-PDEPEND="app-admin/eselect-python
-	app-admin/python-updater"
-
-S="${WORKDIR}/${MY_P}"
-
-pkg_setup() {
-	if use berkdb; then
-		ewarn "'bsddb' module is out-of-date and no longer maintained inside"
-		ewarn "dev-lang/python. 'bsddb' and 'dbhash' modules have been additionally"
-		ewarn "removed in Python 3. A maintained alternative of 'bsddb3' module"
-		ewarn "is provided by dev-python/bsddb3."
-	else
-		if has_version "=${CATEGORY}/${PN}-${PV%%.*}*[berkdb]"; then
-			ewarn "You are migrating from =${CATEGORY}/${PN}-${PV%%.*}*[berkdb]"
-			ewarn "to =${CATEGORY}/${PN}-${PV%%.*}*[-berkdb]."
-		fi
-	fi
-}
-
-src_prepare() {
-	# Ensure that internal copies of expat, libffi and zlib are not used.
-	rm -r Modules/expat || die
-	rm -r Modules/_ctypes/libffi* || die
-	rm -r Modules/zlib || die
-
-	if tc-is-cross-compiler; then
-		local EPATCH_EXCLUDE="*_regenerate_platform-specific_modules.patch"
-	fi
-
-	# if building a patched source-tar, comment the rm's above, and uncomment
-	# this line:
-	#local EPATCH_EXCLUDE=" 01_all_prefix-no-patch-invention.patch"
-
-	EPATCH_SUFFIX="patch" epatch "${WORKDIR}/${PV}-${PATCHSET_REVISION}"
-
-	epatch "${FILESDIR}/${P}-library-path.patch" #474882
-	epatch "${FILESDIR}/${P}-re_unsigned_ptrdiff.patch" #476426
-	epatch "${FILESDIR}/CVE-2013-4238_py27.patch"
-	epatch "${FILESDIR}/python-2.7-issue16248.patch"
-	epatch "${FILESDIR}/python-2.7-issue18851.patch"
-
-	epatch "${FILESDIR}/${P}-runtime-prefix.patch"
-	eprefixify Lib/{popen2,subprocess}.py
-
-	# Prefix' round of patches
-	# http://prefix.gentooexperimental.org:8000/python-patches-2_7
-	EPATCH_EXCLUDE="${excluded_patches}" EPATCH_SUFFIX="patch" \
-		epatch "${WORKDIR}"/python-prefix-${PV}-gentoo-patches${PREFIX_PATCHREV}
-
-	if use aqua ; then
-		# make sure we don't get a framework reference here
-		sed -i -e '/-DPREFIX=/s:$(prefix):$(FRAMEWORKUNIXTOOLSPREFIX):' \
-			-e '/-DEXEC_PREFIX=/s:$(exec_prefix):$(FRAMEWORKUNIXTOOLSPREFIX):' \
-			Makefile.pre.in || die
-		# Python upstream refuses to listen to configure arguments
-		sed -i -e '/FRAMEWORKINSTALLAPPSPREFIX=/s:="[^"]*":="${prefix}/../Applications":' \
-			configure.ac configure || die
-	fi
-	# don't try to do fancy things on Darwin
-	sed -i -e 's/__APPLE__/__NO_MUCKING_AROUND__/g' Modules/readline.c || die
-
-	# Fix for cross-compiling.
-	epatch "${FILESDIR}/python-2.7.5-nonfatal-compileall.patch"
-
-	sed -i -e "s:@@GENTOO_LIBDIR@@:$(get_libdir):g" \
-		Lib/distutils/command/install.py \
-		Lib/distutils/sysconfig.py \
-		Lib/site.py \
-		Lib/sysconfig.py \
-		Lib/test/test_site.py \
-		Makefile.pre.in \
-		Modules/Setup.dist \
-		Modules/getpath.c \
-		setup.py || die "sed failed to replace @@GENTOO_LIBDIR@@"
-
-	epatch_user
-
-	eautoconf
-	eautoheader
-}
-
-src_configure() {
-	if use build; then
-		# Disable extraneous modules with extra dependencies.
-		export PYTHON_DISABLE_MODULES="dbm _bsddb gdbm _curses _curses_panel readline _sqlite3 _tkinter _elementtree pyexpat"
-		export PYTHON_DISABLE_SSL="1"
-	else
-		# dbm module can be linked against berkdb or gdbm.
-		# Defaults to gdbm when both are enabled, #204343.
-		local disable
-		use berkdb   || use gdbm || disable+=" dbm"
-		use berkdb   || disable+=" _bsddb"
-		use gdbm     || disable+=" gdbm"
-		use ncurses  || disable+=" _curses _curses_panel"
-		use readline || disable+=" readline"
-		use sqlite   || disable+=" _sqlite3"
-		use ssl      || export PYTHON_DISABLE_SSL="1"
-		use tk       || disable+=" _tkinter"
-		use xml      || disable+=" _elementtree pyexpat" # _elementtree uses pyexpat.
-		[[ ${CHOST} == *64-apple-darwin* ]] && disable+=" Nav _Qt" # Carbon
-		[[ ${CHOST} == *-apple-darwin11 ]] && disable+=" _Fm _Qd _Qdoffs"
-		export PYTHON_DISABLE_MODULES="${disable}"
-
-		if ! use xml; then
-			ewarn "You have configured Python without XML support."
-			ewarn "This is NOT a recommended configuration as you"
-			ewarn "may face problems parsing any XML documents."
-		fi
-	fi
-
-	if [[ -n "${PYTHON_DISABLE_MODULES}" ]]; then
-		einfo "Disabled modules: ${PYTHON_DISABLE_MODULES}"
-	fi
-
-	if [[ "$(gcc-major-version)" -ge 4 ]]; then
-		append-flags -fwrapv
-	fi
-
-	filter-flags -malign-double
-
-	[[ "${ARCH}" == "alpha" ]] && append-flags -fPIC
-
-	# https://bugs.gentoo.org/show_bug.cgi?id=50309
-	if is-flagq -O3; then
-		is-flagq -fstack-protector-all && replace-flags -O3 -O2
-		use hardened && replace-flags -O3 -O2
-	fi
-
-	# http://bugs.gentoo.org/show_bug.cgi?id=302137
-	if [[ ${CHOST} == powerpc-*-darwin* ]] && \
-		( is-flag "-mtune=*" || is-flag "-mcpu=*" ) || \
-		[[ ${CHOST} == powerpc64-*-darwin* ]];
-	then
-		replace-flags -O2 -O3
-		replace-flags -Os -O3  # comment #14
-	fi
-
-	# Export CXX so it ends up in /usr/lib/python2.X/config/Makefile.
-	tc-export CXX
-	# The configure script fails to use pkg-config correctly.
-	# http://bugs.python.org/issue15506
-	export ac_cv_path_PKG_CONFIG=$(tc-getPKG_CONFIG)
-
-	# Set LDFLAGS so we link modules with -lpython2.7 correctly.
-	# Needed on FreeBSD unless Python 2.7 is already installed.
-	# Please query BSD team before removing this!
-	# On AIX this is not needed, but would record '.' as runpath.
-	[[ ${CHOST} == *-aix* ]] ||
-	append-ldflags "-L."
-
-	local dbmliborder
-	if use gdbm; then
-		dbmliborder+="${dbmliborder:+:}gdbm"
-	fi
-	if use berkdb; then
-		dbmliborder+="${dbmliborder:+:}bdb"
-	fi
-
-	# python defaults to use 'cc_r' on aix
-	[[ ${CHOST} == *-aix* ]] && myconf="${myconf} --with-gcc=$(tc-getCC)"
-
-	# Don't include libmpc on IRIX - it is only available for 64bit MIPS4
-	[[ ${CHOST} == *-irix* ]] && export ac_cv_lib_mpc_usconfig=no
-
-	[[ ${CHOST} == *-mint* ]] && export ac_cv_func_poll=no
-
-	# we need this to get pythonw, the GUI version of python
-	# --enable-framework and --enable-shared are mutually exclusive:
-	# http://bugs.python.org/issue5809
-	use aqua \
-		&& myconf="${myconf} --enable-framework=${EPREFIX}/usr/lib" \
-		|| myconf="${myconf} --enable-shared"
-
-	BUILD_DIR="${WORKDIR}/${CHOST}"
-	mkdir -p "${BUILD_DIR}" || die
-	cd "${BUILD_DIR}" || die
-
-	# note: for a framework build we need to use ucs2 because OSX
-	# uses that internally too:
-	# http://bugs.python.org/issue763708
-	ECONF_SOURCE="${S}" OPT="" \
-	econf \
-		--with-fpectl \
-		$(use_enable ipv6) \
-		$(use_with threads) \
-		$( (use wide-unicode && use !aqua) && echo "--enable-unicode=ucs4" || echo "--enable-unicode=ucs2") \
-		--infodir='${prefix}/share/info' \
-		--mandir='${prefix}/share/man' \
-		--with-dbmliborder="${dbmliborder}" \
-		--with-libc="" \
-		--enable-loadable-sqlite-extensions \
-		--with-system-expat \
-		--with-system-ffi \
-		${myconf}
-}
-
-src_compile() {
-	# Avoid invoking pgen for cross-compiles.
-	touch Include/graminit.h Python/graminit.c
-
-	cd "${BUILD_DIR}" || die
-	emake
-
-	# Work around bug 329499. See also bug 413751 and 457194.
-	if has_version dev-libs/libffi[pax_kernel]; then
-		pax-mark E python
-	else
-		pax-mark m python
-	fi
-}
-
-src_test() {
-	# Tests will not work when cross compiling.
-	if tc-is-cross-compiler; then
-		elog "Disabling tests due to crosscompiling."
-		return
-	fi
-
-	cd "${BUILD_DIR}" || die
-
-	# Skip failing tests.
-	local skipped_tests="distutils gdb"
-
-	for test in ${skipped_tests}; do
-		mv "${S}"/Lib/test/test_${test}.py "${T}"
-	done
-
-	# Rerun failed tests in verbose mode (regrtest -w).
-	emake test EXTRATESTOPTS="-w" < /dev/tty
-	local result="$?"
-
-	for test in ${skipped_tests}; do
-		mv "${T}/test_${test}.py" "${S}"/Lib/test
-	done
-
-	elog "The following tests have been skipped:"
-	for test in ${skipped_tests}; do
-		elog "test_${test}.py"
-	done
-
-	elog "If you would like to run them, you may:"
-	elog "cd '${EPREFIX}/usr/$(get_libdir)/python${SLOT}/test'"
-	elog "and run the tests separately."
-
-	if [[ "${result}" -ne 0 ]]; then
-		die "emake test failed"
-	fi
-}
-
-src_install() {
-	local libdir=${ED}/usr/$(get_libdir)/python${SLOT}
-
-	cd "${BUILD_DIR}" || die
-	[[ ${CHOST} == *-mint* ]] && keepdir /usr/lib/python${SLOT}/lib-dynload/
-	if use aqua ; then
-		local fwdir="${EPREFIX}"/usr/$(get_libdir)/Python.framework
-
-		# do not make multiple targets in parallel when there are broken
-		# sharedmods (during bootstrap), would build them twice in parallel.
-
-		# let the makefiles do their thing
-		emake -j1 CC="$(tc-getCC)" DESTDIR="${D}" STRIPFLAG= altinstall
-
-		# avoid framework incompatability, degrade to a normal UNIX lib
-		mkdir -p "${ED}"/usr/$(get_libdir)
-		cp "${D}${fwdir}"/Versions/${SLOT}/Python \
-			"${ED}"/usr/$(get_libdir)/libpython${SLOT}.dylib || die
-		chmod u+w "${ED}"/usr/$(get_libdir)/libpython${SLOT}.dylib
-		install_name_tool \
-			-id "${EPREFIX}"/usr/$(get_libdir)/libpython${SLOT}.dylib \
-			"${ED}"/usr/$(get_libdir)/libpython${SLOT}.dylib
-		chmod u-w "${ED}"/usr/$(get_libdir)/libpython${SLOT}.dylib
-		cp libpython${SLOT}.a "${ED}"/usr/$(get_libdir)/ || die
-
-		# rebuild python executable to be the non-pythonw (python wrapper)
-		# version so we don't get framework crap
-		rm "${ED}"/usr/bin/python${SLOT}  # drop existing symlink, bug #390861
-		$(tc-getCC) "${ED}"/usr/$(get_libdir)/libpython${SLOT}.dylib \
-			-o "${ED}"/usr/bin/python${SLOT} \
-			Modules/python.o || die
-
-		# don't install the "Current" symlink, will always conflict
-		rm "${D}${fwdir}"/Versions/Current || die
-		# update whatever points to it, eselect-python sets them
-		rm "${D}${fwdir}"/{Headers,Python,Resources} || die
-
-		# remove unversioned files (that are not made versioned below)
-		pushd "${ED}"/usr/bin > /dev/null
-		rm -f python python-config python${SLOT}-config
-		# python${SLOT} was created above
-		for f in pythonw smtpd${SLOT}.py pydoc idle ; do
-			rm -f ${f} ${f}${SLOT}
-		done
-		# pythonw needs to remain in the framework (that's the whole
-		# reason we go through this framework hassle)
-		ln -s ../lib/Python.framework/Versions/${SLOT}/bin/pythonw${SLOT} || die
-		# copy the scripts to we can fix their shebangs
-		for f in 2to3 pydoc${SLOT} idle${SLOT} python${SLOT}-config ; do
-			# for some reason sometimes they already exist, bug #347321
-			rm -f ${f}
-			cp "${D}${fwdir}"/Versions/${SLOT}/bin/${f} . || die
-			sed -i -e '1c\#!'"${EPREFIX}"'/usr/bin/python'"${SLOT}" \
-				${f} || die
-		done
-		# "fix" to have below collision fix not to bail
-		mv pydoc${SLOT} pydoc || die
-		mv idle${SLOT} idle || die
-		popd > /dev/null
-
-		# basically we don't like the framework stuff at all, so just move
-		# stuff around or add some symlinks to make our life easier
-		mkdir -p "${ED}"/usr
-		mv "${D}${fwdir}"/Versions/${SLOT}/share \
-			"${ED}"/usr/ || die "can't move share"
-		# get includes just UNIX style
-		mkdir -p "${ED}"/usr/include
-		mv "${D}${fwdir}"/Versions/${SLOT}/include/python${SLOT} \
-			"${ED}"/usr/include/ || die "can't move include"
-		pushd "${D}${fwdir}"/Versions/${SLOT}/include > /dev/null
-		ln -s ../../../../../include/python${SLOT} || die
-		popd > /dev/null
-
-		# same for libs
-		# NOTE: can't symlink the entire dir, because a real dir already exists
-		# on upgrade (site-packages), however since we h4x0rzed python to
-		# actually look into the UNIX-style dir, we just switch them around.
-		mkdir -p "${ED}"/usr/$(get_libdir)
-		mv "${D}${fwdir}"/Versions/${SLOT}/lib/python${SLOT} \
-			"${ED}"/usr/lib/ || die "can't move python${SLOT}"
-		pushd "${D}${fwdir}"/Versions/${SLOT}/lib > /dev/null
-		ln -s ../../../../python${SLOT} || die
-		popd > /dev/null
-		# remove now dead symlinks
-		rm "${ED}"/usr/lib/python${SLOT}/config/libpython${SLOT}.a
-		rm "${ED}"/usr/lib/python${SLOT}/config/libpython${SLOT}.dylib
-
-		# fix up Makefile
-		sed -i \
-			-e '/^LINKFORSHARED=/s/-u _PyMac_Error.*$//' \
-			-e '/^LDFLAGS=/s/=.*$/=/' \
-			-e '/^prefix=/s:=.*$:= '"${EPREFIX}"'/usr:' \
-			-e '/^PYTHONFRAMEWORK=/s/=.*$/=/' \
-			-e '/^PYTHONFRAMEWORKDIR=/s/=.*$/= no-framework/' \
-			-e '/^PYTHONFRAMEWORKPREFIX=/s/=.*$/=/' \
-			-e '/^PYTHONFRAMEWORKINSTALLDIR=/s/=.*$/=/' \
-			-e '/^LDLIBRARY=/s:=.*$:libpython$(VERSION).dylib:' \
-			"${ED}"/usr/lib/python${SLOT}/config/Makefile || die
-
-		# add missing version.plist file
-		mkdir -p "${D}${fwdir}"/Versions/${SLOT}/Resources
-		cat > "${D}${fwdir}"/Versions/${SLOT}/Resources/version.plist << EOF
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN"
-"http://www.apple.com/DTDs/PropertyList-1.0.dtd">
-<plist version="1.0">
-<dict>
-	<key>BuildVersion</key>
-	<string>1</string>
-	<key>CFBundleShortVersionString</key>
-	<string>${PV}</string>
-	<key>CFBundleVersion</key>
-	<string>${PV}</string>
-	<key>ProjectName</key>
-	<string>Python</string>
-	<key>SourceVersion</key>
-	<string>${PV}</string>
-</dict>
-</plist>
-EOF
-	else
-		emake DESTDIR="${D}" altinstall
-	fi
-
-	sed -e "s/\(LDFLAGS=\).*/\1/" -i "${libdir}/config/Makefile" || die "sed failed"
-
-	# Backwards compat with Gentoo divergence.
-	dosym python${SLOT}-config /usr/bin/python-config-${SLOT}
-
-	# Fix collisions between different slots of Python.
-	mv "${ED}usr/bin/2to3" "${ED}usr/bin/2to3-${SLOT}"
-	mv "${ED}usr/bin/pydoc" "${ED}usr/bin/pydoc${SLOT}"
-	mv "${ED}usr/bin/idle" "${ED}usr/bin/idle${SLOT}"
-	rm -f "${ED}usr/bin/smtpd.py"
-
-	# http://src.opensolaris.org/source/xref/jds/spec-files/trunk/SUNWPython.spec
-	# These #defines cause problems when building c99 compliant python modules
-	# http://bugs.python.org/issue1759169
-	[[ ${CHOST} == *-solaris* ]] && sed -i -e \
-		's:^\(^#define \(_POSIX_C_SOURCE\|_XOPEN_SOURCE\|_XOPEN_SOURCE_EXTENDED\).*$\):/* \1 */:' \
-		 "${ED}"/usr/include/python${SLOT}/pyconfig.h
-
-	if use build; then
-		rm -fr "${ED}usr/bin/idle${SLOT}" "${libdir}/"{bsddb,dbhash.py,idlelib,lib-tk,sqlite3,test}
-	else
-		use berkdb || rm -r "${libdir}/"{bsddb,dbhash.py,test/test_bsddb*} || die
-		use sqlite || rm -r "${libdir}/"{sqlite3,test/test_sqlite*} || die
-		use tk || rm -fr "${ED}usr/bin/idle${SLOT}" "${libdir}/"{idlelib,lib-tk} || die
-		use elibc_uclibc && rm -fr "${libdir}/"{bsddb/test,test}
-	fi
-
-	use threads || rm -r "${libdir}/multiprocessing" || die
-	use wininst || rm -r "${libdir}/distutils/command/"wininst-*.exe || die
-
-	dodoc "${S}"/Misc/{ACKS,HISTORY,NEWS} || die "dodoc failed"
-
-	if use examples; then
-		insinto /usr/share/doc/${PF}/examples
-		doins -r "${S}"/Tools
-	fi
-	insinto /usr/share/gdb/auto-load/usr/$(get_libdir) #443510
-	local libname
-	if use aqua ; then
-		# we do framework, so the emake trick below returns a pathname
-		# since that won't work here, use a (cheap) trick instead
-		libname=libpython${SLOT}
-	else
-		libname=$(printf 'e:\n\t@echo $(INSTSONAME)\ninclude Makefile\n' | \
-			emake --no-print-directory -s -f - 2>/dev/null)
-	fi
-	newins "${S}"/Tools/gdb/libpython.py "${libname}"-gdb.py
-
-	newconfd "${FILESDIR}/pydoc.conf" pydoc-${SLOT}
-	newinitd "${FILESDIR}/pydoc.init" pydoc-${SLOT}
-	sed \
-		-e "s:@PYDOC_PORT_VARIABLE@:PYDOC${SLOT/./_}_PORT:" \
-		-e "s:@PYDOC@:pydoc${SLOT}:" \
-		-i "${ED}etc/conf.d/pydoc-${SLOT}" "${ED}etc/init.d/pydoc-${SLOT}" || die "sed failed"
-
-	# for python-exec
-	python_export python${SLOT} EPYTHON PYTHON PYTHON_SITEDIR
-
-	# if not using a cross-compiler, use the fresh binary
-	if ! tc-is-cross-compiler; then
-		local PYTHON=./python
-		local -x LD_LIBRARY_PATH=${LD_LIBRARY_PATH+${LD_LIBRARY_PATH}:}.
-	fi
-
-	echo "EPYTHON='${EPYTHON}'" > epython.py
-	python_domodule epython.py
-}
-
-pkg_preinst() {
-	if has_version "<${CATEGORY}/${PN}-${SLOT}" && ! has_version "${CATEGORY}/${PN}:2.7"; then
-		python_updater_warning="1"
-	fi
-}
-
-eselect_python_update() {
-	if [[ -z "$(eselect python show)" || ! -f "${EROOT}usr/bin/$(eselect python show)" ]]; then
-		eselect python update
-	fi
-
-	if [[ -z "$(eselect python show --python${PV%%.*})" || ! -f "${EROOT}usr/bin/$(eselect python show --python${PV%%.*})" ]]; then
-		eselect python update --python${PV%%.*}
-	fi
-}
-
-pkg_postinst() {
-	eselect_python_update
-
-	if [[ "${python_updater_warning}" == "1" ]]; then
-		ewarn "You have just upgraded from an older version of Python."
-		ewarn "You should switch active version of Python ${PV%%.*} and run"
-		ewarn "'python-updater [options]' to rebuild Python modules."
-	fi
-}
-
-pkg_postrm() {
-	eselect_python_update
-}

diff --git a/dev-lang/python/python-2.7.7.ebuild b/dev-lang/python/python-2.7.9-r1.ebuild
similarity index 97%
rename from dev-lang/python/python-2.7.7.ebuild
rename to dev-lang/python/python-2.7.9-r1.ebuild
index e37dcf7..774893e 100644
--- a/dev-lang/python/python-2.7.7.ebuild
+++ b/dev-lang/python/python-2.7.9-r1.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2015 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/python/python-2.7.7.ebuild,v 1.10 2014/09/09 21:26:21 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/python/python-2.7.9-r1.ebuild,v 1.7 2015/03/31 18:46:33 ulm Exp $
 
 EAPI="4"
 WANT_AUTOMAKE="none"
@@ -9,7 +9,7 @@ WANT_LIBTOOL="none"
 inherit autotools eutils flag-o-matic multilib pax-utils python-utils-r1 toolchain-funcs multiprocessing
 
 MY_P="Python-${PV}"
-PATCHSET_VERSION="2.7.7-0"
+PATCHSET_VERSION="2.7.9-0"
 
 DESCRIPTION="An interpreted, interactive, object-oriented programming language"
 HOMEPAGE="http://www.python.org/"
@@ -65,7 +65,7 @@ DEPEND="${RDEPEND}
 	!sys-devel/gcc[libffi]"
 RDEPEND+=" !build? ( app-misc/mime-types )
 	doc? ( dev-python/python-docs:${SLOT} )"
-PDEPEND="app-admin/eselect-python
+PDEPEND="app-eselect/eselect-python
 	app-admin/python-updater"
 
 S="${WORKDIR}/${MY_P}"
@@ -204,7 +204,8 @@ src_configure() {
 		--with-libc="" \
 		--enable-loadable-sqlite-extensions \
 		--with-system-expat \
-		--with-system-ffi
+		--with-system-ffi \
+		--without-ensurepip
 
 	if use threads && grep -q "#define POSIX_SEMAPHORES_NOT_ENABLED 1" pyconfig.h; then
 		eerror "configure has detected that the sem_open function is broken."

diff --git a/dev-lang/python/python-2.7.8.ebuild b/dev-lang/python/python-2.7.9-r2.ebuild
similarity index 97%
rename from dev-lang/python/python-2.7.8.ebuild
rename to dev-lang/python/python-2.7.9-r2.ebuild
index f21bc52..a91fa4a 100644
--- a/dev-lang/python/python-2.7.8.ebuild
+++ b/dev-lang/python/python-2.7.9-r2.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2015 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/python/python-2.7.8.ebuild,v 1.2 2014/09/22 16:47:38 floppym Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/python/python-2.7.9-r2.ebuild,v 1.3 2015/03/31 18:46:33 ulm Exp $
 
 EAPI="4"
 WANT_AUTOMAKE="none"
@@ -9,7 +9,7 @@ WANT_LIBTOOL="none"
 inherit autotools eutils flag-o-matic multilib pax-utils python-utils-r1 toolchain-funcs multiprocessing
 
 MY_P="Python-${PV}"
-PATCHSET_VERSION="2.7.8-0"
+PATCHSET_VERSION="2.7.9-1"
 
 DESCRIPTION="An interpreted, interactive, object-oriented programming language"
 HOMEPAGE="http://www.python.org/"
@@ -65,7 +65,7 @@ DEPEND="${RDEPEND}
 	!sys-devel/gcc[libffi]"
 RDEPEND+=" !build? ( app-misc/mime-types )
 	doc? ( dev-python/python-docs:${SLOT} )"
-PDEPEND="app-admin/eselect-python
+PDEPEND="app-eselect/eselect-python
 	app-admin/python-updater"
 
 S="${WORKDIR}/${MY_P}"
@@ -99,6 +99,7 @@ src_prepare() {
 
 	# Fix for cross-compiling.
 	epatch "${FILESDIR}/python-2.7.5-nonfatal-compileall.patch"
+	epatch "${FILESDIR}/python-2.7.9-ncurses-pkg-config.patch"
 
 	sed -i -e "s:@@GENTOO_LIBDIR@@:$(get_libdir):g" \
 		Lib/distutils/command/install.py \
@@ -204,7 +205,8 @@ src_configure() {
 		--with-libc="" \
 		--enable-loadable-sqlite-extensions \
 		--with-system-expat \
-		--with-system-ffi
+		--with-system-ffi \
+		--without-ensurepip
 
 	if use threads && grep -q "#define POSIX_SEMAPHORES_NOT_ENABLED 1" pyconfig.h; then
 		eerror "configure has detected that the sem_open function is broken."

diff --git a/dev-lang/python/python-3.2.5-r6.ebuild b/dev-lang/python/python-3.2.5-r6.ebuild
index 08695ed..e11eff0 100644
--- a/dev-lang/python/python-3.2.5-r6.ebuild
+++ b/dev-lang/python/python-3.2.5-r6.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2015 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/python/python-3.2.5-r6.ebuild,v 1.9 2014/08/09 10:47:42 ago Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/python/python-3.2.5-r6.ebuild,v 1.11 2015/03/31 18:46:33 ulm Exp $
 
 EAPI="4"
 WANT_AUTOMAKE="none"
@@ -51,7 +51,7 @@ DEPEND="${RDEPEND}
 	!sys-devel/gcc[libffi]"
 RDEPEND+=" !build? ( app-misc/mime-types )
 	doc? ( dev-python/python-docs:${SLOT} )"
-PDEPEND="app-admin/eselect-python
+PDEPEND="app-eselect/eselect-python
 	app-admin/python-updater"
 
 S="${WORKDIR}/${MY_P}"
@@ -368,13 +368,15 @@ eselect_python_update() {
 }
 
 pkg_postinst() {
-	eselect_python_update
-
-	if [[ "${python_updater_warning}" == "1" ]]; then
-		ewarn "You have just upgraded from an older version of Python."
-		ewarn "You should switch active version of Python ${PV%%.*} and run"
-		ewarn "'python-updater [options]' to rebuild Python modules."
-	fi
+	ewarn "Please note that Python ${PV%.*} is no longer supported in Gentoo."
+	ewarn "The interpreter is not well maintained, and may contain security"
+	ewarn "vulnerabilities. Gentoo ebuilds will no longer be built with support"
+	ewarn "for Python ${PV%.*}."
+	ewarn
+	ewarn "If you wish to use Python ${PV%.*} for your own purposes (development,"
+	ewarn "testing), we suggest establishing a virtualenv for this interpreter,"
+	ewarn "and installing the necessary dependencies inside it. However, we also"
+	ewarn "strongly discourage using Python ${PV%.*} on production systems."
 }
 
 pkg_postrm() {

diff --git a/dev-lang/python/python-3.3.5-r1.ebuild b/dev-lang/python/python-3.3.5-r1.ebuild
index 6888736..7beb6c9 100644
--- a/dev-lang/python/python-3.3.5-r1.ebuild
+++ b/dev-lang/python/python-3.3.5-r1.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2015 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/python/python-3.3.5-r1.ebuild,v 1.10 2014/09/10 08:33:04 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/python/python-3.3.5-r1.ebuild,v 1.12 2015/03/31 18:46:33 ulm Exp $
 
 EAPI="4"
 WANT_AUTOMAKE="none"
@@ -54,7 +54,7 @@ DEPEND="${RDEPEND}
 	!sys-devel/gcc[libffi]"
 RDEPEND+=" !build? ( app-misc/mime-types )
 	doc? ( dev-python/python-docs:${SLOT} )"
-PDEPEND="app-admin/eselect-python
+PDEPEND="app-eselect/eselect-python
 	app-admin/python-updater"
 
 S="${WORKDIR}/${MY_P}"
@@ -71,6 +71,7 @@ src_prepare() {
 	fi
 
 	EPATCH_SUFFIX="patch" epatch "${WORKDIR}/patches"
+	epatch "${FILESDIR}/${PN}-3.3.5-ncurses-pkg-config.patch"
 
 	sed -i -e "s:@@GENTOO_LIBDIR@@:$(get_libdir):g" \
 		Lib/distutils/command/install.py \

diff --git a/dev-lang/python/python-3.4.0.ebuild b/dev-lang/python/python-3.4.0.ebuild
index 70fe220..b89c063 100644
--- a/dev-lang/python/python-3.4.0.ebuild
+++ b/dev-lang/python/python-3.4.0.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2015 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/python/python-3.4.0.ebuild,v 1.3 2014/05/10 01:44:50 floppym Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/python/python-3.4.0.ebuild,v 1.4 2015/03/31 18:46:33 ulm Exp $
 
 EAPI="4"
 WANT_AUTOMAKE="none"
@@ -53,7 +53,7 @@ DEPEND="${RDEPEND}
 	>=sys-devel/autoconf-2.65
 	!sys-devel/gcc[libffi]"
 RDEPEND+=" !build? ( app-misc/mime-types )"
-PDEPEND="app-admin/eselect-python
+PDEPEND="app-eselect/eselect-python
 	app-admin/python-updater"
 
 S="${WORKDIR}/${MY_P}"

diff --git a/dev-lang/python/python-3.4.1.ebuild b/dev-lang/python/python-3.4.1.ebuild
index 5a8e844..0ef929b 100644
--- a/dev-lang/python/python-3.4.1.ebuild
+++ b/dev-lang/python/python-3.4.1.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2015 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/python/python-3.4.1.ebuild,v 1.10 2014/11/11 21:01:03 maekke Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/python/python-3.4.1.ebuild,v 1.12 2015/03/31 18:46:33 ulm Exp $
 
 EAPI="4"
 WANT_AUTOMAKE="none"
@@ -18,7 +18,7 @@ SRC_URI="http://www.python.org/ftp/python/${PV%_rc*}/${MY_P}.tar.xz
 
 LICENSE="PSF-2"
 SLOT="3.4"
-KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd"
+KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd"
 IUSE="build elibc_uclibc examples gdbm hardened ipv6 +ncurses +readline sqlite +ssl +threads tk wininst +xml"
 
 # Do not add a dependency on dev-lang/python to this ebuild.
@@ -52,7 +52,7 @@ DEPEND="${RDEPEND}
 	>=sys-devel/autoconf-2.65
 	!sys-devel/gcc[libffi]"
 RDEPEND+=" !build? ( app-misc/mime-types )"
-PDEPEND="app-admin/eselect-python
+PDEPEND="app-eselect/eselect-python
 	app-admin/python-updater"
 
 S="${WORKDIR}/${MY_P}"

diff --git a/dev-lang/python/python-3.4.2.ebuild b/dev-lang/python/python-3.4.2.ebuild
index 5887453..fa9b136 100644
--- a/dev-lang/python/python-3.4.2.ebuild
+++ b/dev-lang/python/python-3.4.2.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2015 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/python/python-3.4.2.ebuild,v 1.1 2014/10/12 15:18:48 floppym Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/python/python-3.4.2.ebuild,v 1.2 2015/03/31 18:46:33 ulm Exp $
 
 EAPI="4"
 WANT_AUTOMAKE="none"
@@ -52,7 +52,7 @@ DEPEND="${RDEPEND}
 	>=sys-devel/autoconf-2.65
 	!sys-devel/gcc[libffi]"
 RDEPEND+=" !build? ( app-misc/mime-types )"
-PDEPEND="app-admin/eselect-python
+PDEPEND="app-eselect/eselect-python
 	app-admin/python-updater"
 
 S="${WORKDIR}/${MY_P}"

diff --git a/dev-lang/python/python-3.4.2.ebuild b/dev-lang/python/python-3.4.3.ebuild
similarity index 96%
copy from dev-lang/python/python-3.4.2.ebuild
copy to dev-lang/python/python-3.4.3.ebuild
index 5887453..c70b8d5 100644
--- a/dev-lang/python/python-3.4.2.ebuild
+++ b/dev-lang/python/python-3.4.3.ebuild
@@ -1,15 +1,14 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2015 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/python/python-3.4.2.ebuild,v 1.1 2014/10/12 15:18:48 floppym Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/python/python-3.4.3.ebuild,v 1.3 2015/03/31 18:46:33 ulm Exp $
 
 EAPI="4"
-WANT_AUTOMAKE="none"
 WANT_LIBTOOL="none"
 
 inherit autotools eutils flag-o-matic multilib pax-utils python-utils-r1 toolchain-funcs multiprocessing
 
 MY_P="Python-${PV/_/}"
-PATCHSET_VERSION="3.4.2-0"
+PATCHSET_VERSION="3.4.3-0"
 
 DESCRIPTION="An interpreted, interactive, object-oriented programming language"
 HOMEPAGE="http://www.python.org/"
@@ -52,7 +51,7 @@ DEPEND="${RDEPEND}
 	>=sys-devel/autoconf-2.65
 	!sys-devel/gcc[libffi]"
 RDEPEND+=" !build? ( app-misc/mime-types )"
-PDEPEND="app-admin/eselect-python
+PDEPEND="app-eselect/eselect-python
 	app-admin/python-updater"
 
 S="${WORKDIR}/${MY_P}"
@@ -69,6 +68,7 @@ src_prepare() {
 	fi
 
 	EPATCH_SUFFIX="patch" epatch "${WORKDIR}/patches"
+	epatch "${FILESDIR}/${PN}-3.4.3-ncurses-pkg-config.patch"
 
 	sed -i -e "s:@@GENTOO_LIBDIR@@:$(get_libdir):g" \
 		Lib/distutils/command/install.py \
@@ -86,8 +86,7 @@ src_prepare() {
 
 	epatch_user
 
-	eautoconf
-	eautoheader
+	eautoreconf
 }
 
 src_configure() {


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-05-08  7:49 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-05-08  7:48 [gentoo-commits] dev/heroxbd:master commit in: dev-lang/python/files/, dev-lang/python/ Benda XU
  -- strict thread matches above, loose matches on Subject: below --
2014-12-09  1:22 Benda XU

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox