source: www-apps/trac-gitplugin/trac-gitplugin-0.11.0.2-r1.ebuild @ a624b83

Revision a624b83, 1.8 KB checked in by geos_one <geos_one@…>, 11 years ago (diff)

www-apps/trac-gitplugin: add 0.12 branch

git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/linamh@1762 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/gitplugin/0.11/"
8DESCRIPTION="This is a plugin which enables GIT to be used instead of Subversion."
9HOMEPAGE="http://trac-hacks.org/wiki/GitPlugin"
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
21# from marienz's setuptools.eclass:
22src_install() {
23        "${python}" setup.py install --root=${D} --no-compile \
24                --single-version-externally-managed "$@" || die "install failed"
25}
26
27src_test() {
28        "${python}" setup.py test || die "tests failed"
29}
30
31pkg_postinst() {
32        elog "To enable the GitPlugin plugin in your Trac environments, you have to add:"
33        elog "  [components]"
34        elog "  # for plugin version 0.11.0.1+"
35        elog "  tracext.git.* = enabled"
36        elog ""
37        elog "  [trac]"
38        elog "  repository_dir = /var/git/Test.git"
39        elog "  repository_type = git"
40        elog ""
41        elog "  ## the following is only for the 0.11 branch"
42        elog "  [git]"
43        elog "  ## let Trac cache meta-data via CachedRepository wrapper; default: false"
44        elog "  cached_repository = true"
45        elog ""
46        elog "  ## disable automatic garbage collection for in-memory commit-tree cache; default: false"
47        elog "  persistent_cache = true"
48        elog ""
49        elog "  ## length revision sha-sums should be tried to be abbreviated to (must be >= 4 and <= 40); default: 7"
50        elog "  shortrev_len = 6"
51        elog ""
52        elog "  ## executable file name (optionally with path) of git binary; default: 'git'"
53        elog "  git_bin = /usr/src/git-dev/git"
54        elog ""
55        elog "to your trac.ini files."
56}
Note: See TracBrowser for help on using the repository browser.