summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/pyzor/pyzor-0.4.0-r2.ebuild')
-rw-r--r--dev-python/pyzor/pyzor-0.4.0-r2.ebuild39
1 files changed, 39 insertions, 0 deletions
diff --git a/dev-python/pyzor/pyzor-0.4.0-r2.ebuild b/dev-python/pyzor/pyzor-0.4.0-r2.ebuild
new file mode 100644
index 000000000000..4dc18dbd3c0f
--- /dev/null
+++ b/dev-python/pyzor/pyzor-0.4.0-r2.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pyzor/pyzor-0.4.0-r2.ebuild,v 1.1 2006/02/06 22:25:05 liquidx Exp $
+
+inherit distutils
+
+DESCRIPTION="Pyzor is a distributed, collaborative spam detection and filtering network"
+HOMEPAGE="http://pyzor.sourceforge.net/"
+SRC_URI="mirror://sourceforge/pyzor/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~sparc ~x86"
+IUSE=""
+
+DEPEND="virtual/python
+ sys-libs/gdbm"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ epatch ${FILESDIR}/debian_mbox.patch
+ epatch ${FILESDIR}/handle_unknown_encodings.patch
+ epatch ${FILESDIR}/unknown_type.patch
+}
+
+src_install () {
+ mydoc="INSTALL NEWS PKG-INFO THANKS UPGRADING"
+ distutils_src_install
+ dohtml docs/usage.html
+ rm -rf ${D}/usr/share/doc/pyzor
+ fperms 755 /usr/bin/pyzor*
+ dodir /usr/sbin
+ mv ${D}/usr/bin/pyzord ${D}/usr/sbin/
+}
+
+pkg_postinst() {
+ ewarn "/usr/bin/pyzord has been moved to /usr/sbin"
+}