--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/mail-filter/spamassassin-mailman/spamassassin-mailman-0.1.ebuild Mon Jan 26 12:05:09 2015 +0100
@@ -0,0 +1,37 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=5
+
+DESCRIPTION="Integrates spamassassin filters into mailman"
+HOMEPAGE="http://www.jamesh.id.au/articles/mailman-spamassassin/"
+SRC_URI="http://tinyrss.elyzion.net/~darisk/files/soft/spamassassin-mailman-0.1.tar.bz2"
+
+PYTHON_COMPAT=( python{2_6,2_7} )
+
+inherit python-single-r1
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+DEPEND=""
+RDEPEND="${DEPEND}
+ ${PYTHON_DEPS}
+ mail-filter/spamassassin
+ net-mail/mailman"
+
+src_install() {
+ insinto /usr/lib/mailman/Mailman/Handlers/
+ doins SpamAssassin.py spamd.py
+ python_optimize "${D}/usr/lib/mailman/Mailman/Handlers/"
+}
+
+pkg_postinst() {
+ elog "This package just install needed files to integrate mailman and SpamAssassin"
+ elog "See http://www.jamesh.id.au/articles/mailman-spamassassin/ for more informations"
+}