ChangeLog

# ChangeLog for dev-lang/python
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/dev-lang/python/ChangeLog,v 1.327 2008/06/30 15:10:27 hawking Exp $

30 Jun 2008; Ali Polatel files/pydoc.conf,
files/pydoc.init:
Fixed files/pydoc* headers

*python-2.5.2-r5 (24 Jun 2008)

24 Jun 2008; Ali Polatel -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 python-2.5.2-r4.ebuild:
Fix bsddb dependency, bug 223133. Cosmetics

29 May 2008; Ali Polatel 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 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 python-2.3.6-r6.ebuild,
python-2.4.4-r13.ebuild:
amd64/x86 stable, security bug #216673

27 May 2008; Markus Rothe python-2.3.6-r6.ebuild,
python-2.4.4-r13.ebuild:
Stable on ppc64; bug #216673

26 May 2008; Tobias Scherbaum
python-2.3.6-r6.ebuild, python-2.4.4-r13.ebuild:
ppc stable, bug #216673

26 May 2008; Raúl Porcel python-2.3.6-r6.ebuild,
python-2.4.4-r13.ebuild:
ia64/sparc stable wrt security #216673

25 May 2008; Tobias Klausmann
python-2.3.6-r6.ebuild:
Stable on alpha, bug #216673

25 May 2008; Tobias Klausmann
python-2.4.4-r13.ebuild:
Stable on alpha, bug #216673

25 May 2008; Ali Polatel
+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 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 +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 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 +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 +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 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 +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 python-2.4.4-r9.ebuild:
Stable on ppc64; bug #211281

11 Mar 2008; Tiziano Müller 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 python-2.4.4-r9.ebuild:
Stable on ppc wrt bug 211281

03 Mar 2008; Christoph Mende python-2.4.4-r9.ebuild:
Stable on amd64, bug #211281

03 Mar 2008; Raúl Porcel python-2.4.4-r9.ebuild:
alpha/ia64/sparc/x86 stable wrt #211281

03 Mar 2008; Jeroen Roovers python-2.4.4-r9.ebuild:
Stable for HPPA (bug #211281).

01 Mar 2008; Tiziano Müller +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
+python-2.4.4-r9.ebuild:
fix bug 179377, with a dependency adjustment to proper slots of sys-libs/db,
provided by Petr Pisar

25 Jan 2008; Markus Rothe python-2.3.6-r4.ebuild:
Stable on ppc64; bug #198373

23 Jan 2008; Peter Weller python-2.3.6-r4.ebuild:
Stable on amd64; bug 198373

23 Jan 2008; Raúl Porcel python-2.3.6-r4.ebuild:
alpha/ia64/sparc stable wrt security #198373

23 Jan 2008; Christian Faulhammer
python-2.3.6-r4.ebuild:
stable x86, security bug 198373

23 Jan 2008; Jeroen Roovers python-2.3.6-r4.ebuild:
Stable for HPPA (bug #198373).

23 Jan 2008; Brent Baude 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 +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 +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 +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
python-2.3.6-r3.ebuild, python-2.4.4-r6.ebuild:
ppc stable, bug #192876

26 Oct 2007; Ali Polatel 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 python-2.4.4-r6.ebuild:
Stable for HPPA (bug #192876). Fixed quoting issues.

25 Oct 2007; Jeroen Roovers python-2.3.6-r3.ebuild:
Stable for HPPA (bug #192876).

25 Oct 2007; Raúl Porcel python-2.3.6-r3.ebuild,
python-2.4.4-r6.ebuild:
alpha/ia64/sparc stable wrt security #192876

25 Oct 2007; Daniel Gryniewicz python-2.3.6-r3.ebuild,
python-2.4.4-r6.ebuild:
Marked stable on amd64 for bug #192876

25 Oct 2007; Markus Rothe python-2.3.6-r3.ebuild,
python-2.4.4-r6.ebuild:
Stable on ppc64; bug #192876

25 Oct 2007; Christian Faulhammer
python-2.3.6-r3.ebuild:
stable x86, security bug 192876

25 Oct 2007; Christian Faulhammer
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 +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 python-2.4.4-r5.ebuild:
Stable on mips, per #188029.

24 Sep 2007; Ali Polatel 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 python-2.4.4-r5.ebuild:
Stable for HPPA (bug #188029).

22 Sep 2007; Ferris McCormick python-2.4.4-r5.ebuild:
Sparc stable --- Bug #188029 --- all tests pass and portage still works.

22 Sep 2007; Brent Baude ChangeLog:
MArking python-2.4.4-r5 ppc64 for bug 188029

22 Sep 2007; nixnut python-2.4.4-r5.ebuild:
Stable on ppc wrt bug 188029

22 Sep 2007; Tom Gall python-2.4.4-r5.ebuild:
stable on ppc64

21 Sep 2007; Raúl Porcel python-2.4.4-r5.ebuild:
alpha/ia64 stable wrt #188029

21 Sep 2007; Chris Gianelloni
python-2.4.4-r5.ebuild:
Stable on x86 wrt bug #188029.

21 Sep 2007; Daniel Gryniewicz python-2.4.4-r5.ebuild:
Marked stable on amd64 for bug #188029

10 Sep 2007; Joel Martin
+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
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
-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 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 +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 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 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 python-2.3.6-r2.ebuild,
python-2.5.1-r2.ebuild:
Keyworded ~ppc; bug #177426.

31 May 2007; Bryan Østergaard metadata.xml:
Remove myself as I'm retiring.

19 May 2007; Peter Weller python-2.5.1-r2.ebuild:
Keyworded ~amd64 wrt bug 177426

19 May 2007; Peter Weller python-2.3.6-r2.ebuild:
Added ~amd64 to python-2.3.6-r2

17 May 2007; Bryan Østergaard metadata.xml:
Mark myself as maintainer.

16 May 2007; Tobias Scherbaum
python-2.4.4-r4.ebuild:
ppc stable, bug #177804

16 May 2007; Daniel Gryniewicz python-2.4.4-r4.ebuild:
Marked stable on amd64 for bug #177804

14 May 2007; Gustavo Zacarias
python-2.3.6-r2.ebuild, python-2.5.1-r2.ebuild:
Keyworded ~sparc wrt #177426

14 May 2007; Bryan Østergaard python-2.4.4-r4.ebuild:
Stable on Alpha and Mips.

14 May 2007; Daniel Gryniewicz python-2.4.4-r4.ebuild:
Marked ~amd64 for bug #177804

14 May 2007; Bryan Østergaard python-2.4.4-r4.ebuild:
Fix 2.4.4-r4 tests always being disabled.

14 May 2007; Gustavo Zacarias
python-2.4.4-r4.ebuild:
Stable on sparc wrt security #177804

14 May 2007; Bryan Østergaard 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 python-2.4.4-r4.ebuild:
Stable for HPPA (bug #177804).

13 May 2007; Markus Rothe python-2.4.4-r4.ebuild:
Stable on ppc64; bug #177804

12 May 2007; Roy Marples python-2.4.4-r4.ebuild:
Added ~sparc-fbsd keyword.

12 May 2007; Raúl Porcel python-2.4.4-r4.ebuild:
ia64 + x86 stable wrt security bug #177804

12 May 2007; Markus Rothe 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 python-2.4.4-r4.ebuild,
python-2.5.1-r2.ebuild:
Add ~alpha and ~mips keywords.

11 May 2007; Bryan Østergaard
-python-2.1.3-r1.ebuild, -python-2.2.3-r6.ebuild:
More cleanups, this time removing
11 May 2007; Bryan Østergaard
-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
+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
+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 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 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 python-2.4.4-r2.ebuild:
Added ~x86-fbsd keyword, #177426.

08 May 2007; Bryan Østergaard 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 python-2.5.1.ebuild:
Marked ~hppa (bug #177426).

07 May 2007; Jeroen Roovers python-2.4.4-r2.ebuild:
Marked ~hppa (bug #177426).

07 May 2007; Jeroen Roovers python-2.3.6-r1.ebuild:
Marked ~hppa (bug #177426).

*python-2.4.4-r2 (07 May 2007)

07 May 2007; Bryan Østergaard
-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 python-2.4.4.ebuild:
Stable on sparc

07 May 2007; Bryan Østergaard 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 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
+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 +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 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 python-2.3.6.ebuild:
Fix lib64 patch, bug 154711.

*python-2.3.6 (09 Nov 2006)

09 Nov 2006; Bryan Østergaard +python-2.3.6.ebuild:
Bump version, bug 153944.

*python-2.4.4 (04 Nov 2006)

04 Nov 2006; Bryan Østergaard +python-2.4.4.ebuild:
Version bump.

18 Oct 2006; Roy Marples python-2.4.3-r4.ebuild,
python-2.5-r1.ebuild:
Added ~sparc-fbsd keyword.

27 Sep 2006; Bryan Østergaard python-2.3.5-r3.ebuild,
python-2.4.3-r4.ebuild:
Stable on ia64.

27 Sep 2006; Bryan Østergaard python-2.3.5-r3.ebuild,
python-2.4.3-r4.ebuild:
Stable on Alpha.

27 Sep 2006; Joshua Jackson python-2.3.5-r3.ebuild,
python-2.4.3-r4.ebuild:
Stable x86; bug #149065

27 Sep 2006; Jason Wever python-2.3.5-r3.ebuild,
python-2.4.3-r4.ebuild:
Stable on SPARC wrt security bug #149065.

26 Sep 2006; Gustavo Zacarias
python-2.3.5-r3.ebuild, python-2.4.3-r4.ebuild:
Stable on hppa wrt security #149065

26 Sep 2006; Simon Stelling python-2.3.5-r3.ebuild:
stable on amd64; bug 149065

26 Sep 2006; Tobias Scherbaum
python-2.3.5-r3.ebuild, python-2.4.3-r4.ebuild:
ppc stable, bug #149065

26 Sep 2006; Simon Stelling python-2.4.3-r4.ebuild:
stable on amd64; bug 149065

26 Sep 2006; Markus Rothe 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 +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 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 -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 +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 +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 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 python-2.4.3-r1.ebuild:
stable on amd64

11 Jul 2006; Alastair Tse 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 python-2.4.3-r1.ebuild:
Marked stable on mips.

08 Jul 2006; Doug Goldstein 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 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
python-2.4.3-r1.ebuild:
ppc stable, #138268

28 Jun 2006; Gustavo Zacarias
python-2.4.3-r1.ebuild:
Stable on sparc wrt #138268

28 Jun 2006; Guy Martin python-2.4.3-r1.ebuild:
Stable on hppa.

28 Jun 2006; Markus Rothe python-2.4.3-r1.ebuild:
Stable on ppc64; bug #138268

27 Jun 2006; Bryan Østergaard 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
+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
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 +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 +files/python-2.4.3-db4.patch, +python-2.4.3.ebuild:
Version bump to 2.4.3.

30 Mar 2006; Diego Pettenò python-2.4.2-r1.ebuild:
Add ~x86-fbsd keyword.

16 Feb 2006; Marien Zwart
-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 -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 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 +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 +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
+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 python-2.4.2.ebuild:
Stable on ppc64

17 Nov 2005; Guy Martin 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 python-2.4.2.ebuild:
Stable on mips.

15 Oct 2005; MATSUU Takuto python-2.4.2.ebuild:
Stable on sh.

15 Oct 2005; Michael Hanselmann python-2.4.2.ebuild:
Stable on hppa, ppc.

14 Oct 2005; Gustavo Zacarias python-2.4.2.ebuild:
Stable on sparc

14 Oct 2005; Bryan Østergaard python-2.4.2.ebuild:
Stable on alpha.

13 Oct 2005; Luis Medinas python-2.4.2.ebuild:
Marked Stable on amd64.

13 Oct 2005; Aron Griffis python-2.4.2.ebuild:
Mark 2.4.2 stable on ia64

13 Oct 2005; Rob Cakebread python-2.4.2.ebuild:
Marked x86 stable per Mr_Bones_ - memory leak in posix.access()

10 Oct 2005; Gustavo Zacarias
python-2.4.1-r1.ebuild:
Stable on sparc

10 Oct 2005; Luis Medinas python-2.4.1-r1.ebuild:
Marked Stable on amd64.

10 Oct 2005; Markus Rothe python-2.4.1-r1.ebuild:
Stable on ppc64

09 Oct 2005; Michael Hanselmann
python-2.4.1-r1.ebuild:
Stable on hppa, ppc.

08 Oct 2005; Bryan Østergaard python-2.4.1-r1.ebuild:
Stable python-2.4 on alpha, ia64 and x86.

01 Oct 2005; Bryan Østergaard 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
+files/python-2.4.2-readline.patch, +python-2.4.2.ebuild:
Bump version to 2.4.2.

14 Sep 2005; Aaron Walker python-2.3.5-r2.ebuild:
2.3.5-r2 stable on mips for security bug #104009.

11 Sep 2005; Simon Stelling python-2.3.5-r2.ebuild:
stable on amd64 wrt bug 104009

10 Sep 2005; Michael Hanselmann
python-2.3.5-r2.ebuild:
Stable on ppc and hppa.

10 Sep 2005; MATSUU Takuto python-2.3.5-r2.ebuild:
Stable on sh.

09 Sep 2005; Josh Grebe python-2.3.5-r2.ebuild:
Sparc stable bump for bug #104009

09 Sep 2005; Markus Rothe python-2.3.5-r2.ebuild:
Stable on ppc64

08 Sep 2005; Bryan Østergaard 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
+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 python-2.3.4-r1.ebuild,
python-2.3.5.ebuild:
Add fix for bug 88777 to arch versions.

15 Aug 2005; Bryan Østergaard python-2.3.5-r1.ebuild,
python-2.4.1-r1.ebuild:
Fix bug 88777 in ~arch versions.

11 Aug 2005; Mike Frysinger
+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
+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 python-2.3.5.ebuild:
Stable on alpha.

27 Jun 2005; Markus Rothe python-2.3.5.ebuild:
Stable on ppc64

18 Jun 2005; Markus Rothe 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
+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
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; 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
files/python-2.4.1-libdir.patch:
remove zlib from libpython dependency (#90545)

28 May 2005; Bryan Østergaard 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 python-2.1.3-r1.ebuild:
Fix PROVIDE according to bug 93028.

18 May 2005; Markus Rothe python-2.3.5.ebuild:
Added ~ppc64 to KEYWORDS

11 May 2005; Marcus D. Hanwell python-2.3.5.ebuild:
Stable on amd64.

07 May 2005; Bryan Østergaard 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 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 python-2.3.5.ebuild:
Stable on ppc.

28 Apr 2005; Gustavo Zacarias python-2.3.5.ebuild:
Stable on sparc

*python-2.4.1 (27 Apr 2005)

27 Apr 2005; Alastair Tse
+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 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
+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 python-2.3.4-r1.ebuild:
Stable on ppc64

*python-2.4-r3 (19 Mar 2005)

19 Mar 2005; Rob Cakebread
files/python-2.4-libdir.patch, +python-2.4-r3.ebuild:
Removed multiple dirs in sys path. bug# 83109

15 Mar 2005; Alastair Tse python-2.3.5.ebuild:
more multilib fixes (#76791)

01 Mar 2005; Bryan Østergaard python-2.3.5.ebuild,
python-2.4-r1.ebuild:
Fix conditional c++ support for remaining versions.

27 Feb 2005; Bryan Østergaard 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 +python-2.3.5.ebuild:
Version bump.

09 Feb 2005; Luca Barbato python-2.3.4-r1.ebuild:
Marked ppc

*python-2.4-r2 (07 Feb 2005)

07 Feb 2005; Jeremy Huddleston
+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
+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 python-2.4.ebuild:
Fix broken Manifest.

05 Jan 2005; Rob Cakebread python-2.4.ebuild:
Only apply lib64 patch on CONF_LIBDIR == lib64

04 Jan 2005; Rob Cakebread
+files/python-2.4-lib64.patch, python-2.4.ebuild:
Added lib64 patch

*python-2.4 (04 Jan 2005)

04 Jan 2005; Rob Cakebread
+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 :
Change encoding to UTF-8 for GLEP 31 compliance

06 Nov 2004; Joshua Kinard python-2.3.4.ebuild:
Marked stable on mips.

29 Oct 2004; Alastair Tse files/python-updater:
improvements with tmp log creation with python-updater (#68843)

19 Oct 2004; Guy Martin python-2.3.4.ebuild:
Stable on hppa.

19 Oct 2004; Dylan Carlson python-2.3.4.ebuild:
Stable on amd64.

19 Oct 2004; Alastair Tse python-2.3.4.ebuild:
fix problem with tk-inter and USE flags handing (grumble)

18 Oct 2004; Mike Frysinger 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 python-2.3.4.ebuild:
Stable on sparc.

24 Sep 2004; Alastair Tse -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 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 python-2.3.4.ebuild:
Removed useless -fPIC for hppa.

18 Aug 2004; Aron Griffis python-2.3.4.ebuild:
stable on alpha

14 Aug 2004; Travis Tilley +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 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 python-2.3.3-r1.ebuild:
Stable on alpha.

03 Jul 2004; Grant Goodyear python-2.3.4.ebuild:
x86-obsd minor fix

01 Jul 2004; Jeremy Huddleston
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 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 python-2.3.3-r1.ebuild:
Sparc happy stable

15 Jun 2004; python-2.3.3-r1.ebuild:
USE= cleanups and added uclibc

12 Jun 2004; Tom Gall python-2.3.3-r1.ebuild:
stable on ppc64, bug #53575

06 Jun 2004; Aron Griffis 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 +python-2.3.4.ebuild:
Bump version.

02 Jun 2004; Travis Tilley python-2.3.3-r1.ebuild:
stable on amd64

30 May 2004; Guy Martin python-2.3.3-r1.ebuild:
Marked stable on hppa.

22 May 2004; Guy Martin 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 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 python-2.3.3-r1.ebuild:
Marked stable on s390

*python-2.3.3-r1 (12 Apr 2004)

12 Apr 2004; Alastair Tse 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 python-2.2.1-r5.ebuild:
removing 2.2.1 from tree for security reasons (#44230)

09 Mar 2004; python-2.3.3.ebuild:
stable on alpha and ia64

05 Mar 2004; Alastair Tse 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 python-2.1.3-r1.ebuild:
Added to ~ppc.

27 Feb 2004; Alastair Tse 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 python-2.3.3.ebuild:
Removing portage version check again as it's preventing new installations.
Bug #43036

25 Feb 2004; Bryan Østergaard,,, python-2.3.3.ebuild:
Reinstating portage version check as people keep upgrading python without
upgrading portage.

17 Feb 2004; Aron Griffis 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 python-2.1.3-r1.ebuild:
add ~alpha for the sake of dev-python/Imaging-py21

10 Feb 2004; Bartosch Pixa python-2.3.3.ebuild:
set ppc in keywords

10 Feb 2004; Alastair Tse 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; python-2.3.3.ebuild:
Stable on sparc

03 Feb 2004; Guy Martin python-2.3.3.ebuild :
Marked stable on hppa.

02 Feb 2004; Alastair Tse files/depreorder.py:
update python-updater thanks to a well spotted mistake by Chris Bainbridge
(#40198)

27 Jan 2004; Alastair Tse python-2.3.3.ebuild:
disabling pkg_setup again after testing with stage2

26 Jan 2004; Alastair Tse 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 python-2.3.3.ebuild:
Added ~hppa to KEYWORDS.

24 Jan 2004; python-2.3.3.ebuild:
keyworded ~sparc

24 Jan 2004; Alastair Tse python-2.3.3.ebuild:
add missing doc IUSE (#39232)

22 Jan 2004; Alastair Tse 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 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 python-2.3.3.ebuild:
make ROOT var more robust during postinst()

12 Jan 2004; Luca Barbato python-2.2.3-r5.ebuild:
Marked ppc

06 Jan 2004; Aron Griffis 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 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 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 python-2.2.3-r5.ebuild:
Move to mips stable (~mips -> mips)

24 Dec 2003; Sven Blumenstein 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 python-2.2.3-r5.ebuild:
Marked stable on hppa.

13 Dec 2003; Alastair Tse python-2.3.2-r2.ebuild:
clarified warning to prevent more bug reports

13 Dec 2003; Luca Barbato python-2.3.2-r2.ebuild:
Marked ~ppc

08 Dec 2003; Alastair Tse python-2.2.3-r5.ebuild,
python-2.3.2-r2.ebuild:
fix python .pyc .pyo cleaning code

03 Dec 2003; Aron Griffis python-2.2.3-r5.ebuild:
Stable on alpha

27 Nov 2003; Daniel Ahlberg python-2.2.3-r5.ebuild:
Make -fPIC compilation available for all platforms and not just amd64.

25 Nov 2003; Brad House python-2.2.3-r5.ebuild:
mark stable on amd64

23 Nov 2003; Alastair Tse 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 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 python-2.3.2-r1.ebuild:
fix python-config install for python-2.3

12 Nov 2003; Alastair Tse 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 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 python-2.2.3-r5.ebuild,
python-2.3.2-r1.ebuild:
added ncurses and ssl to IUSE

03 Nov 2003; Alastair Tse python-2.2.3-r5.ebuild:
export environment in src_install()

01 Nov 2003; Alastair Tse 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 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 python-2.2.3-r4.ebuild:
Fixed symlink to idle.py

*python-2.2.3-r4 (22 Oct 2003)

22 Oct 2003; Alastair Tse 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
(#31730)

*python-2.2.3-r3 (17 Oct 2003)

17 Oct 2003; Alastair Tse 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 python-2.2.3-r3.ebuild:
new 2.2.3 version that adds PYTHON_DONTCOMPILE support

10 Oct 2003; Alastair Tse files/python-updater:
fix typo in python-updater

09 Oct 2003; Alastair Tse 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; python-2.2.3-r1.ebuild:
stable on mips

*python-2.3.2-r1 (08 Oct 2003)

08 Oct 2003; Alastair Tse 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 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 python-2.2.3-r1.ebuild:
filter-flags because of segfaulting with fstackprotector in CFLAGS

23 Sep 2003; Bartosch Pixa python-2.2.3-r1.ebuild:
set ppc in keywords

17 Sep 2003; Jon Portnoy python-2.2.3-r1.ebuild :
ia64 keywords.

16 Jul 2003; Alastair Tse python-2.2.3-r1.ebuild,
python-2.2.3.ebuild:
marked 2.2.3 stable for x86

13 Jul 2003; Alastair Tse 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 python-2.2.3-r1.ebuild :
Marked stable on hppa.

03 Jul 2003; Alastair Tse 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 python-2.2.3.ebuild:
Changed ~mips to mips in KEYWORDS

01 Jul 2003; Todd Sunderlin python-2.2.3.ebuild:
set stable on sparc

02 Jun 2003; Alastair Tse 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 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 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 python-2.2.2.ebuild :
Added arm to keywords.

07 Feb 2003; Guy Martin python-2.2.2.ebuild :
Added hppa to keywords.

06 Dec 2002; Rodney Rees : changed sparc ~sparc keywords

29 Nov 2002; Dan Armak ChangeLog :

Added missing python-config for 2.2.2.

*python-2.2.2 (20 Oct 2002)

07 Jan 2003; Jan Seidel python-2.2.2.ebuild :
Added mips to keywords

20 Oct 2002; Jon Nelson :
2.2.2 is released

*python-2.2.1-r5 (03 Oct 2002)

15 Oct 2002; Martin Schlemmer :
Fix the sed on /usr/lib/python/config/Makefile to change
OPT to 'OPT = -DNDEBUG', and not 'OPT = -NDEBUG' which caused
gcc warnings.

03 Oct 2002; Daniel Ahlberg :
Security update.

*python-2.2.1-r4 (7 Sep 2002)
7 Sep 2002; Nicholas Jones 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 python-2.2.1-r3.ebuild
Filter -malign-double from flags

*python-2.1.3-r1 (2 Jul 2002)

20 Jul 2002; Doug Goldstein python-2.1.3-r1.ebuild
Added missing KEYWORDS

2 Jul 2002; Jon Nelson 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 python-2.1.3.ebuild
Added missing KEYWORDS

1 Jul 2002; Jon Nelson : 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 : python-2.2.1-r2.ebuild
Added missing KEYWORDS

30 Jun 2002; Jon Nelson : 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 : python-2.2.1-r1.ebuild
Added missing KEYWORDS

29 May 2002; Jon Nelson : 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 : python-2.2.1.ebuild
Added missing KEYWORDS

2 May 2002; Jon Nelson : 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 : New rev to fix bug #2199;
python-config should now work properly.

*python-2.2-r6 (24 Apr 2002)

24 Apr 2002; Jon Nelson 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 python-2.2-r5.ebuild :

Added include flag for compilation of tcltk with python to compile
correctly.

--------

06 Apr 2002; Daniel Robbins : 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 : 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 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.

Manifest

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

AUX depreorder-topsort.py 1958 RMD160 4192ad9ed14064a9da42ce1faedcf28996094da3 SHA1 2c900abeb6cfcc4327f0e9418b5abd7761ce5879 SHA256 7406f639d17b8acab6a1db7e398e74379b44950d4821bc36901abd3455d63b3d
AUX depreorder.py 2235 RMD160 a6da5f336bdf8c370861c7922a5fa79ce4ab89cb SHA1 3b8590d7fbece2367088c646a792a9618d786dec SHA256 93920120e596f34e4222e8686e6283b03cdd517f89f2dba3eda90d79fa016aba
AUX pydoc.conf 330 RMD160 0cd619ec251597e0fcadc05bfd249915e73baa17 SHA1 a56100d45378c554b9822f6ed512a6cb7841ef50 SHA256 a45ebba2de5f2b0e963db4101507203d095c5ff667ae5002c4897a9c87786fa1
AUX pydoc.init 666 RMD160 11caf3a78bce4cdaebacaf21eaf26cc1ce30282e SHA1 88c5cb6d5bf737c74e1be93118cf157630af9ad7 SHA256 0d25c71232b74adb87dc709cc7cd8f8b13c452c0fe82fa33808f907f7a96d628
AUX python-2.3.6-disable-failing-tests.patch 782 RMD160 490409cb9c4ae88cbec553380904a0f071018b9c SHA1 c046b25069d016734f571dd56f86377891abdd05 SHA256 e2d8ece0d6dbfcd0dc7fcbe1093a8ce51916268a5f1e6c9535304b0eda07fd73
AUX python-2.4.2-gentoo_obsd-r1.patch 1630 RMD160 77c7c13be17f7dcf1abccab2a0fb5818f4f7c261 SHA1 ba795d0aeba9986ed6077217848fd8ba1eb0d39c SHA256 b96f687a18cdfd75090a7401298568ee5819046a54eb58c1527126dd36596d47
AUX python-2.4.2-gentoo_obsd.patch 1554 RMD160 c93e34df155440e68e7db283d709c3ef301933d2 SHA1 83ef3e0f43f2d6100d2416f5c47776af5f643fab SHA256 89a870d045246c66a67e7931afd38260c8b1e3d0c8f2db9b73e36cf014e98dee
AUX python-2.4.4-test-cross.patch 977 RMD160 8fdcd45dc202993988f7a1c2b3d918068883b99e SHA1 96f25777150ba05765282a43f08da6b6fab3cb73 SHA256 ff2a131776d560d188ec5069e17fea3eb09c26fdd02124ae5ff34d791c9fd9f6
AUX python-config-2.2 178 RMD160 3e69689ed295971149007f5db27b1fbd345d6d60 SHA1 84a0e29327758c9fc53fe84bdddcdfaef61a758f SHA256 77a801661f573c04b0afe36bb94a7deb0885c90b69872a9825f2a2e2ba0e1141
AUX python-config-2.3 178 RMD160 9dcfd961c13bd1217ffa5eedf911d4105caa05a5 SHA1 5ea1cce4e960abd79b9dd40affa3138bb0b47e85 SHA256 187842d5d403184871db0acf18058ed017418499ee689eee0c4eb40b5d921fa8
AUX python-config-2.4 179 RMD160 087417fb7080be00cf62381d5e16fb4e4cb4538f SHA1 3ffffc6e4f4c7b774135f2635601b92a5b13e259 SHA256 86b87546be79ee6027df70046b33808b64921eea71618c81810e6b1280604221
AUX python-config-2.4-r1 1624 RMD160 e4e6893c9e8414289c0c70c0f4be58835911e376 SHA1 addf9a6eb81e636364264a6abb3d96f01ea0cf90 SHA256 923a9e896f99cca5aa4ccbb02f981c6e26a2b1aa42326de2359d3c884bde2a9f
AUX python-updater 8777 RMD160 f177c5ae1f1d5dabffd9c52da10704999284af0c SHA1 91719ec53bd5e128042fedaed68d40fcb4abd65b SHA256 25d24778518f33e24e735e2319b1f6aa6a94137afe30b55cfeb974a74cf3873a
AUX python-updater-r1 8785 RMD160 a395283fc17565fc9bc68e59928c74aafe3f19e5 SHA1 6d6f2d44bf20a528693d017b99f45541ae535bf5 SHA256 850bce6c25b33fbc05da98387bf7bd8652d4d6af4c8a7c11b4956e26a84a86b6
DIST Python-2.3.5.tar.bz2 7230000 RMD160 2b1fa90393f517fe02d546c037996754f65f8c89 SHA1 98bfa6257f73a3826b244047c183d933d26f4322 SHA256 1b81787c3dcae3752cadaa6be80c24e247c239ba93d91538af39b4b717e29bf4
DIST Python-2.3.6.tar.bz2 7350182 RMD160 db7a2ebff31e86bc99d45062fc77e4194399cc8d SHA1 11ae8960fb4a5a57be0f57bdc86d901fedc92f66 SHA256 120b6babcc29dfd0ba31ad1b1db587fbceee9705a569727c80d18292ba675da4
DIST Python-2.4.4.tar.bz2 8158073 RMD160 4c7b5b70178fe69881b62201ef0bab55037d8708 SHA1 9e0971f93df8acbd947378d0d16a32fcc8897ba2 SHA256 325fdc7351a08bd8d811e7fb53c41bff11764648ab1a671abd910afec946b38a
DIST Python-2.5.2.tar.bz2 9807597 RMD160 b23b02739833e6730799c5866e2b77aae884b63f SHA1 4755d212f50af704c20224a6966e23acc5aea60f SHA256 f2f80e2a62a039e9a1ffa0fdf58707b2d12b3ff33c56472b46bb6d53f45e083e
DIST python-gentoo-patches-2.3.5-r1.tar.bz2 9239 RMD160 0afe928728c2cb5c306bff261e2fbe485a554c71 SHA1 1bfc2b79fe69bed59705b5c734fe8c4af264bf7e SHA256 35e1139aa91f0ac026017928df71b21da68d8470278852e700f0b32d6c638dbf
DIST python-gentoo-patches-2.3.5.tar.bz2 8489 RMD160 aa2860d06e0aa387c91419ed1a2bb33de14fd393 SHA1 32349bd5e0f6c3859414b4a03643dd89538792f9 SHA256 f144c5488a55599a0d0614f7c687e43106f8b6da51738296aadcec374d567237
DIST python-gentoo-patches-2.3.6-r1.tar.bz2 8483 RMD160 20a7e020f4cecb849af1d611eb3b159440915de1 SHA1 bf8c2f4512aacf70f78dd1d04e6f5a19cd73cec3 SHA256 995c356c6e5481299b9cedd56a510cfed59dffe50f8932192ae8343a1ad1e416
DIST python-gentoo-patches-2.3.6-r4.tar.bz2 10161 RMD160 61b9f9b7f16e0d17db1a135dc3a0e9c12ceb6534 SHA1 714159683adb86e0b8cb9c16073e9bdfc399ea60 SHA256 96a235e7e23b4b2767b001738fbf66f31f16ebf5e106c18aa636857e62f1585c
DIST python-gentoo-patches-2.3.6-r7.tar.bz2 11466 RMD160 d3b2fd502a1c934d22f9bf5a9aaae10f017766f1 SHA1 075511a29c33b4d8d4136da65a5638e86ea63b1f SHA256 a949779a23c40c71b5c040129e01c562324b87e3745613302902009431e87e11
DIST python-gentoo-patches-2.4.4-r10.tar.bz2 11488 RMD160 bce809baf3bd7b1de390707c866a9cc187744bfb SHA1 a1498054a6ff9a62907b5833893ce34e83e95df4 SHA256 e3578ae10702ef3e3107736d212fc92e06bcb541cd756ed656db3171b9d1d5c0
DIST python-gentoo-patches-2.4.4-r3.tar.bz2 8348 RMD160 e9b59a7cd1469668d43a41d396d7a275bef78270 SHA1 16373b922895d1c14ccfa9d6b39079f2d5a2bcb6 SHA256 1c81397312136625fc220db660f701d4eccbde75e74bb40a0d77015b4d5d4f9f
DIST python-gentoo-patches-2.4.4-r4.tar.bz2 9569 RMD160 2e618e2bf8d0d9d1e722f60b6b781af8906b1750 SHA1 f2253df5b52350fdfbd06054597814d705c088c5 SHA256 a5e9783a4ad57c60f91e3f943f4ff60dcb9b2eb64aa9226598bff9658473781e
DIST python-gentoo-patches-2.5.2-r5.tar.bz2 19575 RMD160 74b8c1650c51690c14d444356b3c25974f85b5a8 SHA1 df649d76b6006b318ecd59fe66b44624d855ff4a SHA256 3bc0dfdac3df524c68d841bca34b9391aa84c1dcf1d43febc3d6aef47658f3f4
EBUILD python-2.3.5-r2.ebuild 8061 RMD160 acf517bdbf123794b14deb3ee3b31aad3a8087e5 SHA1 3828e01a5a133005ea0952bca6a0a8b56a91f07d SHA256 cb8d3bb7cb2ddeea916e945d3dca985ceaab66d654523dab0a96a93396ddc67a
EBUILD python-2.3.5-r3.ebuild 8119 RMD160 9e85d5759d06f33810d3c9f044b787742381be28 SHA1 719f6316d24a8ff41a01664ab772bc2ab53b17c2 SHA256 5d76928f6db17de76535e98deb9edf0354601ac4e0ae2fcd64cdf2a2e0a42188
EBUILD python-2.3.6-r3.ebuild 7603 RMD160 fed52d6d5c4500173717e09be17bb010c90c6f7a SHA1 d5c4fa22ccfe9b41dca0c254134cd5fb1b000c56 SHA256 4a1170ec4b62eadb182824ddd78316991394d6fd0619e48141bcf3bf68685cc2
EBUILD python-2.3.6-r6.ebuild 7955 RMD160 bc401bc43838c44e51f6ceb70a3112be2fe9f7bd SHA1 a019cbd9d53d8c4941c4a641301dc04083d956a8 SHA256 d5409cd2d89c6e14ca5d2de7e5eb8590b17c7a77241967ba51d8824ed728a03e
EBUILD python-2.3.6.ebuild 8164 RMD160 acda677d82daf3458567c315bc0e9681d65fb271 SHA1 c9043a343addae774686791cbdca401d35ddab62 SHA256 d3cad7bac5d3ac4797489483c0914a49c1b022e5e4af9133eee80cf1df4e0736
EBUILD python-2.4.4-r13.ebuild 10535 RMD160 9e20a3b3209dd4a5be03690524b1d6364a9cd65d SHA1 b516fdf878bd8ba3bde7d9aaaee382add4b83cd7 SHA256 fb5baf2769c426142c342b8b0c1c558db855cbc22914e58e01207d884e1bd781
EBUILD python-2.4.4-r5.ebuild 10353 RMD160 2e84fa53221be1417bcbfac063fadb8177f7997f SHA1 457badd502adf3e2e82454dde04902e9f930829e SHA256 c2fd3fb136d0855ebf4e92fec8487770b4d1ee1c1f9a93c7a59e012487d45ea4
EBUILD python-2.4.4-r6.ebuild 10354 RMD160 4237041263cf6516bb1d62b070d92d47dc53fd87 SHA1 392f2af04382fe8db2ea674d54f40a3e5703c48d SHA256 dfae0111133299b0ad1665aeeb9d1b59ef72ad0ba38c1242b600cf709cbea9b6
EBUILD python-2.5.2-r5.ebuild 10402 RMD160 70fc9af6e9d33c05af83952c4a67fcf5859902ee SHA1 24b98468c8c535d0c62cc0f9d5611e5ceb61cd95 SHA256 d13970680d2ec6d27238d88296ddb487c28e6f4dc07f11d38f8f260ea222164b
MISC ChangeLog 58041 RMD160 4711a6acc19b21b775cc72a7c4641f93c8d6469c SHA1 721337901b9f54bc9d9c7701130708850682879d SHA256 873f50a61818999dc281fef6d9d3f342946ba6b3f4c660d6ea9788d62baf06fa
MISC metadata.xml 159 RMD160 900a8c55d7a7d2f6312594769aaf941bf9e99c7f SHA1 c8e604d56dae898258b5254d78cfeac0b981e288 SHA256 9f01104d3484792496faff4805eed0ecea2352a897151f3397d49a13800037b4
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)

iEYEARECAAYFAkho93EACgkQQU4yORhF8iBMjACfWia1jPxmx4wGVtTS+8MhA3wx
xGkAoK2aj9ObFvFBiOqd0q5YVXExiuIw
=+zlQ
-----END PGP SIGNATURE-----

files

metadata.xml




python

python-2.3.5-r2.ebuild

# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-lang/python/python-2.3.5-r2.ebuild,v 1.22 2008/05/29 21:29:02 hawking Exp $

# NOTE about python-portage interactions :
# - Do not add a pkg_setup() check for a certain version of portage
# in dev-lang/python. It _WILL_ stop people installing from
# Gentoo 1.4 images.

inherit eutils flag-o-matic python versionator

PYVER_MAJOR=$(get_major_version)
PYVER_MINOR=$(get_version_component_range 2)
PYVER="${PYVER_MAJOR}.${PYVER_MINOR}"

S="${WORKDIR}/Python-${PV}"
DESCRIPTION="A really great language"
HOMEPAGE="http://www.python.org/"
SRC_URI="http://www.python.org/ftp/python/${PV%_*}/Python-${PV}.tar.bz2
mirror://gentoo/python-gentoo-patches-${PV}.tar.bz2"

LICENSE="PSF-2.2"
SLOT="2.3"
KEYWORDS="alpha amd64 arm hppa ia64 m68k mips ppc ppc64 s390 sh sparc x86"
IUSE="ncurses gdbm ssl readline tk berkdb bootstrap ipv6 build ucs2 doc nocxx elibc_uclibc"

DEPEND=">=sys-libs/zlib-1.1.3
!build? (
tk? ( >=dev-lang/tk-8.0 )
ncurses? ( >=sys-libs/ncurses-5.2 readline? ( >=sys-libs/readline-4.1 ) )
berkdb? ( >=sys-libs/db-3.1 )
gdbm? ( sys-libs/gdbm )
ssl? ( dev-libs/openssl )
doc? ( =dev-python/python-docs-${PV}* )
dev-libs/expat
)"

# NOTE: The dev-python/python-fchksum RDEPEND is needed so that this python
# provides the functionality expected from previous pythons.

# NOTE: python-fchksum is only a RDEPEND and not a DEPEND since we don't need
# it to compile python. We just need to ensure that when we install
# python, we definitely have fchksum support. - liquidx

# NOTE: changed RDEPEND to PDEPEND to resolve bug 88777. - kloeri

PDEPEND="${DEPEND} dev-python/python-fchksum"

PROVIDE="virtual/python"

src_unpack() {
unpack ${A}
cd "${S}"

# fix readline detection problems due to missing termcap (#79013)
epatch "${WORKDIR}"/${PV}/2.3-readline.patch

sed -ie 's/OpenBSD\/3.\[01234/OpenBSD\/3.\[012345/' configure || die "OpenBSD sed failed"
# adds /usr/lib/portage/pym to sys.path - liquidx (08 Oct 03)
# prepends /usr/lib/portage/pym to sys.path - liquidx (12 Apr 04)
epatch "${WORKDIR}"/${PV}/2.3-add_portage_search_path.patch
# adds support for PYTHON_DONTCOMPILE shell environment to
# supress automatic generation of .pyc and .pyo files - liquidx (08 Oct 03)
epatch "${WORKDIR}"/${PV}/2.4-gentoo_py_dontcompile.patch
epatch "${WORKDIR}"/${PV}/2.4-disable_modules_and_ssl.patch
epatch "${WORKDIR}"/${PV}/2.4-mimetypes_apache.patch
epatch "${WORKDIR}"/${PV}/2.3-db4.2.patch

# installs to lib64
[ "$(get_libdir)" == "lib64" ] && \
epatch "${WORKDIR}"/${PV}/2.3.4-lib64.patch

# fix os.utime() on hppa. utimes it not supported but unfortunately
# reported as working - gmsoft (22 May 04)
[ "${ARCH}" = "hppa" ] && sed -e 's/utimes //' -i "${S}"/configure

# add support for struct stat st_flags attribute (bug 94637)
epatch "${WORKDIR}"/${PV}/2.3.5-st_flags.patch

# Fix pcre security bug (bug 104009)
epatch "${WORKDIR}"/${PV}/2.3-pcre.patch
}

src_configure() {
# disable extraneous modules with extra dependencies
if use build; then
export PYTHON_DISABLE_MODULES="readline pyexpat dbm gdbm bsddb _curses _curses_panel _tkinter"
export PYTHON_DISABLE_SSL=1
else
use gdbm \
|| PYTHON_DISABLE_MODULES="${PYTHON_DISABLE_MODULES} gdbm"
use berkdb \
|| PYTHON_DISABLE_MODULES="${PYTHON_DISABLE_MODULES} dbm bsddb"
use readline \
|| PYTHON_DISABLE_MODULES="${PYTHON_DISABLE_MODULES} readline"
use tk \
|| PYTHON_DISABLE_MODULES="${PYTHON_DISABLE_MODULES} _tkinter"
use ncurses \
|| PYTHON_DISABLE_MODULES="${PYTHON_DISABLE_MODULES} _curses _curses_panel"
use ssl \
|| export PYTHON_DISABLE_SSL=1
export PYTHON_DISABLE_MODULES
echo $PYTHON_DISABLE_MODULES
fi
}

src_compile() {
filter-flags -malign-double

[ "${ARCH}" = "alpha" ] && append-flags -fPIC
[ "${ARCH}" = "amd64" ] && append-flags -fPIC

# http://bugs.gentoo.org/show_bug.cgi?id=50309
if is-flag -O3; then
is-flag -fstack-protector-all && replace-flags -O3 -O2
use hardened && replace-flags -O3 -O2
fi

export OPT="${CFLAGS}"

local myconf
#if we are creating a new build image, we remove the dependency on g++
if use build && ! use bootstrap || use nocxx ; then
myconf="--with-cxx=no"
fi

# super-secret switch. don't use this unless you know what you're
# doing. enabling UCS2 support will break your existing python
# modules
use ucs2 \
&& myconf="${myconf} --enable-unicode=ucs2" \
|| myconf="${myconf} --enable-unicode=ucs4"

src_configure

econf --with-fpectl \
--enable-shared \
`use_enable ipv6` \
--infodir='${prefix}'/share/info \
--mandir='${prefix}'/share/man \
--with-threads \
--with-libc='' \
${myconf} || die
emake || die "Parallel make failed"
}

src_install() {
dodir /usr
src_configure
make DESTDIR="${D}" altinstall || die

# install our own custom python-config
exeinto /usr/bin
newexe "${FILESDIR}"/python-config-${PYVER} python-config

# The stuff below this line extends from 2.1, and should be deprecated
# in 2.3, or possibly can wait till 2.4

# seems like the build do not install Makefile.pre.in anymore
# it probably shouldn't - use DistUtils, people!
insinto /usr/$(get_libdir)/python${PYVER}/config
doins "${S}"/Makefile.pre.in

# While we're working on the config stuff... Let's fix the OPT var
# so that it doesn't have any opts listed in it. Prevents the problem
# with compiling things with conflicting opts later.
dosed -e 's:^OPT=.*:OPT=-DNDEBUG:' /usr/$(get_libdir)/python${PYVER}/config/Makefile

# install python-updater in /usr/sbin
dosbin "${FILESDIR}"/python-updater

if use build ; then
rm -rf "${D}"/usr/$(get_libdir)/python2.3/{test,encodings,email,lib-tk,bsddb/test}
else
use elibc_uclibc && rm -rf "${D}"/usr/$(get_libdir)/python2.3/{test,bsddb/test}
use berkdb || rm -rf "${D}"/usr/$(get_libdir)/python2.3/bsddb
use tk || rm -rf "${D}"/usr/$(get_libdir)/python2.3/lib-tk
fi
}

pkg_postrm() {
python_makesym
python_mod_cleanup /usr/$(get_libdir)/python2.3
}

pkg_postinst() {
local myroot
myroot=$(echo $ROOT | sed 's:/$::')

python_makesym
python_mod_optimize
python_mod_optimize -x "(site-packages|test)" /usr/$(get_libdir)/python${PYVER}

# workaround possible python-upgrade-breaks-portage situation
if [ ! -f ${myroot}/usr/lib/portage/pym/portage.py ]; then
if [ -f ${myroot}/usr/lib/python2.2/site-packages/portage.py ]; then
einfo "Working around possible python-portage upgrade breakage"
mkdir -p ${myroot}/usr/lib/portage/pym
cp ${myroot}/usr/lib/python2.2/site-packages/{portage,xpak,output,cvstree,getbinpkg,emergehelp,dispatch_conf}.py ${myroot}/usr/lib/portage/pym
python_mod_optimize /usr/lib/portage/pym
fi
fi

echo
ewarn
ewarn "If you have just upgraded from python-2.2.x you will need to run:"
ewarn
ewarn "/usr/sbin/python-updater"
ewarn
ewarn "This will automatically rebuild all the python dependent modules"
ewarn "to run with python-2.3."
ewarn
ewarn "Python 2.2 is still installed and can be accessed via /usr/bin/python2.2."
ewarn "Portage-2.0.49-r8 and below will continue to use python-2.2.x, so"
ewarn "think twice about uninstalling it, otherwise your system will break."
ewarn
ebeep 5
}

src_test() {
# PYTHON_DONTCOMPILE=1 breaks test_import
unset PYTHON_DONTCOMPILE

#skip all tests that fail during emerge but pass without emerge:
#(See bug# 67970)
local skip_tests="global mimetools mmap strptime subprocess tcl time urllib urllib2 zipimport"

for test in ${skip_tests} ; do
mv "${S}"/Lib/test/test_${test}.py "${T}"
done

make test || die "make test failed"

for test in ${skip_tests} ; do
mv "${T}"/test_${test}.py "${S}"/Lib/test/test_${test}.py
done

elog "Portage skipped the following tests which aren't able to run from emerge:"
for test in ${skip_tests} ; do
elog "test_${test}.py"
done

elog "If you'd like to run them, you may:"
elog "cd /usr/lib/python${PYVER}/test"
elog "and run the tests separately."
}

python-2.3.5-r3.ebuild

# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-lang/python/python-2.3.5-r3.ebuild,v 1.18 2008/05/29 21:29:02 hawking Exp $

# NOTE about python-portage interactions :
# - Do not add a pkg_setup() check for a certain version of portage
# in dev-lang/python. It _WILL_ stop people installing from
# Gentoo 1.4 images.

inherit eutils flag-o-matic python versionator

PYVER_MAJOR=$(get_major_version)
PYVER_MINOR=$(get_version_component_range 2)
PYVER="${PYVER_MAJOR}.${PYVER_MINOR}"

S="${WORKDIR}/Python-${PV}"
DESCRIPTION="A really great language"
HOMEPAGE="http://www.python.org/"
SRC_URI="http://www.python.org/ftp/python/${PV%_*}/Python-${PV}.tar.bz2
mirror://gentoo/python-gentoo-patches-${PV}-r1.tar.bz2"

LICENSE="PSF-2.2"
SLOT="2.3"
KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86"
IUSE="ncurses gdbm ssl readline tk berkdb bootstrap ipv6 build ucs2 doc nocxx elibc_uclibc"

DEPEND=">=sys-libs/zlib-1.1.3
!build? (
tk? ( >=dev-lang/tk-8.0 )
ncurses? ( >=sys-libs/ncurses-5.2 readline? ( >=sys-libs/readline-4.1 ) )
berkdb? ( >=sys-libs/db-3.1 )
gdbm? ( sys-libs/gdbm )
ssl? ( dev-libs/openssl )
doc? ( =dev-python/python-docs-${PV}* )
dev-libs/expat
)"

# NOTE: The dev-python/python-fchksum RDEPEND is needed so that this python
# provides the functionality expected from previous pythons.

# NOTE: python-fchksum is only a RDEPEND and not a DEPEND since we don't need
# it to compile python. We just need to ensure that when we install
# python, we definitely have fchksum support. - liquidx

# NOTE: changed RDEPEND to PDEPEND to resolve bug 88777. - kloeri

PDEPEND="${DEPEND} dev-python/python-fchksum"

PROVIDE="virtual/python"

src_unpack() {
unpack ${A}
cd "${S}"

# fix readline detection problems due to missing termcap (#79013)
epatch "${WORKDIR}"/${PV}/2.3-readline.patch

sed -ie 's/OpenBSD\/3.\[01234/OpenBSD\/3.\[012345/' configure || die "OpenBSD sed failed"
# adds /usr/lib/portage/pym to sys.path - liquidx (08 Oct 03)
# prepends /usr/lib/portage/pym to sys.path - liquidx (12 Apr 04)
epatch "${WORKDIR}"/${PV}/2.3-add_portage_search_path.patch
# adds support for PYTHON_DONTCOMPILE shell environment to
# supress automatic generation of .pyc and .pyo files - liquidx (08 Oct 03)
epatch "${WORKDIR}"/${PV}/2.4-gentoo_py_dontcompile.patch
epatch "${WORKDIR}"/${PV}/2.4-disable_modules_and_ssl.patch
epatch "${WORKDIR}"/${PV}/2.4-mimetypes_apache.patch
epatch "${WORKDIR}"/${PV}/2.3-db4.2.patch

# installs to lib64
[ "$(get_libdir)" == "lib64" ] && \
epatch "${WORKDIR}"/${PV}/2.3.4-lib64.patch

# fix os.utime() on hppa. utimes it not supported but unfortunately
# reported as working - gmsoft (22 May 04)
[ "${ARCH}" = "hppa" ] && sed -e 's/utimes //' -i "${S}"/configure

# add support for struct stat st_flags attribute (bug 94637)
epatch "${WORKDIR}"/${PV}/2.3.5-st_flags.patch

# Fix pcre security bug (bug 104009)
epatch "${WORKDIR}"/${PV}/2.3-pcre.patch

epatch "${WORKDIR}"/${PV}/2.3.5-unicodeobject.patch
}

src_configure() {
# disable extraneous modules with extra dependencies
if use build; then
export PYTHON_DISABLE_MODULES="readline pyexpat dbm gdbm bsddb _curses _curses_panel _tkinter"
export PYTHON_DISABLE_SSL=1
else
use gdbm \
|| PYTHON_DISABLE_MODULES="${PYTHON_DISABLE_MODULES} gdbm"
use berkdb \
|| PYTHON_DISABLE_MODULES="${PYTHON_DISABLE_MODULES} dbm bsddb"
use readline \
|| PYTHON_DISABLE_MODULES="${PYTHON_DISABLE_MODULES} readline"
use tk \
|| PYTHON_DISABLE_MODULES="${PYTHON_DISABLE_MODULES} _tkinter"
use ncurses \
|| PYTHON_DISABLE_MODULES="${PYTHON_DISABLE_MODULES} _curses _curses_panel"
use ssl \
|| export PYTHON_DISABLE_SSL=1
export PYTHON_DISABLE_MODULES
echo $PYTHON_DISABLE_MODULES
fi
}

src_compile() {
filter-flags -malign-double

[ "${ARCH}" = "alpha" ] && append-flags -fPIC
[ "${ARCH}" = "amd64" ] && append-flags -fPIC

# http://bugs.gentoo.org/show_bug.cgi?id=50309
if is-flag -O3; then
is-flag -fstack-protector-all && replace-flags -O3 -O2
use hardened && replace-flags -O3 -O2
fi

export OPT="${CFLAGS}"

local myconf
#if we are creating a new build image, we remove the dependency on g++
if use build && ! use bootstrap || use nocxx ; then
myconf="--with-cxx=no"
fi

# super-secret switch. don't use this unless you know what you're
# doing. enabling UCS2 support will break your existing python
# modules
use ucs2 \
&& myconf="${myconf} --enable-unicode=ucs2" \
|| myconf="${myconf} --enable-unicode=ucs4"

src_configure

econf --with-fpectl \
--enable-shared \
`use_enable ipv6` \
--infodir='${prefix}'/share/info \
--mandir='${prefix}'/share/man \
--with-threads \
--with-libc='' \
${myconf} || die
emake || die "Parallel make failed"
}

src_install() {
dodir /usr
src_configure
make DESTDIR="${D}" altinstall || die

# install our own custom python-config
exeinto /usr/bin
newexe "${FILESDIR}"/python-config-${PYVER} python-config

# The stuff below this line extends from 2.1, and should be deprecated
# in 2.3, or possibly can wait till 2.4

# seems like the build do not install Makefile.pre.in anymore
# it probably shouldn't - use DistUtils, people!
insinto /usr/$(get_libdir)/python${PYVER}/config
doins "${S}"/Makefile.pre.in

# While we're working on the config stuff... Let's fix the OPT var
# so that it doesn't have any opts listed in it. Prevents the problem
# with compiling things with conflicting opts later.
dosed -e 's:^OPT=.*:OPT=-DNDEBUG:' /usr/$(get_libdir)/python${PYVER}/config/Makefile

# install python-updater in /usr/sbin
dosbin "${FILESDIR}"/python-updater

if use build ; then
rm -rf "${D}"/usr/$(get_libdir)/python2.3/{test,encodings,email,lib-tk,bsddb/test}
else
use elibc_uclibc && rm -rf "${D}"/usr/$(get_libdir)/python2.3/{test,bsddb/test}
use berkdb || rm -rf "${D}"/usr/$(get_libdir)/python2.3/bsddb
use tk || rm -rf "${D}"/usr/$(get_libdir)/python2.3/lib-tk
fi
}

pkg_postrm() {
python_makesym
python_mod_cleanup /usr/$(get_libdir)/python2.3
}

pkg_postinst() {
local myroot
myroot=$(echo $ROOT | sed 's:/$::')

python_makesym
python_mod_optimize
python_mod_optimize -x "(site-packages|test)" /usr/$(get_libdir)/python${PYVER}

# workaround possible python-upgrade-breaks-portage situation
if [ ! -f ${myroot}/usr/lib/portage/pym/portage.py ]; then
if [ -f ${myroot}/usr/lib/python2.2/site-packages/portage.py ]; then
einfo "Working around possible python-portage upgrade breakage"
mkdir -p ${myroot}/usr/lib/portage/pym
cp ${myroot}/usr/lib/python2.2/site-packages/{portage,xpak,output,cvstree,getbinpkg,emergehelp,dispatch_conf}.py ${myroot}/usr/lib/portage/pym
python_mod_optimize /usr/lib/portage/pym
fi
fi

echo
ewarn
ewarn "If you have just upgraded from python-2.2.x you will need to run:"
ewarn
ewarn "/usr/sbin/python-updater"
ewarn
ewarn "This will automatically rebuild all the python dependent modules"
ewarn "to run with python-2.3."
ewarn
ewarn "Python 2.2 is still installed and can be accessed via /usr/bin/python2.2."
ewarn "Portage-2.0.49-r8 and below will continue to use python-2.2.x, so"
ewarn "think twice about uninstalling it, otherwise your system will break."
ewarn
ebeep 5
}

src_test() {
# PYTHON_DONTCOMPILE=1 breaks test_import
unset PYTHON_DONTCOMPILE

#skip all tests that fail during emerge but pass without emerge:
#(See bug# 67970)
local skip_tests="global mimetools mmap strptime subprocess tcl time urllib urllib2 zipimport"

for test in ${skip_tests} ; do
mv "${S}"/Lib/test/test_${test}.py "${T}"
done

make test || die "make test failed"

for test in ${skip_tests} ; do
mv "${T}"/test_${test}.py "${S}"/Lib/test/test_${test}.py
done

elog "Portage skipped the following tests which aren't able to run from emerge:"
for test in ${skip_tests} ; do
elog "test_${test}.py"
done

elog "If you'd like to run them, you may:"
elog "cd /usr/lib/python${PYVER}/test"
elog "and run the tests separately."
}

python-2.3.6-r3.ebuild

# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-lang/python/python-2.3.6-r3.ebuild,v 1.12 2008/05/29 21:29:02 hawking Exp $

# NOTE about python-portage interactions :
# - Do not add a pkg_setup() check for a certain version of portage
# in dev-lang/python. It _WILL_ stop people installing from
# Gentoo 1.4 images.

inherit autotools eutils flag-o-matic python versionator

PYVER_MAJOR=$(get_major_version)
PYVER_MINOR=$(get_version_component_range 2)
PYVER="${PYVER_MAJOR}.${PYVER_MINOR}"

S="${WORKDIR}/Python-${PV}"
DESCRIPTION="A really great language"
HOMEPAGE="http://www.python.org/"
SRC_URI="http://www.python.org/ftp/python/${PV%_*}/Python-${PV}.tar.bz2
mirror://gentoo/python-gentoo-patches-${PV}-r4.tar.bz2"

LICENSE="PSF-2.2"
SLOT="2.3"
KEYWORDS="alpha amd64 arm hppa ia64 m68k ppc ppc64 s390 sh sparc x86"
IUSE="ncurses gdbm ssl readline tk berkdb bootstrap ipv6 build ucs2 doc nocxx nothreads examples elibc_uclibc"

# INFO: 2.3.5 docs are used for python-2.3.6 as upstream writes in their release
# notes.
DEPEND=">=sys-libs/zlib-1.1.3
!build? (
tk? ( >=dev-lang/tk-8.0 )
ncurses? ( >=sys-libs/ncurses-5.2 readline? ( >=sys-libs/readline-4.1 ) )
berkdb? ( >=sys-libs/db-3.1 )
gdbm? ( sys-libs/gdbm )
ssl? ( dev-libs/openssl )
doc? ( =dev-python/python-docs-2.3.5* )
dev-libs/expat
)"

# NOTE: The dev-python/python-fchksum RDEPEND is needed so that this python
# provides the functionality expected from previous pythons.

# NOTE: python-fchksum is only a RDEPEND and not a DEPEND since we don't need
# it to compile python. We just need to ensure that when we install
# python, we definitely have fchksum support. - liquidx

# NOTE: changed RDEPEND to PDEPEND to resolve bug 88777. - kloeri

PDEPEND="${DEPEND} dev-python/python-fchksum app-admin/python-updater"

PROVIDE="virtual/python"

src_unpack() {
unpack ${A}
cd "${S}"

sed -ie 's/OpenBSD\/3.\[01234/OpenBSD\/3.\[012345/' configure || die "OpenBSD sed failed"

# fix os.utime() on hppa. utimes it not supported but unfortunately
# reported as working - gmsoft (22 May 04)
[ "${ARCH}" = "hppa" ] && sed -e 's/utimes //' -i "${S}"/configure

EPATCH_SUFFIX="patch" epatch "${WORKDIR}/${PV}"
sed -i -e "s:@@GENTOO_LIBDIR@@:$(get_libdir):g" \
Lib/distutils/command/install.py \
Lib/distutils/sysconfig.py \
Lib/site.py \
Makefile.pre.in \
Modules/Setup.dist \
Modules/getpath.c \
setup.py || die

eautoreconf
}

src_configure() {
# disable extraneous modules with extra dependencies
if use build; then
export PYTHON_DISABLE_MODULES="readline pyexpat dbm gdbm bsddb _curses _curses_panel _tkinter"
export PYTHON_DISABLE_SSL=1
else
use gdbm \
|| PYTHON_DISABLE_MODULES="${PYTHON_DISABLE_MODULES} gdbm"
use berkdb \
|| PYTHON_DISABLE_MODULES="${PYTHON_DISABLE_MODULES} dbm bsddb"
use readline \
|| PYTHON_DISABLE_MODULES="${PYTHON_DISABLE_MODULES} readline"
use tk \
|| PYTHON_DISABLE_MODULES="${PYTHON_DISABLE_MODULES} _tkinter"
use ncurses \
|| PYTHON_DISABLE_MODULES="${PYTHON_DISABLE_MODULES} _curses _curses_panel"
use ssl \
|| export PYTHON_DISABLE_SSL=1
export PYTHON_DISABLE_MODULES
echo $PYTHON_DISABLE_MODULES
fi
}

src_compile() {
filter-flags -malign-double
filter-ldflags -Wl,--as-needed --as-needed

[ "${ARCH}" = "alpha" ] && append-flags -fPIC
[ "${ARCH}" = "amd64" ] && append-flags -fPIC

# http://bugs.gentoo.org/show_bug.cgi?id=50309
if is-flag -O3; then
is-flag -fstack-protector-all && replace-flags -O3 -O2
use hardened && replace-flags -O3 -O2
fi

export OPT="${CFLAGS}"

local myconf
#if we are creating a new build image, we remove the dependency on g++
if use build && ! use bootstrap || use nocxx ; then
myconf="--with-cxx=no"
fi

# super-secret switch. don't use this unless you know what you're
# doing. enabling UCS2 support will break your existing python
# modules
use ucs2 \
&& myconf="${myconf} --enable-unicode=ucs2" \
|| myconf="${myconf} --enable-unicode=ucs4"

use nothreads \
&& myconf="${myconf} --without-threads" \
|| myconf="${myconf} --with-threads"

src_configure

econf --with-fpectl \
--enable-shared \
`use_enable ipv6` \
--infodir='${prefix}'/share/info \
--mandir='${prefix}'/share/man \
--with-libc='' \
${myconf} || die
emake || die "Parallel make failed"
}

src_install() {
dodir /usr
src_configure
make DESTDIR="${D}" altinstall || die

# install our own custom python-config
exeinto /usr/bin
newexe "${FILESDIR}"/python-config-${PYVER} python-config

# The stuff below this line extends from 2.1, and should be deprecated
# in 2.3, or possibly can wait till 2.4

# seems like the build do not install Makefile.pre.in anymore
# it probably shouldn't - use DistUtils, people!
insinto /usr/$(get_libdir)/python${PYVER}/config
doins "${S}"/Makefile.pre.in

# While we're working on the config stuff... Let's fix the OPT var
# so that it doesn't have any opts listed in it. Prevents the problem
# with compiling things with conflicting opts later.
dosed -e 's:^OPT=.*:OPT=-DNDEBUG:' /usr/$(get_libdir)/python${PYVER}/config/Makefile

if use build ; then
rm -rf "${D}"/usr/$(get_libdir)/python2.3/{test,encodings,email,lib-tk,bsddb/test}
else
use elibc_uclibc && rm -rf "${D}"/usr/$(get_libdir)/python2.3/{test,bsddb/test}
use berkdb || rm -rf "${D}"/usr/$(get_libdir)/python2.3/bsddb
use tk || rm -rf "${D}"/usr/$(get_libdir)/python2.3/lib-tk
fi

if use examples ; then
mkdir -p "${D}"/usr/share/doc/${P}/examples
cp -r "${S}"/Tools "${D}"/usr/share/doc/${P}/examples
fi
}

pkg_postrm() {
python_makesym
python_mod_cleanup /usr/$(get_libdir)/python2.3
}

pkg_postinst() {
local myroot
myroot=$(echo $ROOT | sed 's:/$::')

python_makesym
python_mod_optimize
python_mod_optimize -x "(site-packages|test)" /usr/$(get_libdir)/python${PYVER}

# workaround possible python-upgrade-breaks-portage situation
if [ ! -f ${myroot}/usr/lib/portage/pym/portage.py ]; then
if [ -f ${myroot}/usr/lib/python2.2/site-packages/portage.py ]; then
einfo "Working around possible python-portage upgrade breakage"
mkdir -p ${myroot}/usr/lib/portage/pym
cp ${myroot}/usr/lib/python2.2/site-packages/{portage,xpak,output,cvstree,getbinpkg,emergehelp,dispatch_conf}.py ${myroot}/usr/lib/portage/pym
python_mod_optimize /usr/lib/portage/pym
fi
fi

echo
ewarn
ewarn "If you have just upgraded from an older version of python you"
ewarn "will need to run:"
ewarn
ewarn "/usr/sbin/python-updater"
ewarn
ewarn "This will automatically rebuild all the python dependent modules"
ewarn "to run with python-${PYVER}."
ewarn
ewarn "Your original Python is still installed and can be accessed via"
ewarn "/usr/bin/python2.x."
ewarn
ebeep 5
}

src_test() {
# PYTHON_DONTCOMPILE=1 breaks test_import
unset PYTHON_DONTCOMPILE

#skip all tests that fail during emerge but pass without emerge:
#(See bug# 67970)
local skip_tests="global mimetools mmap strptime subprocess tcl time urllib urllib2 zipimport"

for test in ${skip_tests} ; do
mv "${S}"/Lib/test/test_${test}.py "${T}"
done

make test || die "make test failed"

for test in ${skip_tests} ; do
mv "${T}"/test_${test}.py "${S}"/Lib/test/test_${test}.py
done

elog "Portage skipped the following tests which aren't able to run from emerge:"
for test in ${skip_tests} ; do
elog "test_${test}.py"
done

elog "If you'd like to run them, you may:"
elog "cd /usr/lib/python${PYVER}/test"
elog "and run the tests separately."
}

python-2.3.6-r6.ebuild

# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-lang/python/python-2.3.6-r6.ebuild,v 1.12 2008/05/29 21:29:02 hawking Exp $

# NOTE about python-portage interactions :
# - Do not add a pkg_setup() check for a certain version of portage
# in dev-lang/python. It _WILL_ stop people installing from
# Gentoo 1.4 images.

EAPI=1

inherit autotools eutils flag-o-matic python versionator

PYVER_MAJOR=$(get_major_version)
PYVER_MINOR=$(get_version_component_range 2)
PYVER="${PYVER_MAJOR}.${PYVER_MINOR}"

S="${WORKDIR}/Python-${PV}"
DESCRIPTION="A really great language"
HOMEPAGE="http://www.python.org/"
SRC_URI="http://www.python.org/ftp/python/${PV%_*}/Python-${PV}.tar.bz2
mirror://gentoo/python-gentoo-patches-${PV}-r7.tar.bz2"

LICENSE="PSF-2.2"
SLOT="2.3"
KEYWORDS="alpha amd64 ~arm hppa ia64 ~m68k ppc ppc64 ~s390 ~sh sparc x86"
IUSE="ncurses gdbm ssl readline tk berkdb bootstrap ipv6 build ucs2 doc +cxx +threads examples elibc_uclibc"

# INFO: 2.3.5 docs are used for python-2.3.6 as upstream writes in their release
# notes.
DEPEND=">=sys-libs/zlib-1.1.3
!build? (
tk? ( >=dev-lang/tk-8.0 )
ncurses? ( >=sys-libs/ncurses-5.2 readline? ( >=sys-libs/readline-4.1 ) )
berkdb? ( sys-libs/db:3 )
gdbm? ( sys-libs/gdbm )
ssl? ( dev-libs/openssl )
doc? ( dev-python/python-docs:2.3 )
dev-libs/expat
)"

# NOTE: The dev-python/python-fchksum RDEPEND is needed so that this python
# provides the functionality expected from previous pythons.

# NOTE: python-fchksum is only a RDEPEND and not a DEPEND since we don't need
# it to compile python. We just need to ensure that when we install
# python, we definitely have fchksum support. - liquidx

# NOTE: changed RDEPEND to PDEPEND to resolve bug 88777. - kloeri

PDEPEND="${DEPEND} dev-python/python-fchksum app-admin/python-updater"

PROVIDE="virtual/python"

src_unpack() {
unpack ${A}
cd "${S}"

sed -ie 's/OpenBSD\/3.\[01234/OpenBSD\/3.\[012345/' configure || die "OpenBSD sed failed"

# fix os.utime() on hppa. utimes it not supported but unfortunately
# reported as working - gmsoft (22 May 04)
[ "${ARCH}" = "hppa" ] && sed -e 's/utimes //' -i "${S}"/configure

EPATCH_SUFFIX="patch" epatch "${WORKDIR}/${PV}"
epatch "${FILESDIR}"/${P}-disable-failing-tests.patch
sed -i -e "s:@@GENTOO_LIBDIR@@:$(get_libdir):g" \
Lib/distutils/command/install.py \
Lib/distutils/sysconfig.py \
Lib/site.py \
Makefile.pre.in \
Modules/Setup.dist \
Modules/getpath.c \
setup.py || die

eautoreconf
}

src_configure() {
# disable extraneous modules with extra dependencies
if use build; then
export PYTHON_DISABLE_MODULES="readline pyexpat dbm gdbm bsddb _curses _curses_panel _tkinter"
export PYTHON_DISABLE_SSL=1
else
# dbm module can link to berkdb or gdbm -- defaults to gdbm when
# both are enabled, see #204343
use berkdb || use gdbm \
|| PYTHON_DISABLE_MODULES="${PYTHON_DISABLE_MODULES} dbm"
use gdbm \
|| PYTHON_DISABLE_MODULES="${PYTHON_DISABLE_MODULES} gdbm"
use berkdb \
|| PYTHON_DISABLE_MODULES="${PYTHON_DISABLE_MODULES} bsddb"
use readline \
|| PYTHON_DISABLE_MODULES="${PYTHON_DISABLE_MODULES} readline"
use tk \
|| PYTHON_DISABLE_MODULES="${PYTHON_DISABLE_MODULES} _tkinter"
use ncurses \
|| PYTHON_DISABLE_MODULES="${PYTHON_DISABLE_MODULES} _curses _curses_panel"
use ssl \
|| export PYTHON_DISABLE_SSL=1
export PYTHON_DISABLE_MODULES
echo $PYTHON_DISABLE_MODULES
fi
}

src_compile() {
filter-flags -malign-double
filter-ldflags -Wl,--as-needed --as-needed

[ "${ARCH}" = "alpha" ] && append-flags -fPIC
[ "${ARCH}" = "amd64" ] && append-flags -fPIC

# http://bugs.gentoo.org/show_bug.cgi?id=50309
if is-flag -O3; then
is-flag -fstack-protector-all && replace-flags -O3 -O2
use hardened && replace-flags -O3 -O2
fi

export OPT="${CFLAGS}"

local myconf
#if we are creating a new build image, we remove the dependency on g++
if use build && ! use bootstrap || ! use cxx ; then
myconf="--with-cxx=no"
fi

# super-secret switch. don't use this unless you know what you're
# doing. enabling UCS2 support will break your existing python
# modules
use ucs2 \
&& myconf="${myconf} --enable-unicode=ucs2" \
|| myconf="${myconf} --enable-unicode=ucs4"

use threads \
&& myconf="${myconf} --with-threads" \
&& myconf="${myconf} --without-threads"

src_configure

econf --with-fpectl \
--enable-shared \
`use_enable ipv6` \
--infodir='${prefix}'/share/info \
--mandir='${prefix}'/share/man \
--with-libc='' \
${myconf} || die
emake || die "Parallel make failed"
}

src_install() {
dodir /usr
src_configure
make DESTDIR="${D}" altinstall || die

# install our own custom python-config
exeinto /usr/bin
newexe "${FILESDIR}"/python-config-${PYVER} python-config

# The stuff below this line extends from 2.1, and should be deprecated
# in 2.3, or possibly can wait till 2.4

# seems like the build do not install Makefile.pre.in anymore
# it probably shouldn't - use DistUtils, people!
insinto /usr/$(get_libdir)/python${PYVER}/config
doins "${S}"/Makefile.pre.in

# While we're working on the config stuff... Let's fix the OPT var
# so that it doesn't have any opts listed in it. Prevents the problem
# with compiling things with conflicting opts later.
dosed -e 's:^OPT=.*:OPT=-DNDEBUG:' /usr/$(get_libdir)/python${PYVER}/config/Makefile

if use build ; then
rm -rf "${D}"/usr/$(get_libdir)/python2.3/{test,encodings,email,lib-tk,bsddb/test}
else
use elibc_uclibc && rm -rf "${D}"/usr/$(get_libdir)/python2.3/{test,bsddb/test}
use berkdb || rm -rf "${D}"/usr/$(get_libdir)/python2.3/bsddb
use tk || rm -rf "${D}"/usr/$(get_libdir)/python2.3/lib-tk
fi

if use examples ; then
mkdir -p "${D}"/usr/share/doc/${P}/examples
cp -r "${S}"/Tools "${D}"/usr/share/doc/${P}/examples
fi
}

pkg_postrm() {
python_makesym
python_mod_cleanup /usr/$(get_libdir)/python2.3
}

pkg_postinst() {
local myroot
myroot=$(echo $ROOT | sed 's:/$::')

python_makesym
python_mod_optimize
python_mod_optimize -x "(site-packages|test)" /usr/$(get_libdir)/python${PYVER}

# workaround possible python-upgrade-breaks-portage situation
if [ ! -f ${myroot}/usr/lib/portage/pym/portage.py ]; then
if [ -f ${myroot}/usr/lib/python2.2/site-packages/portage.py ]; then
einfo "Working around possible python-portage upgrade breakage"
mkdir -p ${myroot}/usr/lib/portage/pym
cp ${myroot}/usr/lib/python2.2/site-packages/{portage,xpak,output,cvstree,getbinpkg,emergehelp,dispatch_conf}.py ${myroot}/usr/lib/portage/pym
python_mod_optimize /usr/lib/portage/pym
fi
fi

echo
ewarn
ewarn "If you have just upgraded from an older version of python you"
ewarn "will need to run:"
ewarn
ewarn "/usr/sbin/python-updater"
ewarn
ewarn "This will automatically rebuild all the python dependent modules"
ewarn "to run with python-${PYVER}."
ewarn
ewarn "Your original Python is still installed and can be accessed via"
ewarn "/usr/bin/python2.x."
ewarn
ebeep 5
}

src_test() {
# PYTHON_DONTCOMPILE=1 breaks test_import
unset PYTHON_DONTCOMPILE

#skip all tests that fail during emerge but pass without emerge:
#(See bug# 67970)
local skip_tests="global mimetools mmap strptime time urllib urllib2 zipimport"

# test_pow fails on alpha.
# http://bugs.python.org/issue756093
[[ ${ARCH} == "alpha" ]] && skip_tests="${skip_tests} pow"

for test in ${skip_tests} ; do
mv "${S}"/Lib/test/test_${test}.py "${T}"
done

make test || die "make test failed"

for test in ${skip_tests} ; do
mv "${T}"/test_${test}.py "${S}"/Lib/test/test_${test}.py
done

elog "Portage skipped the following tests which aren't able to run from emerge:"
for test in ${skip_tests} ; do
elog "test_${test}.py"
done

elog "If you'd like to run them, you may:"
elog "cd /usr/lib/python${PYVER}/test"
elog "and run the tests separately."
}

python-2.3.6.ebuild

# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-lang/python/python-2.3.6.ebuild,v 1.10 2008/05/29 21:29:02 hawking Exp $

# NOTE about python-portage interactions :
# - Do not add a pkg_setup() check for a certain version of portage
# in dev-lang/python. It _WILL_ stop people installing from
# Gentoo 1.4 images.

inherit eutils flag-o-matic python versionator

PYVER_MAJOR=$(get_major_version)
PYVER_MINOR=$(get_version_component_range 2)
PYVER="${PYVER_MAJOR}.${PYVER_MINOR}"

S="${WORKDIR}/Python-${PV}"
DESCRIPTION="A really great language"
HOMEPAGE="http://www.python.org/"
SRC_URI="http://www.python.org/ftp/python/${PV%_*}/Python-${PV}.tar.bz2
mirror://gentoo/python-gentoo-patches-${PV}-r1.tar.bz2"

LICENSE="PSF-2.2"
SLOT="2.3"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
IUSE="ncurses gdbm ssl readline tk berkdb bootstrap ipv6 build ucs2 doc nocxx elibc_uclibc"

# INFO: 2.3.5 docs are used for python-2.3.6 as upstream writes in their release
# notes.
DEPEND=">=sys-libs/zlib-1.1.3
!build? (
tk? ( >=dev-lang/tk-8.0 )
ncurses? ( >=sys-libs/ncurses-5.2 readline? ( >=sys-libs/readline-4.1 ) )
berkdb? ( >=sys-libs/db-3.1 )
gdbm? ( sys-libs/gdbm )
ssl? ( dev-libs/openssl )
doc? ( =dev-python/python-docs-2.3.5* )
dev-libs/expat
)"

# NOTE: The dev-python/python-fchksum RDEPEND is needed so that this python
# provides the functionality expected from previous pythons.

# NOTE: python-fchksum is only a RDEPEND and not a DEPEND since we don't need
# it to compile python. We just need to ensure that when we install
# python, we definitely have fchksum support. - liquidx

# NOTE: changed RDEPEND to PDEPEND to resolve bug 88777. - kloeri

PDEPEND="${DEPEND} dev-python/python-fchksum"

PROVIDE="virtual/python"

src_unpack() {
unpack ${A}
cd "${S}"

# fix readline detection problems due to missing termcap (#79013)
epatch "${WORKDIR}"/${PV}/2.3-readline.patch

sed -ie 's/OpenBSD\/3.\[01234/OpenBSD\/3.\[012345/' configure || die "OpenBSD sed failed"
# adds /usr/lib/portage/pym to sys.path - liquidx (08 Oct 03)
# prepends /usr/lib/portage/pym to sys.path - liquidx (12 Apr 04)
epatch "${WORKDIR}"/${PV}/2.3-add_portage_search_path.patch
# adds support for PYTHON_DONTCOMPILE shell environment to
# supress automatic generation of .pyc and .pyo files - liquidx (08 Oct 03)
epatch "${WORKDIR}"/${PV}/2.4-gentoo_py_dontcompile.patch
epatch "${WORKDIR}"/${PV}/2.4-disable_modules_and_ssl.patch
epatch "${WORKDIR}"/${PV}/2.4-mimetypes_apache.patch
epatch "${WORKDIR}"/${PV}/2.3-db4.2.patch

# installs to lib64
[ "$(get_libdir)" == "lib64" ] && \
epatch "${WORKDIR}"/${PV}/2.3.4-lib64.patch

# fix os.utime() on hppa. utimes it not supported but unfortunately
# reported as working - gmsoft (22 May 04)
[ "${ARCH}" = "hppa" ] && sed -e 's/utimes //' -i "${S}"/configure

# add support for struct stat st_flags attribute (bug 94637)
epatch "${WORKDIR}"/${PV}/2.3.5-st_flags.patch

# Fix pcre security bug (bug 104009)
epatch "${WORKDIR}"/${PV}/2.3-pcre.patch
}

src_configure() {
# disable extraneous modules with extra dependencies
if use build; then
export PYTHON_DISABLE_MODULES="readline pyexpat dbm gdbm bsddb _curses _curses_panel _tkinter"
export PYTHON_DISABLE_SSL=1
else
use gdbm \
|| PYTHON_DISABLE_MODULES="${PYTHON_DISABLE_MODULES} gdbm"
use berkdb \
|| PYTHON_DISABLE_MODULES="${PYTHON_DISABLE_MODULES} dbm bsddb"
use readline \
|| PYTHON_DISABLE_MODULES="${PYTHON_DISABLE_MODULES} readline"
use tk \
|| PYTHON_DISABLE_MODULES="${PYTHON_DISABLE_MODULES} _tkinter"
use ncurses \
|| PYTHON_DISABLE_MODULES="${PYTHON_DISABLE_MODULES} _curses _curses_panel"
use ssl \
|| export PYTHON_DISABLE_SSL=1
export PYTHON_DISABLE_MODULES
echo $PYTHON_DISABLE_MODULES
fi
}

src_compile() {
filter-flags -malign-double

[ "${ARCH}" = "alpha" ] && append-flags -fPIC
[ "${ARCH}" = "amd64" ] && append-flags -fPIC

# http://bugs.gentoo.org/show_bug.cgi?id=50309
if is-flag -O3; then
is-flag -fstack-protector-all && replace-flags -O3 -O2
use hardened && replace-flags -O3 -O2
fi

export OPT="${CFLAGS}"

local myconf
#if we are creating a new build image, we remove the dependency on g++
if use build && ! use bootstrap || use nocxx ; then
myconf="--with-cxx=no"
fi

# super-secret switch. don't use this unless you know what you're
# doing. enabling UCS2 support will break your existing python
# modules
use ucs2 \
&& myconf="${myconf} --enable-unicode=ucs2" \
|| myconf="${myconf} --enable-unicode=ucs4"

src_configure

econf --with-fpectl \
--enable-shared \
`use_enable ipv6` \
--infodir='${prefix}'/share/info \
--mandir='${prefix}'/share/man \
--with-threads \
--with-libc='' \
${myconf} || die
emake || die "Parallel make failed"
}

src_install() {
dodir /usr
src_configure
make DESTDIR="${D}" altinstall || die

# install our own custom python-config
exeinto /usr/bin
newexe "${FILESDIR}"/python-config-${PYVER} python-config

# The stuff below this line extends from 2.1, and should be deprecated
# in 2.3, or possibly can wait till 2.4

# seems like the build do not install Makefile.pre.in anymore
# it probably shouldn't - use DistUtils, people!
insinto /usr/$(get_libdir)/python${PYVER}/config
doins "${S}"/Makefile.pre.in

# While we're working on the config stuff... Let's fix the OPT var
# so that it doesn't have any opts listed in it. Prevents the problem
# with compiling things with conflicting opts later.
dosed -e 's:^OPT=.*:OPT=-DNDEBUG:' /usr/$(get_libdir)/python${PYVER}/config/Makefile

# install python-updater in /usr/sbin
dosbin "${FILESDIR}"/python-updater

if use build ; then
rm -rf "${D}"/usr/$(get_libdir)/python2.3/{test,encodings,email,lib-tk,bsddb/test}
else
use elibc_uclibc && rm -rf "${D}"/usr/$(get_libdir)/python2.3/{test,bsddb/test}
use berkdb || rm -rf "${D}"/usr/$(get_libdir)/python2.3/bsddb
use tk || rm -rf "${D}"/usr/$(get_libdir)/python2.3/lib-tk
fi
}

pkg_postrm() {
python_makesym
python_mod_cleanup /usr/$(get_libdir)/python2.3
}

pkg_postinst() {
local myroot
myroot=$(echo $ROOT | sed 's:/$::')

python_makesym
python_mod_optimize
python_mod_optimize -x "(site-packages|test)" /usr/$(get_libdir)/python${PYVER}

# workaround possible python-upgrade-breaks-portage situation
if [ ! -f ${myroot}/usr/lib/portage/pym/portage.py ]; then
if [ -f ${myroot}/usr/lib/python2.2/site-packages/portage.py ]; then
einfo "Working around possible python-portage upgrade breakage"
mkdir -p ${myroot}/usr/lib/portage/pym
cp ${myroot}/usr/lib/python2.2/site-packages/{portage,xpak,output,cvstree,getbinpkg,emergehelp,dispatch_conf}.py ${myroot}/usr/lib/portage/pym
python_mod_optimize /usr/lib/portage/pym
fi
fi

echo
ewarn
ewarn "If you have just upgraded from python-2.2.x you will need to run:"
ewarn
ewarn "/usr/sbin/python-updater"
ewarn
ewarn "This will automatically rebuild all the python dependent modules"
ewarn "to run with python-2.3."
ewarn
ewarn "Python 2.2 is still installed and can be accessed via /usr/bin/python2.2."
ewarn "Portage-2.0.49-r8 and below will continue to use python-2.2.x, so"
ewarn "think twice about uninstalling it, otherwise your system will break."
ewarn
ebeep 5
}

src_test() {
# PYTHON_DONTCOMPILE=1 breaks test_import
unset PYTHON_DONTCOMPILE

#skip all tests that fail during emerge but pass without emerge:
#(See bug# 67970)
local skip_tests="global mimetools mmap strptime subprocess tcl time urllib urllib2 zipimport"

for test in ${skip_tests} ; do
mv "${S}"/Lib/test/test_${test}.py "${T}"
done

make test || die "make test failed"

for test in ${skip_tests} ; do
mv "${T}"/test_${test}.py "${S}"/Lib/test/test_${test}.py
done

elog "Portage skipped the following tests which aren't able to run from emerge:"
for test in ${skip_tests} ; do
elog "test_${test}.py"
done

elog "If you'd like to run them, you may:"
elog "cd /usr/lib/python${PYVER}/test"
elog "and run the tests separately."
}

python-2.4.4-r13.ebuild

# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-lang/python/python-2.4.4-r13.ebuild,v 1.10 2008/05/29 21:29:02 hawking Exp $

# NOTE about python-portage interactions :
# - Do not add a pkg_setup() check for a certain version of portage
# in dev-lang/python. It _WILL_ stop people installing from
# Gentoo 1.4 images.

EAPI=1

inherit autotools eutils flag-o-matic python multilib versionator toolchain-funcs alternatives

# we need this so that we don't depends on python.eclass
PYVER_MAJOR=$(get_major_version)
PYVER_MINOR=$(get_version_component_range 2)
PYVER="${PYVER_MAJOR}.${PYVER_MINOR}"

MY_P="Python-${PV}"
S="${WORKDIR}/${MY_P}"
DESCRIPTION="Python is an interpreted, interactive, object-oriented programming language."
HOMEPAGE="http://www.python.org/"
SRC_URI="http://www.python.org/ftp/python/${PV}/${MY_P}.tar.bz2
mirror://gentoo/python-gentoo-patches-${PV}-r10.tar.bz2"

LICENSE="PSF-2.2"
SLOT="2.4"
KEYWORDS="alpha amd64 ~arm hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh sparc ~sparc-fbsd x86 ~x86-fbsd"
IUSE="ncurses gdbm ssl readline tk berkdb bootstrap ipv6 build ucs2 doc +cxx +threads examples elibc_uclibc wininst"

# Can't be compiled against db-4.5 Bug #179377
DEPEND=">=sys-libs/zlib-1.1.3
!dev-python/cjkcodecs
!build? (
tk? ( >=dev-lang/tk-8.0 )
ncurses? ( >=sys-libs/ncurses-5.2 readline? ( >=sys-libs/readline-4.1 ) )
berkdb? ( || ( sys-libs/db:4.4 sys-libs/db:4.3 ) )
gdbm? ( sys-libs/gdbm )
ssl? ( dev-libs/openssl )
doc? ( dev-python/python-docs:2.4 )
dev-libs/expat
)"

# NOTE: changed RDEPEND to PDEPEND to resolve bug 88777. - kloeri
# NOTE: added blocker to enforce correct merge order for bug 88777. - zmedico

RDEPEND="${DEPEND} build? ( !dev-python/pycrypto )"
PDEPEND="${DEPEND} app-admin/python-updater"

PROVIDE="virtual/python"

src_unpack() {
unpack ${A}
cd "${S}"

if tc-is-cross-compiler ; then
[[ $(python -V 2>&1) != "Python ${PV}" ]] && \
die "Crosscompiling requires the same host and build versions."
epatch "${FILESDIR}"/python-2.4.4-test-cross.patch
else
rm "${WORKDIR}/${PV}"/*_all_crosscompile.patch
fi

EPATCH_SUFFIX="patch" epatch "${WORKDIR}/${PV}"
sed -i -e "s:@@GENTOO_LIBDIR@@:$(get_libdir):g" \
Lib/distutils/command/install.py \
Lib/distutils/sysconfig.py \
Lib/site.py \
Makefile.pre.in \
Modules/Setup.dist \
Modules/getpath.c \
setup.py || die

# fix os.utime() on hppa. utimes it not supported but unfortunately
# reported as working - gmsoft (22 May 04)
# PLEASE LEAVE THIS FIX FOR NEXT VERSIONS AS IT'S A CRITICAL FIX !!!
[ "${ARCH}" = "hppa" ] && sed -e 's/utimes //' -i "${S}"/configure

if ! use wininst; then
# remove microsoft windows executables
rm Lib/distutils/command/wininst-*.exe
fi

eautoreconf
}

src_configure() {
# disable extraneous modules with extra dependencies
if use build; then
export PYTHON_DISABLE_MODULES="readline pyexpat dbm gdbm bsddb _curses _curses_panel _tkinter"
export PYTHON_DISABLE_SSL=1
else
# dbm module can link to berkdb or gdbm -- defaults to gdbm when
# both are enabled, see #204343
use berkdb || use gdbm \
|| PYTHON_DISABLE_MODULES="${PYTHON_DISABLE_MODULES} dbm"
use gdbm \
|| PYTHON_DISABLE_MODULES="${PYTHON_DISABLE_MODULES} gdbm"
use berkdb \
|| PYTHON_DISABLE_MODULES="${PYTHON_DISABLE_MODULES} bsddb"
use readline \
|| PYTHON_DISABLE_MODULES="${PYTHON_DISABLE_MODULES} readline"
use tk \
|| PYTHON_DISABLE_MODULES="${PYTHON_DISABLE_MODULES} _tkinter"
use ncurses \
|| PYTHON_DISABLE_MODULES="${PYTHON_DISABLE_MODULES} _curses _curses_panel"
use ssl \
|| export PYTHON_DISABLE_SSL=1
export PYTHON_DISABLE_MODULES
echo $PYTHON_DISABLE_MODULES
fi
}

src_compile() {
filter-flags -malign-double

# Seems to no longer be necessary
#[ "${ARCH}" = "amd64" ] && append-flags -fPIC
[ "${ARCH}" = "alpha