summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkos Chandras <hwoarang@gentoo.org>2015-03-12 07:52:10 +0000
committerMarkos Chandras <hwoarang@gentoo.org>2015-03-12 07:52:10 +0000
commitc9e82d67acdb054ffcc7f1ba304c6ce28e4a6e15 (patch)
tree8d01f0d8b08cf71a4c1740bc8d6b7eabcaa134e5 /app-emulation
parentDrop old; add pypy support (diff)
downloadgentoo-2-c9e82d67acdb054ffcc7f1ba304c6ce28e4a6e15.tar.gz
gentoo-2-c9e82d67acdb054ffcc7f1ba304c6ce28e4a6e15.tar.bz2
gentoo-2-c9e82d67acdb054ffcc7f1ba304c6ce28e4a6e15.zip
Hide python specific code behind USE=python
(Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key 09BF4F54C2BA7F3C!)
Diffstat (limited to 'app-emulation')
-rw-r--r--app-emulation/lxc/ChangeLog5
-rw-r--r--app-emulation/lxc/lxc-1.1.0-r4.ebuild10
2 files changed, 10 insertions, 5 deletions
diff --git a/app-emulation/lxc/ChangeLog b/app-emulation/lxc/ChangeLog
index a3dddb42620c..d172c62a1eef 100644
--- a/app-emulation/lxc/ChangeLog
+++ b/app-emulation/lxc/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for app-emulation/lxc
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-emulation/lxc/ChangeLog,v 1.66 2015/03/11 18:18:44 hwoarang Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/lxc/ChangeLog,v 1.67 2015/03/12 07:52:10 hwoarang Exp $
+
+ 12 Mar 2015; Markos Chandras <hwoarang@gentoo.org> lxc-1.1.0-r4.ebuild:
+ Hide python specific code behind USE=python
*lxc-1.1.0-r4 (11 Mar 2015)
diff --git a/app-emulation/lxc/lxc-1.1.0-r4.ebuild b/app-emulation/lxc/lxc-1.1.0-r4.ebuild
index c2f6fdc94fd9..76914c942a7f 100644
--- a/app-emulation/lxc/lxc-1.1.0-r4.ebuild
+++ b/app-emulation/lxc/lxc-1.1.0-r4.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-emulation/lxc/lxc-1.1.0-r4.ebuild,v 1.1 2015/03/11 18:18:44 hwoarang Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/lxc/lxc-1.1.0-r4.ebuild,v 1.2 2015/03/12 07:52:10 hwoarang Exp $
EAPI="5"
@@ -108,9 +108,11 @@ src_prepare() {
src_configure() {
append-flags -fno-strict-aliasing
- #541932
- python_setup "python3*"
- export PKG_CONFIG_PATH="${T}/${EPYTHON}/pkgconfig:${PKG_CONFIG_PATH}"
+ if use python; then
+ #541932
+ python_setup "python3*"
+ export PKG_CONFIG_PATH="${T}/${EPYTHON}/pkgconfig:${PKG_CONFIG_PATH}"
+ fi
# I am not sure about the --with-rootfs-path
# /var/lib/lxc is probably more appropriate than