diff options
author | Dawid Węgliński <cla@gentoo.org> | 2009-03-08 01:12:02 +0000 |
---|---|---|
committer | Dawid Węgliński <cla@gentoo.org> | 2009-03-08 01:12:02 +0000 |
commit | 59766e637d330e23cbe4f424b6b089b753a4da7e (patch) | |
tree | b90bbf12df7d5f79b7b6bfcfafb120e972ee93c1 /net-analyzer | |
parent | Migrate to EAPI 2 (diff) | |
download | historical-59766e637d330e23cbe4f424b6b089b753a4da7e.tar.gz historical-59766e637d330e23cbe4f424b6b089b753a4da7e.tar.bz2 historical-59766e637d330e23cbe4f424b6b089b753a4da7e.zip |
Migrate to EAPI 2
Package-Manager: portage-2.2_rc23/cvs/Linux x86_64
Diffstat (limited to 'net-analyzer')
-rw-r--r-- | net-analyzer/nmap/ChangeLog | 7 | ||||
-rw-r--r-- | net-analyzer/nmap/nmap-4.76.ebuild | 18 |
2 files changed, 10 insertions, 15 deletions
diff --git a/net-analyzer/nmap/ChangeLog b/net-analyzer/nmap/ChangeLog index cc1a00f706de..cda903e5b28c 100644 --- a/net-analyzer/nmap/ChangeLog +++ b/net-analyzer/nmap/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for net-analyzer/nmap -# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nmap/ChangeLog,v 1.191 2008/10/28 01:36:38 ranger Exp $ +# Copyright 2002-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nmap/ChangeLog,v 1.192 2009/03/08 01:12:02 cla Exp $ + + 08 Mar 2009; Dawid Węgliński <cla@gentoo.org> nmap-4.76.ebuild: + Migration to EAPI 2 28 Oct 2008; Brent Baude <ranger@gentoo.org> nmap-4.76.ebuild: stable ppc64, bug 242598 diff --git a/net-analyzer/nmap/nmap-4.76.ebuild b/net-analyzer/nmap/nmap-4.76.ebuild index 3f81748fc715..481b419b901f 100644 --- a/net-analyzer/nmap/nmap-4.76.ebuild +++ b/net-analyzer/nmap/nmap-4.76.ebuild @@ -1,6 +1,8 @@ # Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nmap/nmap-4.76.ebuild,v 1.7 2008/11/09 12:13:34 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nmap/nmap-4.76.ebuild,v 1.8 2009/03/08 01:09:43 cla Exp $ + +EAPI="2" inherit eutils flag-o-matic @@ -17,21 +19,11 @@ DEPEND="dev-libs/libpcre net-libs/libpcap gtk? ( >=x11-libs/gtk+-2.6 >=dev-python/pygtk-2.6 - || ( >=dev-lang/python-2.5 + || ( >=dev-lang/python-2.5[sqlite] >=dev-python/pysqlite-2 ) ) ssl? ( dev-libs/openssl )" -pkg_setup() { - if use gtk && has_version ">=dev-lang/python-2.5" && - ! has_version ">=dev-python/pysqlite-2" && - ! built_with_use dev-lang/python sqlite ; then - eerror "In order to use the nmap GUI you have to either emerge dev-lang/python" - eerror "with the 'sqlite' USE flag, or install dev-python/pysqlite-2*." - die "sqlite support missing" - fi -} - src_unpack() { unpack ${A} cd "${S}" @@ -39,7 +31,7 @@ src_unpack() { epatch "${FILESDIR}/${PN}-4.75-nolua.patch" } -src_compile() { +src_configure() { local myconf="" if use lua ; then |