dev-python/validators: version bump, dep cleanup

Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
This commit is contained in:
Alessandro Barbieri
2020-04-27 23:06:54 +02:00
parent 52d227888c
commit ae5316183f
4 changed files with 57 additions and 3 deletions

View File

@@ -1 +1,2 @@
DIST validators-0.14.0.tar.gz 25442 BLAKE2B e4c159afd24b33bd91ea59ca00254712cf69f9a4d180dd794f9b142a372bfd1695cebe7b49585a6b7eb8ea8290499e0138151a3e7a5693db187d8ad2bb520c9e SHA512 ec9153cb817f25e40221502484cdbdb9cf1566fe8445f7b822d4a80325154aca5a665be452f6251351682d36167c5a6bb02c3259d6067f4f51fa1d01aaa44a4e
DIST validators-0.14.3.tar.gz 25893 BLAKE2B 2114d74912457032506eb850e5da856044439f5e02ac707cddcca23b6a59b7725d4253cbb7ce815f6944076a54f686edcbf52d387d2f27b53ca6bccbbdaa4140 SHA512 ea2fc81a63f24d64d2933220ed7674ae9733673c208906d3090bc10bf2119965834759015deedfea218306b1b29e8ff6937698e3b5de73494236516656a16096

View File

@@ -5,4 +5,20 @@
<email>lssndrbarbieri@gmail.com</email>
<name>Alessandro Barbieri</name>
</maintainer>
<longdescription lang="en">
Python data validation for Humans.
Python has all kinds of data validation tools, but every one of them seems to require defining a schema or form. I wanted to create a simple validation library where validating a simple value does not require defining a form or a schema.
</longdescription>
<upstream>
<bugs-to>https://github.com/kvesteri/validators/issues</bugs-to>
<changelog>https://raw.githubusercontent.com/kvesteri/validators/master/CHANGES.rst</changelog>
<doc lang="en">https://validators.readthedocs.io/en/latest</doc>
<maintainer status="active">
<email>konsta@fastmonkeys.com</email>
<name>Konsta Vesterinen</name>
</maintainer>
<remote-id type="github">kvesteri/validators</remote-id>
<remote-id type="pypi">validators</remote-id>
</upstream>
</pkgmetadata>

View File

@@ -21,10 +21,11 @@ RDEPEND="
"
DEPEND="
${RDEPEND}
test? (
>=dev-python/isort-4.2.2[${PYTHON_USEDEP}]
)
"
#not really required
# test? (
# >=dev-python/isort-4.2.2[${PYTHON_USEDEP}]
# )
distutils_enable_tests pytest

View File

@@ -0,0 +1,36 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="7"
PYTHON_COMPAT=( python3_{6,7,8} )
inherit distutils-r1
DESCRIPTION="Python Data Validation for Humans"
HOMEPAGE="
https://github.com/kvesteri/validators
https://pypi.org/project/validators
"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
KEYWORDS="~amd64 ~x86"
LICENSE="MIT"
SLOT="0"
RDEPEND="
>=dev-python/decorator-3.4.0[${PYTHON_USEDEP}]
>=dev-python/six-1.4.0[${PYTHON_USEDEP}]
"
DEPEND="
${RDEPEND}
"
#not really required
# test? (
# >=dev-python/isort-4.2.2[${PYTHON_USEDEP}]
# )
distutils_enable_tests pytest
#issues with sphinx.ext.pngmath https://github.com/kvesteri/validators/issues/156
distutils_enable_sphinx docs "<dev-python/sphinx-1.8"