diff options
author | Tiziano Müller <dev-zero@gentoo.org> | 2007-02-25 21:43:00 +0000 |
---|---|---|
committer | Tiziano Müller <dev-zero@gentoo.org> | 2007-02-25 21:43:00 +0000 |
commit | 7ac7d39401527b1def607fd76b26bc3a1d4959e8 (patch) | |
tree | 360a2aec4e3749218be1effc85d1368a6dc11869 /dev-python/pylibpcap | |
parent | fix dependencies (bug #168342) (diff) | |
download | gentoo-2-7ac7d39401527b1def607fd76b26bc3a1d4959e8.tar.gz gentoo-2-7ac7d39401527b1def607fd76b26bc3a1d4959e8.tar.bz2 gentoo-2-7ac7d39401527b1def607fd76b26bc3a1d4959e8.zip |
Dropped old version. Corrected dependencies, added examples USE-flag, cleanup.
(Portage version: 2.1.2-r10)
Diffstat (limited to 'dev-python/pylibpcap')
-rw-r--r-- | dev-python/pylibpcap/ChangeLog | 6 | ||||
-rw-r--r-- | dev-python/pylibpcap/files/0.4-swig.patch | 11 | ||||
-rw-r--r-- | dev-python/pylibpcap/files/digest-pylibpcap-0.4 | 3 | ||||
-rw-r--r-- | dev-python/pylibpcap/pylibpcap-0.4.ebuild | 28 | ||||
-rw-r--r-- | dev-python/pylibpcap/pylibpcap-0.5.1.ebuild | 24 |
5 files changed, 17 insertions, 55 deletions
diff --git a/dev-python/pylibpcap/ChangeLog b/dev-python/pylibpcap/ChangeLog index 4b6f6bf31e92..d543a51ff169 100644 --- a/dev-python/pylibpcap/ChangeLog +++ b/dev-python/pylibpcap/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for dev-python/pylibpcap # Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/pylibpcap/ChangeLog,v 1.13 2007/02/25 15:54:29 ticho Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/pylibpcap/ChangeLog,v 1.14 2007/02/25 21:43:00 dev-zero Exp $ + + 25 Feb 2007; Tiziano Müller <dev-zero@gentoo.org> -files/0.4-swig.patch, + -pylibpcap-0.4.ebuild, pylibpcap-0.5.1.ebuild: + Dropped old version. Corrected dependencies, added examples USE-flag, cleanup. 25 Feb 2007; Andrej Kacian <ticho@gentoo.org> pylibpcap-0.5.1.ebuild: Stable on x86, bug #168330. diff --git a/dev-python/pylibpcap/files/0.4-swig.patch b/dev-python/pylibpcap/files/0.4-swig.patch deleted file mode 100644 index a4f3d3114bf3..000000000000 --- a/dev-python/pylibpcap/files/0.4-swig.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- 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.4 b/dev-python/pylibpcap/files/digest-pylibpcap-0.4 deleted file mode 100644 index 260f2811df80..000000000000 --- a/dev-python/pylibpcap/files/digest-pylibpcap-0.4 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 38c9a47db4113594b57aa0944b1ebdcf pylibpcap-0.4.tar.gz 19370 -RMD160 6f6b77e630326303636dc2afe80aa0e0aff81873 pylibpcap-0.4.tar.gz 19370 -SHA256 b42503057e667a2480ddf309065ba8814d5f11c6e25a98b445d1fcf204716737 pylibpcap-0.4.tar.gz 19370 diff --git a/dev-python/pylibpcap/pylibpcap-0.4.ebuild b/dev-python/pylibpcap/pylibpcap-0.4.ebuild deleted file mode 100644 index fe7bf76b19c3..000000000000 --- a/dev-python/pylibpcap/pylibpcap-0.4.ebuild +++ /dev/null @@ -1,28 +0,0 @@ -# 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.11 2005/11/28 11:38:22 marienz Exp $ - -inherit distutils eutils - -DESCRIPTION="Python interface to libpcap" -HOMEPAGE="http://sourceforge.net/projects/${PN}/" -SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="x86 ~amd64" -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 - doins examples/* -} diff --git a/dev-python/pylibpcap/pylibpcap-0.5.1.ebuild b/dev-python/pylibpcap/pylibpcap-0.5.1.ebuild index ba908f8ae9fd..6643b22af553 100644 --- a/dev-python/pylibpcap/pylibpcap-0.5.1.ebuild +++ b/dev-python/pylibpcap/pylibpcap-0.5.1.ebuild @@ -1,32 +1,32 @@ # Copyright 1999-2007 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.4 2007/02/25 15:54:29 ticho Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/pylibpcap/pylibpcap-0.5.1.ebuild,v 1.5 2007/02/25 21:43:00 dev-zero Exp $ inherit distutils eutils DESCRIPTION="Python interface to libpcap" -HOMEPAGE="http://sourceforge.net/projects/${PN}/" +HOMEPAGE="http://sourceforge.net/projects/pylibpcap/" SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" LICENSE="BSD" SLOT="0" KEYWORDS="~amd64 ~ia64 x86" -IUSE="" +IUSE="examples" -DEPEND="virtual/python - virtual/libpcap - dev-lang/swig" +RDEPEND="virtual/libpcap" +DEPEND="${RDEPEND} + >=dev-lang/swig-1.3.29" src_unpack() { unpack ${A} - cd ${S} - if $(has_version \>=dev-lang/swig-1.3.29); then - epatch ${FILESDIR}/${PN}-swig-1.3.29.patch - fi + cd "${S}" + epatch "${FILESDIR}/${PN}-swig-1.3.29.patch" } src_install() { distutils_src_install - insinto /usr/share/doc/${PF}/examples - doins examples/* + if use examples ; then + insinto /usr/share/doc/${PF} + doins -r examples + fi } |