summaryrefslogtreecommitdiff
path: root/dev-python/validator-collection
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/validator-collection')
-rw-r--r--dev-python/validator-collection/validator-collection-1.5.0-r2.ebuild (renamed from dev-python/validator-collection/validator-collection-1.5.0-r1.ebuild)24
1 files changed, 11 insertions, 13 deletions
diff --git a/dev-python/validator-collection/validator-collection-1.5.0-r1.ebuild b/dev-python/validator-collection/validator-collection-1.5.0-r2.ebuild
index edd33ff5b22f..5ac48115810c 100644
--- a/dev-python/validator-collection/validator-collection-1.5.0-r1.ebuild
+++ b/dev-python/validator-collection/validator-collection-1.5.0-r2.ebuild
@@ -8,29 +8,24 @@ PYTHON_COMPAT=( python3_{9,10,11,12,13} )
inherit distutils-r1
-DESCRIPTION="Python library of 60+ commonly-used validator functions."
-HOMEPAGE="https://github.com/insightindustry/validator-collection https://pypi.org/project/validator-collection"
-SRC_URI="https://github.com/insightindustry/validator-collection/archive/refs/tags/v.${PV}.tar.gz -> ${P}.gh.tar.gz"
+DESCRIPTION="Collection of 60+ Python functions for validating data"
+HOMEPAGE="
+ 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}"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
-IUSE="test"
+RDEPEND="dev-python/jsonschema[${PYTHON_USEDEP}]"
BDEPEND="
- dev-python/jsonschema[${PYTHON_USEDEP}]
- dev-python/sphinx-tabs[${PYTHON_USEDEP}]
- dev-python/sphinx-rtd-theme[${PYTHON_USEDEP}]
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}]
)
"
-DEPEND="${BDEPEND}"
EPYTEST_DESELECT=(
# 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_sphinx docs
+
+distutils_enable_sphinx docs \
+ dev-python/sphinx-rtd-theme \
+ dev-python/sphinx-tabs