diff options
author | Michael Januszewski <spock@gentoo.org> | 2010-04-03 15:58:59 +0000 |
---|---|---|
committer | Michael Januszewski <spock@gentoo.org> | 2010-04-03 15:58:59 +0000 |
commit | d22eca55cd577f3642c65b8471db35167367f79b (patch) | |
tree | 1a24fa5d734e7165fe6d09fcfd31baeebfc3435a /net-analyzer | |
parent | x11-drivers/xf86-video-nouveau: new snapshot (diff) | |
download | gentoo-2-d22eca55cd577f3642c65b8471db35167367f79b.tar.gz gentoo-2-d22eca55cd577f3642c65b8471db35167367f79b.tar.bz2 gentoo-2-d22eca55cd577f3642c65b8471db35167367f79b.zip |
Add a dep on Python 2 (bug #311157).
(Portage version: 2.2_rc67/cvs/Linux x86_64)
Diffstat (limited to 'net-analyzer')
-rw-r--r-- | net-analyzer/nmap/ChangeLog | 5 | ||||
-rw-r--r-- | net-analyzer/nmap/nmap-5.21.ebuild | 9 |
2 files changed, 11 insertions, 3 deletions
diff --git a/net-analyzer/nmap/ChangeLog b/net-analyzer/nmap/ChangeLog index 8244a20b44ca..1c72c9b99c58 100644 --- a/net-analyzer/nmap/ChangeLog +++ b/net-analyzer/nmap/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for net-analyzer/nmap # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nmap/ChangeLog,v 1.221 2010/03/25 19:37:48 spock Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nmap/ChangeLog,v 1.222 2010/04/03 15:58:59 spock Exp $ + + 03 Apr 2010; Michał Januszewski <spock@gentoo.org> nmap-5.21.ebuild: + Add a dep on Python 2 (bug #311157). 25 Mar 2010; Michał Januszewski <spock@gentoo.org> nmap-5.20.ebuild: Fix bug #308723. diff --git a/net-analyzer/nmap/nmap-5.21.ebuild b/net-analyzer/nmap/nmap-5.21.ebuild index d3d252139f1e..b2cfbdf33a03 100644 --- a/net-analyzer/nmap/nmap-5.21.ebuild +++ b/net-analyzer/nmap/nmap-5.21.ebuild @@ -1,10 +1,11 @@ # Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nmap/nmap-5.21.ebuild,v 1.5 2010/03/21 14:41:50 ranger Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nmap/nmap-5.21.ebuild,v 1.6 2010/04/03 15:58:59 spock Exp $ EAPI="2" +PYTHON_DEPEND="2" -inherit eutils flag-o-matic +inherit eutils flag-o-matic python MY_P=${P/_beta/BETA} @@ -29,6 +30,10 @@ DEPEND="dev-libs/libpcre S="${WORKDIR}/${MY_P}" +pkg_setup() { + python_set_active_version 2 +} + src_prepare() { epatch "${FILESDIR}/${PN}-4.75-include.patch" epatch "${FILESDIR}/${PN}-4.75-nolua.patch" |