summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2009-05-18 13:27:44 +0000
committerArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2009-05-18 13:27:44 +0000
commit8dd15a42008ce1010aa63ad27ab1a668ecb1e8c4 (patch)
tree9af60c50b0c649927283a73a6ecb9eee6308a582 /dev-python/pyzor
parentVersion bump (diff)
downloadhistorical-8dd15a42008ce1010aa63ad27ab1a668ecb1e8c4.tar.gz
historical-8dd15a42008ce1010aa63ad27ab1a668ecb1e8c4.tar.bz2
historical-8dd15a42008ce1010aa63ad27ab1a668ecb1e8c4.zip
Version bump (bug #269194).
Package-Manager: portage-13623-svn/cvs/Linux x86_64
Diffstat (limited to 'dev-python/pyzor')
-rw-r--r--dev-python/pyzor/ChangeLog10
-rw-r--r--dev-python/pyzor/Manifest4
-rw-r--r--dev-python/pyzor/pyzor-0.5.0.ebuild51
3 files changed, 62 insertions, 3 deletions
diff --git a/dev-python/pyzor/ChangeLog b/dev-python/pyzor/ChangeLog
index 19db37305a7c..a57fc9d01bc5 100644
--- a/dev-python/pyzor/ChangeLog
+++ b/dev-python/pyzor/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-python/pyzor
-# Copyright 2002-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/pyzor/ChangeLog,v 1.41 2009/01/05 07:43:11 robbat2 Exp $
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pyzor/ChangeLog,v 1.42 2009/05/18 13:27:44 arfrever Exp $
+
+*pyzor-0.5.0 (18 May 2009)
+
+ 18 May 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+ +pyzor-0.5.0.ebuild:
+ Version bump (bug #269194).
*pyzor-0.4.0-r4 (05 Jan 2009)
diff --git a/dev-python/pyzor/Manifest b/dev-python/pyzor/Manifest
index d1ed5bb60b9a..301533c7d251 100644
--- a/dev-python/pyzor/Manifest
+++ b/dev-python/pyzor/Manifest
@@ -3,9 +3,11 @@ AUX handle_unknown_encodings.patch 3216 RMD160 94f8a758527669363c1c9f0dfc3315c3a
AUX pyzord_getopt.patch 640 RMD160 31e65c868032988cc42c4a6f7ca98efa0a0e6a12 SHA1 61754944886bc6138ba533fe51fdce1191dbaaa9 SHA256 6cc675c7caf935342c3728ef399c2ebdb57029d146903aa36593fa3a34f270a9
AUX unknown_type.patch 472 RMD160 e70885792a8d8bdd8e1265ae03703c8e7742e3ef SHA1 cc9a43265f87cc41f6bb2df7a35a800d9f30dc68 SHA256 e1d1a9134f0a4fc561e0a14bc657babbf94c5be46856b3273817cf233b30d060
DIST pyzor-0.4.0.tar.bz2 41764 RMD160 edc03c084695128850f788c57554b967dbcefd8e SHA1 0577d291240a7a66492c2b6cbbf49fd5edaf02fd SHA256 27b57f485ee94a98b36f5d85cf7f2a61bdff35fc4005946fe5367ced035bd430
+DIST pyzor-0.5.0.tar.bz2 40654 RMD160 6f0613e59cecfe390cc4602716ac4b7bb42c8d45 SHA1 ceb8a57dd3b281c06ebb62115123a629d348d3f1 SHA256 2bf3df9e916861063a73f7b46cb8b27bac6f661fce1362803de9e7921fc155ba
DIST pyzor_0.4.0+cvs20030201-8.diff.gz 15523 RMD160 20801f6fe91e241921f3dd6c05523b2d3c506d31 SHA1 0ebc76140f58b399050923230968711388f78e14 SHA256 37177c60868f83faf4224d78004fdf66292e1aeada82b855ab7b4a2ab0bb4cdd
DIST pyzor_0.4.0+cvs20030201.orig.tar.gz 41827 RMD160 5a47f46c3e0f92270d9ac0bcb2dfc190ff095851 SHA1 d8109c769517efe9234de9b89659aebfb4c98d99 SHA256 7058a5127d63af77d98ea1fb279821d06c7918857751835bb21987f06308a047
EBUILD pyzor-0.4.0-r3.ebuild 1511 RMD160 ce9de54365f65e54faccc3ae239c1cb7c6ddfe3c SHA1 67175f6f431a163b22331294165c06b97fde0e03 SHA256 a9b460ed4d6a1d398244397eaf452d6813824fc351d479a30ee0faecda694b78
EBUILD pyzor-0.4.0-r4.ebuild 2033 RMD160 8e55dd704a05f2c04e387457908dde0abe719eca SHA1 339b8c02f8f9f336ec97a7dbb4a509ed7aad05fc SHA256 13409ecac3ee7e47558d34b4ef971f4c9b15674148d979726d7bf833ee49c407
-MISC ChangeLog 4706 RMD160 b6e5e2188281a7695c3dfd1fe7fbcc343c891882 SHA1 2854d889d3541e9a2e8bb92f5f01ff89a50f418e SHA256 07e8323041e6d5acc749d449e6e34aa39348530b29e5c639abc808865a3bb1ab
+EBUILD pyzor-0.5.0.ebuild 1240 RMD160 ca0f89ea57f665b6c7f81b0e465f79e88fc8c5a9 SHA1 f92141e0c7ca0c0bf685032603b2a5153dfaa6d9 SHA256 0e5816b047a79ac930cc7c935f1ced3bbc505feff5370bdcc78a1da5f904ed95
+MISC ChangeLog 4862 RMD160 d249c51453615c7f8fe8fa1c22668f9789e1e2ce SHA1 76907344a89dd2e7f6ebe148d6fe881517fc9ac2 SHA256 79366529938a8ae4da1af054f5a6b6c2582b496074ec56e0a5d9e3d119be5e27
MISC metadata.xml 226 RMD160 600a3f5f17f1fc118073824f628ff3b6b9593d9e SHA1 5ec42e8ac4995bfb7e9380daa1b4c53dc6f5566d SHA256 68c2b94a7055bb8f9fa53e636ebe8ae4f3713233181b75335efadaf903e5c400
diff --git a/dev-python/pyzor/pyzor-0.5.0.ebuild b/dev-python/pyzor/pyzor-0.5.0.ebuild
new file mode 100644
index 000000000000..11a70bb3ba60
--- /dev/null
+++ b/dev-python/pyzor/pyzor-0.5.0.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pyzor/pyzor-0.5.0.ebuild,v 1.1 2009/05/18 13:27:44 arfrever Exp $
+
+EAPI="2"
+
+inherit distutils eutils
+
+DESCRIPTION="A distributed, collaborative spam detection and filtering network"
+HOMEPAGE="http://pyzor.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+IUSE="pyzord"
+
+DEPEND="dev-lang/python[gdbm]"
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+ epatch "${FILESDIR}/pyzord_getopt.patch"
+
+ # rfc822BodyCleanerTest doesn't work fine.
+ # Remove it until it's fixed.
+ sed -i \
+ -e '/rfc822BodyCleanerTest/,/self\.assertEqual/d' \
+ unittests.py || die "sed in unittest.py failed"
+}
+
+src_install () {
+ DOCS="INSTALL THANKS UPGRADING"
+ distutils_src_install
+ dohtml docs/usage.html
+ rm -rf "${D}/usr/share/doc/pyzor"
+
+ if use pyzord; then
+ dodir /usr/sbin
+ mv "${D}/usr/bin/pyzord" "${D}/usr/sbin/"
+ fi
+}
+
+pkg_postinst() {
+ if use pyzord; then
+ ewarn "/usr/bin/pyzord has been moved to /usr/sbin"
+ fi
+}
+
+src_test() {
+ PYTHONPATH=build/lib/ "${python}" unittests.py || die "tests failed"
+}