diff options
author | Ned Ludd <solar@gentoo.org> | 2004-06-15 06:22:55 +0000 |
---|---|---|
committer | Ned Ludd <solar@gentoo.org> | 2004-06-15 06:22:55 +0000 |
commit | d8f4adaaf6adf52d61b5fabae4fc797fd8243f6e (patch) | |
tree | 3b49a07d87b6fe3e6d5dbe09ed46e26598b055cf /dev-lang | |
parent | basic initial uclibc support needed for bootstrapping (Manifest recommit) (diff) | |
download | gentoo-2-d8f4adaaf6adf52d61b5fabae4fc797fd8243f6e.tar.gz gentoo-2-d8f4adaaf6adf52d61b5fabae4fc797fd8243f6e.tar.bz2 gentoo-2-d8f4adaaf6adf52d61b5fabae4fc797fd8243f6e.zip |
USE= cleanups and added uclibc
Diffstat (limited to 'dev-lang')
-rw-r--r-- | dev-lang/python/ChangeLog | 5 | ||||
-rw-r--r-- | dev-lang/python/python-2.3.3-r1.ebuild | 16 |
2 files changed, 16 insertions, 5 deletions
diff --git a/dev-lang/python/ChangeLog b/dev-lang/python/ChangeLog index 0358b836dead..cc77fc71c645 100644 --- a/dev-lang/python/ChangeLog +++ b/dev-lang/python/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for dev-lang/python # Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/python/ChangeLog,v 1.99 2004/06/13 04:50:39 tgall Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-lang/python/ChangeLog,v 1.100 2004/06/15 06:22:55 solar Exp $ + + 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 diff --git a/dev-lang/python/python-2.3.3-r1.ebuild b/dev-lang/python/python-2.3.3-r1.ebuild index 3f62b6c7e7f3..dd0483a9a867 100644 --- a/dev-lang/python/python-2.3.3-r1.ebuild +++ b/dev-lang/python/python-2.3.3-r1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2004 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/python/python-2.3.3-r1.ebuild,v 1.13 2004/06/13 04:50:39 tgall Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-lang/python/python-2.3.3-r1.ebuild,v 1.14 2004/06/15 06:22:55 solar Exp $ # NOTE about python-portage interactions : # - Do not add a pkg_setup() check for a certain version of portage @@ -19,7 +19,7 @@ DESCRIPTION="A really great language" SRC_URI="http://www.python.org/ftp/python/${PV%_*}/Python-${MY_PV}.tar.bz2" HOMEPAGE="http://www.python.org" -IUSE="ncurses gdbm ssl readline tcltk berkdb bootstrap ipv6 build ucs2 doc X" +IUSE="ncurses gdbm ssl readline tcltk berkdb bootstrap ipv6 build ucs2 doc X uclibc" LICENSE="PSF-2.2" SLOT="2.3" @@ -73,8 +73,8 @@ src_configure() { || PYTHON_DISABLE_MODULES="${PYTHON_DISABLE_MODULES} dbm bsddb" use readline \ || PYTHON_DISABLE_MODULES="${PYTHON_DISABLE_MODULES} readline" - [ -z "use X" -o -z "use tcltk" ] \ - && PYTHON_DISABLE_MODULES="${PYTHON_DISABLE_MODULES} _tkinter" + ( use X && use tcltk ) \ + || PYTHON_DISABLE_MODULES="${PYTHON_DISABLE_MODULES} _tkinter" use ncurses \ || PYTHON_DISABLE_MODULES="${PYTHON_DISABLE_MODULES} _curses _curses_panel" use ssl \ @@ -143,6 +143,14 @@ src_install() { # install python-updater in /usr/sbin dosbin ${FILESDIR}/python-updater + + if use build ; then + rm -rf ${D}/usr/lib/python2.3/{test,encodings,email,lib-tk,bsddb/test} + else + use uclibc && rm -rf ${D}/usr/lib/python2.3/{test,bsddb/test} + use berkdb || rm -rf ${D}/usr/lib/python2.3/bsddb + ( use X && use tcltk ) || rm -rf ${D}/usr/lib/python2.3/lib-tk + fi } pkg_postrm() { |