summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2012-07-16 07:11:28 +0000
committerTim Harder <radhermit@gentoo.org>2012-07-16 07:11:28 +0000
commitd6824e47d88b68941aa35d566a32b47017401650 (patch)
treeb8d440126a76bdca25604ad68eb43f91a0b1fb81 /dev-python/pylibpcap
parentBump for #426456 (diff)
downloadgentoo-2-d6824e47d88b68941aa35d566a32b47017401650.tar.gz
gentoo-2-d6824e47d88b68941aa35d566a32b47017401650.tar.bz2
gentoo-2-d6824e47d88b68941aa35d566a32b47017401650.zip
Version bump (bug #422851).
(Portage version: 2.2.0_alpha118/cvs/Linux x86_64)
Diffstat (limited to 'dev-python/pylibpcap')
-rw-r--r--dev-python/pylibpcap/ChangeLog9
-rw-r--r--dev-python/pylibpcap/pylibpcap-0.6.4.ebuild34
2 files changed, 41 insertions, 2 deletions
diff --git a/dev-python/pylibpcap/ChangeLog b/dev-python/pylibpcap/ChangeLog
index 7e63630511ef..7f9f23e204f6 100644
--- a/dev-python/pylibpcap/ChangeLog
+++ b/dev-python/pylibpcap/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-python/pylibpcap
-# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/pylibpcap/ChangeLog,v 1.25 2011/04/02 12:46:40 ssuominen Exp $
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pylibpcap/ChangeLog,v 1.26 2012/07/16 07:11:28 radhermit Exp $
+
+*pylibpcap-0.6.4 (16 Jul 2012)
+
+ 16 Jul 2012; Tim Harder <radhermit@gentoo.org> +pylibpcap-0.6.4.ebuild:
+ Version bump (bug #422851).
02 Apr 2011; Samuli Suominen <ssuominen@gentoo.org> pylibpcap-0.6.2.ebuild:
Use net-libs/libpcap instead of virtual/libpcap wrt #358835.
diff --git a/dev-python/pylibpcap/pylibpcap-0.6.4.ebuild b/dev-python/pylibpcap/pylibpcap-0.6.4.ebuild
new file mode 100644
index 000000000000..171c69788aad
--- /dev/null
+++ b/dev-python/pylibpcap/pylibpcap-0.6.4.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pylibpcap/pylibpcap-0.6.4.ebuild,v 1.1 2012/07/16 07:11:28 radhermit Exp $
+
+EAPI="4"
+PYTHON_DEPEND="2"
+SUPPORT_PYTHON_ABIS="1"
+RESTRICT_PYTHON_ABIS="3.* *-jython"
+
+inherit distutils
+
+DESCRIPTION="Python interface to libpcap"
+HOMEPAGE="http://sourceforge.net/projects/pylibpcap/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~hppa ~ia64 ~x86"
+IUSE="examples"
+
+RDEPEND="net-libs/libpcap"
+DEPEND="${RDEPEND}
+ >=dev-lang/swig-1.3.34"
+
+PYTHON_MODNAME="pcap.py"
+
+src_install() {
+ distutils_src_install
+
+ if use examples; then
+ insinto /usr/share/doc/${PF}
+ doins -r examples || die "Installation of examples failed"
+ fi
+}