summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2014-11-16 16:01:24 +0000
committerMichał Górny <mgorny@gentoo.org>2014-11-16 16:01:24 +0000
commit0908feb634ee8adc1b2e0a89a873a52ac5aec492 (patch)
treee072634ab1180fba55d2abe826a63f7bfaab62c7 /dev-util/boost-build/boost-build-1.55.0-r1.ebuild
parentVersion bump couchdb-python to 1.0 (fixes bug 528668) (diff)
downloadhistorical-0908feb634ee8adc1b2e0a89a873a52ac5aec492.tar.gz
historical-0908feb634ee8adc1b2e0a89a873a52ac5aec492.tar.bz2
historical-0908feb634ee8adc1b2e0a89a873a52ac5aec492.zip
Support using tests without enabling Python linking, bug #529480.
Package-Manager: portage-2.2.14/cvs/Linux x86_64 Manifest-Sign-Key: 0xEFB4464E!
Diffstat (limited to 'dev-util/boost-build/boost-build-1.55.0-r1.ebuild')
-rw-r--r--dev-util/boost-build/boost-build-1.55.0-r1.ebuild11
1 files changed, 7 insertions, 4 deletions
diff --git a/dev-util/boost-build/boost-build-1.55.0-r1.ebuild b/dev-util/boost-build/boost-build-1.55.0-r1.ebuild
index 7a30d5086902..35368eb1be3c 100644
--- a/dev-util/boost-build/boost-build-1.55.0-r1.ebuild
+++ b/dev-util/boost-build/boost-build-1.55.0-r1.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-util/boost-build/boost-build-1.55.0-r1.ebuild,v 1.1 2014/11/16 15:40:30 mgorny Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/boost-build/boost-build-1.55.0-r1.ebuild,v 1.2 2014/11/16 16:01:22 mgorny Exp $
EAPI="5"
@@ -22,15 +22,18 @@ RDEPEND="python? ( ${PYTHON_DEPS} )
!<dev-libs/boost-1.34.0
!<=dev-util/boost-build-1.35.0-r1"
DEPEND="${RDEPEND}
- test? ( sys-apps/diffutils )"
+ test? ( sys-apps/diffutils
+ ${PYTHON_DEPS} )"
REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )
- test? ( python )"
+ test? ( ${PYTHON_REQUIRED_USE} )"
S="${WORKDIR}/boost_${MY_PV}/tools/build/v2"
pkg_setup() {
- use python && python-single-r1_pkg_setup
+ if use python || use test; then
+ python-single-r1_pkg_setup
+ fi
}
src_unpack() {