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 5F3C0139695 for ; Wed, 2 Aug 2017 16:14:46 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A0515E0E9B; Wed, 2 Aug 2017 16:14:45 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 81AC3E0E9B for ; Wed, 2 Aug 2017 16:14:45 +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 6265334185B for ; Wed, 2 Aug 2017 16:14:44 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 904F375ED for ; Wed, 2 Aug 2017 16:14:42 +0000 (UTC) From: "Mike Gilbert" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Mike Gilbert" Message-ID: <1501690479.aaa00f48b5941daaba859aa35982f86225b2a7d0.floppym@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/sphinxcontrib-issuetracker/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/sphinxcontrib-issuetracker/sphinxcontrib-issuetracker-0.11-r2.ebuild X-VCS-Directories: dev-python/sphinxcontrib-issuetracker/ X-VCS-Committer: floppym X-VCS-Committer-Name: Mike Gilbert X-VCS-Revision: aaa00f48b5941daaba859aa35982f86225b2a7d0 X-VCS-Branch: master Date: Wed, 2 Aug 2017 16:14:42 +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: 995ba1da-2f69-47f5-ad61-caeada6f1e40 X-Archives-Hash: 30dc46b3157028e525503fe12de90ba1 commit: aaa00f48b5941daaba859aa35982f86225b2a7d0 Author: Mike Gilbert gentoo org> AuthorDate: Wed Aug 2 16:14:07 2017 +0000 Commit: Mike Gilbert gentoo org> CommitDate: Wed Aug 2 16:14:39 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aaa00f48 dev-python/sphinxcontrib-issuetracker: re-apply namespace fix Package-Manager: Portage-2.3.6_p23, Repoman-2.3.3_p1 .../sphinxcontrib-issuetracker-0.11-r2.ebuild | 62 ++++++++++++++++++++++ 1 file changed, 62 insertions(+) diff --git a/dev-python/sphinxcontrib-issuetracker/sphinxcontrib-issuetracker-0.11-r2.ebuild b/dev-python/sphinxcontrib-issuetracker/sphinxcontrib-issuetracker-0.11-r2.ebuild new file mode 100644 index 00000000000..8215945209c --- /dev/null +++ b/dev-python/sphinxcontrib-issuetracker/sphinxcontrib-issuetracker-0.11-r2.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} pypy ) + +inherit distutils-r1 + +DESCRIPTION="Extension to sphinx to create links to issue trackers" +HOMEPAGE="http://sphinxcontrib-issuetracker.readthedocs.org/" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux" +IUSE="doc test" + +RDEPEND=" + dev-python/namespace-sphinxcontrib[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}] + dev-python/sphinx[${PYTHON_USEDEP}]" +DEPEND="${RDEPEND} + dev-python/setuptools[${PYTHON_USEDEP}] + test? ( + dev-python/mock[${PYTHON_USEDEP}] + dev-python/pytest[${PYTHON_USEDEP}] + )" + +python_prepare_all() { + # test requires network access (bug #425694) + rm tests/test_builtin_trackers.py || die + + # Tests from tests/test_stylesheet.py require dev-python/PyQt4[X,webkit] + # and virtualx.eclass. + rm tests/test_stylesheet.py || die + + # Avoid redundant objects.inv from downloading, sed more lightweight + if use doc; then + sed -e "s:^intersphinx_mapping:#intersphinx_mapping:" \ + -e "s:^ 'sphinx':#:" \ + -i doc/conf.py || die + fi + + distutils-r1_python_prepare_all +} + +python_compile_all() { + if use doc; then + emake -C doc html + HTML_DOCS=( doc/_build/html/. ) + fi +} + +python_test() { + py.test || die +} + +python_install_all() { + distutils-r1_python_install_all + find "${ED}" -name '*.pth' -delete || die +}