dev-python/validator-collection: new package, add 1.5.0

Signed-off-by: Henri Gasc <gasc@eurecom.fr>
This commit is contained in:
Henri Gasc
2023-02-08 11:13:08 +01:00
parent 8606b7bc58
commit 9a5854a425
3 changed files with 53 additions and 0 deletions

View File

@@ -0,0 +1 @@
DIST validator-collection-1.5.0.gh.tar.gz 88317 BLAKE2B cfca5c094a24105d7e4e9d4b802808ad62c50c4228d1c0ffca8e68e52098ee1358dfbfba6364b58e5377903823683668abfe79ccd4d6d96bb885b0ce33cb27d0 SHA512 802b7d1516ad55ef8506ea9785b776024f2c041fc5d550d345459bc545600a66402eb32ccc3c59903c895d2c55e17d087429b3a6bd787b9ae890eb00c1c19fc3

View File

@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM 'https://www.gentoo.org/dtd/metadata.dtd'>
<pkgmetadata>
<maintainer type="person">
<email>gasc@eurecom.fr</email>
<name>Gasc Henri</name>
</maintainer>
<upstream>
<remote-id type="pypi">validator-collection</remote-id>
<remote-id type="github">insightindustry/validator-collection</remote-id>
</upstream>
</pkgmetadata>

View File

@@ -0,0 +1,40 @@
# Copyright 2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_10 )
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"
S="${WORKDIR}/${PN}-v.${PV}"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
IUSE="test"
RDEPEND=""
BDEPEND="
dev-python/setuptools[${PYTHON_USEDEP}]
dev-python/jsonschema[${PYTHON_USEDEP}]
dev-python/sphinx[${PYTHON_USEDEP}]
dev-python/sphinx-tabs[${PYTHON_USEDEP}]
dev-python/sphinx_rtd_theme[${PYTHON_USEDEP}]
test? (
dev-python/coverage[${PYTHON_USEDEP}]
dev-python/pytest[${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}"
distutils_enable_tests pytest
distutils_enable_sphinx docs