dev-python/validator-collection: fix deps

Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
This commit is contained in:
Anna (cybertailor) Vyalkova
2024-12-19 18:28:48 +05:00
parent c78a4e5f87
commit 30fa222525

View File

@@ -8,29 +8,24 @@ PYTHON_COMPAT=( python3_{11..12} )
inherit distutils-r1 inherit distutils-r1
DESCRIPTION="Python library of 60+ commonly-used validator functions." DESCRIPTION="Collection of 60+ Python functions for validating data"
HOMEPAGE="https://github.com/insightindustry/validator-collection https://pypi.org/project/validator-collection" HOMEPAGE="
SRC_URI="https://github.com/insightindustry/validator-collection/archive/refs/tags/v.${PV}.tar.gz -> ${P}.gh.tar.gz" https://github.com/insightindustry/validator-collection
https://pypi.org/project/validator-collection
"
SRC_URI="https://github.com/insightindustry/${PN}/archive/refs/tags/v.${PV}.tar.gz -> ${P}.gh.tar.gz"
S="${WORKDIR}/${PN}-v.${PV}" S="${WORKDIR}/${PN}-v.${PV}"
LICENSE="MIT" LICENSE="MIT"
SLOT="0" SLOT="0"
KEYWORDS="~amd64" KEYWORDS="~amd64"
IUSE="test"
RDEPEND="dev-python/jsonschema[${PYTHON_USEDEP}]"
BDEPEND=" BDEPEND="
dev-python/jsonschema[${PYTHON_USEDEP}]
dev-python/sphinx-tabs[${PYTHON_USEDEP}]
dev-python/sphinx-rtd-theme[${PYTHON_USEDEP}]
test? ( test? (
dev-python/coverage[${PYTHON_USEDEP}]
dev-python/pytest-benchmark[${PYTHON_USEDEP}]
dev-python/pytest-cov[${PYTHON_USEDEP}]
dev-python/codecov[${PYTHON_USEDEP}]
dev-python/pyfakefs[${PYTHON_USEDEP}] dev-python/pyfakefs[${PYTHON_USEDEP}]
) )
" "
DEPEND="${BDEPEND}"
EPYTEST_DESELECT=( EPYTEST_DESELECT=(
# Errors, probably because of missing privileges or problems in the virtual file system used in the tests # Errors, probably because of missing privileges or problems in the virtual file system used in the tests
@@ -41,4 +36,7 @@ EPYTEST_DESELECT=(
) )
distutils_enable_tests pytest distutils_enable_tests pytest
distutils_enable_sphinx docs
distutils_enable_sphinx docs \
dev-python/sphinx-rtd-theme \
dev-python/sphinx-tabs