summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Alexander <wired@gentoo.org>2010-05-03 10:30:53 +0000
committerAlex Alexander <wired@gentoo.org>2010-05-03 10:30:53 +0000
commit98398ab2d458b9ee47f813fcbc1d50d329570023 (patch)
tree5fee0b1818581aca387ecb3caecdb58fa2679fdb
parentinitial import - in part based on the work Clemmit Sigler and Samuel Tardieu ... (diff)
downloadgentoo-2-98398ab2d458b9ee47f813fcbc1d50d329570023.tar.gz
gentoo-2-98398ab2d458b9ee47f813fcbc1d50d329570023.tar.bz2
gentoo-2-98398ab2d458b9ee47f813fcbc1d50d329570023.zip
fixed bug #313477
(Portage version: 2.2_rc67/cvs/Linux x86_64)
-rw-r--r--mail-filter/isbg/ChangeLog8
-rw-r--r--mail-filter/isbg/isbg-0.99-r1.ebuild (renamed from mail-filter/isbg/isbg-0.99.ebuild)14
2 files changed, 19 insertions, 3 deletions
diff --git a/mail-filter/isbg/ChangeLog b/mail-filter/isbg/ChangeLog
index 3e4961d5bcb5..8a7544bdc138 100644
--- a/mail-filter/isbg/ChangeLog
+++ b/mail-filter/isbg/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for mail-filter/isbg
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/mail-filter/isbg/ChangeLog,v 1.1 2010/03/12 09:46:45 wired Exp $
+# $Header: /var/cvsroot/gentoo-x86/mail-filter/isbg/ChangeLog,v 1.2 2010/05/03 10:30:53 wired Exp $
+
+*isbg-0.99-r1 (03 May 2010)
+
+ 03 May 2010; Alex Alexander <wired@gentoo.org> -isbg-0.99.ebuild,
+ +isbg-0.99-r1.ebuild:
+ fixed bug #313477
*isbg-0.99 (12 Mar 2010)
diff --git a/mail-filter/isbg/isbg-0.99.ebuild b/mail-filter/isbg/isbg-0.99-r1.ebuild
index 2ddc98b18979..effb9d9eaa60 100644
--- a/mail-filter/isbg/isbg-0.99.ebuild
+++ b/mail-filter/isbg/isbg-0.99-r1.ebuild
@@ -1,8 +1,11 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/mail-filter/isbg/isbg-0.99.ebuild,v 1.1 2010/03/12 09:46:45 wired Exp $
+# $Header: /var/cvsroot/gentoo-x86/mail-filter/isbg/isbg-0.99-r1.ebuild,v 1.1 2010/05/03 10:30:53 wired Exp $
EAPI=3
+PYTHON_DEPEND="2"
+
+inherit python
MY_P="${P/-/_}_20100303"
DESCRIPTION="IMAP Spam Begone: a script that makes it easy to scan an IMAP inbox for spam using SpamAssassin"
@@ -19,10 +22,17 @@ IUSE=""
DEPEND=""
RDEPEND="${DEPEND}
- || ( dev-lang/python:2.6 dev-lang/python:2.5 dev-lang/python:2.4 )
mail-filter/spamassassin
"
+pkg_setup() {
+ python_set_active_version 2
+}
+
+src_prepare() {
+ python_convert_shebangs 2 isbg.py
+}
+
src_install() {
dobin isbg.py || die "script installation failed"
dodoc CHANGELOG CONTRIBUTORS README || die "doc installation failed"