From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 06F1B13823A for ; Sat, 7 May 2016 07:54:35 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6350221C012; Sat, 7 May 2016 07:54:34 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id DD1F721C012 for ; Sat, 7 May 2016 07:54:33 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 4FD083405D5 for ; Sat, 7 May 2016 07:54:31 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 2C4ED188 for ; Sat, 7 May 2016 07:54:23 +0000 (UTC) From: "Dirkjan Ochtman" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Dirkjan Ochtman" Message-ID: <1462607627.9d194cd45faf74ca5bd95f3d40322a794e8be177.djc@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: www-apps/trac/ X-VCS-Repository: repo/gentoo X-VCS-Files: www-apps/trac/Manifest www-apps/trac/trac-1.0.11.ebuild X-VCS-Directories: www-apps/trac/ X-VCS-Committer: djc X-VCS-Committer-Name: Dirkjan Ochtman X-VCS-Revision: 9d194cd45faf74ca5bd95f3d40322a794e8be177 X-VCS-Branch: master Date: Sat, 7 May 2016 07:54:23 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 4748ab6e-ea02-4640-a855-6702b4c6e13a X-Archives-Hash: e7f3af0b52f82a2d5fa783d56c927e8b commit: 9d194cd45faf74ca5bd95f3d40322a794e8be177 Author: Dirkjan Ochtman gentoo org> AuthorDate: Sat May 7 07:53:47 2016 +0000 Commit: Dirkjan Ochtman gentoo org> CommitDate: Sat May 7 07:53:47 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9d194cd4 www-apps/trac: version bump to 1.0.11 Package-Manager: portage-2.2.26 www-apps/trac/Manifest | 1 + www-apps/trac/trac-1.0.11.ebuild | 129 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 130 insertions(+) diff --git a/www-apps/trac/Manifest b/www-apps/trac/Manifest index 9b2415b..07b9cc8 100644 --- a/www-apps/trac/Manifest +++ b/www-apps/trac/Manifest @@ -1,3 +1,4 @@ DIST Trac-1.0.10.tar.gz 3655342 SHA256 cb439d2ef39b71673299bffe9d042bdcd3bea9d2d02eab598bc820d415953ecd SHA512 16567f9e9843a3a682f9b3f65e57ab85a7429f20ea27f09ebf72860bbf6c6667cc656a6e053e39e7b03b1eb407e330d13380f958c139c1d208d4ba8948599aa6 WHIRLPOOL 1ec5e52f4aec2e5dc0816632961bdfd2312b9da5b3be00f1b73021f1d5f9dd46bf9c51b13442bbabd2c770f49c5aed7674b5426b11c2208d1dd49b30137b8b57 +DIST Trac-1.0.11.tar.gz 3661250 SHA256 c3d0bdee4eebf107488e15248b54085da18a37508b76bfe647f6b74de471dba9 SHA512 c250853eba66f3e3996731f3cff6505c71c06b323a25d19ae311beeb9f45323b01687ed7bc865fba04c549a204eea1e7af5da000ab8706cf34dd0fcf39b42bd6 WHIRLPOOL 8be5bbd4eaca929d0be44f6024ba7852e097e78facdeb9c8b05580a2d25163d31def50882ad5e02bf2e4d36228de03938bb556be161e41ee39cf8cf34b2a6e1c DIST Trac-1.0.4.tar.gz 3579886 SHA256 a1d564c5b612306856dd26851270b12fbba91bab1bc146b66d4cc248be1a172e SHA512 1186c3d36b7b8eae6595dcf5dfc30aed9302d46dae2019da8178a2656065fd5675683331474118f3da47f9ba75fd213ad1964bad29c7892423ab1fa7371a8131 WHIRLPOOL 2be04e6a683f88923b2f9b09fdee4b5de24779f399f32763674512f71f4f03e72b74592e0dc49e6693dc1c6c1c4ebdfb680eac72146b9fdb3735db50a5e8c9fb DIST Trac-1.0.9.tar.gz 3642845 SHA256 9ed3f0a2039c46132d10f35c211f9f6ee953339cc08492a41d1bf8741d6eebfa SHA512 af429db720049ab344ce3c3b430dcf0ab7530013f59ccd2334633de9babc3f31b14829b9b5aa48aa05f614ca72d1d557953c58bbfb93faae2267afeac72e6304 WHIRLPOOL 4005102b1109aac94728d22151c2192a38f9ab91af0227a24dff1a2e2097e67ceafa0cef0f307f1a1ddb1999c109d142bbb739107d4047dc296e6a8396a9427a diff --git a/www-apps/trac/trac-1.0.11.ebuild b/www-apps/trac/trac-1.0.11.ebuild new file mode 100644 index 0000000..44e59b2 --- /dev/null +++ b/www-apps/trac/trac-1.0.11.ebuild @@ -0,0 +1,129 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +PYTHON_COMPAT=( python2_7 ) +PYTHON_REQ_USE='sqlite?' + +DISTUTILS_SINGLE_IMPL=Yes + +inherit distutils-r1 eutils user webapp + +MY_PV=${PV/_p/.post} +MY_P=Trac-${MY_PV} + +DESCRIPTION="Enhanced wiki and issue tracking system for software development projects" +HOMEPAGE="http://trac.edgewall.com/ https://pypi.python.org/pypi/Trac" +SRC_URI="http://ftp.edgewall.com/pub/trac/${MY_P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~x86-fbsd" +IUSE="cgi fastcgi i18n +highlight +restructuredtext mysql postgres +sqlite subversion test" +REQUIRED_USE="|| ( mysql postgres sqlite )" + +RDEPEND=" + dev-python/setuptools[${PYTHON_USEDEP}] + dev-python/genshi[${PYTHON_USEDEP}] + dev-python/pytz[${PYTHON_USEDEP}] + i18n? ( >=dev-python/Babel-0.9.5[${PYTHON_USEDEP}] ) + highlight? ( + || ( + dev-python/pygments[${PYTHON_USEDEP}] + app-text/silvercity + app-text/pytextile + app-text/enscript + ) + ) + restructuredtext? ( dev-python/docutils[${PYTHON_USEDEP}] ) + cgi? ( virtual/httpd-cgi ) + fastcgi? ( virtual/httpd-fastcgi ) + mysql? ( dev-python/mysql-python[${PYTHON_USEDEP}] ) + postgres? ( >=dev-python/psycopg-2[${PYTHON_USEDEP}] ) + sqlite? ( >=dev-db/sqlite-3.3.4:3 ) + subversion? ( dev-vcs/subversion[python,${PYTHON_USEDEP}] ) + " +DEPEND="${RDEPEND} + test? ( + dev-python/twill[${PYTHON_USEDEP}] + dev-python/lxml[${PYTHON_USEDEP}] + dev-python/configobj[${PYTHON_USEDEP}] + )" + +S="${WORKDIR}/${MY_P}" + +WEBAPP_MANUAL_SLOT="yes" + +pkg_setup() { + python-single-r1_pkg_setup + webapp_pkg_setup + + enewgroup tracd + enewuser tracd -1 -1 -1 tracd +} + +python_prepare_all() { + distutils-r1_python_prepare_all +} + +src_test() { + distutils-r1_src_test +} + +python_test() { + PYTHONPATH=. "${PYTHON}" trac/test.py || die "Tests fail with ${EPYTHON}" +} + +python_test_all() { + if use i18n; then + make check + fi +} + +python_install() { + if use cgi; then + python_scriptinto "${MY_CGIBINDIR}" + python_doscript contrib/cgi-bin/trac.cgi + fi + if use fastcgi; then + python_scriptinto "${MY_CGIBINDIR}" + python_doscript contrib/cgi-bin/trac.fcgi + fi + distutils-r1_python_install +} + +# 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-r1_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 + dodoc -r contrib + + # tracd init script + newconfd "${FILESDIR}"/tracd.confd tracd + newinitd "${FILESDIR}"/tracd.initd tracd + + 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() { + webapp_pkg_postinst +}