diff options
author | Dirkjan Ochtman <djc@gentoo.org> | 2011-02-08 08:02:50 +0000 |
---|---|---|
committer | Dirkjan Ochtman <djc@gentoo.org> | 2011-02-08 08:02:50 +0000 |
commit | 5a161358b254f9cb84e73e3fa526e695e1763c49 (patch) | |
tree | c9a9e76261d93623e3dbcfa28d1a7fb87d401cbc /www-apps/trac | |
parent | Version bump (diff) | |
download | historical-5a161358b254f9cb84e73e3fa526e695e1763c49.tar.gz historical-5a161358b254f9cb84e73e3fa526e695e1763c49.tar.bz2 historical-5a161358b254f9cb84e73e3fa526e695e1763c49.zip |
Version bump trac to 0.12.2.
Package-Manager: portage-2.1.9.37/cvs/Linux x86_64
Diffstat (limited to 'www-apps/trac')
-rw-r--r-- | www-apps/trac/ChangeLog | 8 | ||||
-rw-r--r-- | www-apps/trac/Manifest | 6 | ||||
-rwxr-xr-x | www-apps/trac/files/tracd.initd | 6 | ||||
-rw-r--r-- | www-apps/trac/trac-0.12.2.ebuild | 116 |
4 files changed, 130 insertions, 6 deletions
diff --git a/www-apps/trac/ChangeLog b/www-apps/trac/ChangeLog index 13f7f66521f8..5cef9a2b62b9 100644 --- a/www-apps/trac/ChangeLog +++ b/www-apps/trac/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for www-apps/trac # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/www-apps/trac/ChangeLog,v 1.115 2011/01/07 16:53:57 arfrever Exp $ +# $Header: /var/cvsroot/gentoo-x86/www-apps/trac/ChangeLog,v 1.116 2011/02/08 08:02:50 djc Exp $ + +*trac-0.12.2 (08 Feb 2011) + + 08 Feb 2011; Dirkjan Ochtman <djc@gentoo.org> +trac-0.12.2.ebuild, + files/tracd.initd: + Version bump to 0.12.2. 07 Jan 2011; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> -trac-0.11.7.ebuild, -trac-0.12.ebuild, -trac-0.12-r1.ebuild: diff --git a/www-apps/trac/Manifest b/www-apps/trac/Manifest index 64df95978c61..50ab10fb6365 100644 --- a/www-apps/trac/Manifest +++ b/www-apps/trac/Manifest @@ -1,8 +1,10 @@ AUX postinst-en.txt 1349 RMD160 019db0eb917956b84e2afe621edcba501e83a105 SHA1 337a6d417aee1cb94d936952584a154a18ae6d74 SHA256 af9ea54a0499737a454852d8f878368fea6540dc50fce3ce486ede2a0a201a39 AUX postupgrade-en.txt 674 RMD160 088b1b590ebd7876347b06e71f9dda549238eda1 SHA1 f45997b23c35eec1188003b21dd971d28961ab98 SHA256 4ce5f023f0f2312ac6b6162b2db510397d204cc168db1d5c09ad3aae678ea6b0 AUX tracd.confd 359 RMD160 7328dd041576abbc76130ce220041d837289dd00 SHA1 91a6077f1baf9301082826697e8828c6039f7648 SHA256 6ae50c887d18f8eeda7d59c4d3fd1b5e07e407711c4e4679fef3583f7be8ed6e -AUX tracd.initd 939 RMD160 e488e124127eae14ea5dd637b31562bd64df872b SHA1 ffcb53377352a4beea834fd0338e4772dba0f316 SHA256 c9df15d1f349ec9b2b12ed8a1a0d475d8a0d786e30605176da6627c2f0bcbfb5 +AUX tracd.initd 918 RMD160 34e24f4a523ebf48b4b9e11eab78a1ab9c905dbc SHA1 0c32032faeefbc45c21558ef36959ac39dace3b6 SHA256 342ce62957a170db2e86abe801883076239e422b773a2534beceef0e3a24068e DIST Trac-0.12.1.tar.gz 2170563 RMD160 3f5e61e27d6217995a9c87401c0c57e4d353d8aa SHA1 062e335a2f5bf6dd5f858711cf38419f73f286b1 SHA256 7ab452a99e61be9cc6b6fd7dbcfa6e4f5d1760480a132dc41c6fe2fce10c73a4 +DIST Trac-0.12.2.tar.gz 2208361 RMD160 317d5792976bc4c048cbac2a831398e976251110 SHA1 95ca75b54abfd5a3d838f300c19ef8dbd125f08d SHA256 c5b41da9a2a1464f9f5a42f8624b3a9cf3cb96f8ffbbdb17bf3cb01b06280ec6 EBUILD trac-0.12.1.ebuild 2789 RMD160 8b44dbffd1581ecae90a9c1ad03d2b57020b8f10 SHA1 bc8afef3a71ca14516d4dd640caf5cbe27536c90 SHA256 4b673e1ae8850f1d21a452a46d27b4a6bb04fc2085d2997c3cc1cbc5c95f1227 -MISC ChangeLog 17445 RMD160 d05203db8f22a6904b4288d91efeffe32aa3d6ad SHA1 c90ea1ede659e0b82c8ed8d7c91933f041f0c5a5 SHA256 0a2f9f62f23d454ca67d3f4d723ecfb22bbffa02e466fa0ff695f9dcb53e00e5 +EBUILD trac-0.12.2.ebuild 2789 RMD160 127928712824e329823d018bcb00616f96883fe1 SHA1 2e20c866b7b716f34271986b080d07e1d24d8d6f SHA256 f3aeda5946f08d99466db8aec596121c9a199d4daf535b633c7f6b0c66c87b15 +MISC ChangeLog 17585 RMD160 396ede2b9d59bb4600e4050356a4e5130aa1ceea SHA1 6ed6499ae5e0201951e759568ae3ab6df6031216 SHA256 1b9fd0a2de29c2643796c22db1b2265b9f46d1fc708b96135dc43d4d7e957cb2 MISC metadata.xml 353 RMD160 f4472ab9ab13edf764e019de289cd8658c8c9f41 SHA1 0d13970ae85fc0d2ebe0960ea78457b0b1da29c3 SHA256 12d6ceeed2212b5daf258a1dc4fee3fb6acd607e866e4062a907c157ac387059 diff --git a/www-apps/trac/files/tracd.initd b/www-apps/trac/files/tracd.initd index 83f84052d3a4..d026b1da55d9 100755 --- a/www-apps/trac/files/tracd.initd +++ b/www-apps/trac/files/tracd.initd @@ -1,7 +1,7 @@ #!/sbin/runscript -# Copyright 1999-2006 Gentoo Foundation +# Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License, v2 or later -# $Header: /var/cvsroot/gentoo-x86/www-apps/trac/files/tracd.initd,v 1.4 2010/05/28 14:43:40 arfrever Exp $ +# $Header: /var/cvsroot/gentoo-x86/www-apps/trac/files/tracd.initd,v 1.5 2011/02/08 08:02:50 djc Exp $ depend() { need net @@ -15,7 +15,7 @@ start() { start-stop-daemon --start --chuid ${TRACD_USER:-tracd}:${TRACD_GROUP:-tracd} \ --pidfile /var/run/tracd.pid --make-pidfile --background \ --env PYTHON_EGG_CACHE="/var/lib/trac/egg-cache" \ - --exec /usr/bin/python -- /usr/bin/tracd \ + --exec /usr/bin/tracd -- \ -p ${TRACD_PORT:-8000} ${TRACD_OPTS:---env-parent-dir /var/lib/trac/} eend $? } diff --git a/www-apps/trac/trac-0.12.2.ebuild b/www-apps/trac/trac-0.12.2.ebuild new file mode 100644 index 000000000000..83b55bf472b9 --- /dev/null +++ b/www-apps/trac/trac-0.12.2.ebuild @@ -0,0 +1,116 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/www-apps/trac/trac-0.12.2.ebuild,v 1.1 2011/02/08 08:02:50 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 ~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.7[sqlite] dev-lang/python:2.6[sqlite] 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 +} |