summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2012-02-16 15:05:39 +0000
committerJeroen Roovers <jer@gentoo.org>2012-02-16 15:05:39 +0000
commit4b40bf2c4f8c4e2ab85d35d4aa966cff4c2219a7 (patch)
treea571e4712045a0c4f1538496024b1dfc64c0750d /dev-libs/libdnet
parent[bump] dev-perl/Path-Class-0.250.0 (diff)
downloadgentoo-2-4b40bf2c4f8c4e2ab85d35d4aa966cff4c2219a7.tar.gz
gentoo-2-4b40bf2c4f8c4e2ab85d35d4aa966cff4c2219a7.tar.bz2
gentoo-2-4b40bf2c4f8c4e2ab85d35d4aa966cff4c2219a7.zip
More python.eclass tweaking by Arfrever (bug #326389).
(Portage version: 2.2.0_alpha86/cvs/Linux x86_64)
Diffstat (limited to 'dev-libs/libdnet')
-rw-r--r--dev-libs/libdnet/ChangeLog5
-rw-r--r--dev-libs/libdnet/libdnet-1.11-r2.ebuild8
2 files changed, 9 insertions, 4 deletions
diff --git a/dev-libs/libdnet/ChangeLog b/dev-libs/libdnet/ChangeLog
index b553a8f69d57..07a0f178b4a4 100644
--- a/dev-libs/libdnet/ChangeLog
+++ b/dev-libs/libdnet/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for dev-libs/libdnet
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/libdnet/ChangeLog,v 1.48 2012/02/15 13:21:20 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libdnet/ChangeLog,v 1.49 2012/02/16 15:05:39 jer Exp $
+
+ 16 Feb 2012; Jeroen Roovers <jer@gentoo.org> libdnet-1.11-r2.ebuild:
+ More python.eclass tweaking by Arfrever (bug #326389).
15 Feb 2012; Jeroen Roovers <jer@gentoo.org> libdnet-1.11-r2.ebuild:
Tweak python stuff by Arfrever.
diff --git a/dev-libs/libdnet/libdnet-1.11-r2.ebuild b/dev-libs/libdnet/libdnet-1.11-r2.ebuild
index 9fed59874208..8fd5f928a17f 100644
--- a/dev-libs/libdnet/libdnet-1.11-r2.ebuild
+++ b/dev-libs/libdnet/libdnet-1.11-r2.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/libdnet/libdnet-1.11-r2.ebuild,v 1.2 2012/02/15 13:21:20 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libdnet/libdnet-1.11-r2.ebuild,v 1.3 2012/02/16 15:05:39 jer Exp $
EAPI=4
PYTHON_DEPEND="python? 2"
@@ -19,8 +19,10 @@ RESTRICT="test"
DOCS=( README THANKS TODO )
pkg_setup() {
- python_set_active_version 2
- python_pkg_setup
+ if use python; then
+ python_set_active_version 2
+ python_pkg_setup
+ fi
}
src_prepare() {