Gentoo Archives: gentoo-python

From: "Michał Górny" <mgorny@g.o>
To: gentoo-python@l.g.o
Cc: python@g.o, "Michał Górny" <mgorny@g.o>
Subject: [gentoo-python] [PATCH 09/10] Clean up the bsddb messages.
Date: Mon, 26 Nov 2012 21:24:23
Message-Id: 1353964837-24198-10-git-send-email-mgorny@gentoo.org
In Reply to: [gentoo-python] python2.7 ebuild patches, split up by "Michał Górny"
1 Acked by Ian Delaney.
2 ---
3 gx86/dev-lang/python/python-2.7.3-r3.ebuild | 11 ++++++-----
4 1 file changed, 6 insertions(+), 5 deletions(-)
5
6 diff --git a/gx86/dev-lang/python/python-2.7.3-r3.ebuild b/gx86/dev-lang/python/python-2.7.3-r3.ebuild
7 index d1cf2e6..2182837 100644
8 --- a/gx86/dev-lang/python/python-2.7.3-r3.ebuild
9 +++ b/gx86/dev-lang/python/python-2.7.3-r3.ebuild
10 @@ -62,13 +62,14 @@ S="${WORKDIR}/${MY_P}"
11
12 pkg_setup() {
13 if use berkdb; then
14 - ewarn "\"bsddb\" module is out-of-date and no longer maintained inside dev-lang/python."
15 - ewarn "\"bsddb\" and \"dbhash\" modules have been additionally removed in Python 3."
16 - ewarn "You should use external, still maintained \"bsddb3\" module provided by dev-python/bsddb3,"
17 - ewarn "which supports both Python 2 and Python 3."
18 + ewarn "'bsddb' module is out-of-date and no longer maintained inside"
19 + ewarn "dev-lang/python. 'bsddb' and 'dbhash' modules have been additionally"
20 + ewarn "removed in Python 3. A maintained alternative of 'bsddb3' module"
21 + ewarn "is provided by dev-python/bsddb3."
22 else
23 if has_version "=${CATEGORY}/${PN}-${PV%%.*}*[berkdb]"; then
24 - ewarn "You are migrating from =${CATEGORY}/${PN}-${PV%%.*}*[berkdb] to =${CATEGORY}/${PN}-${PV%%.*}*[-berkdb]."
25 + ewarn "You are migrating from =${CATEGORY}/${PN}-${PV%%.*}*[berkdb]"
26 + ewarn "to =${CATEGORY}/${PN}-${PV%%.*}*[-berkdb]."
27 ewarn "You might need to migrate your databases."
28 fi
29 fi
30 --
31 1.8.0