www-apps/trac: Bump

git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/linamh@2560 6952d904-891a-0410-993b-d76249ca496b
This commit is contained in:
geos_one 2010-10-21 16:23:59 +00:00
parent 5fcdaa7aea
commit a3f749e630
3 changed files with 125 additions and 1 deletions

View File

@ -2,6 +2,9 @@
# Copyright 1999-2010 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 $
21 Oct 2010; Mario Fetka <mario.fetka@gmail.com> +trac-0.12.1.ebuild:
Bump
31 Aug 2010; Mario Fetka <mario.fetka@gmail.com> -trac-0.11.2.1.ebuild,
-trac-0.11.3.ebuild, -trac-0.11.4.ebuild, -trac-0.11.6.ebuild,
-trac-0.11.7.ebuild, -trac-0.12.ebuild:

View File

@ -3,7 +3,9 @@ AUX postupgrade-en.txt 674 RMD160 088b1b590ebd7876347b06e71f9dda549238eda1 SHA1
AUX tracd.confd 359 RMD160 7328dd041576abbc76130ce220041d837289dd00 SHA1 91a6077f1baf9301082826697e8828c6039f7648 SHA256 6ae50c887d18f8eeda7d59c4d3fd1b5e07e407711c4e4679fef3583f7be8ed6e
AUX tracd.initd 881 RMD160 c215a990133d5b655bc94e13ab4de9d1c938a163 SHA1 2c1a9dbae7e4890c2fb71f22091786ba7396c940 SHA256 6e76bfffe7f6928bff24d79b97aa8bbd27dafdfbb16fe8c79b7ad298e202d950
AUX tracd.initd.2 939 RMD160 2991a7a8d2d1a2911a899ed5f356fd88de872b5d SHA1 c8d00dc0e7ca92f17caa4ec1dfa49d3178fbc735 SHA256 9cd796e0fb516a91f5ec69037819144e9b9920af5df4f91839f9fb7fc67823a0
DIST Trac-0.12.1.tar.gz 2170563 RMD160 3f5e61e27d6217995a9c87401c0c57e4d353d8aa SHA1 062e335a2f5bf6dd5f858711cf38419f73f286b1 SHA256 7ab452a99e61be9cc6b6fd7dbcfa6e4f5d1760480a132dc41c6fe2fce10c73a4
DIST Trac-0.12.tar.gz 2107428 RMD160 aca8d024a582519cefef07053517d14722f87609 SHA1 f13a5caf2ab353248f696dc5320df7a27c102e06 SHA256 a1c15c0c3a0c717e6d50d4e4f949b8e8c510a308611013c45c6253c675e805cf
EBUILD trac-0.12-r1.ebuild 2749 RMD160 fe1579e8d12c94814300f4f2a6970073426fe974 SHA1 899883db033cb8219bc0d939338f4debcb942a94 SHA256 ff6113ad44decce02e359d88d751b84536d96b8c622f58c7f6fece80e1f40098
MISC ChangeLog 14982 RMD160 a98050dae5dcf4d9d95792236d3dbeffb6636275 SHA1 de58697e1fef17bf009c8273217393a92520a1e7 SHA256 9a52f91403b0c0af6ddf512dfbf2326d15fb2a223eedd3ba9a604345b137f540
EBUILD trac-0.12.1.ebuild 2749 RMD160 fe1579e8d12c94814300f4f2a6970073426fe974 SHA1 899883db033cb8219bc0d939338f4debcb942a94 SHA256 ff6113ad44decce02e359d88d751b84536d96b8c622f58c7f6fece80e1f40098
MISC ChangeLog 15062 RMD160 d31f4861626dd53496eee99e9ad48a78d60d9dcc SHA1 8a10287c62fb7b4ce6f487f1a6801cfa69e1f9eb SHA256 75e225f03839811de4bc8514b04b298dc1f7f051e2ef124a95e0d80e7d71d4ea
MISC metadata.xml 294 RMD160 583b0b68a78884cf52e3a16a0aa9195dbb50654d SHA1 f73728c47f88df1bd4b4760b28c4f48c63a30ebb SHA256 a77b23b4cddd5cd048cbe2c0fdd3950d53ef2b48d30cdf1b1f501ee25a690e08

View File

@ -0,0 +1,119 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/www-apps/trac/trac-0.12-r1.ebuild,v 1.1 2010/08/13 13:23:44 djc Exp $
EAPI="2"
PYTHON_DEPEND="2"
SUPPORT_PYTHON_ABIS="1"
inherit distutils eutils webapp
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="BSD"
SRC_URI="http://ftp.edgewall.com/pub/trac/${MY_P}.tar.gz"
IUSE="cgi fastcgi i18n mysql postgres +sqlite subversion"
KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~sparc ~x86"
# doing so because tools, python packages... overlap
SLOT="0"
WEBAPP_MANUAL_SLOT="yes"
RDEPEND="
dev-python/setuptools
dev-python/docutils
dev-python/genshi
dev-python/pygments
dev-python/pytz
i18n? ( >=dev-python/Babel-0.9.5 )
cgi? ( virtual/httpd-cgi )
fastcgi? ( virtual/httpd-fastcgi )
mysql? ( dev-python/mysql-python )
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-vcs/subversion[python] )
!www-apps/trac-webadmin
"
DEPEND="${RDEPEND}"
RESTRICT_PYTHON_ABIS="3.*"
pkg_setup() {
python_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_test() {
testing() {
PYTHONPATH=. "$(PYTHON)" trac/test.py
}
python_execute_function testing
if use i18n; then
make check
fi
}
# the default src_compile just calls setup.py build
# currently, this switches i18n catalog compilation based on presence of Babel
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 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
}
pkg_postinst() {
distutils_pkg_postinst
webapp_pkg_postinst
}