diff options
author | Justin Lecher <jlec@gentoo.org> | 2015-03-21 14:05:54 +0000 |
---|---|---|
committer | Justin Lecher <jlec@gentoo.org> | 2015-03-21 14:05:54 +0000 |
commit | 22c31f7141cb6285ca8ee20b02d43b411caf7b6a (patch) | |
tree | 38791f24de835353f699721919a9c1cf66db21a1 /net-wireless | |
parent | use ecvs_clean; Bump to EAPI=5 (diff) | |
download | gentoo-2-22c31f7141cb6285ca8ee20b02d43b411caf7b6a.tar.gz gentoo-2-22c31f7141cb6285ca8ee20b02d43b411caf7b6a.tar.bz2 gentoo-2-22c31f7141cb6285ca8ee20b02d43b411caf7b6a.zip |
use ecvs_clean; Bump to python-single-r1.eclass
(Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key B9D4F231BD1558AB!)
Diffstat (limited to 'net-wireless')
-rw-r--r-- | net-wireless/airpwn/ChangeLog | 8 | ||||
-rw-r--r-- | net-wireless/airpwn/airpwn-1.4-r2.ebuild | 39 | ||||
-rw-r--r-- | net-wireless/airpwn/metadata.xml | 11 |
3 files changed, 29 insertions, 29 deletions
diff --git a/net-wireless/airpwn/ChangeLog b/net-wireless/airpwn/ChangeLog index e92dbdb59981..e3e4c10f8dc6 100644 --- a/net-wireless/airpwn/ChangeLog +++ b/net-wireless/airpwn/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for net-wireless/airpwn -# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-wireless/airpwn/ChangeLog,v 1.3 2014/04/02 20:37:01 zerochaos Exp $ +# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-wireless/airpwn/ChangeLog,v 1.4 2015/03/21 14:05:54 jlec Exp $ + + 21 Mar 2015; Justin Lecher <jlec@gentoo.org> airpwn-1.4-r2.ebuild, + metadata.xml: + use ecvs_clean; Bump to python-single-r1.eclass *airpwn-1.4-r2 (02 Apr 2014) diff --git a/net-wireless/airpwn/airpwn-1.4-r2.ebuild b/net-wireless/airpwn/airpwn-1.4-r2.ebuild index 81bcbe3d0d8e..2da157717a61 100644 --- a/net-wireless/airpwn/airpwn-1.4-r2.ebuild +++ b/net-wireless/airpwn/airpwn-1.4-r2.ebuild @@ -1,14 +1,14 @@ -# Copyright 1999-2014 Gentoo Foundation +# Copyright 1999-2015 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-wireless/airpwn/airpwn-1.4-r2.ebuild,v 1.1 2014/04/02 20:37:01 zerochaos Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-wireless/airpwn/airpwn-1.4-r2.ebuild,v 1.2 2015/03/21 14:05:54 jlec Exp $ EAPI="5" -PYTHON_DEPEND="2:2.4" +PYTHON_COMPAT=( python2_7 ) -inherit python flag-o-matic +inherit flag-o-matic python-single-r1 -DESCRIPTION="a tool for generic packet injection on 802.11" +DESCRIPTION="Tool for generic packet injection on 802.11" HOMEPAGE="http://airpwn.sf.net" SRC_URI="mirror://sourceforge/airpwn/$P.tgz" @@ -17,32 +17,29 @@ SLOT="0" KEYWORDS="" IUSE="+examples" -DEPEND="dev-libs/libpcre - dev-libs/openssl - net-libs/libnet +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +DEPEND="${PYTHON_DEPS} + dev-libs/libpcre + dev-libs/openssl:0= + net-libs/libnet:1.1= net-libs/libpcap net-wireless/lorcon-old" RDEPEND="${DEPEND}" -pkg_setup() { - python_set_active_version 2 - python_pkg_setup -} - src_configure() { econf - sed -i "s/python2.4/python$(python_get_version)/g" conf.h - sed -i "s|-lorcon -lpthread -lpcre -lpcap -lnet|-lorcon -lpthread -lpcre -lpcap -lnet -lcrypto -lpython$(python_get_version)|g" Makefile + sed -i "s/python2.4/${EPYTHON}/g" conf.h || die + sed -i "s|-lorcon -lpthread -lpcre -lpcap -lnet|-lorcon -lpthread -lpcre -lpcap -lnet -lcrypto -l${EPYTHON}|g" Makefile || die } src_install() { - DESTDIR="${D}" emake install - dodoc README + default + if use examples; then insinto /usr/share/${PN} - rm -rf conf/CVS content/CVS - sed -i "s#content/#/usr/share/${PN}/content/#" conf/* - doins -r conf/ - doins -r content/ + ecvs_clean + sed -i "s#content/#/usr/share/${PN}/content/#" conf/* || die + doins -r conf content fi } diff --git a/net-wireless/airpwn/metadata.xml b/net-wireless/airpwn/metadata.xml index 5fcbf8e1851a..bcf4a5d96082 100644 --- a/net-wireless/airpwn/metadata.xml +++ b/net-wireless/airpwn/metadata.xml @@ -1,11 +1,10 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> -<maintainer> -<email>zerochaos@gentoo.org</email> -<name>Rick Farina</name> -</maintainer> -<longdescription lang="en"> + <maintainer> + <email>zerochaos@gentoo.org</email> + <name>Rick Farina</name> + </maintainer> + <longdescription lang="en"> </longdescription> </pkgmetadata> - |