From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 596B2139694 for ; Sat, 22 Apr 2017 10:25:47 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id AC8FFE0BEA; Sat, 22 Apr 2017 10:25:46 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 7C5D9E0BEA for ; Sat, 22 Apr 2017 10:25:46 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 34C59340AC7 for ; Sat, 22 Apr 2017 10:25:45 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id EEF1573F3 for ; Sat, 22 Apr 2017 10:25:43 +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: <1492856739.30f71b0951d882dea7738e9a4f80892459bc9997.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.2.1.ebuild X-VCS-Directories: www-apps/trac/ X-VCS-Committer: djc X-VCS-Committer-Name: Dirkjan Ochtman X-VCS-Revision: 30f71b0951d882dea7738e9a4f80892459bc9997 X-VCS-Branch: master Date: Sat, 22 Apr 2017 10:25:43 +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: 9518e12d-bb2e-4ed6-943f-6e3facc97683 X-Archives-Hash: 18f36fb9403cd84029cf6f26b10dc44d commit: 30f71b0951d882dea7738e9a4f80892459bc9997 Author: Dirkjan Ochtman gentoo org> AuthorDate: Sat Apr 22 10:25:19 2017 +0000 Commit: Dirkjan Ochtman gentoo org> CommitDate: Sat Apr 22 10:25:39 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=30f71b09 www-apps/trac: version bump to 1.2.1 (fixes bug 614284) Package-Manager: Portage-2.3.3, Repoman-2.3.1 www-apps/trac/Manifest | 1 + www-apps/trac/trac-1.2.1.ebuild | 114 ++++++++++++++++++++++++++++++++++++++++ 2 files changed, 115 insertions(+) diff --git a/www-apps/trac/Manifest b/www-apps/trac/Manifest index 8fd0dc2cdd9..613fe30eac5 100644 --- a/www-apps/trac/Manifest +++ b/www-apps/trac/Manifest @@ -1,3 +1,4 @@ DIST Trac-1.0.13.tar.gz 3671741 SHA256 48ea3a9a23bb6bc7a9a643b90a7d7d274affedd344f21b73b81b421841cd527d SHA512 b4b2066482bdd6ba16183f2021bc069d1054177462726de1d844a28eccdc0b32405a0c510143f6ff84caaebebc571114e81cc0acc679ce94f8046b49d6854c1e WHIRLPOOL fc4151b5dc375a93413e3e1f23109644221eee6d741e442d03bccff6492c9cb816644783ec663b460279661fa8b50111456041094e531c8f24588af362ec4357 DIST Trac-1.0.9.tar.gz 3642845 SHA256 9ed3f0a2039c46132d10f35c211f9f6ee953339cc08492a41d1bf8741d6eebfa SHA512 af429db720049ab344ce3c3b430dcf0ab7530013f59ccd2334633de9babc3f31b14829b9b5aa48aa05f614ca72d1d557953c58bbfb93faae2267afeac72e6304 WHIRLPOOL 4005102b1109aac94728d22151c2192a38f9ab91af0227a24dff1a2e2097e67ceafa0cef0f307f1a1ddb1999c109d142bbb739107d4047dc296e6a8396a9427a +DIST Trac-1.2.1.tar.gz 6212917 SHA256 0af71c555f4617849432bba1fc59c1654cd13d030ebbcdbef814d82d7a8bb0c3 SHA512 0ee008ce0d890873eb6db7eca60e362760c4a4857dd74bda67c30e566dcb5bd64ccd6d5e7317da904e8dcfb7d4a017004d3bb794dd405936c94803b2fcc4829f WHIRLPOOL e2b17393dea34f39a030099b3fd02c68bfacfb7a7247008cc84cda5bc5807752dcef52ae345b39ab2aee02eef4aab04477d5b76d30bcf649991c2a53f5a7dd6c DIST Trac-1.2.tar.gz 3821867 SHA256 fd3cf3a9d2113d94f4f153995e737bc747e8d48cc40ac5171a114266ba4d2b0b SHA512 0655723a6727df389d66bb9c752436a81c820750659e5bf7a64485c4362fa1b1c1cb6dcdaa9936003838ce5874b20bbc5a8d8fc1034b96ff31b3bbc6f7fca105 WHIRLPOOL d347dac1eeb426d25b15a7c0f34da4363fb9f5d424d3be311750dfae9dbd515d54ab8c72b408ae6f7fe2182da10b9c4f0057b28bc3b52c7fd2ca7bfaa00f14a6 diff --git a/www-apps/trac/trac-1.2.1.ebuild b/www-apps/trac/trac-1.2.1.ebuild new file mode 100644 index 00000000000..f11b18c6bc4 --- /dev/null +++ b/www-apps/trac/trac-1.2.1.ebuild @@ -0,0 +1,114 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +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}] ) + 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 +} + +# 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 +}