source: www-apps/trac-acct_mgr/trac-acct_mgr-0.2.1-r1.ebuild @ 9893737

Revision 9893737, 1.4 KB checked in by geos_one <geos_one@…>, 10 years ago (diff)

www-apps/trac-acct_mgr: add redirect fix

git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/linamh@1727 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/0.11"
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.11*
19        >=dev-python/setuptools-0.6_rc1"
20
21src_unpack() {
22        subversion_src_unpack
23        cd "${S}"
24        epatch "${FILESDIR}/redirect-fix.patch"
25}
26
27
28# from marienz's setuptools.eclass:
29src_install() {
30        "${python}" setup.py install --root=${D} --no-compile \
31                --single-version-externally-managed "$@" || die "install failed"
32}
33
34src_test() {
35        "${python}" setup.py test || die "tests failed"
36}
37
38pkg_postinst() {
39        elog "To enable the AccountManager plugin in your Trac environments, you have to add:"
40        elog "  [components]"
41        elog "  trac.web.auth.LoginModule = disabled"
42        elog "  acct_mgr.web_ui.LoginModule = enabled"
43        elog "  acct_mgr.web_ui.RegistrationModule = disabled"
44        elog "to your trac.ini files."
45        elog
46        elog "To be able to see the Admin tab, your users must have the TRAC_ADMIN permission"
47        elog "and/or the TICKET_ADMIN permission."
48}
Note: See TracBrowser for help on using the repository browser.