diff options
author | 2008-04-15 00:41:21 -0700 | |
---|---|---|
committer | 2008-04-15 00:41:21 -0700 | |
commit | e27d1ed519353951616fcb8bc9a10fdbc52660f0 (patch) | |
tree | a475fbcfefba26f4899fd514a3c6ec18fc803877 /dev-lang | |
parent | tp_smapi: Add a version that lets me have hdaps as a kernel module. (diff) | |
download | dberkholz-e27d1ed519353951616fcb8bc9a10fdbc52660f0.tar.gz dberkholz-e27d1ed519353951616fcb8bc9a10fdbc52660f0.tar.bz2 dberkholz-e27d1ed519353951616fcb8bc9a10fdbc52660f0.zip |
python: add 2.5.2.
Diffstat (limited to 'dev-lang')
-rw-r--r-- | dev-lang/python/ChangeLog | 1361 | ||||
-rw-r--r-- | dev-lang/python/Manifest | 17 | ||||
-rw-r--r-- | dev-lang/python/files/depreorder-topsort.py | 65 | ||||
-rw-r--r-- | dev-lang/python/files/depreorder.py | 66 | ||||
-rw-r--r-- | dev-lang/python/files/pydoc.conf | 8 | ||||
-rwxr-xr-x | dev-lang/python/files/pydoc.init | 26 | ||||
-rw-r--r-- | dev-lang/python/files/python-2.4.2-gentoo_obsd-r1.patch | 44 | ||||
-rw-r--r-- | dev-lang/python/files/python-2.4.2-gentoo_obsd.patch | 42 | ||||
-rw-r--r-- | dev-lang/python/files/python-2.4.4-test-cross.patch | 19 | ||||
-rwxr-xr-x | dev-lang/python/files/python-config-2.2 | 3 | ||||
-rwxr-xr-x | dev-lang/python/files/python-config-2.3 | 3 | ||||
-rw-r--r-- | dev-lang/python/files/python-config-2.4 | 4 | ||||
-rw-r--r-- | dev-lang/python/files/python-config-2.4-r1 | 58 | ||||
-rw-r--r-- | dev-lang/python/files/python-updater | 322 | ||||
-rw-r--r-- | dev-lang/python/files/python-updater-r1 | 322 | ||||
-rw-r--r-- | dev-lang/python/metadata.xml | 5 | ||||
-rw-r--r-- | dev-lang/python/python-2.5.2.ebuild | 326 |
17 files changed, 2691 insertions, 0 deletions
diff --git a/dev-lang/python/ChangeLog b/dev-lang/python/ChangeLog new file mode 100644 index 0000000..629ebc7 --- /dev/null +++ b/dev-lang/python/ChangeLog @@ -0,0 +1,1361 @@ +# 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.307 2008/03/11 16:01:07 corsair Exp $ + + 11 Mar 2008; Markus Rothe <corsair@gentoo.org> python-2.4.4-r9.ebuild: + Stable on ppc64; bug #211281 + + 11 Mar 2008; Tiziano Müller <dev-zero@gentoo.org> python-2.4.4-r9.ebuild, + python-2.5.1-r5.ebuild: + Changed newinitd/newconfd for pydoc to install the init.d/conf.d scripts as + pydoc-2.x (aka don't break slotting) + + 06 Mar 2008; nixnut <nixnut@gentoo.org> python-2.4.4-r9.ebuild: + Stable on ppc wrt bug 211281 + + 03 Mar 2008; Christoph Mende <angelos@gentoo.org> python-2.4.4-r9.ebuild: + Stable on amd64, bug #211281 + + 03 Mar 2008; Raúl Porcel <armin76@gentoo.org> python-2.4.4-r9.ebuild: + alpha/ia64/sparc/x86 stable wrt #211281 + + 03 Mar 2008; Jeroen Roovers <jer@gentoo.org> python-2.4.4-r9.ebuild: + Stable for HPPA (bug #211281). + + 01 Mar 2008; Tiziano Müller <dev-zero@gentoo.org> +files/pydoc.conf, + +files/pydoc.init, python-2.4.4-r9.ebuild, python-2.5.1-r5.ebuild: + Added init.d/conf.d scripts for the integrated pydoc webserver (bug #59903, + thanks to compnerd). + +*python-2.4.4-r9 (16 Feb 2008) + + 16 Feb 2008; Christian Faulhammer <opfer@gentoo.org> + +python-2.4.4-r9.ebuild: + fix bug 179377, with a dependency adjustment to proper slots of sys-libs/db, + provided by Petr Pisar <petr DOT pisar AT atlas DOT cz> + + 25 Jan 2008; Markus Rothe <corsair@gentoo.org> python-2.3.6-r4.ebuild: + Stable on ppc64; bug #198373 + + 23 Jan 2008; Peter Weller <welp@gentoo.org> python-2.3.6-r4.ebuild: + Stable on amd64; bug 198373 + + 23 Jan 2008; Raúl Porcel <armin76@gentoo.org> python-2.3.6-r4.ebuild: + alpha/ia64/sparc stable wrt security #198373 + + 23 Jan 2008; Christian Faulhammer <opfer@gentoo.org> + python-2.3.6-r4.ebuild: + stable x86, security bug 198373 + + 23 Jan 2008; Jeroen Roovers <jer@gentoo.org> python-2.3.6-r4.ebuild: + Stable for HPPA (bug #198373). + + 23 Jan 2008; Brent Baude <ranger@gentoo.org> python-2.3.6-r4.ebuild: + Marking python-2.3.6-r4 ppc for bug 198373 + +*python-2.3.6-r4 (22 Jan 2008) + + 22 Jan 2008; Ali Polatel <hawking@gentoo.org> +python-2.3.6-r4.ebuild: + Revision bump. New patchset for 2.3.6 including fixes for #198373 and #204343. + Changed berkdb DEPEND, quoting. + +*python-2.5.1-r5 (07 Jan 2008) +*python-2.4.4-r8 (07 Jan 2008) + + 07 Jan 2008; Ali Polatel <hawking@gentoo.org> +python-2.4.4-r8.ebuild, + +python-2.5.1-r5.ebuild: + Revision bump(s). New patchsets for 2.4.4 and 2.5.1 wrt #204700 and #204343 + +*python-2.5.1-r4 (18 Nov 2007) +*python-2.4.4-r7 (18 Nov 2007) + + 18 Nov 2007; Ali Polatel <hawking@gentoo.org> +python-2.4.4-r7.ebuild, + +python-2.5.1-r4.ebuild: + revbump(s). don't install windows executables, bug 198021. updated patchset + to fix implicit dependency on openssl, bug 198398. fix quoting. + + 27 Oct 2007; Tobias Scherbaum <dertobi123@gentoo.org> + python-2.3.6-r3.ebuild, python-2.4.4-r6.ebuild: + ppc stable, bug #192876 + + 26 Oct 2007; Ali Polatel <hawking@gentoo.org> python-2.4.4-r4.ebuild, + python-2.4.4-r5.ebuild, python-2.4.4-r6.ebuild: + Changed SRC_URI of python-gentoo-patches-2.4* to mirror://gentoo + + 25 Oct 2007; Jeroen Roovers <jer@gentoo.org> python-2.4.4-r6.ebuild: + Stable for HPPA (bug #192876). Fixed quoting issues. + + 25 Oct 2007; Jeroen Roovers <jer@gentoo.org> python-2.3.6-r3.ebuild: + Stable for HPPA (bug #192876). + + 25 Oct 2007; Raúl Porcel <armin76@gentoo.org> python-2.3.6-r3.ebuild, + python-2.4.4-r6.ebuild: + alpha/ia64/sparc stable wrt security #192876 + + 25 Oct 2007; Daniel Gryniewicz <dang@gentoo.org> python-2.3.6-r3.ebuild, + python-2.4.4-r6.ebuild: + Marked stable on amd64 for bug #192876 + + 25 Oct 2007; Markus Rothe <corsair@gentoo.org> python-2.3.6-r3.ebuild, + python-2.4.4-r6.ebuild: + Stable on ppc64; bug #192876 + + 25 Oct 2007; Christian Faulhammer <opfer@gentoo.org> + python-2.3.6-r3.ebuild: + stable x86, security bug 192876 + + 25 Oct 2007; Christian Faulhammer <opfer@gentoo.org> + python-2.4.4-r6.ebuild: + stable x86, security bug 192876 + +*python-2.5.1-r3 (24 Oct 2007) +*python-2.4.4-r6 (24 Oct 2007) +*python-2.3.6-r3 (24 Oct 2007) + + 24 Oct 2007; Ali Polatel <hawking@gentoo.org> +python-2.3.6-r3.ebuild, + +python-2.4.4-r6.ebuild, +python-2.5.1-r3.ebuild: + revbump(s). fix imageop integer overflows (CVE-2007-4965), bug 192876 + + 26 Sep 2007; Joshua Kinard <kumba@gentoo.org> python-2.4.4-r5.ebuild: + Stable on mips, per #188029. + + 24 Sep 2007; Ali Polatel <hawking@gentoo.org> python-2.5.1-r2.ebuild: + don't set LINKCC, removed nocxx use flag. don't pass --with-cxx=no to + configure. bug 193190 + + 22 Sep 2007; Jeroen Roovers <jer@gentoo.org> python-2.4.4-r5.ebuild: + Stable for HPPA (bug #188029). + + 22 Sep 2007; Ferris McCormick <fmccor@gentoo.org> python-2.4.4-r5.ebuild: + Sparc stable --- Bug #188029 --- all tests pass and portage still works. + + 22 Sep 2007; Brent Baude <ranger@gentoo.org> ChangeLog: + MArking python-2.4.4-r5 ppc64 for bug 188029 + + 22 Sep 2007; nixnut <nixnut@gentoo.org> python-2.4.4-r5.ebuild: + Stable on ppc wrt bug 188029 + + 22 Sep 2007; Tom Gall <tgall@gentoo.org> python-2.4.4-r5.ebuild: + stable on ppc64 + + 21 Sep 2007; Raúl Porcel <armin76@gentoo.org> python-2.4.4-r5.ebuild: + alpha/ia64 stable wrt #188029 + + 21 Sep 2007; Chris Gianelloni <wolf31o2@gentoo.org> + python-2.4.4-r5.ebuild: + Stable on x86 wrt bug #188029. + + 21 Sep 2007; Daniel Gryniewicz <dang@gentoo.org> python-2.4.4-r5.ebuild: + Marked stable on amd64 for bug #188029 + + 10 Sep 2007; Joel Martin <kanaka@gentoo.org> + +files/python-2.4.4-test-cross.patch, python-2.4.4-r4.ebuild, + python-2.4.4-r5.ebuild, python-2.5.1-r2.ebuild: + Fix cross-compile check and add small cross-compile patch to remove unicode + in one of the tests when cross-compiling. + + 08 Sep 2007; Zac Medico <zmedico@gentoo.org> + python-2.4.4-r4.ebuild, python-2.4.4-r5.ebuild: + Add build? ( !dev-python/pycrypto ) to RDEPEND in order to enforce + correct merge order for a stage building issue similar to bug #88777. + + 07 Sep 2007; Ali Polatel <hawking@gentoo.org> + -files/python-2.4.3-db4.patch, -files/python-2.4.3-gentoo_obsd.patch, + -files/python-2.4.3-gentoo_obsd-r1.patch, -python-2.4.3-r1.ebuild, + -python-2.4.3-r4.ebuild, -python-2.4.4.ebuild, -python-2.5-r2.ebuild: + Clean out old versions + + 03 Sep 2007; Zac Medico <zmedico@gentoo.org> python-2.4.4-r4.ebuild, + python-2.4.4-r5.ebuild, python-2.5-r2.ebuild, python-2.5.1-r2.ebuild: + Add build? ( !dev-python/python-fchksum ) to RDEPEND in order + to enforce correct merge order for bug #88777. + +*python-2.4.4-r5 (24 Aug 2007) + + 24 Aug 2007; Ali Polatel <hawking@gentoo.org> +files/python-config-2.4-r1, + +python-2.4.4-r5.ebuild: + Revision bump. Use python-config provided by python-2.5 with small changes + instead of our custom python-config-2.4. bug 188029 + + 20 Aug 2007; Roy Marples <uberlord@gentoo.org> python-2.5.1-r2.ebuild: + export LDFLAGS="-L." -> append-ldflags "-L.", #189298 + thanks to Arfrever Frehtes Taifersar Arahesis. + + 02 Jul 2007; Piotr Jaroszyński <peper@gentoo.org> python-2.3.5-r2.ebuild, + python-2.3.5-r3.ebuild, python-2.3.6.ebuild, python-2.3.6-r2.ebuild, + python-2.4.3-r1.ebuild, python-2.4.3-r4.ebuild, python-2.4.4.ebuild, + python-2.4.4-r4.ebuild, python-2.5-r2.ebuild, python-2.5.1-r2.ebuild: + (QA) RESTRICT clean up. + + 30 Jun 2007; Lars Weiler <pylon@gentoo.org> python-2.3.6-r2.ebuild, + python-2.5.1-r2.ebuild: + Keyworded ~ppc; bug #177426. + + 31 May 2007; Bryan Østergaard <kloeri@gentoo.org> metadata.xml: + Remove myself as I'm retiring. + + 19 May 2007; Peter Weller <welp@gentoo.org> python-2.5.1-r2.ebuild: + Keyworded ~amd64 wrt bug 177426 + + 19 May 2007; Peter Weller <welp@gentoo.org> python-2.3.6-r2.ebuild: + Added ~amd64 to python-2.3.6-r2 + + 17 May 2007; Bryan Østergaard <kloeri@gentoo.org> metadata.xml: + Mark myself as maintainer. + + 16 May 2007; Tobias Scherbaum <dertobi123@gentoo.org> + python-2.4.4-r4.ebuild: + ppc stable, bug #177804 + + 16 May 2007; Daniel Gryniewicz <dang@gentoo.org> python-2.4.4-r4.ebuild: + Marked stable on amd64 for bug #177804 + + 14 May 2007; Gustavo Zacarias <gustavoz@gentoo.org> + python-2.3.6-r2.ebuild, python-2.5.1-r2.ebuild: + Keyworded ~sparc wrt #177426 + + 14 May 2007; Bryan Østergaard <kloeri@gentoo.org> python-2.4.4-r4.ebuild: + Stable on Alpha and Mips. + + 14 May 2007; Daniel Gryniewicz <dang@gentoo.org> python-2.4.4-r4.ebuild: + Marked ~amd64 for bug #177804 + + 14 May 2007; Bryan Østergaard <kloeri@gentoo.org> python-2.4.4-r4.ebuild: + Fix 2.4.4-r4 tests always being disabled. + + 14 May 2007; Gustavo Zacarias <gustavoz@gentoo.org> + python-2.4.4-r4.ebuild: + Stable on sparc wrt security #177804 + + 14 May 2007; Bryan Østergaard <kloeri@gentoo.org> python-2.3.6-r2.ebuild, + python-2.4.4-r4.ebuild, -python-2.5.1-r1.ebuild, python-2.5.1-r2.ebuild: + Fix small bug preventing tests from running, fix manpage symlinks (bug + 177471) and filter as-needed in python-2.3.6-r2 (bug 177614). + + 14 May 2007; Jeroen Roovers <jer@gentoo.org> python-2.4.4-r4.ebuild: + Stable for HPPA (bug #177804). + + 13 May 2007; Markus Rothe <corsair@gentoo.org> python-2.4.4-r4.ebuild: + Stable on ppc64; bug #177804 + + 12 May 2007; Roy Marples <uberlord@gentoo.org> python-2.4.4-r4.ebuild: + Added ~sparc-fbsd keyword. + + 12 May 2007; Raúl Porcel <armin76@gentoo.org> python-2.4.4-r4.ebuild: + ia64 + x86 stable wrt security bug #177804 + + 12 May 2007; Markus Rothe <corsair@gentoo.org> python-2.3.6-r2.ebuild, + python-2.4.4-r4.ebuild, python-2.5.1-r2.ebuild: + Added ~ppc64; bug #177426 + + 11 May 2007; Bryan Østergaard <kloeri@gentoo.org> python-2.4.4-r4.ebuild, + python-2.5.1-r2.ebuild: + Add ~alpha and ~mips keywords. + + 11 May 2007; Bryan Østergaard <kloeri@gentoo.org> + -python-2.1.3-r1.ebuild, -python-2.2.3-r6.ebuild: + More cleanups, this time removing <python-2.3. + + 11 May 2007; Bryan Østergaard <kloeri@gentoo.org> + -python-2.3.6-r1.ebuild, -python-2.4.4-r2.ebuild, -python-2.4.4-r3.ebuild, + -python-2.5-r1.ebuild, -python-2.5.1.ebuild: + Clean out some old versions. + +*python-2.5.1-r2 (11 May 2007) +*python-2.4.4-r4 (11 May 2007) + + 11 May 2007; Bryan Østergaard <kloeri@gentoo.org> + +python-2.4.4-r4.ebuild, +python-2.5.1-r2.ebuild: + Only apply crosscompile patch conditionally, drop tests if crosscompiling + and fix PyLocale.strxfrm leak from bug 177804. srtxfrm from Debian bug + 416934 + +*python-2.5.1-r1 (10 May 2007) +*python-2.4.4-r3 (10 May 2007) +*python-2.3.6-r2 (10 May 2007) + + 10 May 2007; Bryan Østergaard <kloeri@gentoo.org> + +python-2.3.6-r2.ebuild, +python-2.4.4-r3.ebuild, +python-2.5.1-r1.ebuild: + Change threads USE flag to nothreads, fix non-linux linker issue and fix + man-page symlink. + + 08 May 2007; Roy Marples <uberlord@gentoo.org> python-2.5.1.ebuild: + Added ~sparc-fbsd keyword, #177426. + Added ~x86-fbsd keyword, #177426. + export LDFLAGS="-L." so we link modules correctly on FreeBSD and possibly + other systems where python2.5 isn't installed yet. + + 08 May 2007; Raúl Porcel <armin76@gentoo.org> python-2.3.6-r1.ebuild, + python-2.4.4-r2.ebuild, python-2.5.1.ebuild: + Add ~ia64 wrt 177426 + + 08 May 2007; Roy Marples <uberlord@gentoo.org> python-2.4.4-r2.ebuild: + Added ~x86-fbsd keyword, #177426. + + 08 May 2007; Bryan Østergaard <kloeri@gentoo.org> python-2.3.6-r1.ebuild, + python-2.4.4-r2.ebuild, python-2.5.1.ebuild: + Change nptl USE flag to threads. + + 08 May 2007; Jeroen Roovers <jer@gentoo.org> python-2.5.1.ebuild: + Marked ~hppa (bug #177426). + + 07 May 2007; Jeroen Roovers <jer@gentoo.org> python-2.4.4-r2.ebuild: + Marked ~hppa (bug #177426). + + 07 May 2007; Jeroen Roovers <jer@gentoo.org> python-2.3.6-r1.ebuild: + Marked ~hppa (bug #177426). + +*python-2.4.4-r2 (07 May 2007) + + 07 May 2007; Bryan Østergaard <kloeri@gentoo.org> + -python-2.4.4-r1.ebuild, +python-2.4.4-r2.ebuild: + Fix broken 2.4.4 patch causing wrong linking. + + 07 May 2007; Gustavo Zacarias <gustavoz@gentoo.org> python-2.4.4.ebuild: + Stable on sparc + + 07 May 2007; Bryan Østergaard <kloeri@gentoo.org> python-2.3.6-r1.ebuild, + python-2.4.4.ebuild, python-2.4.4-r1.ebuild: + Fix 2.3.6-r1 patch (bug 177464) and disable sax test in 2.4.4. + + 07 May 2007; Bryan Østergaard <kloeri@gentoo.org> python-2.3.5-r2.ebuild, + python-2.3.5-r3.ebuild, python-2.3.6.ebuild, python-2.3.6-r1.ebuild, + python-2.4.3-r1.ebuild, python-2.4.3-r4.ebuild, python-2.4.4.ebuild, + python-2.4.4-r1.ebuild, python-2.5-r1.ebuild, python-2.5-r2.ebuild: + Stable on Alpha, IA64 and x86 + fix digest issue reported in bug 177440. + +*python-2.5.1 (06 May 2007) +*python-2.4.4-r1 (06 May 2007) +*python-2.3.6-r1 (06 May 2007) + + 06 May 2007; Bryan Østergaard <kloeri@gentoo.org> + +python-2.3.6-r1.ebuild, +python-2.4.4-r1.ebuild, +python-2.5.1.ebuild: + Build problems fixed: + bug 120099 dev-lang/python-2.4.2 builds against sys-libs/gdbm with USE="-gdbm" + bug 135239 crosscompiling python. python-2.4.1-bindir-libdir.patch + bug 138647 dev-lang/python-x.x.x distutils installer does not link libraries + bug 150595 dev-lang/python-2.5 fails to compile with LC_ALL=de_DE@euro + bug 150732 python-2.4.3-r4 does not honor ROOT + bug 159967 python doesn't add pthread to LIBS correctly on BSD + + Other problems fixed: + bug 148362 File collision between python-2.4* and python-2.5* + bug 151695 dev-python/python-docs env.d entry incorrect + bug 158383 emerging python-2.4.3-r4 segfaults with -ipv6 + bug 165268 dev-lang/python-2.4.4 fails to build the dbm module + + Test failures fixed: + bug 82469: QA issue: python-2.3.5-maketest failes with propolice + bug 124188 dev-lang/python-2.4.2 fails test_cookielib + bug 154247 dev-lang/python-2.4.4 tests failed: test_sax failed -- 1 of 42 tests failed: test_xmlgen_attr_escape + + Feature requests: + bug 131325 python 2.4.4/2.3.6 enable pthreads inconditionaly + bug 135617 dev-lang/python should install Tools/freeze + bug 176066 dev-lang/python-2.5.1 bump + + Fixed in current upstream version: + bug 90660 python-2.3.5: No module named fcntl + bug 144798 dev-lang/python-2.4.3 with TZ=Australia/Melbourne fails test + bug 151246 signed integer overflow bug in dev-lang/python-2.4.3 + bug 159553 dev-lang/python-2.4.3-r4 fails test_openpty + bug 162057 dev-lang/python fails tests in test_expanduser + +*python-2.5-r2 (31 Mar 2007) + + 31 Mar 2007; Marien Zwart <marienz@gentoo.org> +python-2.5-r2.ebuild: + Revision bump python 2.5 with distutils and execstack fixes (rebuilding + installed extensions is recommended if upgrading from an older python 2.5 + ebuild). Remove unnecessary pysqlite block. Fix python 2.3 digest problem. + + 06 Feb 2007; Marius Mauch <genone@gentoo.org> python-2.3.5-r2.ebuild, + python-2.3.5-r3.ebuild, python-2.3.6.ebuild, python-2.4.3-r1.ebuild, + python-2.4.3-r4.ebuild, python-2.4.4.ebuild, python-2.5-r1.ebuild: + Replacing einfo with elog + + 11 Nov 2006; Bryan Østergaard <kloeri@gentoo.org> python-2.3.6.ebuild: + Fix lib64 patch, bug 154711. + +*python-2.3.6 (09 Nov 2006) + + 09 Nov 2006; Bryan Østergaard <kloeri@gentoo.org> +python-2.3.6.ebuild: + Bump version, bug 153944. + +*python-2.4.4 (04 Nov 2006) + + 04 Nov 2006; Bryan Østergaard <kloeri@gentoo.org> +python-2.4.4.ebuild: + Version bump. + + 18 Oct 2006; Roy Marples <uberlord@gentoo.org> python-2.4.3-r4.ebuild, + python-2.5-r1.ebuild: + Added ~sparc-fbsd keyword. + + 27 Sep 2006; Bryan Østergaard <kloeri@gentoo.org> python-2.3.5-r3.ebuild, + python-2.4.3-r4.ebuild: + Stable on ia64. + + 27 Sep 2006; Bryan Østergaard <kloeri@gentoo.org> python-2.3.5-r3.ebuild, + python-2.4.3-r4.ebuild: + Stable on Alpha. + + 27 Sep 2006; Joshua Jackson <tsunam@gentoo.org> python-2.3.5-r3.ebuild, + python-2.4.3-r4.ebuild: + Stable x86; bug #149065 + + 27 Sep 2006; Jason Wever <weeve@gentoo.org> python-2.3.5-r3.ebuild, + python-2.4.3-r4.ebuild: + Stable on SPARC wrt security bug #149065. + + 26 Sep 2006; Gustavo Zacarias <gustavoz@gentoo.org> + python-2.3.5-r3.ebuild, python-2.4.3-r4.ebuild: + Stable on hppa wrt security #149065 + + 26 Sep 2006; Simon Stelling <blubb@gentoo.org> python-2.3.5-r3.ebuild: + stable on amd64; bug 149065 + + 26 Sep 2006; Tobias Scherbaum <dertobi123@gentoo.org> + python-2.3.5-r3.ebuild, python-2.4.3-r4.ebuild: + ppc stable, bug #149065 + + 26 Sep 2006; Simon Stelling <blubb@gentoo.org> python-2.4.3-r4.ebuild: + stable on amd64; bug 149065 + + 26 Sep 2006; Markus Rothe <corsair@gentoo.org> python-2.3.5-r3.ebuild, + python-2.4.3-r4.ebuild: + Stable on ppc64; bug #149065 + +*python-2.4.3-r4 (26 Sep 2006) +*python-2.3.5-r3 (26 Sep 2006) + + 26 Sep 2006; Marien Zwart <marienz@gentoo.org> +python-2.3.5-r3.ebuild, + +python-2.4.3-r4.ebuild: + Revision bumps for bug #149065. + +*python-2.5-r1 (19 Sep 2006) + + 19 Sep 2006; Alastair Tse <liquidx@gentoo.org> python-2.5.ebuild + +python-2.5-r1.ebuild: + Fixed patches that still contain the zlib mistake from the 2.4 + patchset. Disabled etree tests. + +*python-2.5 (19 Sep 2006) + + 19 Sep 2006; Alastair Tse <liquidx@gentoo.org> -python-2.4.3-r2.ebuild, + +python-2.5.ebuild: + python 2.5 released. + +*python-2.4.3-r3 (28 Aug 2006) + + 28 Aug 2006; Alastair Tse <liquidx@gentoo.org> +python-2.4.3-r3.ebuild: + fix mistake introduced in 2.4.3-r2 where system zlib was used that caused + problems on certain machines (#145242) + +*python-2.4.3-r2 (26 Aug 2006) + + 26 Aug 2006; Alastair Tse <liquidx@gentoo.org> +python-2.4.3-r2.ebuild: + cleanup 2.4.3 ebuild, fix collisions with slotted versions of pydoc and + idle, fix multilib installs so that everything is installed in /usr/lib64 + rather than just the .so (#118805) + + 22 Aug 2006; Alastair Tse <liquidx@gentoo.org> python-2.2.3-r6.ebuild, + python-2.3.5-r2.ebuild, -python-2.4.2.ebuild, -python-2.4.2-r1.ebuild, + -python-2.4.2-r2.ebuild, -python-2.4.3.ebuild, python-2.4.3-r1.ebuild: + renamed patches to have short names and version numbers to indicate when + they were introduced. patches tarballs are now generated from gentoo-svn. + cleaned up older unstable versions of python leaving the latest version for + each major release. fixed some installed file collisions between the two + version. + + 20 Jul 2006; Simon Stelling <blubb@gentoo.org> python-2.4.3-r1.ebuild: + stable on amd64 + + 11 Jul 2006; Alastair Tse <liquidx@gentoo.org> python-2.4.3-r1.ebuild: + python-2.2.3-r6.ebuild, python-2.3.5-r2.ebuild, python-2.4.2.ebuild, + python-2.4.2-r1.ebuild, python-2.4.2-r2.ebuild, python-2.4.3.ebuild, + python-2.4.3-r1.ebuild: + Typo fix in DESCRIPTION (#139463) + + 09 Jul 2006; Joshua Kinard <kumba@gentoo.org> python-2.4.3-r1.ebuild: + Marked stable on mips. + + 08 Jul 2006; Doug Goldstein <cardoe@gentoo.org> python-2.1.3-r1.ebuild, + python-2.2.3-r6.ebuild, python-2.3.5-r2.ebuild, python-2.4.2.ebuild, + python-2.4.2-r1.ebuild, python-2.4.2-r2.ebuild, python-2.4.3.ebuild, + python-2.4.3-r1.ebuild: + split USE='tcltk' to 'tcl' & 'tk' per bug #17808. Nuked X USE flag since it + was only to find tk from tcltk + + 30 Jun 2006; Joel Martin <kanaka@gentoo.org> python-2.4.3-r1.ebuild: + Cross-compile update: bindir-libdir patch is no longer needed and will break + the patching if it's there. Also, unset CC to force the native python build + to use the native compiler. + + 28 Jun 2006; Tobias Scherbaum <dertobi123@gentoo.org> + python-2.4.3-r1.ebuild: + ppc stable, #138268 + + 28 Jun 2006; Gustavo Zacarias <gustavoz@gentoo.org> + python-2.4.3-r1.ebuild: + Stable on sparc wrt #138268 + + 28 Jun 2006; Guy Martin <gmsoft@gentoo.org> python-2.4.3-r1.ebuild: + Stable on hppa. + + 28 Jun 2006; Markus Rothe <corsair@gentoo.org> python-2.4.3-r1.ebuild: + Stable on ppc64; bug #138268 + + 27 Jun 2006; Bryan Østergaard <kloeri@gentoo.org> python-2.4.3-r1.ebuild: + Stable on alpha, ia64 and x86. + +*python-2.4.3-r1 (04 May 2006) +*python-2.4.2-r2 (04 May 2006) + + 04 May 2006; Bryan Østergaard <kloeri@gentoo.org> + +files/python-2.4.2-gentoo_obsd-r1.patch, + +files/python-2.4.3-gentoo_obsd-r1.patch, +python-2.4.2-r2.ebuild, + +python-2.4.3-r1.ebuild: + Fix obsd patch (thanks reb) fixing bugs 117261 and 130140. + + 27 Apr 2006; Marien Zwart <marienz@gentoo.org> + files/digest-python-2.1.3-r1, files/digest-python-2.2.3-r6, Manifest: + Fixing SHA256 digest, pass four + + 14 Apr 2006; Bryan Østergaard <kloeri@gentoo.org + +files/python-2.4.2-gentoo_obsd.patch, + +files/python-2.4.3-gentoo_obsd.patch, python-2.4.2-r1.ebuild, + python-2.4.3.ebuild: + Add gentoo/obsd patch, bug 117261. + +*python-2.4.3 (13 Apr 2006) + + 13 Apr 2006; Bryan Østergaard <kloeri@gentoo.org + +files/python-2.4.3-db4.patch, +python-2.4.3.ebuild: + Version bump to 2.4.3. + + 30 Mar 2006; Diego Pettenò <flameeyes@gentoo.org> python-2.4.2-r1.ebuild: + Add ~x86-fbsd keyword. + + 16 Feb 2006; Marien Zwart <marienz@gentoo.org> + -files/python-2.2.3-db4.patch, + -files/python-2.2.3-disable_modules_and_ssl.patch, + -files/python-2.2.3-fPIC.patch, + -files/python-2.2.3-gentoo_py_dontcompile.patch, + -files/python-2.2.3-xmlrpc.patch, + -files/python-2.3.2-disable_modules_and_ssl.patch, + -files/python-2.3.4-lib64.patch, -files/python-2.3.5-st_flags.patch, + -files/python-2.3-add_portage_search_path.patch, + -files/python-2.3-add_portage_search_path_take_2.patch, + -files/python-2.3-db4.2.patch, + -files/python-2.3-gentoo_py_dontcompile.patch, + -files/python-2.3-mimetypes_apache.patch, -files/python-2.3-pcre.patch, + -files/python-2.3-readline.patch, -files/python-2.4.1-bindir-libdir.patch, + -files/python-2.4.1-crosscompile.patch, -files/python-2.4.1-db4.patch, + -files/python-2.4.1-libdir.patch, -files/python-2.4.1-st_flags.patch, + -files/python-2.4.2-mmap+fd.patch, -files/python-2.4.2-no-threads.patch, + -files/python-2.4.2-readline.patch, + -files/python-2.4-add_portage_search_path.patch, + -files/python-2.4-disable_modules_and_ssl.patch, + -files/python-2.4-gentoo_py_dontcompile.patch, + -files/python-2.4-mimetypes_apache.patch, python-2.2.3-r6.ebuild, + python-2.3.5-r2.ebuild, python-2.4.2.ebuild, python-2.4.2-r1.ebuild: + Move patches from files dir to separate tarballs. + + 16 Feb 2006; Marien Zwart <marienz@gentoo.org> -files/python-config-2.2.1, + -files/python-2.2.1-r5-gentoo.diff, -files/python-config-2.2.2, + -files/python-2.2.2-tk-8.4.x.patch, -files/python-2.3-xmlrpc.patch, + -files/python-2.4-db4.2.patch, -files/python-2.4-lib64.patch, + -files/python-2.4.1-readline.patch, -files/python-2.4-libdir.patch, + -files/python-2.4-readline.patch, -files/python-2.4-xmlrpc.patch, + -python-2.3.4-r1.ebuild, -python-2.3.5.ebuild, -python-2.3.5-r1.ebuild, + -python-2.4-r3.ebuild, -python-2.4.1.ebuild, -python-2.4.1-r1.ebuild: + Remove old versions. + + 08 Feb 2006; Marien Zwart <marienz@gentoo.org> python-2.3.5-r2.ebuild, + python-2.4.2.ebuild, python-2.4.2-r1.ebuild: + Disable confcache (breaks .so loading). + + 02 Feb 2006; Bryan Østergaard <kloeri@gentoo.org + +files/python-2.4.2-mmap+fd.patch: + Add missing python-2.4.2-mmap+fd.patch. + +*python-2.4.2-r1 (02 Feb 2006) + + 02 Feb 2006; Bryan Østergaard <kloeri@gentoo.org + +files/depreorder-topsort.py, +files/python-updater-r1, + +python-2.4.2-r1.ebuild: + No more libstdc++.so linking, fix python-updater ordering (bug #95538) + + mmap (bug #113439) and fd leak (bug #118575) fixes. + + 13 Jan 2006; Mike Frysinger <vapier@gentoo.org> + +files/python-2.4.2-no-threads.patch, python-2.4.2.ebuild: + Fix from upstream for building without threads. + + 24 Nov 2005; Markus Rothe <corsair@gentoo.org> python-2.4.2.ebuild: + Stable on ppc64 + + 17 Nov 2005; Guy Martin <gmsoft@gentoo.org> python-2.4-r3.ebuild, + python-2.4.1.ebuild, python-2.4.1-r1.ebuild, python-2.4.2.ebuild: + Readded critical fix for HPPA. + + 21 Oct 2005; Aaron Walker <ka0ttic@gentoo.org> python-2.4.2.ebuild: + Stable on mips. + + 15 Oct 2005; MATSUU Takuto <matsuu@gentoo.org> python-2.4.2.ebuild: + Stable on sh. + + 15 Oct 2005; Michael Hanselmann <hansmi@gentoo.org> python-2.4.2.ebuild: + Stable on hppa, ppc. + + 14 Oct 2005; Gustavo Zacarias <gustavoz@gentoo.org> python-2.4.2.ebuild: + Stable on sparc + + 14 Oct 2005; Bryan Østergaard <kloeri@gentoo.org> python-2.4.2.ebuild: + Stable on alpha. + + 13 Oct 2005; Luis Medinas <metalgod@gentoo.org> python-2.4.2.ebuild: + Marked Stable on amd64. + + 13 Oct 2005; Aron Griffis <agriffis@gentoo.org> python-2.4.2.ebuild: + Mark 2.4.2 stable on ia64 + + 13 Oct 2005; Rob Cakebread <pythonhead@gentoo.org> python-2.4.2.ebuild: + Marked x86 stable per Mr_Bones_ - memory leak in posix.access() + + 10 Oct 2005; Gustavo Zacarias <gustavoz@gentoo.org> + python-2.4.1-r1.ebuild: + Stable on sparc + + 10 Oct 2005; Luis Medinas <metalgod@gentoo.org> python-2.4.1-r1.ebuild: + Marked Stable on amd64. + + 10 Oct 2005; Markus Rothe <corsair@gentoo.org> python-2.4.1-r1.ebuild: + Stable on ppc64 + + 09 Oct 2005; Michael Hanselmann <hansmi@gentoo.org> + python-2.4.1-r1.ebuild: + Stable on hppa, ppc. + + 08 Oct 2005; Bryan Østergaard <kloeri@gentoo.org> python-2.4.1-r1.ebuild: + Stable python-2.4 on alpha, ia64 and x86. + + 01 Oct 2005; Bryan Østergaard <kloeri@gentoo.org> python-2.3.5-r2.ebuild, + python-2.4.1-r1.ebuild, python-2.4.2.ebuild: + Disable additional test, fixing bug 82469, 94859, 96366 and 96488. + +*python-2.4.2 (28 Sep 2005) + + 28 Sep 2005; Bryan Østergaard <kloeri@gentoo.org> + +files/python-2.4.2-readline.patch, +python-2.4.2.ebuild: + Bump version to 2.4.2. + + 14 Sep 2005; Aaron Walker <ka0ttic@gentoo.org> python-2.3.5-r2.ebuild: + 2.3.5-r2 stable on mips for security bug #104009. + + 11 Sep 2005; Simon Stelling <blubb@gentoo.org> python-2.3.5-r2.ebuild: + stable on amd64 wrt bug 104009 + + 10 Sep 2005; Michael Hanselmann <hansmi@gentoo.org> + python-2.3.5-r2.ebuild: + Stable on ppc and hppa. + + 10 Sep 2005; MATSUU Takuto <matsuu@gentoo.org> python-2.3.5-r2.ebuild: + Stable on sh. + + 09 Sep 2005; Josh Grebe <squash@gentoo.org> python-2.3.5-r2.ebuild: + Sparc stable bump for bug #104009 + + 09 Sep 2005; Markus Rothe <corsair@gentoo.org> python-2.3.5-r2.ebuild: + Stable on ppc64 + + 08 Sep 2005; Bryan Østergaard <kloeri@gentoo.org> python-2.3.5-r2.ebuild: + Stable on x86, alpha and ia64 - bug 104009. + +*python-2.3.5-r2 (08 Sep 2005) + + 08 Sep 2005; Bryan Østergaard <kloeri@gentoo.org> + +files/python-2.3-pcre.patch, +python-2.3.5-r2.ebuild: + Version bump to fix pcre security vulnerability, bug 104009. + + 16 Aug 2005; Bryan Østergaard <kloeri@gentoo.org> python-2.3.4-r1.ebuild, + python-2.3.5.ebuild: + Add fix for bug 88777 to arch versions. + + 15 Aug 2005; Bryan Østergaard <kloeri@gentoo.org> python-2.3.5-r1.ebuild, + python-2.4.1-r1.ebuild: + Fix bug 88777 in ~arch versions. + + 11 Aug 2005; Mike Frysinger <vapier@gentoo.org> + +files/python-2.4.1-bindir-libdir.patch, + +files/python-2.4.1-crosscompile.patch, python-2.4.1-r1.ebuild: + Add support for cross-compiling. Grabbed patches from uClibc/OpenEmbedded. + + 19 Jul 2005; Bryan Østergaard <kloeri@gentoo.org> + +files/python-2.4.1-st_flags.patch, python-2.4.1-r1.ebuild: + Update st_flags patch, bug 94637. + + 03 Jul 2005; Bryan Østergaard <kloeri@gentoo.org> python-2.3.5.ebuild: + Stable on alpha. + + 27 Jun 2005; Markus Rothe <corsair@gentoo.org> python-2.3.5.ebuild: + Stable on ppc64 + + 18 Jun 2005; Markus Rothe <corsair@gentoo.org> python-2.4.1-r1.ebuild: + added ~ppc64 + +*python-2.4.1-r1 (16 Jun 2005) +*python-2.3.5-r1 (16 Jun 2005) + + 16 Jun 2005; Bryan Østergaard <kloeri@gentoo.org> + +files/python-2.3.5-st_flags.patch, +python-2.3.5-r1.ebuild, + +python-2.4.1-r1.ebuild: + Add st_flags patch, requested in bug 94637. + + 09 Jun 2005; Herbie Hopkins <herbs@gentoo.org> + files/python-2.4.1-libdir.patch, python-2.4.1.ebuild: + Fix libdir patch to work with amd64s no-symlink profile, removed + append-flags -fPIC as this seems to no longer be necessary. + + 29 May 2005; <solar@gentoo.org> python-2.3.4-r1.ebuild, python-2.3.5.ebuild, + python-2.4-r3.ebuild, python-2.4.1.ebuild: + echangelog - update package to use libc expanded variable elibc_uclibc vs + uclibc so USE=-* works + + 29 May 2005; Alastair Tse <liquidx@gentoo.org> + files/python-2.4.1-libdir.patch: + remove zlib from libpython dependency (#90545) + + 28 May 2005; Bryan Østergaard <kloeri@gentoo.org> python-2.1.3-r1.ebuild, + python-2.2.3-r6.ebuild, python-2.3.4-r1.ebuild, python-2.3.5.ebuild, + python-2.4-r3.ebuild, python-2.4.1.ebuild: + Add missing inherit versionator. + + 21 May 2005; Bryan Østergaard <kloeri@gentoo.org> python-2.1.3-r1.ebuild: + Fix PROVIDE according to bug 93028. + + 18 May 2005; Markus Rothe <corsair@gentoo.org> python-2.3.5.ebuild: + Added ~ppc64 to KEYWORDS + + 11 May 2005; Marcus D. Hanwell <cryos@gentoo.org> python-2.3.5.ebuild: + Stable on amd64. + + 07 May 2005; Bryan Østergaard <kloeri@gentoo.org> python-2.3.5.ebuild, + python-2.4.1.ebuild: + Fix FEATURES=test using slightly modified patch by Rob Cakebread, bug 67970. + + 01 May 2005; Stephen Bennett <spb@gentoo.org> python-2.3.4-r1.ebuild, + python-2.3.5.ebuild, python-2.4.1.ebuild: + Added compile fix for when $LIBC is set. + + 30 Apr 2005; Michael Hanselmann <hansmi@gentoo.org> python-2.3.5.ebuild: + Stable on ppc. + + 28 Apr 2005; Gustavo Zacarias <gustavoz@gentoo.org> python-2.3.5.ebuild: + Stable on sparc + +*python-2.4.1 (27 Apr 2005) + + 27 Apr 2005; Alastair Tse <liquidx@gentoo.org> + +files/python-2.4.1-db4.patch, +files/python-2.4.1-libdir.patch, + +files/python-2.4.1-readline.patch, files/python-2.4-readline.patch, + -python-2.3.3-r2.ebuild, python-2.3.5.ebuild, -python-2.4-r1.ebuild, + -python-2.4-r2.ebuild, +python-2.4.1.ebuild: + version bump for 2.4.1, clean up readling, db4 and libdir patch for 2.4.1. + + 20 Apr 2005; Alastair Tse <liquidx@gentoo.org> python-2.3.5.ebuild, + python-2.4-r3.ebuild: + reverting changes to deps and adding note about why they are arranged in + that way (to remind myself never to touch them again :) + + 20 Apr 2005; Alastair Tse <liquidx@gentoo.org> + +files/python-2.3-readline.patch, +files/python-2.4-readline.patch, + python-2.3.5.ebuild, python-2.4-r3.ebuild: + fixing readline support to not require termcap (#79013). fixed DEPEND + and RDEPEND order (python-fchksum isn't a DEPEND only) + + 08 Apr 2005; Markus Rothe <corsair@gentoo.org> python-2.3.4-r1.ebuild: + Stable on ppc64 + +*python-2.4-r3 (19 Mar 2005) + + 19 Mar 2005; Rob Cakebread <pythonhead@gentoo.org> + files/python-2.4-libdir.patch, +python-2.4-r3.ebuild: + Removed multiple dirs in sys path. bug# 83109 + + 15 Mar 2005; Alastair Tse <liquidx@gentoo.org> python-2.3.5.ebuild: + more multilib fixes (#76791) + + 01 Mar 2005; Bryan Østergaard <kloeri@gentoo.org> python-2.3.5.ebuild, + python-2.4-r1.ebuild: + Fix conditional c++ support for remaining versions. + + 27 Feb 2005; Bryan Østergaard <kloeri@gentoo.org> python-2.3.3-r2.ebuild, + python-2.3.4-r1.ebuild, python-2.4-r2.ebuild: + Disable c++ conditionally. + +*python-2.3.5 (17 Feb 2005) + + 17 Feb 2005; Rob Cakebread <pythonhead@gentoo.org> +python-2.3.5.ebuild: + Version bump. + + 09 Feb 2005; Luca Barbato <lu_zero@gentoo.org> python-2.3.4-r1.ebuild: + Marked ppc + +*python-2.4-r2 (07 Feb 2005) + + 07 Feb 2005; Jeremy Huddleston <eradicator@gentoo.org> + +files/python-2.4-libdir.patch, files/python-updater, +python-2.4-r2.ebuild: + Multilib releated cleanup. + +*python-2.2.3-r6 (06 Feb 2005) + + 06 Feb 2005; Rob Cakebread <pythonhead@gentoo.org> + +files/python-2.2.3-xmlrpc.patch, +files/python-2.3-xmlrpc.patch, + +files/python-2.4-xmlrpc.patch, -python-2.2.3-r5.ebuild, + +python-2.2.3-r6.ebuild, -python-2.3.3-r1.ebuild, +python-2.3.3-r2.ebuild, + -python-2.3.3.ebuild, +python-2.3.4-r1.ebuild, -python-2.3.4.ebuild, + +python-2.4-r1.ebuild, -python-2.4.ebuild: + Patches and version bumps for security bug# 80592 Python bug# PSF-2005-001 xmlrpc + vulnerability. Removed obsolete versions. + + 06 Jan 2005; Bryan Østergaard <kloeri@gentoo.org> python-2.4.ebuild: + Fix broken Manifest. + + 05 Jan 2005; Rob Cakebread <pythonhead@gentoo.org> python-2.4.ebuild: + Only apply lib64 patch on CONF_LIBDIR == lib64 + + 04 Jan 2005; Rob Cakebread <pythonhead@gentoo.org> + +files/python-2.4-lib64.patch, python-2.4.ebuild: + Added lib64 patch + +*python-2.4 (04 Jan 2005) + + 04 Jan 2005; Rob Cakebread <pythonhead@gentoo.org> + +files/python-2.4-add_portage_search_path.patch, + +files/python-2.4-db4.2.patch, + +files/python-2.4-disable_modules_and_ssl.patch, + +files/python-2.4-gentoo_py_dontcompile.patch, + +files/python-2.4-mimetypes_apache.patch, files/python-updater, + +python-2.4.ebuild: + Version bump. bug# 68775 + + 29 Dec 2004; Ciaran McCreesh <ciaranm@gentoo.org> : + Change encoding to UTF-8 for GLEP 31 compliance + + 06 Nov 2004; Joshua Kinard <kumba@gentoo.org> python-2.3.4.ebuild: + Marked stable on mips. + + 29 Oct 2004; Alastair Tse <liquidx@gentoo.org> files/python-updater: + improvements with tmp log creation with python-updater (#68843) + + 19 Oct 2004; Guy Martin <gmsoft@gentoo.org> python-2.3.4.ebuild: + Stable on hppa. + + 19 Oct 2004; Dylan Carlson <absinthe@gentoo.org> python-2.3.4.ebuild: + Stable on amd64. + + 19 Oct 2004; Alastair Tse <liquidx@gentoo.org> python-2.3.4.ebuild: + fix problem with tk-inter and USE flags handing (grumble) + + 18 Oct 2004; Mike Frysinger <vapier@gentoo.org> python-2.3.3-r1.ebuild, + python-2.3.4.ebuild: + Forward part from 2.3.3-r1 the removal of directories in /usr/lib/python + based upon USE flags. + + 17 Oct 2004; Jason Wever <weeve@gentoo.org> python-2.3.4.ebuild: + Stable on sparc. + + 24 Sep 2004; Alastair Tse <liquidx@gentoo.org> -python-2.2.2.ebuild, + python-2.3.3-r1.ebuild, python-2.3.3.ebuild, python-2.3.4.ebuild, + -python-2.3.4_rc1.ebuild: + adding workaround for -fstack-protector-all (#50309) + + 06 Sep 2004; Ciaran McCreesh <ciaranm@gentoo.org> python-2.3.3-r1.ebuild, + python-2.3.3.ebuild, python-2.3.4.ebuild, python-2.3.4_rc1.ebuild: + Switch to use epause and ebeep, bug #62950 + + 31 Aug 2004; Guy Martin <gmsoft@gentoo.org> python-2.3.4.ebuild: + Removed useless -fPIC for hppa. + + 18 Aug 2004; Aron Griffis <agriffis@gentoo.org> python-2.3.4.ebuild: + stable on alpha + + 14 Aug 2004; Travis Tilley <lv@gentoo.org> +files/python-2.3.4-lib64.patch, + python-2.3.3-r1.ebuild, python-2.3.4.ebuild: + added logic for installing to /usr/lib64, triggered by the CONF_LIBDIR + variable. proper CONF_LIBDIR support will require portage 2.0.51_pre18, soon + to be released. + + 20 Jul 2004; Lars Weiler <pylon@gentoo.org> python-2.1.3-r1.ebuild: + Made python-2.1 stable on ppc as there are still some ebuilds which require + this version. + + 03 Jul 2004; Bryan Østergaard <kloeri@gentoo.org> python-2.3.3-r1.ebuild: + Stable on alpha. + + 03 Jul 2004; Grant Goodyear <g2boojum@gentoo.org> python-2.3.4.ebuild: + x86-obsd minor fix + + 01 Jul 2004; Jeremy Huddleston <eradicator@gentoo.org> + python-2.1.3-r1.ebuild, python-2.2.2.ebuild, python-2.2.3-r5.ebuild, + python-2.3.3-r1.ebuild, python-2.3.3.ebuild, python-2.3.4.ebuild, + python-2.3.4_rc1.ebuild: + virtual/glibc -> virtual/libc + + 25 Jun 2004; Aron Griffis <agriffis@gentoo.org> python-2.2.2.ebuild, + python-2.2.3-r5.ebuild, python-2.3.3-r1.ebuild, python-2.3.3.ebuild, + python-2.3.4.ebuild, python-2.3.4_rc1.ebuild: + QA - fix use invocation and a bug in the 2.3.4 ebuilds: + [ -z "use X" -o -z "use tcltk" ] doesn't do what you meant it to do + + 20 Jun 2004; Gustavo Zacarias <gustavoz@gentoo.org> python-2.3.3-r1.ebuild: + Sparc happy stable + + 15 Jun 2004; <solar@gentoo.org> python-2.3.3-r1.ebuild: + USE= cleanups and added uclibc + + 12 Jun 2004; Tom Gall <tgall@gentoo.org> python-2.3.3-r1.ebuild: + stable on ppc64, bug #53575 + + 06 Jun 2004; Aron Griffis <agriffis@gentoo.org> python-2.2.3-r5.ebuild, + python-2.3.3-r1.ebuild, python-2.3.4.ebuild, python-2.3.4_rc1.ebuild: + Fix use invocation + +*python-2.3.4 (04 Jun 2004) + + 04 Jun 2004; Bryan Østergaard <kloeri@gentoo.org> +python-2.3.4.ebuild: + Bump version. + + 02 Jun 2004; Travis Tilley <lv@gentoo.org> python-2.3.3-r1.ebuild: + stable on amd64 + + 30 May 2004; Guy Martin <gmsoft@gentoo.org> python-2.3.3-r1.ebuild: + Marked stable on hppa. + + 22 May 2004; Guy Martin <gmsoft@gentoo.org> python-2.3.3-r1.ebuild, + python-2.3.3.ebuild, python-2.3.4_rc1.ebuild: + Fix os.utime() on hppa. utimes it not supported but unfortunately reported as + working. + +*python-2.3.4_rc1 (15 May 2004) + + 15 May 2004; Joshua Kinard <kumba@gentoo.org> python-2.3.3-r1.ebuild, + python-2.3.4_rc1.ebuild: + Marking 2.3.3 stable on mips (someone yanked the ~mips keyword at some + point...), and 2.3.4 unstable. + + 27 Apr 2004; Michael McCabe <randy@gentoo.org> python-2.3.3-r1.ebuild: + Marked stable on s390 + +*python-2.3.3-r1 (12 Apr 2004) + + 12 Apr 2004; Alastair Tse <liquidx@gentoo.org> python-2.3.3-r1.ebuild, + files/python-2.3-add_portage_search_path_take_2.patch: + add workaround for python-2.2 to python-2.3 upgrade possibly breaking older + portage versions. make /usr/lib/portage/pym appear before + /usr/lib/python*/site-packages in sys.path (not really critical, but better be + safe than sorry). also removed c++ support to reduce gcc/glibc upgrade pain + + 11 Mar 2004; Alastair Tse <liquidx@gentoo.org> python-2.2.1-r5.ebuild: + removing 2.2.1 from tree for security reasons (#44230) + + 09 Mar 2004; <agriffis@gentoo.org> python-2.3.3.ebuild: + stable on alpha and ia64 + + 05 Mar 2004; Alastair Tse <liquidx@gentoo.org> python-2.3.3.ebuild: + added X useflag for greater tcltk seperation. now needs both X and tcltk USE + flags to enable tkinter support + + 03 Mar 2004; David Holm <dholm@gentoo.org> python-2.1.3-r1.ebuild: + Added to ~ppc. + + 27 Feb 2004; Alastair Tse <liquidx@gentoo.org> python-2.3.3.ebuild: + completely removed pkg_setup(), added note at the top of the ebuild where you + can't miss it. + + 27 Feb 2004; Jason Stubbs <jstubbs@gentoo.org> python-2.3.3.ebuild: + Removing portage version check again as it's preventing new installations. + Bug #43036 + + 25 Feb 2004; Bryan Østergaard,,, <kloeri@gentoo.org> python-2.3.3.ebuild: + Reinstating portage version check as people keep upgrading python without + upgrading portage. + + 17 Feb 2004; Aron Griffis <agriffis@gentoo.org> python-2.1.3-r1.ebuild: + Fix duplicate KEYWORDS settings and mark stable on alpha and ia64 for the sake + of dev-python/PyXML-py21 + + 17 Feb 2004; Aron Griffis <agriffis@gentoo.org> python-2.1.3-r1.ebuild: + add ~alpha for the sake of dev-python/Imaging-py21 + + 10 Feb 2004; Bartosch Pixa <darkspecter@gentoo.org> python-2.3.3.ebuild: + set ppc in keywords + + 10 Feb 2004; Alastair Tse <liquidx@gentoo.org> python-2.3.3.ebuild, + files/python-2.3-db4.2.patch: + add fix to make python-2.3.3 db-4.2 (gentoo flavour) aware + + 06 Feb 2004; <gustavoz@gentoo.org> python-2.3.3.ebuild: + Stable on sparc + + 03 Feb 2004; Guy Martin <gmsoft@gentoo.org> python-2.3.3.ebuild : + Marked stable on hppa. + + 02 Feb 2004; Alastair Tse <liquidx@gentoo.org> files/depreorder.py: + update python-updater thanks to a well spotted mistake by Chris Bainbridge + <chrb@dcs.ed.ac.uk> (#40198) + + 27 Jan 2004; Alastair Tse <liquidx@gentoo.org> python-2.3.3.ebuild: + disabling pkg_setup again after testing with stage2 + + 26 Jan 2004; Alastair Tse <liquidx@gentoo.org> python-2.3.3.ebuild: + re-instating pkg_setup() warning/abort message. added apache mime.types to + mime type search list. modified to use tar.bz2 (saves 1MB of downloads) + + 24 Jan 2004; Guy Martin <gmsoft@gentoo.org> python-2.3.3.ebuild: + Added ~hppa to KEYWORDS. + + 24 Jan 2004; <gustavoz@gentoo.org> python-2.3.3.ebuild: + keyworded ~sparc + + 24 Jan 2004; Alastair Tse <liquidx@gentoo.org> python-2.3.3.ebuild: + add missing doc IUSE (#39232) + + 22 Jan 2004; Alastair Tse <liquidx@gentoo.org> python-2.3.3.ebuild, + files/depreorder.py: + updated python-updater for portage-2.0.50, installed python-updater in + /usr/sbin for convienence + + 19 Jan 2004; Alastair Tse <liquidx@gentoo.org> python-2.3.2-r2.ebuild, + python-2.3.3.ebuild: + disable portage check because stable portage already is compatible with + python-2.3 + + 18 Jan 2004; Alastair Tse <liquidx@gentoo.org> python-2.3.3.ebuild: + make ROOT var more robust during postinst() + + 12 Jan 2004; Luca Barbato <lu_zero@gentoo.org> python-2.2.3-r5.ebuild: + Marked ppc + + 06 Jan 2004; Aron Griffis <agriffis@gentoo.org> python-2.2.3-r5.ebuild: + Stable on ia64 to enable fix for bug 36954; portage-2.0.49-r20 depends on + this revision. + + 03 Jan 2004; Jason Wever <weeve@gentoo.org> python-2.2.3-r5.ebuild: + Marked stable on sparc as portage-2.0.49-r20 really depends on this version of + python rather than what the portage ebuild says. Fixes bug #36954 on sparc. + +*python-2.3.3 (03 Jan 2004) + + 03 Jan 2004; Alastair Tse <liquidx@gentoo.org> python-2.3.2-r2.ebuild, + python-2.3.3.ebuild, files/python-2.3.2-disable_modules_and_ssl.patch: + version bump to 2.3.3, re-add python disable_modules_and_ssl patch and changed + ebuild to build 'socket' module under USE=build + + 28 Dec 2003; Joshua Kinard <kumba@gentoo.org> python-2.2.3-r5.ebuild: + Move to mips stable (~mips -> mips) + + 24 Dec 2003; Sven Blumenstein <bazik@gentoo.org> python-2.3.2-r2.ebuild, + files/python-2.3.2-disable_modules_and_ssl.patch: + Removed python-2.3.2-disable_modules_and_ssl.patch as + it broke python and caused 'ImportError: No module named _socket'. + More info: http://article.gmane.org/gmane.linux.gentoo.devel/14621 + + 14 Dec 2003; Guy Martin <gmsoft@gentoo.org> python-2.2.3-r5.ebuild: + Marked stable on hppa. + + 13 Dec 2003; Alastair Tse <liquidx@gentoo.org> python-2.3.2-r2.ebuild: + clarified warning to prevent more bug reports + + 13 Dec 2003; Luca Barbato <lu_zero@gentoo.org> python-2.3.2-r2.ebuild: + Marked ~ppc + + 08 Dec 2003; Alastair Tse <liquidx@gentoo.org> python-2.2.3-r5.ebuild, + python-2.3.2-r2.ebuild: + fix python .pyc .pyo cleaning code + + 03 Dec 2003; Aron Griffis <agriffis@gentoo.org> python-2.2.3-r5.ebuild: + Stable on alpha + + 27 Nov 2003; Daniel Ahlberg <aliz@gentoo.org> python-2.2.3-r5.ebuild: + Make -fPIC compilation available for all platforms and not just amd64. + + 25 Nov 2003; Brad House <brad_mssw@gentoo.org> python-2.2.3-r5.ebuild: + mark stable on amd64 + + 23 Nov 2003; Alastair Tse <liquidx@gentoo.org> python-2.3.2-r2.ebuild: + add pkg_setup() to 2.3 as a temporary measure to stop people messing up their + own system. Also added a ucs2 local useflag just in case someone complains + loudly and knows what they're doing + +*python-2.3.2-r2 (22 Nov 2003) + + 22 Nov 2003; Alastair Tse <liquidx@gentoo.org> python-2.3.2-r2.ebuild, + files/python-updater: + ucs4 is now default. if you previously had python-2.3 merged, you'll need to + update your packages again. (sorry, that is the price for running p.mask'ed + versions). to update your python packages if you had python-2.3 installed, + run : + + /usr/portage/dev-lang/python/files/python-updater -o 2.3 + + if you are upgrading from python-2.2, then you will need to run: + + /usr/portage/dev-lang/python/files/python-updater + + python-updater script also modified to have more robust command-line + parsing. hopefully this will be the last revision till we can go ~x86. + + 13 Nov 2003; Alastair Tse <liquidx@gentoo.org> python-2.3.2-r1.ebuild: + fix python-config install for python-2.3 + + 12 Nov 2003; Alastair Tse <liquidx@gentoo.org> python-2.2.2-r1.ebuild, + python-2.2.3-r2.ebuild, python-2.2.3-r3.ebuild, python-2.2.3-r4.ebuild, + python-2.3.2-r1.ebuild, python-2.3.2.ebuild, files/python-updater: + cleanup and add warning on python-updated or PORTDIR is not set + + 12 Nov 2003; Daniel Ahlberg <aliz@gentoo.org> python-2.2.3-r5.ebuild : + Add a patch that adds CFLAGSFORSHARED variable to some extra modules defined in the Makefile. + This variable could hold -fPIC so that the compiled libraries will work on amd64 (and maybe others) + without using append-flags -fPIC. + + 03 Nov 2003; Alastair Tse <liquidx@gentoo.org> python-2.2.3-r5.ebuild, + python-2.3.2-r1.ebuild: + added ncurses and ssl to IUSE + + 03 Nov 2003; Alastair Tse <liquidx@gentoo.org> python-2.2.3-r5.ebuild: + export environment in src_install() + + 01 Nov 2003; Alastair Tse <liquidx@gentoo.org> python-2.2.3-r5.ebuild, + python-2.3.2-r1.ebuild, files/python-2.2.3-disable_modules_and_ssl.patch, + files/python-2.3.2-disable_modules_and_ssl.patch: + reordered deps to allow minimal python build for USE='build'. makes python + respect useflags explicitly even if the dependency exists. added support to + disable SSL. tweaked python_mod_optimize. + +*python-2.2.3-r5 (27 Oct 2003) + + 27 Oct 2003; Alastair Tse <liquidx@gentoo.org> python-2.2.3-r5.ebuild, + files/python-2.2.3-db4.patch: + rev bump. fixes to idle.py and bsddb with db-4.1 for 2.2.3 + + 26 Oct 2003; Rob Cakebread <pythonhead@gentoo.org> python-2.2.3-r4.ebuild: + Fixed symlink to idle.py + +*python-2.2.3-r4 (22 Oct 2003) + + 22 Oct 2003; Alastair Tse <liquidx@gentoo.org> python-2.2.3-r4.ebuild, + files/python-2.2.3-gentoo_py_dontcompile.patch: + Fixed PYTHON_DONTCOMPILE patch for 2.2.3 thanks to TGL + <degrenier@easyconnect.fr> (#31730) + +*python-2.2.3-r3 (17 Oct 2003) + + 17 Oct 2003; Alastair Tse <liquidx@gentoo.org> python-2.2.3-r3.ebuild, + files/python-2.2.3-db4.patch, + files/python-2.2.3-gentoo_py_dontcompile.patch, files/python-updater: + Add support for db-4.1, fixes for ewarn hanging for python-updater + + 14 Oct 2003; Alastair Tse <liquidx@gentoo.org> python-2.2.3-r3.ebuild: + new 2.2.3 version that adds PYTHON_DONTCOMPILE support + + 10 Oct 2003; Alastair Tse <liquidx@gentoo.org> files/python-updater: + fix typo in python-updater + + 09 Oct 2003; Alastair Tse <liquidx@gentoo.org> python-2.3.2-r1.ebuild, + files/depreorder.py, files/python-2.2.3-gentoo_py_dontcompile.patch, + files/python-updater: + improved byte-compiling, fixed out-of-order python-updater and added + sys-apps/portage to exclusions + + 09 Oct 2003; <tuxus@gentoo.org> python-2.2.3-r1.ebuild: + stable on mips + +*python-2.3.2-r1 (08 Oct 2003) + + 08 Oct 2003; Alastair Tse <liquidx@gentoo.org> python-2.3.2-r1.ebuild, + files/python-2.3-gentoo_py_dontcompile.patch: + add patch to stop automatic generation of .pyc and .pyo by setting + PYTHON_DONTCOMPILE in your environment. also moved to use the new python + eclass to automatically optimize and cleanup compiled modules. + +*python-2.3.2 (07 Oct 2003) + + 07 Oct 2003; Alastair Tse <liquidx@gentoo.org> python-2.2.3-r2.ebuild, + python-2.3.2.ebuild, files/python-2.2.3-db4.patch, + files/python-2.3-add_portage_search_path.patch, files/python-config-2.3, + files/python-updater: + it has been a long time coming, but finally there's a 2.3.x release in portage + along with a python-2.2.3 update that should fix some niggling issues and also + uses the new alternative class. 2.3.2 is still masked and should stay that way + until we can confirm the rebuilding script works. + + 03 Oct 2003; Alexander Gabert <pappy@gentoo.org> python-2.2.3-r1.ebuild: + filter-flags because of segfaulting with fstackprotector in CFLAGS + + 23 Sep 2003; Bartosch Pixa <darkspecter@gentoo.org> python-2.2.3-r1.ebuild: + set ppc in keywords + + 17 Sep 2003; Jon Portnoy <avenj@gentoo.org> python-2.2.3-r1.ebuild : + ia64 keywords. + + 16 Jul 2003; Alastair Tse <liquidx@gentoo.org> python-2.2.3-r1.ebuild, + python-2.2.3.ebuild: + marked 2.2.3 stable for x86 + + 13 Jul 2003; Alastair Tse <liquidx@gentoo.org> python-2.2.3-r1.ebuild: + add doc useflag to install python documentation. (#24318) + +*python-2.2.3-r1 (03 Jul 2003) + + 23 Jul 2003; Guy Martin <gmsoft@gentoo.org> python-2.2.3-r1.ebuild : + Marked stable on hppa. + + 03 Jul 2003; Alastair Tse <liquidx@gentoo.org> metadata.xml, + python-2.2.3-r1.ebuild: + added db4 support and enabled threads (pthread) support + +*python-2.2.3 (02 Jun 2003) + + 06 Jul 2003; Joshua Kinard <kumba@gentoo.org> python-2.2.3.ebuild: + Changed ~mips to mips in KEYWORDS + + 01 Jul 2003; Todd Sunderlin <todd@gentoo.org> python-2.2.3.ebuild: + set stable on sparc + + 02 Jun 2003; Alastair Tse <liquidx@gentoo.org> python-2.2.2-r1.ebuild, + python-2.2.3.ebuild, files/python-config-2.2: + version bump to new bugfix release. fixed python-config location for unstable + versions + +*python-2.2.2-r1 (08 May 2003) + + 08 May 2003; Alastair Tse <liquidx@gentoo.org> python-2.2.2-r1.ebuild, + files/python-2.2.2-tk-8.4.x.patch: + backported patch to fix tk-8.4.x problems (#20318) + + 23 Feb 2003; Guy Martin <gmsoft@gentoo.org> python-2.2.2.ebuild : + Added -fPIC to CFLAGS on hppa. It's needed by apps linking to some python libs. + + 21 Feb 2003; Zach Welch <zwelch@gentoo.org> python-2.2.2.ebuild : + Added arm to keywords. + + 07 Feb 2003; Guy Martin <gmsoft@gentoo.org> python-2.2.2.ebuild : + Added hppa to keywords. + + 06 Dec 2002; Rodney Rees <manson@gentoo.org> : changed sparc ~sparc keywords + + 29 Nov 2002; Dan Armak <danarmak@gentoo.org> ChangeLog : + + Added missing python-config for 2.2.2. + +*python-2.2.2 (20 Oct 2002) + + 07 Jan 2003; Jan Seidel <tuxus@gentoo.org> python-2.2.2.ebuild : + Added mips to keywords + + 20 Oct 2002; Jon Nelson <jnelson@gentoo.org> : + 2.2.2 is released + +*python-2.2.1-r5 (03 Oct 2002) + + 15 Oct 2002; Martin Schlemmer <azarah@gentoo.org> : + Fix the sed on /usr/lib/python<ver>/config/Makefile to change + OPT to 'OPT = -DNDEBUG', and not 'OPT = -NDEBUG' which caused + gcc warnings. + + 03 Oct 2002; Daniel Ahlberg <aliz@gentoo.org> : + Security update. + +*python-2.2.1-r4 (7 Sep 2002) + 7 Sep 2002; Nicholas Jones <carpaski@gentoo.org> python-2.2.1-r4.ebuild + Fix for bug #7641 -- Fixes the OPT flags in Makefile so that gcc + isn't confused by conflicting build types of i386 and user set. + +*python-2.2.1-r3 (2 Sep 2002) + 2 Sep 2002; Jon Nelson <jnelson@gentoo.org> python-2.2.1-r3.ebuild + Filter -malign-double from flags + +*python-2.1.3-r1 (2 Jul 2002) + + 20 Jul 2002; Doug Goldstein <cardoe@gentoo.org> python-2.1.3-r1.ebuild + Added missing KEYWORDS + + 2 Jul 2002; Jon Nelson <jnelson@gentoo.org> python-2.1.3-r1.ebuild: + Fix Makefile.pre.in install (the one we want is located in Misc) + +*python-2.1.3 (1 Jul 2002) + + 20 Jul 2002; Doug Goldstein <cardoe@gentoo.org> python-2.1.3.ebuild + Added missing KEYWORDS + + 1 Jul 2002; Jon Nelson <jnelson@gentoo.org>: python-2.1.3.ebuild + This is a python 2.1.3 ebuild that does *not* conflict with + python 2.2.* + Note that 99.9% of the people out there won't use it anyway, + because 2.2 will always be selected as most recent. ;-) + +*python-2.2.1-r2 (1 Jul 2002) + + 20 Jul 2002; Doug Goldstein <cardoe@gentoo.org>: python-2.2.1-r2.ebuild + Added missing KEYWORDS + + 30 Jun 2002; Jon Nelson <jnelson@gentoo.org>: python-2.2.1-r2.ebuild + Add "-lm" to the python-config script. Closes bug #4217. + 2.2.1-r2 has a 100% identical ebuild file to 2.2.1-r1, just the + python-config file has changed. + +*python-2.2.1-r1 (29 May 2002) + + 20 Jul 2002; Doug Goldstein <cardoe@gentoo.org>: python-2.2.1-r1.ebuild + Added missing KEYWORDS + + 29 May 2002; Jon Nelson <jnelson@gentoo.org>: python-2.2.1-r1.ebuild + Add expat to build depends (except during bootstrap), use econf + and emake, and don't mess with Modules/Setup.local because modules + are build as shared on Linux as default. + +*python-2.2.1 (2 May 2002) + + 20 Jul 2002; Doug Goldstein <cardoe@gentoo.org>: python-2.2.1.ebuild + Added missing KEYWORDS + + 2 May 2002; Jon Nelson <jnelson@gentoo.org>: python-2.2.1.ebuild + Update to 2.2.1, and completely re-vamp build procedure + This should solve several build issues. + +*python-2.2-r7 (29 Apr 2002) + + 29 Apr 2002; Daniel Robbins <drobbins@gentoo.org>: New rev to fix bug #2199; + python-config should now work properly. + +*python-2.2-r6 (24 Apr 2002) + + 24 Apr 2002; Jon Nelson <jnelson@gentoo.org> python-2.2-r6.ebuild : Make + python build with shared modules. Depends on python-fchksum, as fchksum *no + longer built in* + +*python-2.2-r5 (8 Apr 2002) + + 8 Apr 2002; Jared H. Hudson <jhhudso@gentoo.org> python-2.2-r5.ebuild : + + Added include flag for compilation of tcltk with python to compile + correctly. + + -------- + + 06 Apr 2002; Daniel Robbins <drobbins@gentoo.org> : the 2.2-r4 ebuild now + disables C++ support if we are creating a new build image (since we have no + C++ in that case). + + 30 Mar 2002; Daniel Robbins <drobbins@gentoo.org> : changed PROVIDE from + virtual/python-2.2 to virtual/python. No rev bump. + +*python-2.2-r4 (1 Feb 2002) + + 1 Feb 2002; G.Bevin <gbevin@gentoo.org> ChangeLog : + + Added initial ChangeLog which should be updated whenever the package is + updated in any way. This changelog is targetted to users. This means that the + comments should well explained and written in clean English. The details about + writing correct changelogs are explained in the skel.ChangeLog file which you + can find in the root directory of the portage repository. diff --git a/dev-lang/python/Manifest b/dev-lang/python/Manifest new file mode 100644 index 0000000..ce7ff94 --- /dev/null +++ b/dev-lang/python/Manifest @@ -0,0 +1,17 @@ +AUX depreorder-topsort.py 1958 RMD160 4192ad9ed14064a9da42ce1faedcf28996094da3 SHA1 2c900abeb6cfcc4327f0e9418b5abd7761ce5879 SHA256 7406f639d17b8acab6a1db7e398e74379b44950d4821bc36901abd3455d63b3d +AUX depreorder.py 2235 RMD160 a6da5f336bdf8c370861c7922a5fa79ce4ab89cb SHA1 3b8590d7fbece2367088c646a792a9618d786dec SHA256 93920120e596f34e4222e8686e6283b03cdd517f89f2dba3eda90d79fa016aba +AUX pydoc.conf 234 RMD160 33e7decd0ca9a9c4a9f94ef9773f7e9c1668b9fb SHA1 fcfc1a47952dd424f4a1187ef8a6ae9ff8d460c8 SHA256 ded00287fe0ab41e02e3dd52b1818aeea669fc3d94d179cda677c064f47b1098 +AUX pydoc.init 569 RMD160 e4d15960cf48009f447055f1012e83dfa2809f3f SHA1 f9129e5d62a72a656581b624fb475678141b96bb SHA256 0aadf5e41cea02d56f37ace173cd28937081d519d367a777cb747a22ab5e1c29 +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.5.2.tar.bz2 9807597 RMD160 b23b02739833e6730799c5866e2b77aae884b63f SHA1 4755d212f50af704c20224a6966e23acc5aea60f SHA256 f2f80e2a62a039e9a1ffa0fdf58707b2d12b3ff33c56472b46bb6d53f45e083e +EBUILD python-2.5.2.ebuild 10766 RMD160 804eb28bccbb52ac6fcb0410d1c27bd1492a531c SHA1 b2a2a11704aa87297c3f689eb86c34b8b4dd1642 SHA256 712dc723e82496240590c4f4bec99caee3eceed77d20bcfd04ee063cb19cdb62 +MISC ChangeLog 52533 RMD160 290980dbebb038f91ed4e727656cdb00a6a0299b SHA1 93371ce6a791c170a029c040b24a70ad5bcb0f2d SHA256 a91d1593654d42272d7e1cb8c5f95b457391c970b12b1626d2a110cc7d205b87 +MISC metadata.xml 159 RMD160 900a8c55d7a7d2f6312594769aaf941bf9e99c7f SHA1 c8e604d56dae898258b5254d78cfeac0b981e288 SHA256 9f01104d3484792496faff4805eed0ecea2352a897151f3397d49a13800037b4 diff --git a/dev-lang/python/files/depreorder-topsort.py b/dev-lang/python/files/depreorder-topsort.py new file mode 100644 index 0000000..4c3cb7b --- /dev/null +++ b/dev-lang/python/files/depreorder-topsort.py @@ -0,0 +1,65 @@ +#!/usr/bin/python + +# tries to reorder the deps of a given list of packages so they +# are merged in order - liquidx@g.o (09 Oct 03) + +import portage +import sys, string + +fakedbapi = portage.fakedbapi() +varapi = portage.db["/"]["vartree"].dbapi + +pkgs_to_reorder = sys.argv[1:] +pkgs_ordered = [] + +# key = catpkgver +# value = dependencies +dep_cache = {} + + +# very simply, we extract the dependencies for each package +for pkg in pkgs_to_reorder: + try: + deps, slot = varapi.aux_get(pkg, ["DEPEND", "SLOT"]) + except ValueError: + sys.stderr.write("Error getting dependency information off " + pkg + "\n") + continue + try: + realdeps = portage.dep_check(deps, fakedbapi) + except TypeError: + # we're probably running >=portage-2.0.50 + pkgsettings = portage.config(clone=portage.settings) + realdeps = portage.dep_check(deps, fakedbapi, pkgsettings) + + vardeps = [] + # match() finds the versions of all those that are installed + for dep in realdeps[1]: + vardeps = vardeps + varapi.match(dep) + dep_cache[pkg] = vardeps + +# topsort takes a graph (given as a dictionary with the nodes +# as keys and the outgoing edges as values), and returns a +# list of nodes that is topologically sorted +def topsort (graph) : + visited = dict([(node,False) for node in graph.keys()]) + result = [] + + def dfs_single (node) : + visited[node] = True + for adj in graph[node]: + # we ignore dependencies that are not nodes in the graph + if adj in graph.keys() and not visited[adj]: + dfs_single (adj) + result.append(node) + + for node in graph.keys(): + if not visited[node]: + dfs_single (node) + + return result + +pkgs_final_order = topsort(dep_cache) + +print string.join(pkgs_final_order, "\n") +#print portage.dep_expand("=dev-python/sip-3.8", portage.portdb) +#print portage.dep_check("X? ( >=dev-python/sip-3.8 )", fakedbapi) diff --git a/dev-lang/python/files/depreorder.py b/dev-lang/python/files/depreorder.py new file mode 100644 index 0000000..2305eb0 --- /dev/null +++ b/dev-lang/python/files/depreorder.py @@ -0,0 +1,66 @@ +#!/usr/bin/python + +# tries to reorder the deps of a given list of packages so they +# are merged in order - liquidx@g.o (09 Oct 03) + +import portage +import sys, string + +fakedbapi = portage.fakedbapi() +varapi = portage.db["/"]["vartree"].dbapi + +pkgs_to_reorder = sys.argv[1:] +pkgs_ordered = [] +# key = catpkgver +# value = ( added, dependencies, slot ) +DEP_ADDED = 0 +DEP_DEPLIST = 1 +DEP_SLOT = 2 +dep_cache = {} + + +# very simply, we extract the dependencies for each package +for pkg in pkgs_to_reorder: + try: + deps, slot = varapi.aux_get(pkg, ["DEPEND", "SLOT"]) + except ValueError: + sys.stderr.write("Error getting dependency information off " + pkg + "\n") + continue + try: + realdeps = portage.dep_check(deps, fakedbapi) + except TypeError: + # we're probably running >=portage-2.0.50 + pkgsettings = portage.config(clone=portage.settings) + realdeps = portage.dep_check(deps, fakedbapi, pkgsettings) + + vardeps = [] + # match() finds the versions of all those that are installed + for dep in realdeps[1]: + vardeps = vardeps + varapi.match(dep) + dep_cache[pkg] = ( 0, vardeps, slot ) + +# then we just naively append to a sorted list of deps using this rule. +# if a dependency is going to be merged, we add it to the list like +# with the dep then the pkg itself. +# eg: dev-python/pyqt deps on dev-python/sip, so we the list will look like +# [dev-python/sip, dev-python/pyqt] +for pkg, depinfo in dep_cache.items(): + dep_to_add = [] + for dep in depinfo[DEP_DEPLIST]: + if dep in pkgs_to_reorder: + dep_to_add.append(dep) + + pkgs_ordered += dep_to_add + [pkg] + +# now, because the packages may have nested or multple dependencies, we +# then move thru the list from first to last and remove all duplicates. +# that way we know for sure that a package isn't merged twice or a dep +# comes before the package that depends on it. +pkgs_final_order = [] +for pkg in pkgs_ordered: + if pkg not in pkgs_final_order: + pkgs_final_order += [pkg] + +print string.join(pkgs_final_order, "\n") +#print portage.dep_expand("=dev-python/sip-3.8", portage.portdb) +#print portage.dep_check("X? ( >=dev-python/sip-3.8 )", fakedbapi) diff --git a/dev-lang/python/files/pydoc.conf b/dev-lang/python/files/pydoc.conf new file mode 100644 index 0000000..ab4a821 --- /dev/null +++ b/dev-lang/python/files/pydoc.conf @@ -0,0 +1,8 @@ +# /etc/init.d/pydoc.conf +# $Header: + +# This file contains the configuration information for pydoc's internal +# webserver. The variables should be rather self explanatory :-) + +# Default port for Python's pydoc server +PYDOC_PORT=7464 diff --git a/dev-lang/python/files/pydoc.init b/dev-lang/python/files/pydoc.init new file mode 100755 index 0000000..8e436db --- /dev/null +++ b/dev-lang/python/files/pydoc.init @@ -0,0 +1,26 @@ +#!/sbin/runscript +# Copyright 1999-2008 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public Licence v2 +# $Header: + +depend() { + need net +} + +start() { + if [ -z $PYDOC_PORT ] ; then + eerror "Port not set" + return 1 + fi + ebegin "Starting pydoc server on port $PYDOC_PORT" + start-stop-daemon --start --background --make-pidfile \ + --pidfile /var/run/pydoc.pid \ + --startas /usr/bin/pydoc -- -p $PYDOC_PORT + eend $? +} + +stop() { + ebegin "Stopping pydoc server" + start-stop-daemon --stop --quiet --pidfile /var/run/pydoc.pid + eend $? +} diff --git a/dev-lang/python/files/python-2.4.2-gentoo_obsd-r1.patch b/dev-lang/python/files/python-2.4.2-gentoo_obsd-r1.patch new file mode 100644 index 0000000..1c3a489 --- /dev/null +++ b/dev-lang/python/files/python-2.4.2-gentoo_obsd-r1.patch @@ -0,0 +1,44 @@ +diff -ruN Python-2.4.2.orig/configure.in Python-2.4.2/configure.in +--- Python-2.4.2.orig/configure.in 2005-08-07 23:08:53.000000000 +0200 ++++ Python-2.4.2/configure.in 2006-04-26 16:25:03.241669250 +0200 +@@ -140,7 +140,7 @@ + # On OpenBSD, select(2) is not available if _XOPEN_SOURCE is defined, + # even though select is a POSIX function. Reported by J. Ribbens. + # Reconfirmed for OpenBSD 3.3 by Zachary Hamm, for 3.4 by Jason Ish. +- OpenBSD/2.* | OpenBSD/3.@<:@0123456@:>@) ++ OpenBSD/2.* | OpenBSD/3.@<:@0123456789@:>@) + define_xopen_source=no;; + # On Solaris 2.6, sys/wait.h is inconsistent in the usage + # of union __?sigval. Reported by Stuart Bishop. +@@ -1517,9 +1517,16 @@ + + # only check for sem_ini if thread support is requested + if test "$with_threads" = "yes" -o -z "$with_threads"; then ++ case "$ac_sys_system" in ++ OpenBSD*) ++ LIBS="-pthread ${LIBS}" ++ ;; ++ *) + AC_SEARCH_LIBS(sem_init, pthread rt posix4) # 'Real Time' functions on Solaris + # posix4 on Solaris 2.6 + # pthread (first!) on Linux ++ ;; ++ esac + fi + + # check if we need libintl for locale functions +diff -ruN Python-2.4.2.orig/Include/Python.h Python-2.4.2/Include/Python.h +--- Python-2.4.2.orig/Include/Python.h 2004-07-27 17:57:23.000000000 +0200 ++++ Python-2.4.2/Include/Python.h 2006-04-26 16:24:15.274671500 +0200 +@@ -2,6 +2,11 @@ + #define Py_PYTHON_H + /* Since this is a "meta-include" file, no #ifdef __cplusplus / extern "C" { */ + ++/* Required on Gentoo/OpenBSD */ ++#if defined(__OpenBSD__) ++#include <sys/types.h> ++#endif ++ + /* Include nearly all Python header files */ + + #include "patchlevel.h" diff --git a/dev-lang/python/files/python-2.4.2-gentoo_obsd.patch b/dev-lang/python/files/python-2.4.2-gentoo_obsd.patch new file mode 100644 index 0000000..69c5974 --- /dev/null +++ b/dev-lang/python/files/python-2.4.2-gentoo_obsd.patch @@ -0,0 +1,42 @@ +diff -ruN Python-2.4.2.orig/Include/Python.h Python-2.4.2/Include/Python.h +--- Python-2.4.2.orig/Include/Python.h 2004-07-27 17:57:23 +0200 ++++ Python-2.4.2/Include/Python.h 2006-01-01 17:50:35 +0100 +@@ -2,6 +2,9 @@ + #define Py_PYTHON_H + /* Since this is a "meta-include" file, no #ifdef __cplusplus / extern "C" { */ + ++/* Required on Gentoo/OpenBSD */ ++#include <sys/types.h> ++ + /* Include nearly all Python header files */ + + #include "patchlevel.h" +diff -ruN Python-2.4.2.orig/configure.in Python-2.4.2/configure.in +--- Python-2.4.2.orig/configure.in 2005-08-07 23:08:53 +0200 ++++ Python-2.4.2/configure.in 2006-01-01 17:53:27 +0100 +@@ -140,7 +140,7 @@ + # On OpenBSD, select(2) is not available if _XOPEN_SOURCE is defined, + # even though select is a POSIX function. Reported by J. Ribbens. + # Reconfirmed for OpenBSD 3.3 by Zachary Hamm, for 3.4 by Jason Ish. +- OpenBSD/2.* | OpenBSD/3.@<:@0123456@:>@) ++ OpenBSD/2.* | OpenBSD/3.@<:@012345678@:>@) + define_xopen_source=no;; + # On Solaris 2.6, sys/wait.h is inconsistent in the usage + # of union __?sigval. Reported by Stuart Bishop. +@@ -1517,9 +1517,16 @@ + + # only check for sem_ini if thread support is requested + if test "$with_threads" = "yes" -o -z "$with_threads"; then ++ case "$ac_sys_system" in ++ OpenBSD*) ++ LIBS="-pthread ${LIBS}" ++ ;; ++ *) + AC_SEARCH_LIBS(sem_init, pthread rt posix4) # 'Real Time' functions on Solaris + # posix4 on Solaris 2.6 + # pthread (first!) on Linux ++ ;; ++ esac + fi + + # check if we need libintl for locale functions diff --git a/dev-lang/python/files/python-2.4.4-test-cross.patch b/dev-lang/python/files/python-2.4.4-test-cross.patch new file mode 100644 index 0000000..d32cb3f --- /dev/null +++ b/dev-lang/python/files/python-2.4.4-test-cross.patch @@ -0,0 +1,19 @@ +--- Python-2.4.4/Lib/test/test_multibytecodec.py.orig 2007-09-10 14:52:34.424592960 -0400 ++++ Python-2.4.4/Lib/test/test_multibytecodec.py 2007-09-10 14:53:30.646201491 -0400 +@@ -81,11 +81,11 @@ class Test_ISO2022(unittest.TestCase): + uni = u':hu4:unit\xe9 de famille' + self.assertEqual(iso2022jp2.decode('iso2022-jp-2'), uni) + +- def test_iso2022_jp_g0(self): +- self.failIf('\x0e' in u'\N{SOFT HYPHEN}'.encode('iso-2022-jp-2')) +- for encoding in ('iso-2022-jp-2004', 'iso-2022-jp-3'): +- e = u'\u3406'.encode(encoding) +- self.failIf(filter(lambda x: x >= '\x80', e)) ++# def test_iso2022_jp_g0(self): ++# self.failIf('\x0e' in u'\N{SOFT HYPHEN}'.encode('iso-2022-jp-2')) ++# for encoding in ('iso-2022-jp-2004', 'iso-2022-jp-3'): ++# e = u'\u3406'.encode(encoding) ++# self.failIf(filter(lambda x: x >= '\x80', e)) + + def test_bug1572832(self): + if sys.maxunicode >= 0x10000: diff --git a/dev-lang/python/files/python-config-2.2 b/dev-lang/python/files/python-config-2.2 new file mode 100755 index 0000000..056b271 --- /dev/null +++ b/dev-lang/python/files/python-config-2.2 @@ -0,0 +1,3 @@ +#!/usr/bin/python +import distutils.sysconfig, string +print "-lpython2.2 -lm -L/usr/lib/python2.2/config",string.join(string.split(distutils.sysconfig.get_config_var("MODLIBS"))) diff --git a/dev-lang/python/files/python-config-2.3 b/dev-lang/python/files/python-config-2.3 new file mode 100755 index 0000000..abd5a36 --- /dev/null +++ b/dev-lang/python/files/python-config-2.3 @@ -0,0 +1,3 @@ +#!/usr/bin/python +import distutils.sysconfig, string +print "-lpython2.3 -lm -L/usr/lib/python2.3/config",string.join(string.split(distutils.sysconfig.get_config_var("MODLIBS"))) diff --git a/dev-lang/python/files/python-config-2.4 b/dev-lang/python/files/python-config-2.4 new file mode 100644 index 0000000..db91332 --- /dev/null +++ b/dev-lang/python/files/python-config-2.4 @@ -0,0 +1,4 @@ +#!/usr/bin/python +import distutils.sysconfig, string +print "-lpython2.4 -lm -L/usr/lib/python2.4/config",string.join(string.split(distutils.sysconfig.get_config_var("MODLIBS"))) + diff --git a/dev-lang/python/files/python-config-2.4-r1 b/dev-lang/python/files/python-config-2.4-r1 new file mode 100644 index 0000000..af45113 --- /dev/null +++ b/dev-lang/python/files/python-config-2.4-r1 @@ -0,0 +1,58 @@ +#! /usr/bin/python2.4 + +import sys +import os +import getopt +from distutils import sysconfig + +valid_opts = ['prefix', 'exec-prefix', 'includes', 'libs', 'cflags', + 'ldflags', 'help'] + +def exit_with_usage(code=1): + print >>sys.stderr, "Usage: %s [%s]" % (sys.argv[0], + '|'.join('--'+opt for opt in valid_opts)) + sys.exit(code) + +try: + opts, args = getopt.getopt(sys.argv[1:], '', valid_opts) +except getopt.error: + exit_with_usage() + +if not opts: + #exit_with_usage() + #be compatible with our old python-config-2.4 + import string + print "-lpython2.4 -lm -L/usr/lib/python2.4/config",string.join(string.split(sysconfig.get_config_var("MODLIBS"))) + sys.exit(0) + +opt = opts[0][0] + +pyver = sysconfig.get_config_var('VERSION') +getvar = sysconfig.get_config_var + +if opt == '--help': + exit_with_usage(0) + +elif opt == '--prefix': + print sysconfig.PREFIX + +elif opt == '--exec-prefix': + print sysconfig.EXEC_PREFIX + +elif opt in ('--includes', '--cflags'): + flags = ['-I' + sysconfig.get_python_inc(), + '-I' + sysconfig.get_python_inc(plat_specific=True)] + if opt == '--cflags': + flags.extend(getvar('CFLAGS').split()) + print ' '.join(flags) + +elif opt in ('--libs', '--ldflags'): + libs = getvar('LIBS').split() + getvar('SYSLIBS').split() + libs.append('-lpython'+pyver) + # add the prefix/lib/pythonX.Y/config dir, but only if there is no + # shared library in prefix/lib/. + if opt == '--ldflags' and not getvar('Py_ENABLE_SHARED'): + libs.insert(0, '-L' + getvar('LIBPL')) + print ' '.join(libs) + + diff --git a/dev-lang/python/files/python-updater b/dev-lang/python/files/python-updater new file mode 100644 index 0000000..62bc736 --- /dev/null +++ b/dev-lang/python/files/python-updater @@ -0,0 +1,322 @@ +#!/bin/sh +# +# A bit of hackery to update everything that is humanly possible +# that maybe related to an older version of python. This script can +# be run as many times as you like. It will log the results in +# /tmp/python-updater.log +# +# OLD_PY_VER = old python version we are upgrading from +# NEW_PY_VER = new python version we are upgrading to +# PKGS_EXCEPTIONS = packages that should NOT be re-emerged for any reason +# PKGS_MANUAL = packages that should be re-emerged even if they don't +# fit the criteria (eg. ones that have python compiled +# statically) - FIXME +# +# Runtime Variables: +# +# PKGS_TO_REMERGE = list of packages we deem to need re-emerging +# PKGS_OK = list of packages that should be merged without any problems +# PKGS_MISSING = list of packages that are installed, but cannot be merged +# because they have been pruned from portage +# PKGS_MASKED = list of packages that are installed, but masked. +# + +NEW_PY_VER=$(python -V 2>&1 | sed 's:Python ::' | cut -d. -f1-2) + +PKGS_EXCEPTIONS="dev-lang/python sys-apps/portage" +PKGS_MANUAL="app-office/gnumeric app-office/dia x11-libs/vte" +LOGFILE="/var/log/python-updater.log" + +# portage variables +PKG_DBDIR=/var/db/pkg +PORTDIR=`portageq portdir` +PORTDIR_OVERLAYS=`portageq portdir_overlay` + +PRETEND=0 +PKGS_TO_REMERGE="" +PKGS_COUNT_REMERGE=0 +PORTAGE_PYTHON="/usr/bin/python" + +# load the gentoo-style info macros, but hack to get around +# it thinking this is an rc script +EBUILD="1" +source /etc/init.d/functions.sh || exit 1 + + + +for old in 2.4 2.3 2.2 2.1; do + if [ "${old}" != "${NEW_PY_VER}" ]; then + if [ -e /usr/bin/python${old} ] ; then + OLD_PY_VER=${old} + break; + fi + fi +done + + +if [ -z "${OLD_PY_VER}" ] ; then + eerror "Can't determine any previous Python version(s)." + exit 1 +fi + + +# misc helper functions +eloginfo() { + einfo $* + DATESTRING=`date +"%Y/%m/%d %H:%M:%S"` + echo "${DATESTRING} - ${*}" >> ${LOGFILE} +} + +elogecho() { + echo -n " " + echo $* + DATESTRING=`date +"%Y/%m/%d %H:%M:%S"` + echo "${DATESTRING} - ${*}" >> ${LOGFILE} +} + +elogerr() { + eerror $* + DATESTRING=`date +"%Y/%m/%d %H:%M:%S"` + echo "${DATESTRING} ! ${*}" >> ${LOGFILE} +} + +elog() { + DATESTRING=`date +"%Y/%m/%d %H:%M:%S"` + echo "${DATESTRING} - ${*}" >> ${LOGFILE} +} + + +usage() { + echo "usage: python-updater [-h|-p|-o X.X|-n X.X]" + echo " -h help" + echo " -p pretend (don't do anything)" + echo " -o X.X set old python version to upgrade from [default: ${OLD_PY_VER}]" + echo " -n X.X set new python version to upgrade to [default: ${NEW_PY_VER}]" +} + +# +# Sanity check +# + +if [ -z "${PORTDIR}" ]; then + eerror "Unable to proceed. Can not find PORTDIR. Make sure the command:" + eerror " " + eerror " portageq portdir" + eerror " " + eerror "returns a value. If it doesn't, make sure you have updated to" + eerror "latest portage version." + eerror " " + eerror "Report bugs to http://bugs.gentoo.org/" + exit 1 +fi + +if [ ! -f ${LOGFILE} ]; then + if ! touch ${LOGFILE} 2>&1 > /dev/null; then + ewarn "Logging disabled due to permissions" + LOGFILE=/dev/null + fi +elif [ ! -w ${LOGFILE} -o ! -L ${LOGFILE} ]; then + ewarn "Logging disabled due to permissions" + LOGFILE=/dev/null +fi + +# +# +# Command Line Parsing +# +# +while [ -n "$1" ]; do + case "$1" in + -h) + usage + exit 0 + ;; + -p) + PRETEND=1 + ;; + -o) + shift + OLD_PY_VER="$1" + ;; + -n) + shift + NEW_PY_VER="$1" + ;; + *) + usage + echo "unrecognised option: $1" + ;; + esac + shift +done + +# +# Test where portage is, in python2.2 or somewhere else? +# +for py in /usr/bin/python /usr/bin/python${OLD_PY_VER} /usr/bin/python${NEW_PY_VER}; do + if ${py} -c "import portage"; then + PORTAGE_PYTHON=${py} + break; + fi +done + +# +# +# Find all packages that have installed something in +# /usr/lib/python${OLD_PY_VER} +# +# +OLD_MODULES_DIRS="/usr/lib/python${OLD_PY_VER} /usr/lib32/python${OLD_PY_VER} /usr/lib64/python${OLD_PY_VER}" +OLD_INCLUDE_DIR=/usr/include/python${OLD_PY_VER} + +eloginfo "Starting Python Updater from ${OLD_PY_VER} to ${NEW_PY_VER} :" +eloginfo "Searching for packages with files in ${OLD_MODULES_DIRS} .." + +# iterate thru all the installed package's contents +for content in `find ${PKG_DBDIR} -name CONTENTS`; do + # extract the category, package name and package version + CATPKGVER=$(echo ${content} | sed "s:${PKG_DBDIR}/\(.*\)/CONTENTS:\1:") + + # exclude packages that are an exception, like portage and python itself. + exception=0 + for exp in ${PKGS_EXCEPTIONS}; do + if [ -n "$(echo ${CATPKGVER} | grep ${exp})" ]; then + exception=1 + break; + fi + done + + if [ ${exception} = 1 ]; then + continue; + fi + + for OLD_MODULES_DIR in ${OLD_MODULES_DIRS}; do + if fgrep "${OLD_MODULES_DIR}" ${content} > /dev/null; then + PKGS_TO_REMERGE="${PKGS_TO_REMERGE} ${CATPKGVER}" + elogecho "Adding to list: ${CATPKGVER}" + elif fgrep "${OLD_INCLUDE_DIR}" ${content} > /dev/null; then + PKGS_TO_REMERGE="${PKGS_TO_REMERGE} ${CATPKGVER}" + fi + done +done + +# now we have to do each emerge seperately because if an installed version +# does not have the corresponding ebuild in portage, then it will bail. + +eloginfo "Calculating Upgrade Package List .." + +PKGS_OK="" +PKGS_MASKED="" +PKGS_MISSING="" + +MASKED_STRING="been masked" +MISSING_STRING="there are no masked or unmasked ebuilds to satisfy" + +for pkg in ${PKGS_TO_REMERGE}; do + emerge_output="$(emerge -p \=$pkg 2>&1)" + if $(echo "${emerge_output}" | grep "${MASKED_STRING}" > /dev/null); then + PKGS_MASKED="${PKGS_MASKED} $pkg" + elogecho "$pkg is masked" + elif $(echo "${emerge_output}" | grep "${MISSING_STRING}" > /dev/null); then + PKGS_MISSING="${PKGS_MISSING} $pkg" + elogecho "$pkg is missing from portage" + else + PKGS_OK="${PKGS_OK} $pkg" + PKGS_COUNT_REMERGE=$((PKGS_COUNT_REMERGE + 1)) + fi +done + +# +# Use my super dumb package reordering algorithm that works most of the time +# + +eloginfo "Re-ordering packages to merge .." + +PKGS_OK_SORTED="$(${PORTAGE_PYTHON} ${PORTDIR}/dev-lang/python/files/depreorder.py ${PKGS_OK} | xargs)" + +eloginfo "Preparing to merge these packages in this order:" +for pkg in $PKGS_OK_SORTED; do + elogecho "$pkg" +done + +# we emerge each package seperately to ensure we know exactly which ones might +# cause an error, and then report it at the end + +COUNT=1 +PKGS_FAILED="" +if [ "${PRETEND}" != "1" ]; then + for pkg in ${PKGS_OK_SORTED}; do + eloginfo "Starting to merge ($COUNT/$PKGS_COUNT_REMERGE) $pkg .." + if ! emerge --oneshot --nodeps =$pkg; then + PKGS_FAILED="${PKGS_FAILED} $pkg" + elogerr "Failed merging $pkg ($COUNT/$PKGS_COUNT_REMERGE)!" + fi + COUNT=$((COUNT+1)) + done +fi + +# final output stuff +OUTPUT_PKGS_MASKED="" +for pkg in ${PKGS_MASKED}; do OUTPUT_PKGS_MASKED="${OUTPUT_PKGS_MASKED} \=$pkg"; done +OUTPUT_PKGS_MISSING="" +for pkg in ${PKGS_MISSING}; do OUTPUT_PKGS_MISSING="${OUTPUT_PKGS_MISSING} $pkg"; done +OUTPUT_PKGS_FAILED="" +for pkg in ${PKGS_FAILED}; do OUTPUT_PKGS_FAILED="${OUTPUT_PKGS_FAILED} \=$pkg"; done + +if [ -n "${PKGS_FAILED}" -o -n "${PKGS_MISSING}" -o -n "${PKGS_MASKED}" ]; then + echo + ewarn "************************************************************" + ewarn "* Packages that still need to be manually emerged : *" + ewarn "************************************************************" + if [ -n "${OUTPUT_PKGS_MASKED}" ]; then + echo + ewarn " Masked Packages:" + ewarn " ----------------" + ewarn " Unmask the following packages (at your own risk) and " + ewarn " emerge them using this command after removing the '-p'" + ewarn " parameter." + echo + ewarn " emerge -p ${OUTPUT_PKGS_MASKED}" + echo + fi + if [ -n "${OUTPUT_PKGS_MISSING}" ]; then + echo + ewarn " Missing Packages:" + ewarn " -----------------" + ewarn " These packages need to be updated because their versions do" + ewarn " not exist in portage anymore." + echo + for x in ${OUTPUT_PKGS_MISSING}; do + echo " ${x}" + done + fi + if [ -n "${OUTPUT_PKGS_FAILED}" ]; then + echo + ewarn " Failed Packaged:" + ewarn " ----------------" + ewarn " These packages have failed and need to be re-emerged again." + ewarn " Alternatively, try re-running this script again to see if it" + ewarn " can be fixed." + echo + ewarn " emerge -p ${OUTPUT_PKGS_FAILED}" + echo + fi + + elog "Python update completed with errors." + elog "Masked Packages:" + for x in ${PKGS_MASKED}; do + elog $x + done + elog "Missing Packages:" + for x in ${PKGS_MISSING}; do + elog $x + done + elog "Failed Packages:" + for x in ${PKGS_FAILED}; do + elog $x + done + elog "Update script completed." +else + eloginfo "Python update completed successfully." +fi + diff --git a/dev-lang/python/files/python-updater-r1 b/dev-lang/python/files/python-updater-r1 new file mode 100644 index 0000000..09d9321 --- /dev/null +++ b/dev-lang/python/files/python-updater-r1 @@ -0,0 +1,322 @@ +#!/bin/sh +# +# A bit of hackery to update everything that is humanly possible +# that maybe related to an older version of python. This script can +# be run as many times as you like. It will log the results in +# /tmp/python-updater.log +# +# OLD_PY_VER = old python version we are upgrading from +# NEW_PY_VER = new python version we are upgrading to +# PKGS_EXCEPTIONS = packages that should NOT be re-emerged for any reason +# PKGS_MANUAL = packages that should be re-emerged even if they don't +# fit the criteria (eg. ones that have python compiled +# statically) - FIXME +# +# Runtime Variables: +# +# PKGS_TO_REMERGE = list of packages we deem to need re-emerging +# PKGS_OK = list of packages that should be merged without any problems +# PKGS_MISSING = list of packages that are installed, but cannot be merged +# because they have been pruned from portage +# PKGS_MASKED = list of packages that are installed, but masked. +# + +NEW_PY_VER=$(python -V 2>&1 | sed 's:Python ::' | cut -d. -f1-2) + +PKGS_EXCEPTIONS="dev-lang/python sys-apps/portage" +PKGS_MANUAL="app-office/gnumeric app-office/dia x11-libs/vte" +LOGFILE="/var/log/python-updater.log" + +# portage variables +PKG_DBDIR=/var/db/pkg +PORTDIR=`portageq portdir` +PORTDIR_OVERLAYS=`portageq portdir_overlay` + +PRETEND=0 +PKGS_TO_REMERGE="" +PKGS_COUNT_REMERGE=0 +PORTAGE_PYTHON="/usr/bin/python" + +# load the gentoo-style info macros, but hack to get around +# it thinking this is an rc script +EBUILD="1" +source /etc/init.d/functions.sh || exit 1 + + + +for old in 2.4 2.3 2.2 2.1; do + if [ "${old}" != "${NEW_PY_VER}" ]; then + if [ -e /usr/bin/python${old} ] ; then + OLD_PY_VER=${old} + break; + fi + fi +done + + +if [ -z "${OLD_PY_VER}" ] ; then + eerror "Can't determine any previous Python version(s)." + exit 1 +fi + + +# misc helper functions +eloginfo() { + einfo $* + DATESTRING=`date +"%Y/%m/%d %H:%M:%S"` + echo "${DATESTRING} - ${*}" >> ${LOGFILE} +} + +elogecho() { + echo -n " " + echo $* + DATESTRING=`date +"%Y/%m/%d %H:%M:%S"` + echo "${DATESTRING} - ${*}" >> ${LOGFILE} +} + +elogerr() { + eerror $* + DATESTRING=`date +"%Y/%m/%d %H:%M:%S"` + echo "${DATESTRING} ! ${*}" >> ${LOGFILE} +} + +elog() { + DATESTRING=`date +"%Y/%m/%d %H:%M:%S"` + echo "${DATESTRING} - ${*}" >> ${LOGFILE} +} + + +usage() { + echo "usage: python-updater [-h|-p|-o X.X|-n X.X]" + echo " -h help" + echo " -p pretend (don't do anything)" + echo " -o X.X set old python version to upgrade from [default: ${OLD_PY_VER}]" + echo " -n X.X set new python version to upgrade to [default: ${NEW_PY_VER}]" +} + +# +# Sanity check +# + +if [ -z "${PORTDIR}" ]; then + eerror "Unable to proceed. Can not find PORTDIR. Make sure the command:" + eerror " " + eerror " portageq portdir" + eerror " " + eerror "returns a value. If it doesn't, make sure you have updated to" + eerror "latest portage version." + eerror " " + eerror "Report bugs to http://bugs.gentoo.org/" + exit 1 +fi + +if [ ! -f ${LOGFILE} ]; then + if ! touch ${LOGFILE} 2>&1 > /dev/null; then + ewarn "Logging disabled due to permissions" + LOGFILE=/dev/null + fi +elif [ ! -w ${LOGFILE} -o ! -L ${LOGFILE} ]; then + ewarn "Logging disabled due to permissions" + LOGFILE=/dev/null +fi + +# +# +# Command Line Parsing +# +# +while [ -n "$1" ]; do + case "$1" in + -h) + usage + exit 0 + ;; + -p) + PRETEND=1 + ;; + -o) + shift + OLD_PY_VER="$1" + ;; + -n) + shift + NEW_PY_VER="$1" + ;; + *) + usage + echo "unrecognised option: $1" + ;; + esac + shift +done + +# +# Test where portage is, in python2.2 or somewhere else? +# +for py in /usr/bin/python /usr/bin/python${OLD_PY_VER} /usr/bin/python${NEW_PY_VER}; do + if ${py} -c "import portage"; then + PORTAGE_PYTHON=${py} + break; + fi +done + +# +# +# Find all packages that have installed something in +# /usr/lib/python${OLD_PY_VER} +# +# +OLD_MODULES_DIRS="/usr/lib/python${OLD_PY_VER} /usr/lib32/python${OLD_PY_VER} /usr/lib64/python${OLD_PY_VER}" +OLD_INCLUDE_DIR=/usr/include/python${OLD_PY_VER} + +eloginfo "Starting Python Updater from ${OLD_PY_VER} to ${NEW_PY_VER} :" +eloginfo "Searching for packages with files in ${OLD_MODULES_DIRS} .." + +# iterate thru all the installed package's contents +for content in `find ${PKG_DBDIR} -name CONTENTS`; do + # extract the category, package name and package version + CATPKGVER=$(echo ${content} | sed "s:${PKG_DBDIR}/\(.*\)/CONTENTS:\1:") + + # exclude packages that are an exception, like portage and python itself. + exception=0 + for exp in ${PKGS_EXCEPTIONS}; do + if [ -n "$(echo ${CATPKGVER} | grep ${exp})" ]; then + exception=1 + break; + fi + done + + if [ ${exception} = 1 ]; then + continue; + fi + + for OLD_MODULES_DIR in ${OLD_MODULES_DIRS}; do + if fgrep "${OLD_MODULES_DIR}" ${content} > /dev/null; then + PKGS_TO_REMERGE="${PKGS_TO_REMERGE} ${CATPKGVER}" + elogecho "Adding to list: ${CATPKGVER}" + elif fgrep "${OLD_INCLUDE_DIR}" ${content} > /dev/null; then + PKGS_TO_REMERGE="${PKGS_TO_REMERGE} ${CATPKGVER}" + fi + done +done + +# now we have to do each emerge seperately because if an installed version +# does not have the corresponding ebuild in portage, then it will bail. + +eloginfo "Calculating Upgrade Package List .." + +PKGS_OK="" +PKGS_MASKED="" +PKGS_MISSING="" + +MASKED_STRING="been masked" +MISSING_STRING="there are no masked or unmasked ebuilds to satisfy" + +for pkg in ${PKGS_TO_REMERGE}; do + emerge_output="$(emerge -p \=$pkg 2>&1)" + if $(echo "${emerge_output}" | grep "${MASKED_STRING}" > /dev/null); then + PKGS_MASKED="${PKGS_MASKED} $pkg" + elogecho "$pkg is masked" + elif $(echo "${emerge_output}" | grep "${MISSING_STRING}" > /dev/null); then + PKGS_MISSING="${PKGS_MISSING} $pkg" + elogecho "$pkg is missing from portage" + else + PKGS_OK="${PKGS_OK} $pkg" + PKGS_COUNT_REMERGE=$((PKGS_COUNT_REMERGE + 1)) + fi +done + +# +# Use my super dumb package reordering algorithm that works most of the time +# + +eloginfo "Re-ordering packages to merge .." + +PKGS_OK_SORTED="$(${PORTAGE_PYTHON} ${PORTDIR}/dev-lang/python/files/depreorder-topsort.py ${PKGS_OK} | xargs)" + +eloginfo "Preparing to merge these packages in this order:" +for pkg in $PKGS_OK_SORTED; do + elogecho "$pkg" +done + +# we emerge each package seperately to ensure we know exactly which ones might +# cause an error, and then report it at the end + +COUNT=1 +PKGS_FAILED="" +if [ "${PRETEND}" != "1" ]; then + for pkg in ${PKGS_OK_SORTED}; do + eloginfo "Starting to merge ($COUNT/$PKGS_COUNT_REMERGE) $pkg .." + if ! emerge --oneshot --nodeps =$pkg; then + PKGS_FAILED="${PKGS_FAILED} $pkg" + elogerr "Failed merging $pkg ($COUNT/$PKGS_COUNT_REMERGE)!" + fi + COUNT=$((COUNT+1)) + done +fi + +# final output stuff +OUTPUT_PKGS_MASKED="" +for pkg in ${PKGS_MASKED}; do OUTPUT_PKGS_MASKED="${OUTPUT_PKGS_MASKED} \=$pkg"; done +OUTPUT_PKGS_MISSING="" +for pkg in ${PKGS_MISSING}; do OUTPUT_PKGS_MISSING="${OUTPUT_PKGS_MISSING} $pkg"; done +OUTPUT_PKGS_FAILED="" +for pkg in ${PKGS_FAILED}; do OUTPUT_PKGS_FAILED="${OUTPUT_PKGS_FAILED} \=$pkg"; done + +if [ -n "${PKGS_FAILED}" -o -n "${PKGS_MISSING}" -o -n "${PKGS_MASKED}" ]; then + echo + ewarn "************************************************************" + ewarn "* Packages that still need to be manually emerged : *" + ewarn "************************************************************" + if [ -n "${OUTPUT_PKGS_MASKED}" ]; then + echo + ewarn " Masked Packages:" + ewarn " ----------------" + ewarn " Unmask the following packages (at your own risk) and " + ewarn " emerge them using this command after removing the '-p'" + ewarn " parameter." + echo + ewarn " emerge -p ${OUTPUT_PKGS_MASKED}" + echo + fi + if [ -n "${OUTPUT_PKGS_MISSING}" ]; then + echo + ewarn " Missing Packages:" + ewarn " -----------------" + ewarn " These packages need to be updated because their versions do" + ewarn " not exist in portage anymore." + echo + for x in ${OUTPUT_PKGS_MISSING}; do + echo " ${x}" + done + fi + if [ -n "${OUTPUT_PKGS_FAILED}" ]; then + echo + ewarn " Failed Packaged:" + ewarn " ----------------" + ewarn " These packages have failed and need to be re-emerged again." + ewarn " Alternatively, try re-running this script again to see if it" + ewarn " can be fixed." + echo + ewarn " emerge -p ${OUTPUT_PKGS_FAILED}" + echo + fi + + elog "Python update completed with errors." + elog "Masked Packages:" + for x in ${PKGS_MASKED}; do + elog $x + done + elog "Missing Packages:" + for x in ${PKGS_MISSING}; do + elog $x + done + elog "Failed Packages:" + for x in ${PKGS_FAILED}; do + elog $x + done + elog "Update script completed." +else + eloginfo "Python update completed successfully." +fi + diff --git a/dev-lang/python/metadata.xml b/dev-lang/python/metadata.xml new file mode 100644 index 0000000..de483c5 --- /dev/null +++ b/dev-lang/python/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>python</herd> +</pkgmetadata> diff --git a/dev-lang/python/python-2.5.2.ebuild b/dev-lang/python/python-2.5.2.ebuild new file mode 100644 index 0000000..a42d5fc --- /dev/null +++ b/dev-lang/python/python-2.5.2.ebuild @@ -0,0 +1,326 @@ +# 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.5.1-r5.ebuild,v 1.3 2008/03/11 14:23:49 dev-zero 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 autotools flag-o-matic python multilib versionator toolchain-funcs alternatives libtool + +# 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}-r3.tar.bz2" + +LICENSE="PSF-2.2" +SLOT="2.5" +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 sqlite doc nothreads examples elibc_uclibc" + +# NOTE: dev-python/{elementtree,celementtree,pysqlite,ctypes,cjkcodecs} +# do not conflict with the ones in python proper. - liquidx + +DEPEND=">=sys-libs/zlib-1.1.3 + !build? ( + sqlite? ( >=dev-db/sqlite-3 ) + 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 ) + dev-libs/expat + )" +# doc? ( =dev-python/python-docs-${PV}* ) + +# 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 +# NOTE: added blocker to enforce correct merge order for bug 88777. - zmedico + +RDEPEND="${DEPEND} build? ( !dev-python/python-fchksum )" +PDEPEND="${DEPEND} !build? ( dev-python/python-fchksum ) 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 + + # remove microsoft windows executables + rm Lib/distutils/command/wininst-*.exe + + 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 _sqlite3" + 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 sqlite \ + || PYTHON_DISABLE_MODULES="${PYTHON_DISABLE_MODULES} _sqlite3" + 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" ] && 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 + + # 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 + + if tc-is-cross-compiler ; then + OPT="-O1" CFLAGS="" LDFLAGS="" CC="" \ + ./configure || die "cross-configure failed" + emake python Parser/pgen || die "cross-make failed" + mv python hostpython + mv Parser/pgen Parser/hostpgen + make distclean + sed -i \ + -e '/^HOSTPYTHON/s:=.*:=./hostpython:' \ + -e '/^HOSTPGEN/s:=.*:=./Parser/hostpgen:' \ + Makefile.pre.in || die + fi + + # export CXX so it ends up in /usr/lib/python2.x/config/Makefile + tc-export CXX + + # set LDFLAGS so we link modules with -lpython2.5 correctly. + # Needed on FreeBSD unless python2.5 is already installed. + # Please query BSD team before removing this! + append-ldflags "-L." + + 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 maninstall || die + + mv "${D}"/usr/bin/python${PYVER}-config "${D}"/usr/bin/python-config-${PYVER} + + # Fix slotted collisions + mv "${D}"/usr/bin/pydoc "${D}"/usr/bin/pydoc${PYVER} + mv "${D}"/usr/bin/idle "${D}"/usr/bin/idle${PYVER} + mv "${D}"/usr/share/man/man1/python.1 \ + "${D}"/usr/share/man/man1/python${PYVER}.1 + rm -f "${D}"/usr/bin/smtpd.py + + # 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)/python${PYVER}/{test,encodings,email,lib-tk,bsddb/test} + else + use elibc_uclibc && rm -rf "${D}"/usr/$(get_libdir)/python${PYVER}/{test,bsddb/test} + use berkdb || rm -rf "${D}"/usr/$(get_libdir)/python${PYVER}/bsddb + use tk || rm -rf "${D}"/usr/$(get_libdir)/python${PYVER}/lib-tk + fi + + prep_ml_includes usr/include/python${PYVER} + + # 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 + + if use examples ; then + mkdir -p "${D}"/usr/share/doc/${P}/examples + cp -r "${S}"/Tools "${D}"/usr/share/doc/${P}/examples + fi + + newinitd "${FILESDIR}/pydoc.init" pydoc-${SLOT} + newconfd "${FILESDIR}/pydoc.conf" pydoc-${SLOT} +} + +pkg_postrm() { + local mansuffix=$(ecompress --suffix) + python_makesym + alternatives_auto_makesym "/usr/bin/idle" "idle[0-9].[0-9]" + alternatives_auto_makesym "/usr/bin/pydoc" "pydoc[0-9].[0-9]" + alternatives_auto_makesym "/usr/bin/python-config" \ + "python-config-[0-9].[0-9]" + + alternatives_auto_makesym "/usr/share/man/man1/python.1${mansuffix}" \ + "python[0-9].[0-9].1${mansuffix}" + + python_mod_cleanup /usr/lib/python${PYVER} + [[ "$(get_libdir)" == "lib" ]] || \ + python_mod_cleanup /usr/$(get_libdir)/python${PYVER} +} + +pkg_postinst() { + local myroot + myroot=$(echo $ROOT | sed 's:/$::') + local mansuffix=$(ecompress --suffix) + + python_makesym + alternatives_auto_makesym "/usr/bin/idle" "idle[0-9].[0-9]" + alternatives_auto_makesym "/usr/bin/pydoc" "pydoc[0-9].[0-9]" + alternatives_auto_makesym "/usr/bin/python-config" \ + "python-config-[0-9].[0-9]" + + alternatives_auto_makesym "/usr/share/man/man1/python.1${mansuffix}" \ + "python[0-9].[0-9].1${mansuffix}" + + python_mod_optimize + python_mod_optimize -x site-packages \ + -x test ${myroot}/usr/lib/python${PYVER} + [[ "$(get_libdir)" == "lib" ]] || \ + python_mod_optimize -x site-packages \ + -x test ${myroot}/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.3/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.4/site-packages/{portage,xpak,output,cvstree,getbinpkg,emergehelp,dispatch_conf}.py ${myroot}/usr/lib/portage/pym + python_mod_optimize ${myroot}/usr/lib/portage/pym + fi + fi + + echo + ewarn + ewarn "If you have just upgraded from an older version of python you will" + ewarn "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() { + # Tests won't work when cross compiling + if tc-is-cross-compiler ; then + elog "Disabling tests due to crosscompiling." + return + fi + + # 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="distutils global mimetools minidom mmap posix pyexpat sax strptime subprocess syntax tcl time urllib urllib2 webbrowser xml_etree" + + for test in ${skip_tests} ; do + mv "${S}"/Lib/test/test_${test}.py "${T}" + done + + # rerun failed tests in verbose mode (regrtest -w) + EXTRATESTOPTS="-w" 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." +} |