mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-13 00:53:02 -04:00
dev-python/sphobjinv: Version bump 2.0.1
Package-Manager: Portage-2.3.88, Repoman-2.3.20 Signed-off-by: Andrew Ammerlaan <andrewammerlaan@riseup.net>
This commit is contained in:
44
dev-python/sphobjinv/sphobjinv-2.0.1.ebuild
Normal file
44
dev-python/sphobjinv/sphobjinv-2.0.1.ebuild
Normal file
@@ -0,0 +1,44 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python3_{6,7} )
|
||||
|
||||
DISTUTILS_USE_SETUPTOOLS=rdepend
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Sphinx objects.inv Inspection/Manipulation Tool"
|
||||
HOMEPAGE="https://github.com/bskinn/sphobjinv"
|
||||
SRC_URI="https://github.com/bskinn/${PN}/archive/v${PV}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
KEYWORDS="~amd64 ~x86 "
|
||||
SLOT="0"
|
||||
|
||||
RDEPEND="
|
||||
dev-python/attrs[${PYTHON_USEDEP}]
|
||||
dev-python/certifi[${PYTHON_USEDEP}]
|
||||
dev-python/fuzzywuzzy[${PYTHON_USEDEP}]
|
||||
dev-python/jsonschema[${PYTHON_USEDEP}]"
|
||||
|
||||
DEPEND="test? (
|
||||
dev-python/pytest-timeout[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-subtests[${PYTHON_USEDEP}]
|
||||
dev-python/timeout-decorator[${PYTHON_USEDEP}]
|
||||
dev-python/stdio-mgr[${PYTHON_USEDEP}] )"
|
||||
|
||||
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
|
||||
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_test() {
|
||||
pytest -vv tests || die "Tests fail with ${EPYTHON}"
|
||||
}
|
||||
Reference in New Issue
Block a user