equal
deleted
inserted
replaced
|
1 # Copyright 1999-2015 Gentoo Foundation |
|
2 # Distributed under the terms of the GNU General Public License v2 |
|
3 # $Header: $ |
|
4 |
|
5 EAPI=5 |
|
6 |
|
7 DESCRIPTION="Integrates spamassassin filters into mailman" |
|
8 HOMEPAGE="http://www.jamesh.id.au/articles/mailman-spamassassin/" |
|
9 SRC_URI="http://tinyrss.elyzion.net/~darisk/files/soft/spamassassin-mailman-0.1.tar.bz2" |
|
10 |
|
11 PYTHON_COMPAT=( python{2_6,2_7} ) |
|
12 |
|
13 inherit python-single-r1 |
|
14 |
|
15 LICENSE="GPL-2+" |
|
16 SLOT="0" |
|
17 KEYWORDS="~amd64" |
|
18 IUSE="" |
|
19 |
|
20 REQUIRED_USE="${PYTHON_REQUIRED_USE}" |
|
21 |
|
22 DEPEND="" |
|
23 RDEPEND="${DEPEND} |
|
24 ${PYTHON_DEPS} |
|
25 mail-filter/spamassassin |
|
26 net-mail/mailman" |
|
27 |
|
28 src_install() { |
|
29 insinto /usr/lib/mailman/Mailman/Handlers/ |
|
30 doins SpamAssassin.py spamd.py |
|
31 python_optimize "${D}/usr/lib/mailman/Mailman/Handlers/" |
|
32 } |
|
33 |
|
34 pkg_postinst() { |
|
35 elog "This package just install needed files to integrate mailman and SpamAssassin" |
|
36 elog "See http://www.jamesh.id.au/articles/mailman-spamassassin/ for more informations" |
|
37 } |