www-apps/trac: add 0.12 pre

git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/linamh@1754 6952d904-891a-0410-993b-d76249ca496b
This commit is contained in:
geos_one 2009-12-26 10:27:18 +00:00
parent 125a3976d2
commit de5bed8245
3 changed files with 115 additions and 1 deletions

View File

@ -2,6 +2,9 @@
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/www-apps/trac/ChangeLog,v 1.84 2008/11/17 04:40:58 wrobel Exp $
26 Dec 2009; Mario Fetka <mario.fetka@gmail.com> +trac-0.12_pre1.ebuild:
add 0.12 pre
*trac-0.11.4 (06 May 2009)
06 May 2009; Mario Fetka <mario.fetka@gmail.com> +trac-0.11.4.ebuild:

View File

@ -11,5 +11,6 @@ EBUILD trac-0.11.2.1.ebuild 3977 RMD160 d3cb051a711d6d3bdc0d685736611285faf0b544
EBUILD trac-0.11.3.ebuild 3977 RMD160 ad65bdead4b898f9e81d24d2515a7f91b1a09e0d SHA1 19fe7047d551d91700f2c36a21ea14efe19ae855 SHA256 94df7dfad3bf7243e74588bb00faaf69efdce1c7df856857295a0e16ea3fadfc
EBUILD trac-0.11.4.ebuild 3980 RMD160 bfad49ee89e5dedfeee57e5c2388e407ffce3cea SHA1 568f5fe6c10c6cc600003a07d840a07feda9c395 SHA256 8aeaf3cd1b23562ffa130d46c8798bf5a0b2f0508e26f300541fc0cd6dc037b0
EBUILD trac-0.11.6.ebuild 2335 RMD160 c68084d36eac6180429c378e6ef617ba70c4c1fa SHA1 3b1277104479eb3f9f2ea96bf913a7aa541b8d61 SHA256 d9d872eada771962a2036294858c2dbb13c37d4cbba3e1192de6a71fd92053c8
MISC ChangeLog 14078 RMD160 a0894775e7d4c358ee971378930128d2c4fb76e0 SHA1 9fbfadf6785ca04b1caa1249d122259a639a1042 SHA256 43787350dda1db19e1a3a4ca36773dc2a2571afa1fce67cc151e3ad504dc8ec9
EBUILD trac-0.12_pre1.ebuild 2446 RMD160 f65fb7d07cb8398cee4e7a1767f0c649c6e5c66e SHA1 3340f933efb024ceeccba3cc27a6b8c09292445c SHA256 87c1ea68660540c6fc3256deb2b266f0303686445f9f7909643f3243377c2365
MISC ChangeLog 14169 RMD160 9ee29c1400abad7874a598bc25cc90806b32f77b SHA1 a8f95e5dc301c7fa739235b3aa564dd8399813bb SHA256 fa4c21a9d96f35393901cd170951b25c5c5dd5dffb7f047c71e7aaa92d3ac713
MISC metadata.xml 294 RMD160 583b0b68a78884cf52e3a16a0aa9195dbb50654d SHA1 f73728c47f88df1bd4b4760b28c4f48c63a30ebb SHA256 a77b23b4cddd5cd048cbe2c0fdd3950d53ef2b48d30cdf1b1f501ee25a690e08

View File

@ -0,0 +1,110 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/www-apps/trac/trac-0.11.5.ebuild,v 1.5 2009/10/17 08:26:29 djc Exp $
EAPI="2"
inherit distutils webapp subversion
ESVN_REPO_URI="http://svn.edgewall.org/repos/trac/trunk"
MY_PV=${PV/_beta/b}
MY_P=Trac-${MY_PV}
S=${WORKDIR}/${MY_P}
DESCRIPTION="Trac is a minimalistic web-based project management, wiki and bug/issue tracking system."
HOMEPAGE="http://trac.edgewall.com/"
LICENSE="trac"
#SRC_URI="http://ftp.edgewall.com/pub/trac/${MY_P}.tar.gz"
IUSE="cgi fastcgi mysql postgres +sqlite subversion"
KEYWORDS="amd64 ppc ~ppc64 ~sparc x86"
# doing so because tools, python packages... overlap
SLOT="0"
WEBAPP_MANUAL_SLOT="yes"
RDEPEND="
dev-python/setuptools
>=dev-python/genshi-0.5
dev-python/pygments
>=dev-python/docutils-0.3.9
dev-python/pytz
cgi? (
virtual/httpd-cgi
)
fastcgi? (
virtual/httpd-fastcgi
)
mysql? (
>=dev-python/mysql-python-1.2.1
>=virtual/mysql-4.1
)
postgres? (
>=dev-python/psycopg-2
)
sqlite? (
>=dev-db/sqlite-3.3.4
|| (
>=dev-lang/python-2.5[sqlite]
>=dev-python/pysqlite-2.3.2
)
)
subversion? (
>=dev-util/subversion-1.4.2[python]
)
!www-apps/trac-webadmin
"
DEPEND="${RDEPEND}"
pkg_setup() {
webapp_pkg_setup
if ! use mysql && ! use postgres && ! use sqlite; then
eerror "You must select at least one database backend, by enabling"
eerror "at least one of the 'mysql', 'postgres' or 'sqlite' USE flags."
die "no database backend selected"
fi
enewgroup tracd
enewuser tracd -1 -1 -1 tracd
}
src_unpack() {
subversion_src_unpack
}
src_install() {
webapp_src_preinst
distutils_src_install
# project environments might go in here
keepdir /var/lib/trac
# Use this as the egg-cache for tracd
dodir /var/lib/trac/egg-cache
keepdir /var/lib/trac/egg-cache
fowners tracd:tracd /var/lib/trac/egg-cache
# documentation
cp -r contrib "${D}"/usr/share/doc/${P}/
# tracd init script
newconfd "${FILESDIR}"/tracd.confd tracd
newinitd "${FILESDIR}"/tracd.initd.2 tracd
if use cgi; then
cp cgi-bin/trac.cgi "${D}"/${MY_CGIBINDIR} || die
fi
if use fastcgi; then
cp cgi-bin/trac.fcgi "${D}"/${MY_CGIBINDIR} || die
fi
for lang in en; do
webapp_postinst_txt ${lang} "${FILESDIR}"/postinst-${lang}.txt
webapp_postupgrade_txt ${lang} "${FILESDIR}"/postupgrade-${lang}.txt
done
webapp_src_install
}