diff options
author | Mike Frysinger <vapier@gentoo.org> | 2004-04-16 02:32:26 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2004-04-16 02:32:26 +0000 |
commit | 9db4a4eaf77dff59d8175e7c9e16fb6ccb260e77 (patch) | |
tree | 81238fa5a0387a31287aff8608634f53e2b061d8 /dev-lang/python | |
parent | add inherit eutils (diff) | |
download | gentoo-2-9db4a4eaf77dff59d8175e7c9e16fb6ccb260e77.tar.gz gentoo-2-9db4a4eaf77dff59d8175e7c9e16fb6ccb260e77.tar.bz2 gentoo-2-9db4a4eaf77dff59d8175e7c9e16fb6ccb260e77.zip |
add inherit eutils
Diffstat (limited to 'dev-lang/python')
-rw-r--r-- | dev-lang/python/python-2.3.3.ebuild | 29 |
1 files changed, 14 insertions, 15 deletions
diff --git a/dev-lang/python/python-2.3.3.ebuild b/dev-lang/python/python-2.3.3.ebuild index 28e3d1e32ccf..222f59d7984e 100644 --- a/dev-lang/python/python-2.3.3.ebuild +++ b/dev-lang/python/python-2.3.3.ebuild @@ -1,13 +1,13 @@ # 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.ebuild,v 1.22 2004/03/10 15:42:36 agriffis Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-lang/python/python-2.3.3.ebuild,v 1.23 2004/04/16 02:31:53 vapier 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 flag-o-matic python +inherit flag-o-matic python eutils MY_PV=${PV/_rc/c} PYVER_MAJOR="`echo ${PV%_*} | cut -d '.' -f 1`" @@ -22,22 +22,21 @@ HOMEPAGE="http://www.python.org" IUSE="ncurses gdbm ssl readline tcltk berkdb bootstrap ipv6 build ucs2 doc X" LICENSE="PSF-2.2" SLOT="2.3" - KEYWORDS="x86 ppc sparc hppa amd64 s390 alpha ia64" -# "~alpha ~mips ~arm" DEPEND="virtual/glibc >=sys-libs/zlib-1.1.3 - !build? ( X? ( tcltk? ( >=dev-lang/tk-8.0 ) ) - ncurses? ( >=sys-libs/ncurses-5.2 readline? ( >=sys-libs/readline-4.1 ) ) - berkdb? ( >=sys-libs/db-3.1 ) - gdbm? ( sys-libs/gdbm ) - ssl? ( dev-libs/openssl ) - doc? ( =dev-python/python-docs-${PV}* ) - dev-libs/expat + !build? ( + X? ( tcltk? ( >=dev-lang/tk-8.0 ) ) + ncurses? ( >=sys-libs/ncurses-5.2 readline? ( >=sys-libs/readline-4.1 ) ) + berkdb? ( >=sys-libs/db-3.1 ) + gdbm? ( sys-libs/gdbm ) + ssl? ( dev-libs/openssl ) + doc? ( =dev-python/python-docs-${PV}* ) + dev-libs/expat )" - -RDEPEND="${DEPEND} dev-python/python-fchksum" +RDEPEND="${DEPEND} + dev-python/python-fchksum" # The dev-python/python-fchksum RDEPEND is needed to that this python provides # the functionality expected from previous pythons. @@ -59,7 +58,7 @@ src_unpack() { src_configure() { # disable extraneous modules with extra dependencies - if [ -n "`use build`" ]; then + if use build ; then export PYTHON_DISABLE_MODULES="readline pyexpat dbm gdbm bsddb _curses _curses_panel _tkinter" export PYTHON_DISABLE_SSL=1 else @@ -69,7 +68,7 @@ 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" ] \ + [ -z "`use X`" -o -z "`use tcltk`" ] \ && PYTHON_DISABLE_MODULES="${PYTHON_DISABLE_MODULES} _tkinter" use ncurses \ || PYTHON_DISABLE_MODULES="${PYTHON_DISABLE_MODULES} _curses _curses_panel" |