Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 313475 | Differences between
and this patch

Collapse All | Expand All

(-)ask.orig/ask-2.5.3.ebuild (-2 / +17 lines)
Lines 2-8 Link Here
2
# Distributed under the terms of the GNU General Public License v2
2
# Distributed under the terms of the GNU General Public License v2
3
# $Header: /var/cvsroot/gentoo-x86/mail-filter/ask/ask-2.5.3.ebuild,v 1.1 2011/11/20 12:44:11 eras Exp $
3
# $Header: /var/cvsroot/gentoo-x86/mail-filter/ask/ask-2.5.3.ebuild,v 1.1 2011/11/20 12:44:11 eras Exp $
4
4
5
inherit multilib
5
EAPI=4
6
IPYTHON_DEPEND="2"
7
inherit multilib python
6
8
7
DESCRIPTION="Active Spam Killer: A program to filter spam"
9
DESCRIPTION="Active Spam Killer: A program to filter spam"
8
HOMEPAGE="http://www.paganini.net/ask/index.html"
10
HOMEPAGE="http://www.paganini.net/ask/index.html"
Lines 16-24 Link Here
16
RDEPEND="virtual/mta
18
RDEPEND="virtual/mta
17
		procmail? ( >=mail-filter/procmail-3.22 )"
19
		procmail? ( >=mail-filter/procmail-3.22 )"
18
20
21
pkg_setup() {
22
	python_set_active_version 2
23
	python_pkg_setup
24
}
25
19
src_install() {
26
src_install() {
20
	dobin askfilter asksetup askversion.py utils/asksenders
27
	dobin askfilter asksetup askversion.py utils/asksenders
21
22
	insinto /usr/$(get_libdir)/ask
28
	insinto /usr/$(get_libdir)/ask
23
	doins askconfig.py asklock.py asklog.py askmail.py askmain.py \
29
	doins askconfig.py asklock.py asklog.py askmail.py askmain.py \
24
		 askmessage.py askremote.py
30
		 askmessage.py askremote.py
Lines 32-37 Link Here
32
	doman docs/*.1
38
	doman docs/*.1
33
39
34
	dodoc ChangeLog docs/ask_doc*
40
	dodoc ChangeLog docs/ask_doc*
41
	python_convert_shebangs -r 2 "${ED}"
35
}
42
}
36
43
37
pkg_postinst() {
44
pkg_postinst() {
Lines 39-41 Link Here
39
	elog "WARNING: if you upgrade from ask-2.4.1, you must replace ask.py with askfilter"
46
	elog "WARNING: if you upgrade from ask-2.4.1, you must replace ask.py with askfilter"
40
	elog "         in your procmail/maildrop recipe!"
47
	elog "         in your procmail/maildrop recipe!"
41
}
48
}
49
50
pkg_postinst() {
51
	python_mod_optimize /usr/$(get_libdir)/ask
52
}
53
54
pkg_postrm() {
55
	python_mod_cleanup /usr/$(get_libdir)/ask
56
}

Return to bug 313475