Dropped old version. Corrected dependencies, added examples USE-flag, cleanup.
authorTiziano Müller <dev-zero@gentoo.org>
Sun, 25 Feb 2007 21:43:00 +0000 (21:43 +0000)
committerTiziano Müller <dev-zero@gentoo.org>
Sun, 25 Feb 2007 21:43:00 +0000 (21:43 +0000)
Package-Manager: portage-2.1.2-r10

dev-python/pylibpcap/ChangeLog
dev-python/pylibpcap/Manifest
dev-python/pylibpcap/files/0.4-swig.patch [deleted file]
dev-python/pylibpcap/files/digest-pylibpcap-0.4 [deleted file]
dev-python/pylibpcap/pylibpcap-0.4.ebuild [deleted file]
dev-python/pylibpcap/pylibpcap-0.5.1.ebuild

index 4b6f6bf31e922725b9be8e68afc52a8869526c40..d543a51ff169fe46537d89196285c46d3848dbdc 100644 (file)
@@ -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.
index 0274e333ae751ca1352ddcc0482a8ff26e082500..a86590fc1f791f10eb08bc70c22d0f611e91aaec 100644 (file)
@@ -1,42 +1,20 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
-AUX 0.4-swig.patch 423 RMD160 8b60b3d78e15fe807824c4180fb4fdf05e757594 SHA1 d6b1523bc1b0a0a1d005c864229d621fc41b4f07 SHA256 214bb28cba2d2da1e925df9f26e009adc73f21867c0fde021bd01ce8f9ca4b85
-MD5 9aaf9fc9de75199bc7959bd72e723b83 files/0.4-swig.patch 423
-RMD160 8b60b3d78e15fe807824c4180fb4fdf05e757594 files/0.4-swig.patch 423
-SHA256 214bb28cba2d2da1e925df9f26e009adc73f21867c0fde021bd01ce8f9ca4b85 files/0.4-swig.patch 423
 AUX pylibpcap-swig-1.3.29.patch 2043 RMD160 4d2be282f3b3bfe9074fa74a358cb37f54bdb824 SHA1 49bf91699d5dec664b8016c5fb99c4fe6597ea8e SHA256 9e5a135693db8fab47c52281cc5d6627d785b3023a3d07099cf1f5502fce3624
 MD5 22cabbd0269b6969baf6fc5f827894db files/pylibpcap-swig-1.3.29.patch 2043
 RMD160 4d2be282f3b3bfe9074fa74a358cb37f54bdb824 files/pylibpcap-swig-1.3.29.patch 2043
 SHA256 9e5a135693db8fab47c52281cc5d6627d785b3023a3d07099cf1f5502fce3624 files/pylibpcap-swig-1.3.29.patch 2043
-DIST pylibpcap-0.4.tar.gz 19370 RMD160 6f6b77e630326303636dc2afe80aa0e0aff81873 SHA1 9ee5dcc8e5fd5b4f6a903aedec756ae4b4d67b9a SHA256 b42503057e667a2480ddf309065ba8814d5f11c6e25a98b445d1fcf204716737
 DIST pylibpcap-0.5.1.tar.gz 25171 RMD160 f1e2309fbaf0878e6b4fb87b626686377c6c105a SHA1 c8e85258b3b3f79d629531856cfb3242c07f5796 SHA256 4b7eb79d5e476cc0e03bcdb13c4a874cf7edac650ef55a21fde385d676e3a7dd
-EBUILD pylibpcap-0.4.ebuild 664 RMD160 f52fff8670a91c5362daca68693091325f700d5c SHA1 502c74daf76704d54eabc2d95e09031bdebc4338 SHA256 ba852db1f544b54889f88d7c09f607c7b1bdb9a2ad1fdb78d90fbc4606cac5b4
-MD5 c832a62d36b3094e1011db92885d4527 pylibpcap-0.4.ebuild 664
-RMD160 f52fff8670a91c5362daca68693091325f700d5c pylibpcap-0.4.ebuild 664
-SHA256 ba852db1f544b54889f88d7c09f607c7b1bdb9a2ad1fdb78d90fbc4606cac5b4 pylibpcap-0.4.ebuild 664
-EBUILD pylibpcap-0.5.1.ebuild 746 RMD160 ef0e8bf64f4e2fad713ab56429a12edfbfcd375d SHA1 3929a510fbb5b636ff2211b83d467b624f077d36 SHA256 64060724183ae52f1ebf88ee9970a77cdefbbfab005e731217cf8a41d76974e3
-MD5 0eee4fad61b191aa0115da85915f9d6b pylibpcap-0.5.1.ebuild 746
-RMD160 ef0e8bf64f4e2fad713ab56429a12edfbfcd375d pylibpcap-0.5.1.ebuild 746
-SHA256 64060724183ae52f1ebf88ee9970a77cdefbbfab005e731217cf8a41d76974e3 pylibpcap-0.5.1.ebuild 746
-MISC ChangeLog 1653 RMD160 77e607b955db26acffda8bb110828ac9e0fa9d6c SHA1 690b1938168eb41c6140de32b9eff6877eddbb45 SHA256 bda2bae366ca9f0608c512c6092ad32b59d9c07883dc8d82be759a277d110cb4
-MD5 3698ede38673c5a9e128ce6d3d3bdbe6 ChangeLog 1653
-RMD160 77e607b955db26acffda8bb110828ac9e0fa9d6c ChangeLog 1653
-SHA256 bda2bae366ca9f0608c512c6092ad32b59d9c07883dc8d82be759a277d110cb4 ChangeLog 1653
+EBUILD pylibpcap-0.5.1.ebuild 747 RMD160 bbcc584dfd461972a68b768e70b4c77ae722ad70 SHA1 1d9a641c0386b525cc8a5337689efe5238264a9a SHA256 6d33e0840a8c8e54ff32c9403dd89530e54ef89f7122cf63cc98ebca8bb59fb2
+MD5 b1f2b21e640009739dbf471aabedfcb0 pylibpcap-0.5.1.ebuild 747
+RMD160 bbcc584dfd461972a68b768e70b4c77ae722ad70 pylibpcap-0.5.1.ebuild 747
+SHA256 6d33e0840a8c8e54ff32c9403dd89530e54ef89f7122cf63cc98ebca8bb59fb2 pylibpcap-0.5.1.ebuild 747
+MISC ChangeLog 1863 RMD160 2ce8b9140119c6c1c006cd769acef74c21d86cc7 SHA1 d405d58a80431d7ce726362fe66b66e3fd6cb134 SHA256 797b2efbc9b3fa52942e85e66c33a00aa51f64efeb4c2dd76eac615df20b42c6
+MD5 d22b33733a1b5251d2418692350d4989 ChangeLog 1863
+RMD160 2ce8b9140119c6c1c006cd769acef74c21d86cc7 ChangeLog 1863
+SHA256 797b2efbc9b3fa52942e85e66c33a00aa51f64efeb4c2dd76eac615df20b42c6 ChangeLog 1863
 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 a79d0fa6ba93c53f4e4ff6cadc1da454 files/digest-pylibpcap-0.4 238
-RMD160 b7d09306c3daa3bddc1f7b6c45d60a55a4a22cde files/digest-pylibpcap-0.4 238
-SHA256 890674ffcf1ce2b3d92856250be16d812def9196288981c816f14abbb71d5b34 files/digest-pylibpcap-0.4 238
 MD5 3cb431235dc6862ab9357d5b633d483d files/digest-pylibpcap-0.5.1 244
 RMD160 ac03f8a9f24bef1e3c94af45a512dcabc581823d files/digest-pylibpcap-0.5.1 244
 SHA256 2ada65d5356b9404c106bc2c87782e358fc8e8e42d9fa675db8970e9d4857cf5 files/digest-pylibpcap-0.5.1 244
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.6 (GNU/Linux)
-
-iD8DBQFF4bE/QlM6RnzZP+IRAjSIAKCqN0OA4zhqvjqlSe0IazFXu7mIZQCfRpEz
-jIWc+YVISDtwZFyY8mmE+Ak=
-=aXKo
------END PGP SIGNATURE-----
diff --git a/dev-python/pylibpcap/files/0.4-swig.patch b/dev-python/pylibpcap/files/0.4-swig.patch
deleted file mode 100644 (file)
index a4f3d31..0000000
+++ /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 (file)
index 260f281..0000000
+++ /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 (file)
index fe7bf76..0000000
+++ /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/*
-}
index ba908f8ae9fd26d4557baa190b3b66466bd31c19..6643b22af5536dfc750675ffe6af20d1395e2432 100644 (file)
@@ -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
 }