diff options
author | Ali Polatel <hawking@gentoo.org> | 2008-06-20 15:13:49 +0000 |
---|---|---|
committer | Ali Polatel <hawking@gentoo.org> | 2008-06-20 15:13:49 +0000 |
commit | c728b34b828d836a90410b52155df69c8388beb3 (patch) | |
tree | 34e7d6142d67e71879de91a8bead504c25df10fc | |
parent | Replace CPPSERV 0.1.111 with CPPSERV 0.1.112 (diff) | |
download | gentoo-2-c728b34b828d836a90410b52155df69c8388beb3.tar.gz gentoo-2-c728b34b828d836a90410b52155df69c8388beb3.tar.bz2 gentoo-2-c728b34b828d836a90410b52155df69c8388beb3.zip |
Fix bsddb dependency, bug 223133. Cosmetics
(Portage version: 2.2_rc1/cvs/Linux 2.6.25-gentoo-r1 x86_64)
-rw-r--r-- | dev-lang/python/ChangeLog | 5 | ||||
-rw-r--r-- | dev-lang/python/python-2.5.2-r4.ebuild | 38 |
2 files changed, 20 insertions, 23 deletions
diff --git a/dev-lang/python/ChangeLog b/dev-lang/python/ChangeLog index ed7d0ff63fbe..7a8472f0a2d0 100644 --- a/dev-lang/python/ChangeLog +++ b/dev-lang/python/ChangeLog @@ -1,6 +1,9 @@ # 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.323 2008/05/29 21:29:02 hawking Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-lang/python/ChangeLog,v 1.324 2008/06/20 15:13:49 hawking Exp $ + + 20 Jun 2008; Ali Polatel <hawking@gentoo.org> python-2.5.2-r4.ebuild: + Fix bsddb dependency, bug 223133. Cosmetics 29 May 2008; Ali Polatel <hawking@gentoo.org> python-2.3.5-r2.ebuild, python-2.3.5-r3.ebuild, python-2.3.6.ebuild, python-2.3.6-r3.ebuild, diff --git a/dev-lang/python/python-2.5.2-r4.ebuild b/dev-lang/python/python-2.5.2-r4.ebuild index 2c4bfb854d49..c17ef9d734fc 100644 --- a/dev-lang/python/python-2.5.2-r4.ebuild +++ b/dev-lang/python/python-2.5.2-r4.ebuild @@ -1,6 +1,6 @@ # 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.2-r4.ebuild,v 1.4 2008/05/29 21:29:02 hawking Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-lang/python/python-2.5.2-r4.ebuild,v 1.5 2008/06/20 15:13:49 hawking Exp $ # NOTE about python-portage interactions : # - Do not add a pkg_setup() check for a certain version of portage @@ -38,7 +38,8 @@ DEPEND=">=sys-libs/zlib-1.1.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 ) + berkdb? ( || ( sys-libs/db:4.5 sys-libs/db:4.4 sys-libs/db:4.3 + sys-libs/db:4.2 ) ) gdbm? ( sys-libs/gdbm ) ssl? ( dev-libs/openssl ) doc? ( dev-python/python-docs:2.5 ) @@ -91,27 +92,20 @@ src_configure() { 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 + # dbm module can link to berkdb or gdbm + # defaults to gdbm when both are enabled, #204343 + local disable + use berkdb || use gdbm || disable="${disable} dbm" + use berkdb || disable="${disable} bsddb" + use gdbm || disable="${disable} gdbm" + use ncurses || disable="${disable} _curses _curses_panel" + use readline || disable="${disable} readline" + use sqlite || disable="${disable} sqlite3" + use ssl || export PYTHON_DISABLE_SSL=1 + use tk || disable="${disable} _tkinter" + export PYTHON_DISABLE_MODULES="${disable}" fi + einfo "Disabled modules: $PYTHON_DISABLE_MODULES" } src_compile() { |