source: www-apps/trac-downloadsplugin/trac-downloadsplugin-0.3.ebuild @ 92828f4

Revision 92828f4, 2.3 KB checked in by geos_one <geos_one@…>, 11 years ago (diff)

www-apps/trac-downloadsplugin: add 0.12 branch

git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/linamh@1757 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/downloadsplugin/0.12/"
8DESCRIPTION="This plugin provides downloads section which may contain releases or other files."
9HOMEPAGE="http://trac-hacks.org/wiki/DownloadsPlugin"
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
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 "  tracdownloads.api.DownloadsApi = enabled"
35        elog "  tracdownloads.core.DownloadsCore = enabled"
36        elog "  tracdownloads.init.DownloadsInit = enabled"
37        elog "  tracdownloads.timeline.DownloadsTimeline = enabled"
38        elog "  tracdownloads.wiki.DownloadsWiki = enabled"
39        elog "  tracdownloads.admin.DownloadsWebAdmin = enabled # Branch 0.10 and 0.11."
40        elog "  tracdownloads.webadmin.DownloadsWebAdmin = enabled # Branch 0.12 only."
41        elog "  tracdownloads.consoleadmin.DownloadsConsoleAdmin = enabled # Branch 0.12 only."
42        elog "  tracdownloads.core.DownloadsDownloads = enabled # Branch 0.12 only."
43        elog "  tracdownloads.tags.DownloadsTags = enabled # With TagsPlugin installed."
44        elog "  [downloads]"
45        elog "  title = Downloads"
46        elog "  path = /var/lib/trac/downloads"
47        elog "  ext = zip gz bz2 rar # For 0.10 and 0.11 branch."
48        elog "  ext = zip,gz,bz2,rar # For 0.12 branch."
49        elog "  visible_fields = id file description size time count author tags component version \"
50        elog "    architecture platform type # For 0.10 and 0.11 branch."
51        elog "  visible_fields = id,file,description,size,time,count,author,tags,component,version, \"
52        elog "    architecture,platform,type # For 0.12 branch."
53        elog "  unique_filename = False"
54        elog "  consoleadmin_user = anonymous # Branch 0.12 only."
55        elog ""
56        elog "to your trac.ini files."
57}
Note: See TracBrowser for help on using the repository browser.