www-apps/trac: Bump

git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/linamh@2287 6952d904-891a-0410-993b-d76249ca496b
This commit is contained in:
geos_one 2010-07-27 16:58:50 +00:00
parent c4c18fcff5
commit fb686b1dff
4 changed files with 246 additions and 1 deletions

View File

@ -2,6 +2,10 @@
# 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 $
27 Jul 2010; Mario Fetka <mario.fetka@gmail.com> +trac-0.11.7.ebuild,
+trac-0.12.ebuild:
Bump
01 Jul 2010; Mario Fetka <mario.fetka@gmail.com> trac-0.12_pre1.ebuild:
Bump

View File

@ -7,10 +7,14 @@ DIST Trac-0.11.2.1.tar.gz 713838 RMD160 aeb8e861f144c2b91698c0e6d25d06778345842c
DIST Trac-0.11.3.tar.gz 722747 RMD160 39c980f158120e49ccf01a1ac00262bec8f02d43 SHA1 3d0424a065efc16abd8ba50aeefd3926bb2d1056 SHA256 f50a1c1dd0fc10020ef903296846a85276e588036d49a00b1f557ca8f0048ad9
DIST Trac-0.11.4.tar.gz 724708 RMD160 dffe20cb4f1cda2d8feaed5746a9701c24ccaeef SHA1 392f5fc0bc8e29ebea07182707ad31a55b9ec46f SHA256 40a8e633fd05b0468f9bce5e426a83a4ad1e42d1c59c29c6182e238efd811920
DIST Trac-0.11.6.tar.gz 749517 RMD160 ff384a4774da3631b1763efa76943450406710ef SHA1 9bb360cd86dcb16ec139a8ef10dd1b346adcaa18 SHA256 4c4151fecfbf6ed3defdf94be9262a44076e40f544eb191cc6e73c0e4b83e05a
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.2.1.ebuild 3982 RMD160 c1ac8f67f5b0d27e56ddffcea318516eea010379 SHA1 a708f6a20c767c1e44f6b537b1f816b62682fe3f SHA256 b14eb838a8f3fafec96cf52404ad4383e9a6985957fe3b19acf6aed43c0e3438
EBUILD trac-0.11.3.ebuild 3982 RMD160 c1ac8f67f5b0d27e56ddffcea318516eea010379 SHA1 a708f6a20c767c1e44f6b537b1f816b62682fe3f SHA256 b14eb838a8f3fafec96cf52404ad4383e9a6985957fe3b19acf6aed43c0e3438
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.ebuild 2824 RMD160 2c00e6e493566e3a99c57a68903b7066d79fedb9 SHA1 cc203060026d34203297d4211375e7dda2e1fa8f SHA256 d58b0277ccdde56f8b1e258baedc3fdcd4f1d6ea819b64704393ccbc797c6963
EBUILD trac-0.12_pre1.ebuild 2450 RMD160 9d844c50593289c05ee0a77d1a5985e25ab5caf9 SHA1 7180c601d63f513b55e6842ddce3b647d1b6a865 SHA256 80d8ef6a21e6584f951ec5814e7106c917ab600c1e19035f6d3aafe9ce9fb008
MISC ChangeLog 14500 RMD160 0239de3102f20bbe47e6b6e744fd7cbd533a676c SHA1 318c1e9b6c263772cff36b2eb5570a209ad4e901 SHA256 756f336f69c79c6bebbafcbc63e27ab0f0348c28ef05965151c18b4e403f902d
MISC ChangeLog 14601 RMD160 6be10b2b808ee1dab855775bacf8bcef17b1085e SHA1 0c4060c104a8347e35ae7a53f7b213831410166b SHA256 13d70a4cf468a0ab6a4c74954419e90240e5b2697c1d5ddfdc1ce6531db3b885
MISC metadata.xml 294 RMD160 583b0b68a78884cf52e3a16a0aa9195dbb50654d SHA1 f73728c47f88df1bd4b4760b28c4f48c63a30ebb SHA256 a77b23b4cddd5cd048cbe2c0fdd3950d53ef2b48d30cdf1b1f501ee25a690e08

View File

@ -0,0 +1,114 @@
# 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.11.7.ebuild,v 1.6 2010/06/22 18:55:13 arfrever 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 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-0.3.9
dev-python/flup
>=dev-python/genshi-0.5
dev-python/pygments
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-vcs/subversion-1.4.2[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_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
}

View File

@ -0,0 +1,123 @@
# 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.ebuild,v 1.4 2010/07/22 04:18:10 phajdan.jr 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-0.3.9
dev-python/flup
>=dev-python/genshi-0.6
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-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-vcs/subversion-1.4.2[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
}