diff options
author | Dirkjan Ochtman <djc@gentoo.org> | 2010-08-13 13:23:44 +0000 |
---|---|---|
committer | Dirkjan Ochtman <djc@gentoo.org> | 2010-08-13 13:23:44 +0000 |
commit | 8d0cfc24c67008aa76f16849857668aad889a061 (patch) | |
tree | 822fa8005a0dcdac5596de287d33f2f3a1ad98e5 /www-apps/trac | |
parent | Marked ppc stable for bug #325129. (diff) | |
download | historical-8d0cfc24c67008aa76f16849857668aad889a061.tar.gz historical-8d0cfc24c67008aa76f16849857668aad889a061.tar.bz2 historical-8d0cfc24c67008aa76f16849857668aad889a061.zip |
Fix dependencies for www-apps/trac.
Package-Manager: portage-2.1.8.3/cvs/Linux x86_64
Diffstat (limited to 'www-apps/trac')
-rw-r--r-- | www-apps/trac/ChangeLog | 7 | ||||
-rw-r--r-- | www-apps/trac/Manifest | 3 | ||||
-rw-r--r-- | www-apps/trac/trac-0.12-r1.ebuild | 119 |
3 files changed, 127 insertions, 2 deletions
diff --git a/www-apps/trac/ChangeLog b/www-apps/trac/ChangeLog index 503a59567cba..a535b0635ad5 100644 --- a/www-apps/trac/ChangeLog +++ b/www-apps/trac/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for www-apps/trac # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/www-apps/trac/ChangeLog,v 1.107 2010/07/29 18:46:59 hwoarang Exp $ +# $Header: /var/cvsroot/gentoo-x86/www-apps/trac/ChangeLog,v 1.108 2010/08/13 13:23:44 djc Exp $ + +*trac-0.12-r1 (13 Aug 2010) + + 13 Aug 2010; Dirkjan Ochtman <djc@gentoo.org> +trac-0.12-r1.ebuild: + Fix dependencies a bit (bug 329667). 29 Jul 2010; Markos Chandras <hwoarang@gentoo.org> trac-0.12.ebuild: Stable on amd64 wrt bug #329155 diff --git a/www-apps/trac/Manifest b/www-apps/trac/Manifest index 4b6e9a47b34b..423583a036c1 100644 --- a/www-apps/trac/Manifest +++ b/www-apps/trac/Manifest @@ -5,6 +5,7 @@ AUX tracd.initd 939 RMD160 e488e124127eae14ea5dd637b31562bd64df872b SHA1 ffcb533 DIST Trac-0.11.7.tar.gz 757073 RMD160 d55cc6095f00df4736b677163405b31cdd285341 SHA1 0a1b756ca580ecaac7e76531e80890728b976122 SHA256 c6af8cc9fa0cb8fd74611896e46a436cef9660b77be1972a99b0d3ddb894232f DIST Trac-0.12.tar.gz 2107428 RMD160 aca8d024a582519cefef07053517d14722f87609 SHA1 f13a5caf2ab353248f696dc5320df7a27c102e06 SHA256 a1c15c0c3a0c717e6d50d4e4f949b8e8c510a308611013c45c6253c675e805cf EBUILD trac-0.11.7.ebuild 2512 RMD160 8e40293e34a781158272bf3368fe5a69978e1c8e SHA1 952296553933c676173e53bdb94d6f350ea1fb1b SHA256 7a03c1db12331a0f79d0c6fee1661a2922240cd4defc772431b1c3e1d52295ee +EBUILD trac-0.12-r1.ebuild 2744 RMD160 8dea5d5400aa91629301dc4f421c777f171a1426 SHA1 d2f19cccdafe5435dbf0b6fe5ba8d00c542eff62 SHA256 dcd44a0461a4050bbb7fdf231bed9c52f60625e8980a7ada8cd6495da38e3288 EBUILD trac-0.12.ebuild 2816 RMD160 b7d46931800b37a4391d4f4fb506cf254acff259 SHA1 12cddc29ccdeef115b67ff27150fc3543926ef0a SHA256 d753a1365fd12056c7f4cecf02276ff7d3ce0a57e918489679391f83cabb7c47 -MISC ChangeLog 16444 RMD160 03dd9848b79bb7d79c167e78c8ac8e4ca5ebed9c SHA1 e6b37cba9ad272b9017562ddea8d3535460fe6f3 SHA256 f56dfc7999bd08e3fef01fe2e604f110e9bfb1bad3f8b2d654ee9c48ce26c3e9 +MISC ChangeLog 16578 RMD160 cacf611927695400a4bc783dcc01cb691a74986b SHA1 6b52329541853a79d04d7f930e7bf87827be804b SHA256 d0c51ab58d95b8369ae0036d83f3f26f2d1393c3c553cccc6572d1dc3b8325bd MISC metadata.xml 353 RMD160 f4472ab9ab13edf764e019de289cd8658c8c9f41 SHA1 0d13970ae85fc0d2ebe0960ea78457b0b1da29c3 SHA256 12d6ceeed2212b5daf258a1dc4fee3fb6acd607e866e4062a907c157ac387059 diff --git a/www-apps/trac/trac-0.12-r1.ebuild b/www-apps/trac/trac-0.12-r1.ebuild new file mode 100644 index 000000000000..39f593773408 --- /dev/null +++ b/www-apps/trac/trac-0.12-r1.ebuild @@ -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 ~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 +} |