2017-06-07 10:33:26 +02:00
|
|
|
# Copyright 1999-2017 Gentoo Foundation
|
2009-12-26 11:32:43 +01:00
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
# $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 $
|
|
|
|
|
2017-06-07 10:33:26 +02:00
|
|
|
EAPI=6
|
|
|
|
PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} )
|
2010-08-31 22:14:05 +02:00
|
|
|
|
2017-06-07 10:33:26 +02:00
|
|
|
inherit distutils-r1 subversion
|
2009-12-26 11:32:43 +01:00
|
|
|
|
|
|
|
ESVN_REPO_URI="http://trac-hacks.org/svn/downloadsplugin/0.12/"
|
|
|
|
DESCRIPTION="This plugin provides downloads section which may contain releases or other files."
|
|
|
|
HOMEPAGE="http://trac-hacks.org/wiki/DownloadsPlugin"
|
|
|
|
|
2011-11-19 19:19:42 +01:00
|
|
|
LICENSE="GPL-3"
|
2010-02-26 21:17:19 +01:00
|
|
|
KEYWORDS="~amd64 ~arm ~ppc64 ~x86"
|
2009-12-26 11:32:43 +01:00
|
|
|
IUSE=""
|
|
|
|
|
|
|
|
SLOT="0"
|
|
|
|
|
2010-08-31 22:14:05 +02:00
|
|
|
DEPEND="dev-python/setuptools"
|
2011-11-19 19:19:42 +01:00
|
|
|
RDEPEND=">=www-apps/trac-0.12
|
|
|
|
>=www-apps/trac-tagsplugin-0.6"
|
2009-12-26 11:32:43 +01:00
|
|
|
|
|
|
|
pkg_postinst() {
|
2010-09-17 18:02:04 +02:00
|
|
|
distutils_pkg_postinst
|
2009-12-26 11:32:43 +01:00
|
|
|
elog "To enable the GitPlugin plugin in your Trac environments, you have to add:"
|
|
|
|
elog " [components]"
|
|
|
|
elog " tracdownloads.api.DownloadsApi = enabled"
|
|
|
|
elog " tracdownloads.core.DownloadsCore = enabled"
|
|
|
|
elog " tracdownloads.init.DownloadsInit = enabled"
|
|
|
|
elog " tracdownloads.timeline.DownloadsTimeline = enabled"
|
|
|
|
elog " tracdownloads.wiki.DownloadsWiki = enabled"
|
|
|
|
elog " tracdownloads.webadmin.DownloadsWebAdmin = enabled # Branch 0.12 only."
|
|
|
|
elog " tracdownloads.consoleadmin.DownloadsConsoleAdmin = enabled # Branch 0.12 only."
|
|
|
|
elog " tracdownloads.core.DownloadsDownloads = enabled # Branch 0.12 only."
|
|
|
|
elog " tracdownloads.tags.DownloadsTags = enabled # With TagsPlugin installed."
|
|
|
|
elog " [downloads]"
|
|
|
|
elog " title = Downloads"
|
|
|
|
elog " path = /var/lib/trac/downloads"
|
|
|
|
elog " ext = zip,gz,bz2,rar # For 0.12 branch."
|
2010-09-17 18:02:04 +02:00
|
|
|
elog " visible_fields = id,file,description,size,time,count,author,tags,component,version, "
|
2009-12-26 11:32:43 +01:00
|
|
|
elog " architecture,platform,type # For 0.12 branch."
|
|
|
|
elog " unique_filename = False"
|
|
|
|
elog " consoleadmin_user = anonymous # Branch 0.12 only."
|
|
|
|
elog ""
|
|
|
|
elog "to your trac.ini files."
|
|
|
|
}
|