source: www-apps/trac-acct_mgr/trac-acct_mgr-0.2.1-r2.ebuild @ 5ab2e2d

Revision 5ab2e2d, 1.5 KB checked in by geos_one <geos_one@…>, 11 years ago (diff)

www-apps/trac-acct_mgr: add korrekt deep

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

  • Property mode set to 100644
Line 
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/accountmanagerplugin/trunk"
8DESCRIPTION="The AccountManagerPlugin offers several features for managing user accounts."
9HOMEPAGE="http://trac-hacks.org/wiki/AccountManagerPlugin"
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        >=dev-python/setuptools-0.6_rc1"
20
21src_unpack() {
22        subversion_src_unpack
23        cd "${S}"
24#       epatch "${FILESDIR}/redirect-fix.patch"
25        epatch "${FILESDIR}/RegistrationConfirmationPatch.diff"
26}
27
28
29# from marienz's setuptools.eclass:
30src_install() {
31        "${python}" setup.py install --root=${D} --no-compile \
32                --single-version-externally-managed "$@" || die "install failed"
33}
34
35src_test() {
36        "${python}" setup.py test || die "tests failed"
37}
38
39pkg_postinst() {
40        elog "To enable the AccountManager plugin in your Trac environments, you have to add:"
41        elog "  [components]"
42        elog "  trac.web.auth.LoginModule = disabled"
43        elog "  acct_mgr.web_ui.LoginModule = enabled"
44        elog "  acct_mgr.web_ui.RegistrationModule = disabled"
45        elog "to your trac.ini files."
46        elog
47        elog "To be able to see the Admin tab, your users must have the TRAC_ADMIN permission"
48        elog "and/or the TICKET_ADMIN permission."
49}
Note: See TracBrowser for help on using the repository browser.