Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 194867 Details for
Bug 274327
www-apps/trac-9999 with USE=linguas
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
diff against www-apps/trac-0.11.2 in tree
trac-0.11.2.ebuild.diff (text/plain), 2.68 KB, created by
Dmitri Bogomolov
on 2009-06-16 12:18:32 UTC
(
hide
)
Description:
diff against www-apps/trac-0.11.2 in tree
Filename:
MIME Type:
Creator:
Dmitri Bogomolov
Created:
2009-06-16 12:18:32 UTC
Size:
2.68 KB
patch
obsolete
>--- trac-0.11.2.ebuild 2009-04-05 11:08:24.000000000 +0300 >+++ trac-9999.ebuild 2009-06-16 15:26:04.539366392 +0300 >@@ -3,26 +3,35 @@ > # $Header: /var/cvsroot/gentoo-x86/www-apps/trac/trac-0.11.2.ebuild,v 1.4 2009/03/07 20:43:18 betelgeuse Exp $ > > EAPI="2" >+ESVN_REPO_URI="http://svn.edgewall.com/repos/trac/trunk" >+ESVN_PROJECT="trac" > >-inherit distutils webapp >+inherit distutils webapp subversion > >-MY_PV=${PV/_beta/b} >-MY_P=Trac-${MY_PV} >-S=${WORKDIR}/${MY_P} >+S="${WORKDIR}" >+LANGS="ca_ES de_DE en_US et_EE fr_FR it_IT lv_LV nl_NL pt_PT sl_SI tr_TR zh_TW cs_CZ el_GR es_AR fa_IR gl_ES ja_JP pl_PL ro_RO sv_SE vi_VN cy_GB en_GB es_ES fi_FI hu_HU ko_KR nb_NO pt_BR ru_RU th_TH zh_CN" >+NOSHORTLANGS="ca_ES gl_ES en_GB cy_GB zh_TW es_AR pt_BR" > > 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" >+KEYWORDS="~x86 ~x86-fbsd" > > # doing so because tools, python packages... overlap > SLOT="0" > WEBAPP_MANUAL_SLOT="yes" > >+for X in ${LANGS} ; do >+ if [ "${#X}" == 5 ] && ! has ${X} ${NOSHORTLANGS}; then >+ IUSE="${IUSE} linguas_${X%%_*}" >+ else >+ IUSE="${IUSE} linguas_${X}" >+ fi >+done >+ > DEPEND=" > ${DEPEND} > dev-python/setuptools >@@ -30,8 +39,11 @@ > > RDEPEND=" > ${RDEPEND} >- >=dev-python/genshi-0.5 >+ >=dev-python/genshi-0.6 > dev-python/pygments >+ app-text/pytextile >+ app-text/silvercity >+ dev-python/Babel > >=dev-python/docutils-0.3.9 > dev-python/pytz > cgi? ( >@@ -60,6 +72,35 @@ > !www-apps/trac-webadmin > " > >+linguas() { >+ local LANG >+ for LANG in ${LINGUAS}; do >+ if has ${LANG} ${LANGS} ; then >+ has ${LANG} ${linguas} || linguas="${linguas:+"${linguas} "}${LANG}" >+ continue >+ elif [[ " ${LANGS} " == *" ${LANG}_"* ]]; then >+ for X in ${LANGS}; do >+ if [[ "${X}" == "${LANG}_"* ]] && \ >+ [[ " ${NOSHORTLANGS} " != *" ${X} "* ]]; then >+ has ${X} ${linguas} || linguas="${linguas:+"${linguas} "}${X}" >+ continue 2 >+ fi >+ done >+ fi >+ ewarn "Sorry, but ${PN} does not support the ${LANG} LINGUA" >+ done >+} >+ >+src_prepare() { >+ sed -i "s|Genshi>=0.6dev-r960|Genshi>=0.6dev|g" setup.py || die "sed failed" >+ >+ linguas >+ for X in ${linguas}; do >+ "${python}" setup.py update_catalog -l ${X} >+ "${python}" setup.py compile_catalog -f -l ${X} >+ done >+} >+ > pkg_setup() { > webapp_pkg_setup > >@@ -90,7 +131,7 @@ > > # tracd init script > newconfd "${FILESDIR}"/tracd.confd tracd >- newinitd "${FILESDIR}"/tracd.initd.2 tracd >+ newinitd "${FILESDIR}"/tracd.initd tracd > > if use cgi ; then > cp cgi-bin/trac.cgi "${D}"/${MY_CGIBINDIR} || die
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 274327
:
194863
| 194867