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 4F47513835B for ; Thu, 20 May 2021 15:02:39 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 26998E088D; Thu, 20 May 2021 15:02:38 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (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 07C3FE088D for ; Thu, 20 May 2021 15:02:37 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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 53BAE340DBC for ; Thu, 20 May 2021 15:02:36 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 8573B78F for ; Thu, 20 May 2021 15:02:34 +0000 (UTC) From: "Andrew Ammerlaan" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andrew Ammerlaan" Message-ID: <1621522951.47533d597b9471170d44be376030bc590eb93b7e.andrewammerlaan@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/sphobjinv/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/sphobjinv/Manifest dev-python/sphobjinv/metadata.xml dev-python/sphobjinv/sphobjinv-2.1.ebuild X-VCS-Directories: dev-python/sphobjinv/ X-VCS-Committer: andrewammerlaan X-VCS-Committer-Name: Andrew Ammerlaan X-VCS-Revision: 47533d597b9471170d44be376030bc590eb93b7e X-VCS-Branch: master Date: Thu, 20 May 2021 15:02:34 +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-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: b7fca740-0074-4ef0-8903-56eb80f0af5e X-Archives-Hash: 075bd206a7e5f8fa242c674ded42b855 commit: 47533d597b9471170d44be376030bc590eb93b7e Author: Andrew Ammerlaan gentoo org> AuthorDate: Thu May 20 14:41:41 2021 +0000 Commit: Andrew Ammerlaan gentoo org> CommitDate: Thu May 20 15:02:31 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=47533d59 dev-python/sphobjinv: import from ::guru Package-Manager: Portage-3.0.18, Repoman-3.0.3 Signed-off-by: Andrew Ammerlaan gentoo.org> dev-python/sphobjinv/Manifest | 1 + dev-python/sphobjinv/metadata.xml | 23 ++++++++++++++ dev-python/sphobjinv/sphobjinv-2.1.ebuild | 53 +++++++++++++++++++++++++++++++ 3 files changed, 77 insertions(+) diff --git a/dev-python/sphobjinv/Manifest b/dev-python/sphobjinv/Manifest new file mode 100644 index 00000000000..6fa2f2762a6 --- /dev/null +++ b/dev-python/sphobjinv/Manifest @@ -0,0 +1 @@ +DIST sphobjinv-2.1.tar.gz 1144017 BLAKE2B 71878e1bac5202ab74298b56cd6172236ea524050323e0d6b8bbc0c89f1937d75f10d40b4071cfbe8c9031641e9a0ecb283da908c40840a61c12a7c892438241 SHA512 cde77d73b09b72358b0ac5b0d8f1a748e78dce6664d1b849ba68f5ff70dc43cbcff4581374d0151be29c4d97efe2920c5c00ff68918371243be158031e9554fa diff --git a/dev-python/sphobjinv/metadata.xml b/dev-python/sphobjinv/metadata.xml new file mode 100644 index 00000000000..dc83e0f5d0f --- /dev/null +++ b/dev-python/sphobjinv/metadata.xml @@ -0,0 +1,23 @@ + + + + + + andrewammerlaan@gentoo.org + Andrew Ammerlaan + + +Using Sphinx? + +Having trouble writing cross-references? + +sphobjinv (short for ‘sphinx objects.inv’) can help! + +The syntax required for a functional Sphinx cross-reference is highly non-obvious in many cases. Sometimes Sphinx can guess correctly what you mean, but it’s pretty hit-or-miss. The best approach is to provide Sphinx with a completely specified cross-reference, and that’s where sphobjinv comes in. + + + bskinn/sphobjinv + sphobjinv + + + diff --git a/dev-python/sphobjinv/sphobjinv-2.1.ebuild b/dev-python/sphobjinv/sphobjinv-2.1.ebuild new file mode 100644 index 00000000000..9afca30acd7 --- /dev/null +++ b/dev-python/sphobjinv/sphobjinv-2.1.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{7..9} ) +DISTUTILS_USE_SETUPTOOLS=rdepend + +inherit distutils-r1 + +DESCRIPTION="Sphinx objects.inv Inspection/Manipulation Tool" +HOMEPAGE=" + https://github.com/bskinn/sphobjinv/ + https://pypi.org/project/sphobjinv/ +" +SRC_URI="https://github.com/bskinn/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +KEYWORDS="~amd64" +SLOT="0" + +# This requires pytest-check, but that does not work at all, even if it +# is installed it still fails to find the check fixture +RESTRICT="test" + +RDEPEND=" + >=dev-python/attrs-19.2[${PYTHON_USEDEP}] + dev-python/certifi[${PYTHON_USEDEP}] + >=dev-python/fuzzywuzzy-0.8[${PYTHON_USEDEP}] + >=dev-python/jsonschema-3.0[${PYTHON_USEDEP}]" + +BDEPEND=" + test? ( + dev-python/dictdiffer[${PYTHON_USEDEP}] + dev-python/pytest-ordering[${PYTHON_USEDEP}] + dev-python/pytest-timeout[${PYTHON_USEDEP}] + >=dev-python/stdio-mgr-1.0.1[${PYTHON_USEDEP}] + dev-python/timeout-decorator[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest +distutils_enable_sphinx doc/source \ + dev-python/sphinx_rtd_theme \ + dev-python/sphinx-issues \ + dev-python/sphinxcontrib-programoutput + +python_prepare_all() { + # --strict option is deprecated in pytest>6 + sed -i -e '/addopts/d' tox.ini || die + + distutils-r1_python_prepare_all +}