www-apps/trac: Bump upstream
git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/linamh@1206 6952d904-891a-0410-993b-d76249ca496b
This commit is contained in:
parent
00af82a36e
commit
3e037aa8f1
@ -1,7 +1,12 @@
|
||||
# ChangeLog for www-apps/trac
|
||||
# Copyright 2000-2009 Gentoo Foundation; Distributed under the GPL v2
|
||||
# Copyright 1999-2009 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 $
|
||||
|
||||
*trac-0.11.4 (06 May 2009)
|
||||
|
||||
06 May 2009; Mario Fetka <mario.fetka@gmail.com> +trac-0.11.4.ebuild:
|
||||
Bump upstream
|
||||
|
||||
18 Feb 2009; Mario Fetka <mario.fetka@gmail.com> +trac-0.11.3.ebuild:
|
||||
Bump
|
||||
|
||||
|
@ -5,7 +5,9 @@ AUX tracd.initd 881 RMD160 c215a990133d5b655bc94e13ab4de9d1c938a163 SHA1 2c1a9db
|
||||
AUX tracd.initd.2 939 RMD160 2991a7a8d2d1a2911a899ed5f356fd88de872b5d SHA1 c8d00dc0e7ca92f17caa4ec1dfa49d3178fbc735 SHA256 9cd796e0fb516a91f5ec69037819144e9b9920af5df4f91839f9fb7fc67823a0
|
||||
DIST Trac-0.11.2.1.tar.gz 713838 RMD160 aeb8e861f144c2b91698c0e6d25d06778345842c SHA1 30643926822ea2185307ee21993abe59ee357564 SHA256 bc95802880a9a4b430286812ff848f72e652603fc2cc5be05844f70c0fccab3a
|
||||
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
|
||||
EBUILD trac-0.11.2.1.ebuild 3977 RMD160 d3cb051a711d6d3bdc0d685736611285faf0b544 SHA1 ede3cad1b08ccdc2bc5160b5c78d9a95a199e692 SHA256 b46aa874abe5d72319a033a7ea5d48b06ca8adff66b43a042903cf08fdf36873
|
||||
EBUILD trac-0.11.3.ebuild 3977 RMD160 ad65bdead4b898f9e81d24d2515a7f91b1a09e0d SHA1 19fe7047d551d91700f2c36a21ea14efe19ae855 SHA256 94df7dfad3bf7243e74588bb00faaf69efdce1c7df856857295a0e16ea3fadfc
|
||||
MISC ChangeLog 13961 RMD160 54760a7e20d5f4159ba083206db2ac4b91e0f3f7 SHA1 2da665cb8da93cd6e33c3f6b578d7a9e4c230901 SHA256 014234e1e7960ec3df3f6f850f484d5ddbbec7fc1324ea442a73d63b6fb7ced1
|
||||
EBUILD trac-0.11.4.ebuild 3980 RMD160 bfad49ee89e5dedfeee57e5c2388e407ffce3cea SHA1 568f5fe6c10c6cc600003a07d840a07feda9c395 SHA256 8aeaf3cd1b23562ffa130d46c8798bf5a0b2f0508e26f300541fc0cd6dc037b0
|
||||
MISC ChangeLog 14078 RMD160 a0894775e7d4c358ee971378930128d2c4fb76e0 SHA1 9fbfadf6785ca04b1caa1249d122259a639a1042 SHA256 43787350dda1db19e1a3a4ca36773dc2a2571afa1fce67cc151e3ad504dc8ec9
|
||||
MISC metadata.xml 294 RMD160 583b0b68a78884cf52e3a16a0aa9195dbb50654d SHA1 f73728c47f88df1bd4b4760b28c4f48c63a30ebb SHA256 a77b23b4cddd5cd048cbe2c0fdd3950d53ef2b48d30cdf1b1f501ee25a690e08
|
||||
|
153
www-apps/trac/trac-0.11.4.ebuild
Normal file
153
www-apps/trac/trac-0.11.4.ebuild
Normal file
@ -0,0 +1,153 @@
|
||||
# Copyright 1999-2009 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/www-apps/trac/trac-0.11.2.ebuild,v 1.3 2008/11/16 17:47:23 maekke Exp $
|
||||
|
||||
inherit distutils 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="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"
|
||||
|
||||
# doing so because tools, python packages... overlap
|
||||
SLOT="0"
|
||||
WEBAPP_MANUAL_SLOT="yes"
|
||||
|
||||
DEPEND="
|
||||
${DEPEND}
|
||||
dev-python/setuptools
|
||||
"
|
||||
|
||||
RDEPEND="
|
||||
${RDEPEND}
|
||||
>=dev-python/genshi-0.5
|
||||
dev-python/pygments
|
||||
>=dev-python/docutils-0.3.9
|
||||
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
|
||||
>=dev-python/pysqlite-2.3.2
|
||||
)
|
||||
)
|
||||
subversion? (
|
||||
>=dev-util/subversion-1.4.2
|
||||
)
|
||||
!www-apps/trac-webadmin
|
||||
"
|
||||
|
||||
# The following function should be added to eutils.eclass (see bug #143572):
|
||||
|
||||
# Generate an standard error message for missing USE flags
|
||||
# in existing packages, and die.
|
||||
#
|
||||
# Usage: built_with_use_die <category/package> <functionality> [<USE flag>]
|
||||
# ex: built_with_use_die dev-util/subversion python
|
||||
# or: built_with_use_die www-servers/apache LDAP ldap
|
||||
#
|
||||
# Typical usage:
|
||||
# if ! built_with_use dev-util/subversion python ; then
|
||||
# built_with_use_die dev-util/subversion python
|
||||
# fi
|
||||
#
|
||||
# Note: when <USE flag> is not specified, <functionality> is used for the USE flag name.
|
||||
built_with_use_die() {
|
||||
local package=$1
|
||||
local func=$2
|
||||
local use_flag=$3
|
||||
|
||||
[[ -z ${use_flag} ]] && use_flag=${func}
|
||||
|
||||
eerror "Your ${package} package has been built without"
|
||||
eerror "${func} support, please enable the '${use_flag}' USE flag and"
|
||||
eerror "re-emerge ${package}."
|
||||
elog "You can enable this USE flag either globally in /etc/make.conf,"
|
||||
elog "or just for specific packages in /etc/portage/package.use."
|
||||
die "${package} missing ${func} support"
|
||||
}
|
||||
|
||||
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
|
||||
|
||||
# python has built-in sqlite support starting from 2.5
|
||||
if use sqlite && \
|
||||
has_version ">=dev-lang/python-2.5" && \
|
||||
! has_version ">=dev-python/pysqlite-2.3" && \
|
||||
! built_with_use dev-lang/python sqlite ; then
|
||||
eerror "To use the sqlite database backend, you must either:"
|
||||
eerror "- build dev-lang/python with sqlite support, using the 'sqlite'"
|
||||
eerror " USE flag, or"
|
||||
eerror "- emerge dev-python/pysqlite"
|
||||
die "missing python sqlite support"
|
||||
fi
|
||||
|
||||
if use subversion && \
|
||||
! built_with_use dev-util/subversion python ; then
|
||||
built_with_use_die dev-util/subversion python
|
||||
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.2 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
|
||||
}
|
Loading…
Reference in New Issue
Block a user