2010-08-31 23:00:11 +02:00
|
|
|
# Copyright 1999-2010 Gentoo Foundation
|
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
# $Header: /var/cvsroot/gentoo-x86/www-apps/trac-webadmin/trac-webadmin-0.1.2.ebuild,v 1.4 2007/02/13 20:39:33 corsair Exp $
|
|
|
|
|
2010-08-31 23:04:09 +02:00
|
|
|
EAPI="2"
|
|
|
|
PYTHON_DEPEND="2"
|
|
|
|
SUPPORT_PYTHON_ABIS="1"
|
|
|
|
RESTRICT_PYTHON_ABIS="3.*"
|
|
|
|
|
2010-08-31 23:00:11 +02:00
|
|
|
inherit distutils subversion
|
|
|
|
|
|
|
|
ESVN_REPO_URI="http://svn.edgewall.org/repos/trac/plugins/0.12/spam-filter-captcha"
|
|
|
|
DESCRIPTION="A Trac plugin for reject contributions that contain spam."
|
|
|
|
HOMEPAGE="http://trac.edgewall.org/wiki/SpamFilter"
|
|
|
|
|
|
|
|
LICENSE="trac"
|
|
|
|
KEYWORDS="~amd64 ~arm ~ppc64 ~x86"
|
|
|
|
IUSE=""
|
|
|
|
|
|
|
|
SLOT="0"
|
|
|
|
|
2010-08-31 23:04:09 +02:00
|
|
|
DEPEND="dev-python/setuptools"
|
|
|
|
RDEPEND=">=www-apps/trac-0.12"
|
2010-08-31 23:00:11 +02:00
|
|
|
|
|
|
|
pkg_postinst() {
|
|
|
|
elog "To enable the SpamFilter plugin in your Trac environments, you have to add:"
|
|
|
|
elog " [components]"
|
|
|
|
elog " tracspamfilter.* = enabled"
|
|
|
|
elog "to your trac.ini files."
|
|
|
|
elog
|
|
|
|
elog "Since version 0.2, the SpamFilter plugin provides integration with WebAdmin"
|
|
|
|
elog "for configuration, monitoring, and training."
|
|
|
|
}
|