summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
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