diff options
author | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2010-07-01 01:34:58 +0000 |
---|---|---|
committer | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2010-07-01 01:34:58 +0000 |
commit | 463a357898959c410bea5cc3e37b4b4e527f5baf (patch) | |
tree | 9fc4969996df032ab9d5a5e8b1a8bc8c818dbb25 /dev-python/dpkt | |
parent | Set SUPPORT_PYTHON_ABIS. (diff) | |
download | gentoo-2-463a357898959c410bea5cc3e37b4b4e527f5baf.tar.gz gentoo-2-463a357898959c410bea5cc3e37b4b4e527f5baf.tar.bz2 gentoo-2-463a357898959c410bea5cc3e37b4b4e527f5baf.zip |
Delete older ebuild.
Diffstat (limited to 'dev-python/dpkt')
-rw-r--r-- | dev-python/dpkt/dpkt-1.6.ebuild | 38 | ||||
-rw-r--r-- | dev-python/dpkt/files/dpkt-1.6-python-2.6.patch | 47 |
2 files changed, 0 insertions, 85 deletions
diff --git a/dev-python/dpkt/dpkt-1.6.ebuild b/dev-python/dpkt/dpkt-1.6.ebuild deleted file mode 100644 index 85dc106c1c17..000000000000 --- a/dev-python/dpkt/dpkt-1.6.ebuild +++ /dev/null @@ -1,38 +0,0 @@ -# Copyright 1999-2009 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/dpkt/dpkt-1.6.ebuild,v 1.3 2009/05/16 21:22:18 arfrever Exp $ - -EAPI="2" - -NEED_PYTHON="2.3" - -inherit distutils eutils - -DESCRIPTION="Fast, simple packet creation / parsing, with definitions for the basic TCP/IP protocols." -HOMEPAGE="http://code.google.com/p/dpkt/" -SRC_URI="http://${PN}.googlecode.com/files/${P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="examples" - -DEPEND="" -RDEPEND="" - -src_prepare() { - epatch "${FILESDIR}/${P}-python-2.6.patch" -} - -src_install() { - DOCS="HACKING AUTHORS CHANGES" - distutils_src_install - if use examples ; then - insinto /usr/share/doc/${PF} - doins -r examples - fi -} - -src_test() { - PYTHONPATH=. "${python}" tests/test-perf2.py || die "tests failed" -} diff --git a/dev-python/dpkt/files/dpkt-1.6-python-2.6.patch b/dev-python/dpkt/files/dpkt-1.6-python-2.6.patch deleted file mode 100644 index 9a709802f4b5..000000000000 --- a/dev-python/dpkt/files/dpkt-1.6-python-2.6.patch +++ /dev/null @@ -1,47 +0,0 @@ ---- dpkt/bgp.py -+++ dpkt/bgp.py -@@ -140,7 +140,7 @@ - class Open(dpkt.Packet): - __hdr__ = ( - ('v', 'B', 4), -- ('as', 'H', 0), -+ ('as_', 'H', 0), - ('holdtime', 'H', 0), - ('identifier', 'I', 0), - ('param_len', 'B', 0) -@@ -401,7 +401,7 @@ - - class Aggregator(dpkt.Packet): - __hdr__ = ( -- ('as', 'H', 0), -+ ('as_', 'H', 0), - ('ip', 'I', 0) - ) - -@@ -428,7 +428,7 @@ - - class Community(dpkt.Packet): - __hdr__ = ( -- ('as', 'H', 0), -+ ('as_', 'H', 0), - ('value', 'H', 0) - ) - -@@ -675,7 +675,7 @@ - self.failUnless(a.len == 12) - self.failUnless(len(a.communities.list) == 3) - c = a.communities.list[0] -- self.failUnless(c.as == 65215) -+ self.failUnless(c.as_ == 65215) - self.failUnless(c.value == 1) - r = b2.update.announced[0] - self.failUnless(r.len == 22) -@@ -712,7 +712,7 @@ - b4 = BGP(self.bgp4) - self.failUnless(b4.len == 45) - self.failUnless(b4.type == OPEN) -- self.failUnless(b4.open.as == 237) -+ self.failUnless(b4.open.as_ == 237) - self.failUnless(b4.open.param_len == 16) - self.failUnless(len(b4.open.parameters) == 3) - p = b4.open.parameters[0] |