You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/mail-filter/isbg/isbg-0.99-r1.ebuild

40 lines
1006 B

# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/mail-filter/isbg/isbg-0.99-r1.ebuild,v 1.2 2013/07/12 04:55:26 ago 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"
HOMEPAGE="http://redmine.ookook.fr/projects/isbg"
SRC_URI="http://github.com/downloads/ook/${PN}/${MY_P}.tgz"
# upstream says:
# You may use isbg under any OSI approved open source license
# such as those listed at http://opensource.org/licenses/alphabetical
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ~x86"
IUSE=""
DEPEND=""
RDEPEND="${DEPEND}
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"
}