summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTiziano Müller <dev-zero@gentoo.org>2007-02-28 00:40:50 +0000
committerTiziano Müller <dev-zero@gentoo.org>2007-02-28 00:40:50 +0000
commit2191d1f1e9d0913047268d33a8ea1aac68955b3f (patch)
tree95258586168631530901634f56b255299755814b
parentMoved from my overlay to the tree (diff)
downloadgentoo-2-2191d1f1e9d0913047268d33a8ea1aac68955b3f.tar.gz
gentoo-2-2191d1f1e9d0913047268d33a8ea1aac68955b3f.tar.bz2
gentoo-2-2191d1f1e9d0913047268d33a8ea1aac68955b3f.zip
Moved from my overlay to the tree
(Portage version: 2.1.2-r10)
-rw-r--r--dev-python/pypcap/ChangeLog7
-rw-r--r--dev-python/pypcap/Manifest16
-rw-r--r--dev-python/pypcap/files/digest-pypcap-1.13
-rw-r--r--dev-python/pypcap/metadata.xml5
-rw-r--r--dev-python/pypcap/pypcap-1.1.ebuild38
5 files changed, 69 insertions, 0 deletions
diff --git a/dev-python/pypcap/ChangeLog b/dev-python/pypcap/ChangeLog
new file mode 100644
index 000000000000..08a4725bf7b1
--- /dev/null
+++ b/dev-python/pypcap/ChangeLog
@@ -0,0 +1,7 @@
+# ChangeLog for dev-python/pypcap
+# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pypcap/ChangeLog,v 1.1 2007/02/28 00:40:50 dev-zero Exp $
+
+ 06 Feb 2007; Tiziano Müller <dev-zero@gentoo.org> +pypcap-1.1.ebuild:
+ New ebuild for bug #165531 (thanks to Santiago M. Mola Velasco).
+
diff --git a/dev-python/pypcap/Manifest b/dev-python/pypcap/Manifest
new file mode 100644
index 000000000000..3325e2e6d22b
--- /dev/null
+++ b/dev-python/pypcap/Manifest
@@ -0,0 +1,16 @@
+DIST pypcap-1.1.tar.gz 22951 RMD160 119dcc393d42678e6fa8f0b0f8b82536ab1efb13 SHA1 966f62deca16d5086e2ef6694b0c795f273da15c SHA256 087677295c795f543fad2c286df1807d55876e85d04f7292335cd149f4d8d47f
+EBUILD pypcap-1.1.ebuild 777 RMD160 dec3bd549d6c4e8cd71a9d3c614c3a8da66a8fd6 SHA1 2a3ab967595e14bcc6808495c46522b6d89a5e31 SHA256 fc4a8c89045014760e8862980d4fb9aa3928bd77b1a6c0c60a4bf5a3bcb9d89b
+MD5 d04ca4f3c4bc4cd7e21ad20dd1ad8c87 pypcap-1.1.ebuild 777
+RMD160 dec3bd549d6c4e8cd71a9d3c614c3a8da66a8fd6 pypcap-1.1.ebuild 777
+SHA256 fc4a8c89045014760e8862980d4fb9aa3928bd77b1a6c0c60a4bf5a3bcb9d89b pypcap-1.1.ebuild 777
+MISC ChangeLog 259 RMD160 e0438691fa03f08709114953344dd553fedfbcdc SHA1 7581332b11193f07450651397e80b43a521d6c81 SHA256 3f3af7d4fbecc845c5d459374dc7f8c690c87fcb589fb4bdbacffa7dfb019bc6
+MD5 d35dd42174a4bd3460a14f0e44cbfff1 ChangeLog 259
+RMD160 e0438691fa03f08709114953344dd553fedfbcdc ChangeLog 259
+SHA256 3f3af7d4fbecc845c5d459374dc7f8c690c87fcb589fb4bdbacffa7dfb019bc6 ChangeLog 259
+MISC metadata.xml 159 RMD160 900a8c55d7a7d2f6312594769aaf941bf9e99c7f SHA1 c8e604d56dae898258b5254d78cfeac0b981e288 SHA256 9f01104d3484792496faff4805eed0ecea2352a897151f3397d49a13800037b4
+MD5 71c4638c9c88af75b58e5f5cb54fe008 metadata.xml 159
+RMD160 900a8c55d7a7d2f6312594769aaf941bf9e99c7f metadata.xml 159
+SHA256 9f01104d3484792496faff4805eed0ecea2352a897151f3397d49a13800037b4 metadata.xml 159
+MD5 bf37b197d3fbfe80d3997977eeac925d files/digest-pypcap-1.1 229
+RMD160 1fba893247d32e5957a2e59d2ea2c5a8daba5652 files/digest-pypcap-1.1 229
+SHA256 7398629e34bc3d6a591efc4a7f02d7fc78a45e4b5d1ef406c3def06cc41f782b files/digest-pypcap-1.1 229
diff --git a/dev-python/pypcap/files/digest-pypcap-1.1 b/dev-python/pypcap/files/digest-pypcap-1.1
new file mode 100644
index 000000000000..b7736ed24323
--- /dev/null
+++ b/dev-python/pypcap/files/digest-pypcap-1.1
@@ -0,0 +1,3 @@
+MD5 034c3cbbfa81aa19e8f685b767c65764 pypcap-1.1.tar.gz 22951
+RMD160 119dcc393d42678e6fa8f0b0f8b82536ab1efb13 pypcap-1.1.tar.gz 22951
+SHA256 087677295c795f543fad2c286df1807d55876e85d04f7292335cd149f4d8d47f pypcap-1.1.tar.gz 22951
diff --git a/dev-python/pypcap/metadata.xml b/dev-python/pypcap/metadata.xml
new file mode 100644
index 000000000000..de483c53568f
--- /dev/null
+++ b/dev-python/pypcap/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>python</herd>
+</pkgmetadata>
diff --git a/dev-python/pypcap/pypcap-1.1.ebuild b/dev-python/pypcap/pypcap-1.1.ebuild
new file mode 100644
index 000000000000..70a5578ed6b8
--- /dev/null
+++ b/dev-python/pypcap/pypcap-1.1.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pypcap/pypcap-1.1.ebuild,v 1.1 2007/02/28 00:40:50 dev-zero Exp $
+
+NEED_PYTHON=2.3
+
+inherit distutils
+
+DESCRIPTION="Simplified object-oriented Python extension module for libpcap"
+HOMEPAGE="http://code.google.com/p/pypcap/"
+SRC_URI="http://${PN}.googlecode.com/files/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE="examples"
+
+DEPEND="virtual/libpcap"
+RDEPEND="${DEPEND}"
+
+src_compile() {
+ "${python}" setup.py config || die "config failed"
+ distutils_src_compile
+}
+
+src_install() {
+ DOCS="CHANGES"
+ distutils_src_install
+ if use examples ; then
+ insinto /usr/share/doc/${PF}
+ doins testsniff.py
+ fi
+}
+
+src_test() {
+ # PYTHONPATH is set correctly in the test itself
+ "${python}" test.py || die "tests failed"
+}