summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gilbert <floppym@gentoo.org>2014-11-11 21:58:32 +0000
committerMike Gilbert <floppym@gentoo.org>2014-11-11 21:58:32 +0000
commitc422035b7d6262fa840d9bb2facc847b6854e80a (patch)
tree63a2dda6a92ac3d2f6954a19ddb39613a05890ef /net-analyzer
parentFix python deps. (diff)
downloadgentoo-2-c422035b7d6262fa840d9bb2facc847b6854e80a.tar.gz
gentoo-2-c422035b7d6262fa840d9bb2facc847b6854e80a.tar.bz2
gentoo-2-c422035b7d6262fa840d9bb2facc847b6854e80a.zip
Don't call python-single-r1_pkg_setup if python is not used.
(Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key 0BBEEA1FEA4843A4)
Diffstat (limited to 'net-analyzer')
-rw-r--r--net-analyzer/nmap/ChangeLog5
-rw-r--r--net-analyzer/nmap/nmap-6.47.ebuild8
2 files changed, 11 insertions, 2 deletions
diff --git a/net-analyzer/nmap/ChangeLog b/net-analyzer/nmap/ChangeLog
index 3b5097f7aa2f..58ff023a47f2 100644
--- a/net-analyzer/nmap/ChangeLog
+++ b/net-analyzer/nmap/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for net-analyzer/nmap
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nmap/ChangeLog,v 1.311 2014/11/11 21:56:13 floppym Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nmap/ChangeLog,v 1.312 2014/11/11 21:58:32 floppym Exp $
+
+ 11 Nov 2014; Mike Gilbert <floppym@gentoo.org> nmap-6.47.ebuild:
+ Don't call python-single-r1_pkg_setup if python is not used.
11 Nov 2014; Mike Gilbert <floppym@gentoo.org> nmap-6.47.ebuild:
Fix python deps.
diff --git a/net-analyzer/nmap/nmap-6.47.ebuild b/net-analyzer/nmap/nmap-6.47.ebuild
index 2d4fbef2e16a..ef905e09e839 100644
--- a/net-analyzer/nmap/nmap-6.47.ebuild
+++ b/net-analyzer/nmap/nmap-6.47.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/net-analyzer/nmap/nmap-6.47.ebuild,v 1.2 2014/11/11 21:56:13 floppym Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nmap/nmap-6.47.ebuild,v 1.3 2014/11/11 21:58:32 floppym Exp $
EAPI=5
@@ -51,6 +51,12 @@ DEPEND="
S="${WORKDIR}/${MY_P}"
+pkg_setup() {
+ if use ndiff || use zenmap; then
+ python-single-r1_pkg_setup
+ fi
+}
+
src_unpack() {
# prevent unpacking the logo
unpack ${MY_P}.tar.bz2