dev-python/sphobjinv: move to ::gentoo

Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>
This commit is contained in:
Andrew Ammerlaan
2021-05-20 15:47:53 +02:00
parent 19d4f3316a
commit f344b6b1a2
3 changed files with 0 additions and 81 deletions

View File

@@ -1 +0,0 @@
DIST sphobjinv-2.0.1.tar.gz 1017678 BLAKE2B 31406b3dd93d1019dddc99464b8860df74bf76c40429aed73b80a95ed475787e1a9c93fe3dd68d1fce22d934bacab92893ca807c0d8d0f8fa4e5debbcbe7732f SHA512 49ad5a62f584b92e14630565b72d17a2f6e85feaf841c5f29e97f90b035c43e8a8a0773d6ec3cab1233f6cc613b04c8af6b48171202c1b9d694d172ed4c4f687

View File

@@ -1,22 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>andrewammerlaan@gentoo.org</email>
<name>Andrew Ammerlaan</name>
</maintainer>
<longdescription lang="en">
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 its pretty hit-or-miss. The best approach is to provide Sphinx with a completely specified cross-reference, and thats where sphobjinv comes in.
</longdescription>
<upstream>
<remote-id type="github">bskinn/sphobjinv</remote-id>
<remote-id type="pypi">sphobjinv</remote-id>
</upstream>
</pkgmetadata>

View File

@@ -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}"
}