www-apps/trac: Bump
git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/linamh@784 6952d904-891a-0410-993b-d76249ca496b
This commit is contained in:
parent
a5616f6c59
commit
99e8252397
@ -1,7 +1,10 @@
|
||||
# ChangeLog for www-apps/trac
|
||||
# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
|
||||
# Copyright 2000-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 $
|
||||
|
||||
18 Feb 2009; Mario Fetka <mario.fetka@gmail.com> +trac-0.11.3.ebuild:
|
||||
Bump
|
||||
|
||||
23 Nov 2008; Mario Fetka <mario.fetka@gmail.com> ChangeLog:
|
||||
Bump
|
||||
|
||||
|
@ -4,6 +4,8 @@ AUX tracd.confd 359 RMD160 7328dd041576abbc76130ce220041d837289dd00 SHA1 91a6077
|
||||
AUX tracd.initd 881 RMD160 c215a990133d5b655bc94e13ab4de9d1c938a163 SHA1 2c1a9dbae7e4890c2fb71f22091786ba7396c940 SHA256 6e76bfffe7f6928bff24d79b97aa8bbd27dafdfbb16fe8c79b7ad298e202d950
|
||||
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
|
||||
EBUILD trac-0.11.2.1.ebuild 3977 RMD160 d3cb051a711d6d3bdc0d685736611285faf0b544 SHA1 ede3cad1b08ccdc2bc5160b5c78d9a95a199e692 SHA256 b46aa874abe5d72319a033a7ea5d48b06ca8adff66b43a042903cf08fdf36873
|
||||
MISC ChangeLog 13881 RMD160 c1f5c71c21b5c6ccbe29630a7b332c5543baadc5 SHA1 3f9b0dd7f5420e8ea0182b6f61411c7fed201e20 SHA256 df57506daafa6437b49e811ea8c68349b7aa9f058397f2f1defd024cb9d68542
|
||||
EBUILD trac-0.11.3.ebuild 3977 RMD160 ad65bdead4b898f9e81d24d2515a7f91b1a09e0d SHA1 19fe7047d551d91700f2c36a21ea14efe19ae855 SHA256 94df7dfad3bf7243e74588bb00faaf69efdce1c7df856857295a0e16ea3fadfc
|
||||
MISC ChangeLog 13961 RMD160 54760a7e20d5f4159ba083206db2ac4b91e0f3f7 SHA1 2da665cb8da93cd6e33c3f6b578d7a9e4c230901 SHA256 014234e1e7960ec3df3f6f850f484d5ddbbec7fc1324ea442a73d63b6fb7ced1
|
||||
MISC metadata.xml 294 RMD160 583b0b68a78884cf52e3a16a0aa9195dbb50654d SHA1 f73728c47f88df1bd4b4760b28c4f48c63a30ebb SHA256 a77b23b4cddd5cd048cbe2c0fdd3950d53ef2b48d30cdf1b1f501ee25a690e08
|
||||
|
153
www-apps/trac/trac-0.11.3.ebuild
Normal file
153
www-apps/trac/trac-0.11.3.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