source: www-apps/trac-gitplugin/trac-gitplugin-0.12.0.2-r1.ebuild @ 7b4937b

Revision 7b4937b, 1.7 KB checked in by geos_one <geos_one@…>, 10 years ago (diff)

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

git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/linamh@2401 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/gitplugin/0.12/"
13DESCRIPTION="This is a plugin which enables GIT to be used instead of Subversion."
14HOMEPAGE="http://trac-hacks.org/wiki/GitPlugin"
15
16LICENSE="trac"
17KEYWORDS="~amd64 ~arm ~ppc64 ~x86"
18IUSE=""
19
20SLOT="0"
21
22DEPEND="dev-python/setuptools
23        app-arch/unzip"
24RDEPEND=">=www-apps/trac-0.12
25        dev-vcs/git"
26
27src_install() {
28        distutils_src_install
29        rm -f "${D}"/usr/{README,COPYING}
30}
31
32pkg_postinst() {
33        distutils_pkg_postinst
34        elog "To enable the GitPlugin plugin in your Trac environments, you have to add:"
35        elog "  [components]"
36        elog "  # for plugin version 0.11.0.1+"
37        elog "  tracext.git.* = enabled"
38        elog ""
39        elog "  [trac]"
40        elog "  repository_dir = /var/git/Test.git"
41        elog "  repository_type = git"
42        elog ""
43        elog "  ## the following is only for the 0.11 branch"
44        elog "  [git]"
45        elog "  ## let Trac cache meta-data via CachedRepository wrapper; default: false"
46        elog "  cached_repository = true"
47        elog ""
48        elog "  ## disable automatic garbage collection for in-memory commit-tree cache; default: false"
49        elog "  persistent_cache = true"
50        elog ""
51        elog "  ## length revision sha-sums should be tried to be abbreviated to (must be >= 4 and <= 40); default: 7"
52        elog "  shortrev_len = 6"
53        elog ""
54        elog "  ## executable file name (optionally with path) of git binary; default: 'git'"
55        elog "  git_bin = /usr/src/git-dev/git"
56        elog ""
57        elog "to your trac.ini files."
58}
Note: See TracBrowser for help on using the repository browser.