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 | |
---|
5 | EAPI="2" |
---|
6 | PYTHON_DEPEND="2" |
---|
7 | SUPPORT_PYTHON_ABIS="1" |
---|
8 | RESTRICT_PYTHON_ABIS="3.*" |
---|
9 | |
---|
10 | inherit distutils subversion |
---|
11 | |
---|
12 | ESVN_REPO_URI="http://trac-hacks.org/svn/downloadsplugin/0.12/" |
---|
13 | DESCRIPTION="This plugin provides downloads section which may contain releases or other files." |
---|
14 | HOMEPAGE="http://trac-hacks.org/wiki/DownloadsPlugin" |
---|
15 | |
---|
16 | LICENSE="trac" |
---|
17 | KEYWORDS="~amd64 ~arm ~ppc64 ~x86" |
---|
18 | IUSE="" |
---|
19 | |
---|
20 | SLOT="0" |
---|
21 | |
---|
22 | DEPEND="dev-python/setuptools" |
---|
23 | RDEPEND=">=www-apps/trac-0.12" |
---|
24 | |
---|
25 | pkg_postinst() { |
---|
26 | elog "To enable the GitPlugin plugin in your Trac environments, you have to add:" |
---|
27 | elog " [components]" |
---|
28 | elog " tracdownloads.api.DownloadsApi = enabled" |
---|
29 | elog " tracdownloads.core.DownloadsCore = enabled" |
---|
30 | elog " tracdownloads.init.DownloadsInit = enabled" |
---|
31 | elog " tracdownloads.timeline.DownloadsTimeline = enabled" |
---|
32 | elog " tracdownloads.wiki.DownloadsWiki = enabled" |
---|
33 | elog " tracdownloads.webadmin.DownloadsWebAdmin = enabled # Branch 0.12 only." |
---|
34 | elog " tracdownloads.consoleadmin.DownloadsConsoleAdmin = enabled # Branch 0.12 only." |
---|
35 | elog " tracdownloads.core.DownloadsDownloads = enabled # Branch 0.12 only." |
---|
36 | elog " tracdownloads.tags.DownloadsTags = enabled # With TagsPlugin installed." |
---|
37 | elog " [downloads]" |
---|
38 | elog " title = Downloads" |
---|
39 | elog " path = /var/lib/trac/downloads" |
---|
40 | elog " ext = zip,gz,bz2,rar # For 0.12 branch." |
---|
41 | elog " visible_fields = id,file,description,size,time,count,author,tags,component,version, \" |
---|
42 | elog " architecture,platform,type # For 0.12 branch." |
---|
43 | elog " unique_filename = False" |
---|
44 | elog " consoleadmin_user = anonymous # Branch 0.12 only." |
---|
45 | elog "" |
---|
46 | elog "to your trac.ini files." |
---|
47 | } |
---|