source: www-apps/trac-SimpleCaptchaPlugin/trac-SimpleCaptchaPlugin-0.1-r1.ebuild @ 831de83

Revision 831de83, 1.3 KB checked in by geos_one <geos_one@…>, 11 years ago (diff)

www-apps/trac-SimpleCaptchaPlugin?: add 0.12 branch

git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/linamh@1759 6952d904-891a-0410-993b-d76249ca496b

  • Property mode set to 100644
RevLine 
[831de83]1# Copyright 1999-2009 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2
3# $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 $
4
5inherit distutils subversion
6
7ESVN_REPO_URI="http://trac-hacks.org/svn/simplecaptchaplugin/0.11"
8DESCRIPTION="A simple CAPTCHA for new user registration using Trac's AccountManagerPlugin that uses Skimpy Gimpy."
9HOMEPAGE="http://trac-hacks.org/wiki/SimpleCaptchaPlugin"
10# SRC_URI="mirror://gentoo/${P}.tar.bz2"
11
12LICENSE="trac"
13KEYWORDS="~amd64 ~ppc64 ~x86"
14IUSE=""
15
16SLOT="0"
17
18DEPEND="=www-apps/trac-0.12*
19        www-apps/trac-acct_mgr
20        dev-python/skimpy
21        >=dev-python/setuptools-0.6_rc1"
22
23# from marienz's setuptools.eclass:
24src_install() {
25        "${python}" setup.py install --root=${D} --no-compile \
26                --single-version-externally-managed "$@" || die "install failed"
27}
28
29src_test() {
30        "${python}" setup.py test || die "tests failed"
31}
32
33pkg_postinst() {
34        elog "To enable the SimpleCaptcha plugin in your Trac environments, you have to add:"
35        elog "  [simplecaptcha]"
36        elog "  dictionary_file = /path/to/dictionary.txt"
37        elog "to your trac.ini files."
38        elog
39        elog "To be able to see the Admin tab, your users must have the TRAC_ADMIN permission"
40        elog "and/or the TICKET_ADMIN permission."
41}
Note: See TracBrowser for help on using the repository browser.