summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlastair Tse <liquidx@gentoo.org>2005-11-19 18:30:28 +0000
committerAlastair Tse <liquidx@gentoo.org>2005-11-19 18:30:28 +0000
commit4f7cee66d39eb5689c91a5972c2c5e17e58ff8b9 (patch)
treeca9a26ba794d77bfc84989b33428bd41b773a916 /dev-python
parentfix homepage (diff)
downloadgentoo-2-4f7cee66d39eb5689c91a5972c2c5e17e58ff8b9.tar.gz
gentoo-2-4f7cee66d39eb5689c91a5972c2c5e17e58ff8b9.tar.bz2
gentoo-2-4f7cee66d39eb5689c91a5972c2c5e17e58ff8b9.zip
added patch so 0.4 compiles with newer swig (#112464). version bump
(Portage version: 2.0.53_rc7)
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/pylibpcap/ChangeLog8
-rw-r--r--dev-python/pylibpcap/Manifest4
-rw-r--r--dev-python/pylibpcap/files/0.4-swig.patch11
-rw-r--r--dev-python/pylibpcap/files/digest-pylibpcap-0.5.11
-rw-r--r--dev-python/pylibpcap/pylibpcap-0.4.ebuild7
-rw-r--r--dev-python/pylibpcap/pylibpcap-0.5.1.ebuild23
6 files changed, 51 insertions, 3 deletions
diff --git a/dev-python/pylibpcap/ChangeLog b/dev-python/pylibpcap/ChangeLog
index 06d309ef4e70..01cbf47f6420 100644
--- a/dev-python/pylibpcap/ChangeLog
+++ b/dev-python/pylibpcap/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-python/pylibpcap
# Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/pylibpcap/ChangeLog,v 1.7 2005/04/03 10:46:03 blubb Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pylibpcap/ChangeLog,v 1.8 2005/11/19 18:30:28 liquidx Exp $
+
+*pylibpcap-0.5.1 (19 Nov 2005)
+
+ 19 Nov 2005; Alastair Tse <liquidx@gentoo.org> +files/0.4-swig.patch,
+ pylibpcap-0.4.ebuild, +pylibpcap-0.5.1.ebuild:
+ added patch so 0.4 compiles with newer swig (#112464). version bump
03 Apr 2005; Simon Stelling <blubb@gentoo.org> pylibpcap-0.4.ebuild:
added ~amd64
diff --git a/dev-python/pylibpcap/Manifest b/dev-python/pylibpcap/Manifest
index b925727812f6..1e263d5f36f5 100644
--- a/dev-python/pylibpcap/Manifest
+++ b/dev-python/pylibpcap/Manifest
@@ -1,4 +1,6 @@
MD5 529ddbc08a351c35060a7a0b524eb60d ChangeLog 849
+MD5 7f72dd0e8422b038631633864940cd56 files/digest-pylibpcap-0.4 64
+MD5 4465e8717c4517331dac28d6e80e775c files/digest-pylibpcap-0.5.1 66
MD5 71c4638c9c88af75b58e5f5cb54fe008 metadata.xml 159
MD5 faa09054986efba372dcd6a30b1a9cfd pylibpcap-0.4.ebuild 578
-MD5 7f72dd0e8422b038631633864940cd56 files/digest-pylibpcap-0.4 64
+MD5 b63d4e943ebe7c0d1805cc36fe0709fd pylibpcap-0.5.1.ebuild 579
diff --git a/dev-python/pylibpcap/files/0.4-swig.patch b/dev-python/pylibpcap/files/0.4-swig.patch
new file mode 100644
index 000000000000..a4f3d3114bf3
--- /dev/null
+++ b/dev-python/pylibpcap/files/0.4-swig.patch
@@ -0,0 +1,11 @@
+--- setup.py.orig 2005-11-18 00:11:02.000000000 +0100
++++ setup.py 2005-11-18 00:11:29.000000000 +0100
+@@ -21,7 +21,7 @@
+ # self.run_command('make_clean')
+
+ class pcap_build_ext(build_ext):
+- def swig_sources(self, sources):
++ def swig_sources(self, sources, extension=None):
+
+ """Walk the list of source files in 'sources', looking for SWIG
+ interface (.i) files. Run SWIG on all that are found, and
diff --git a/dev-python/pylibpcap/files/digest-pylibpcap-0.5.1 b/dev-python/pylibpcap/files/digest-pylibpcap-0.5.1
new file mode 100644
index 000000000000..99bd21d6c5f8
--- /dev/null
+++ b/dev-python/pylibpcap/files/digest-pylibpcap-0.5.1
@@ -0,0 +1 @@
+MD5 85adbefd87be3a3a32bed899974fe3dc pylibpcap-0.5.1.tar.gz 25171
diff --git a/dev-python/pylibpcap/pylibpcap-0.4.ebuild b/dev-python/pylibpcap/pylibpcap-0.4.ebuild
index f9615eacd4f4..d4e2b2009fbe 100644
--- a/dev-python/pylibpcap/pylibpcap-0.4.ebuild
+++ b/dev-python/pylibpcap/pylibpcap-0.4.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/pylibpcap/pylibpcap-0.4.ebuild,v 1.9 2005/04/03 10:46:03 blubb Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pylibpcap/pylibpcap-0.4.ebuild,v 1.10 2005/11/19 18:30:28 liquidx Exp $
inherit distutils
@@ -16,6 +16,11 @@ IUSE=""
DEPEND="virtual/python
virtual/libpcap"
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ epatch ${FILESDIR}/${PV}-swig.patch
+}
src_install() {
distutils_src_install
insinto /usr/share/doc/${PF}/examples
diff --git a/dev-python/pylibpcap/pylibpcap-0.5.1.ebuild b/dev-python/pylibpcap/pylibpcap-0.5.1.ebuild
new file mode 100644
index 000000000000..7b4da6bdf31f
--- /dev/null
+++ b/dev-python/pylibpcap/pylibpcap-0.5.1.ebuild
@@ -0,0 +1,23 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pylibpcap/pylibpcap-0.5.1.ebuild,v 1.1 2005/11/19 18:30:28 liquidx Exp $
+
+inherit distutils
+
+DESCRIPTION="Python interface to libpcap"
+HOMEPAGE="http://sourceforge.net/projects/${PN}/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND="virtual/python
+ virtual/libpcap"
+
+src_install() {
+ distutils_src_install
+ insinto /usr/share/doc/${PF}/examples
+ doins examples/*
+}