summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gilbert <floppym@gentoo.org>2014-03-20 02:23:42 +0000
committerMike Gilbert <floppym@gentoo.org>2014-03-20 02:23:42 +0000
commitfd325e72fca642600a76a6ffd29b8955cfc65b51 (patch)
treee69fcc807d8574617348cad43ec5f1e3bc9f1bfa /app-misc/ca-certificates
parentVersion bump. (diff)
downloadgentoo-2-fd325e72fca642600a76a6ffd29b8955cfc65b51.tar.gz
gentoo-2-fd325e72fca642600a76a6ffd29b8955cfc65b51.tar.bz2
gentoo-2-fd325e72fca642600a76a6ffd29b8955cfc65b51.zip
Force usage of python 2.x during build.
(Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key 0BBEEA1FEA4843A4)
Diffstat (limited to 'app-misc/ca-certificates')
-rw-r--r--app-misc/ca-certificates/ChangeLog6
-rw-r--r--app-misc/ca-certificates/ca-certificates-20140223.3.15.5.ebuild8
2 files changed, 11 insertions, 3 deletions
diff --git a/app-misc/ca-certificates/ChangeLog b/app-misc/ca-certificates/ChangeLog
index 39f64102c054..7d173462dbc0 100644
--- a/app-misc/ca-certificates/ChangeLog
+++ b/app-misc/ca-certificates/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for app-misc/ca-certificates
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-misc/ca-certificates/ChangeLog,v 1.98 2014/03/19 22:05:21 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-misc/ca-certificates/ChangeLog,v 1.99 2014/03/20 02:23:42 floppym Exp $
+
+ 20 Mar 2014; Mike Gilbert <floppym@gentoo.org>
+ ca-certificates-20140223.3.15.5.ebuild:
+ Force usage of python 2.x during build.
*ca-certificates-20140223.3.15.5 (19 Mar 2014)
diff --git a/app-misc/ca-certificates/ca-certificates-20140223.3.15.5.ebuild b/app-misc/ca-certificates/ca-certificates-20140223.3.15.5.ebuild
index 0c3c2558403b..3cc5435931e6 100644
--- a/app-misc/ca-certificates/ca-certificates-20140223.3.15.5.ebuild
+++ b/app-misc/ca-certificates/ca-certificates-20140223.3.15.5.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/app-misc/ca-certificates/ca-certificates-20140223.3.15.5.ebuild,v 1.1 2014/03/19 22:05:21 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-misc/ca-certificates/ca-certificates-20140223.3.15.5.ebuild,v 1.2 2014/03/20 02:23:42 floppym Exp $
# The Debian ca-certificates package merely takes the CA database as it exists
# in the nss package and repackages it for use by openssl.
@@ -26,8 +26,9 @@
# https://bugzilla.mozilla.org/enter_bug.cgi?product=NSS&component=CA%20Certificates&version=trunk
EAPI="4"
+PYTHON_COMPAT=( python{2_6,2_7} )
-inherit eutils
+inherit eutils python-any-r1
if [[ ${PV} == *.* ]] ; then
# Compile from source ourselves.
@@ -73,6 +74,8 @@ RDEPEND="${DEPEND}
dev-libs/openssl
sys-apps/debianutils"
+DEPEND+=" ${PYTHON_DEPS}"
+
S=${WORKDIR}
pkg_setup() {
@@ -80,6 +83,7 @@ pkg_setup() {
# we need to tell users about it once manually first.
[[ -f "${EPREFIX}"/etc/env.d/98ca-certificates ]] \
|| ewarn "You should run update-ca-certificates manually after etc-update"
+ python_setup
}
src_unpack() {