summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gilbert <floppym@gentoo.org>2014-08-03 23:10:41 +0000
committerMike Gilbert <floppym@gentoo.org>2014-08-03 23:10:41 +0000
commitf243a8fe46e0c01fb6c046d5533725962f4e2537 (patch)
treea1319916518c6bc5a0d32770dc8d23d419ec7a5f /dev-python/bsddb3
parentLinux patch 3.16.0 (diff)
downloadgentoo-2-f243a8fe46e0c01fb6c046d5533725962f4e2537.tar.gz
gentoo-2-f243a8fe46e0c01fb6c046d5533725962f4e2537.tar.bz2
gentoo-2-f243a8fe46e0c01fb6c046d5533725962f4e2537.zip
Use DB_VER from the environment to facilitate testing.
(Portage version: 2.2.11/cvs/Linux x86_64, signed Manifest commit with key 0BBEEA1FEA4843A4)
Diffstat (limited to 'dev-python/bsddb3')
-rw-r--r--dev-python/bsddb3/ChangeLog5
-rw-r--r--dev-python/bsddb3/bsddb3-6.1.0.ebuild10
2 files changed, 10 insertions, 5 deletions
diff --git a/dev-python/bsddb3/ChangeLog b/dev-python/bsddb3/ChangeLog
index 584877592073..0f9996eadafa 100644
--- a/dev-python/bsddb3/ChangeLog
+++ b/dev-python/bsddb3/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for dev-python/bsddb3
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/bsddb3/ChangeLog,v 1.110 2014/08/03 19:20:30 floppym Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/bsddb3/ChangeLog,v 1.111 2014/08/03 23:10:41 floppym Exp $
+
+ 03 Aug 2014; Mike Gilbert <floppym@gentoo.org> bsddb3-6.1.0.ebuild:
+ Use DB_VER from the environment to facilitate testing.
03 Aug 2014; Mike Gilbert <floppym@gentoo.org> bsddb3-6.1.0.ebuild:
Drop bindist from IUSE too.
diff --git a/dev-python/bsddb3/bsddb3-6.1.0.ebuild b/dev-python/bsddb3/bsddb3-6.1.0.ebuild
index b1018ea9f997..7097991bc4cc 100644
--- a/dev-python/bsddb3/bsddb3-6.1.0.ebuild
+++ b/dev-python/bsddb3/bsddb3-6.1.0.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/bsddb3/bsddb3-6.1.0.ebuild,v 1.4 2014/08/03 19:20:30 floppym Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/bsddb3/bsddb3-6.1.0.ebuild,v 1.5 2014/08/03 23:10:41 floppym Exp $
EAPI=5
PYTHON_COMPAT=( python{2_7,3_2,3_3,3_4} )
@@ -34,9 +34,11 @@ DISTUTILS_IN_SOURCE_BUILD=1
src_prepare() {
# This list should be kept in sync with setup.py.
- for DB_VER in 6.1 6.0 5.3 5.2 5.1 5.0 4.8; do
- has_version "sys-libs/db:${DB_VER}" && break
- done
+ if [[ -z ${DB_VER} ]]; then
+ for DB_VER in 6.1 6.0 5.3 5.2 5.1 5.0 4.8; do
+ has_version "sys-libs/db:${DB_VER}" && break
+ done
+ fi
# Force version.
sed -e "s/db_ver = None/db_ver = (${DB_VER%.*}, ${DB_VER#*.})/" \