source: www-apps/trac-recaptcharegisterplugin/trac-recaptcharegisterplugin-0.2.1.2-r1.ebuild @ 3131f3f

Revision 3131f3f, 1.2 KB checked in by geos_one <geos_one@…>, 10 years ago (diff)

www-apps/trac-recaptcharegisterplugin: Add distutils_pkg_postinst to postinstall section

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

  • Property mode set to 100644
Line 
1# Copyright 1999-2010 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
5EAPI="2"
6PYTHON_DEPEND="2"
7SUPPORT_PYTHON_ABIS="1"
8RESTRICT_PYTHON_ABIS="3.*"
9
10inherit distutils subversion
11
12ESVN_REPO_URI="http://trac-hacks.org/svn/recaptcharegisterplugin/0.11"
13DESCRIPTION="This hack adds a reCAPTCHA that the user must pass before registering."
14HOMEPAGE="http://trac-hacks.org/wiki/RecaptchaRegisterPlugin"
15
16LICENSE="trac"
17KEYWORDS="~amd64 ~arm ~ppc64 ~x86"
18IUSE=""
19
20SLOT="0"
21
22DEPEND="dev-python/setuptools"
23RDEPEND=">=www-apps/trac-0.12
24        www-apps/trac-accountmanagerplugin
25        dev-python/recaptcha-client"
26
27pkg_postinst() {
28        distutils_pkg_postinst
29        elog "To enable the SimpleCaptcha plugin in your Trac environments, you have to add:"
30        elog "[components]"
31        elog "recaptcharegister.* = enabled"
32        elog
33        elog "  [recaptcha]"
34        elog "  public_key ="
35        elog "  private_key ="
36        elog "to your trac.ini files."
37        elog
38        elog "To be able to see the Admin tab, your users must have the TRAC_ADMIN permission"
39        elog "and/or the TICKET_ADMIN permission."
40}
Note: See TracBrowser for help on using the repository browser.