www-apps/trac: ad arm keyword
git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/linamh@2343 6952d904-891a-0410-993b-d76249ca496b
This commit is contained in:
parent
4040a958bc
commit
42c3760fa3
@ -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 $
|
||||
|
||||
31 Aug 2010; Mario Fetka <mario.fetka@gmail.com> +trac-0.12-r1.ebuild:
|
||||
ad arm keyword
|
||||
|
||||
31 Aug 2010; Mario Fetka <mario.fetka@gmail.com> -trac-0.12_pre1.ebuild:
|
||||
remove devel ebuild
|
||||
|
||||
|
@ -14,6 +14,7 @@ EBUILD trac-0.11.3.ebuild 3982 RMD160 c1ac8f67f5b0d27e56ddffcea318516eea010379 S
|
||||
EBUILD trac-0.11.4.ebuild 3985 RMD160 779b6ceed8d3e41535f1af95e63b731ad4982fc0 SHA1 ac1c258d789cc0106b80de403e84661e592d9c0e SHA256 c510cdb48f8febd6b49190f41a0396411b1e974bd0e3923a78b1463024e6cbe7
|
||||
EBUILD trac-0.11.6.ebuild 2340 RMD160 042e571be2de22d7430d7c3be800db853cf741b9 SHA1 b0d57fec8d38cf18fb727a2a2ec40c6b48e8a2ba SHA256 7a6ef0cfc4430ba02733dff0168904930a635ca05f613dc0ee5f503f5d472656
|
||||
EBUILD trac-0.11.7.ebuild 2517 RMD160 9dd25b2be1e9b5502b2e29e3b5c9fd1b12f4f7c4 SHA1 942cc1950b6922bca50c661380538a8e363800c0 SHA256 54ee7801ecad923fc7edd3e0fe129b62f91da18dcf1614f38fe4402fdf298de7
|
||||
EBUILD trac-0.12-r1.ebuild 2749 RMD160 fe1579e8d12c94814300f4f2a6970073426fe974 SHA1 899883db033cb8219bc0d939338f4debcb942a94 SHA256 ff6113ad44decce02e359d88d751b84536d96b8c622f58c7f6fece80e1f40098
|
||||
EBUILD trac-0.12.ebuild 2824 RMD160 2c00e6e493566e3a99c57a68903b7066d79fedb9 SHA1 cc203060026d34203297d4211375e7dda2e1fa8f SHA256 d58b0277ccdde56f8b1e258baedc3fdcd4f1d6ea819b64704393ccbc797c6963
|
||||
MISC ChangeLog 14699 RMD160 88423603d8527fab6afbac189bb59e937198774e SHA1 2cee52ae979e6ed59dec6c08be8e56641a8fc3a4 SHA256 df223cc4fa8031f6265a9d2f5baf9406b9b5c5c9608048f61c6ed4494aed5835
|
||||
MISC ChangeLog 14790 RMD160 9500da39b252153714170cd9dd695f7e23635831 SHA1 2831e2f9889b81071350e1c5e6a51a45bfcc30e3 SHA256 ef5b240378021611932093116bb60e4c0435ae3804ff7967d964854119dab371
|
||||
MISC metadata.xml 294 RMD160 583b0b68a78884cf52e3a16a0aa9195dbb50654d SHA1 f73728c47f88df1bd4b4760b28c4f48c63a30ebb SHA256 a77b23b4cddd5cd048cbe2c0fdd3950d53ef2b48d30cdf1b1f501ee25a690e08
|
||||
|
119
www-apps/trac/trac-0.12-r1.ebuild
Normal file
119
www-apps/trac/trac-0.12-r1.ebuild
Normal 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
|
||||
}
|
Loading…
Reference in New Issue
Block a user