From f344b6b1a276443ee326fff3988a4ea8604e76bc Mon Sep 17 00:00:00 2001 From: Andrew Ammerlaan Date: Thu, 20 May 2021 15:47:53 +0200 Subject: [PATCH] dev-python/sphobjinv: move to ::gentoo Signed-off-by: Andrew Ammerlaan --- dev-python/sphobjinv/Manifest | 1 - dev-python/sphobjinv/metadata.xml | 22 -------- dev-python/sphobjinv/sphobjinv-2.0.1.ebuild | 58 --------------------- 3 files changed, 81 deletions(-) delete mode 100644 dev-python/sphobjinv/Manifest delete mode 100644 dev-python/sphobjinv/metadata.xml delete mode 100644 dev-python/sphobjinv/sphobjinv-2.0.1.ebuild diff --git a/dev-python/sphobjinv/Manifest b/dev-python/sphobjinv/Manifest deleted file mode 100644 index cdbd68e163..0000000000 --- a/dev-python/sphobjinv/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST sphobjinv-2.0.1.tar.gz 1017678 BLAKE2B 31406b3dd93d1019dddc99464b8860df74bf76c40429aed73b80a95ed475787e1a9c93fe3dd68d1fce22d934bacab92893ca807c0d8d0f8fa4e5debbcbe7732f SHA512 49ad5a62f584b92e14630565b72d17a2f6e85feaf841c5f29e97f90b035c43e8a8a0773d6ec3cab1233f6cc613b04c8af6b48171202c1b9d694d172ed4c4f687 diff --git a/dev-python/sphobjinv/metadata.xml b/dev-python/sphobjinv/metadata.xml deleted file mode 100644 index 079d24e6f7..0000000000 --- a/dev-python/sphobjinv/metadata.xml +++ /dev/null @@ -1,22 +0,0 @@ - - - - - - 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.0.1.ebuild b/dev-python/sphobjinv/sphobjinv-2.0.1.ebuild deleted file mode 100644 index 52f906ca8b..0000000000 --- a/dev-python/sphobjinv/sphobjinv-2.0.1.ebuild +++ /dev/null @@ -1,58 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{7,8} ) - -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 ~x86" -SLOT="0" - -RDEPEND=" - >=dev-python/attrs-17.4[${PYTHON_USEDEP}] - dev-python/certifi[${PYTHON_USEDEP}] - dev-python/fuzzywuzzy[${PYTHON_USEDEP}] - dev-python/jsonschema[${PYTHON_USEDEP}]" - -DEPEND=" - test? ( - >=dev-python/pytest-4.4.0[${PYTHON_USEDEP}] - dev-python/pytest-ordering[${PYTHON_USEDEP}] - dev-python/pytest-subtests[${PYTHON_USEDEP}] - dev-python/pytest-timeout[${PYTHON_USEDEP}] - dev-python/sphinx-issues[${PYTHON_USEDEP}] - dev-python/sphinx_rtd_theme[${PYTHON_USEDEP}] - >=dev-python/stdio-mgr-1.0.1[${PYTHON_USEDEP}] - dev-python/timeout-decorator[${PYTHON_USEDEP}] - ) -" - -#it may require sphinx==2.3.1 -distutils_enable_sphinx doc/source dev-python/sphinx_rtd_theme dev-python/sphinx-issues -distutils_enable_tests pytest - -python_prepare_all() { - # not sure why this fails - rm tests/test_flake8_ext.py || die - - # --strict option is deprecated in pytest>6 - sed -i -e '/addopts/d' tox.ini || die - - distutils-r1_python_prepare_all -} - -python_test() { - pytest -vv tests || die "Tests fail with ${EPYTHON}" -}