From 2d1a6e9b4457a150b8bb03fc6475ba7346f7bcaf Mon Sep 17 00:00:00 2001 From: "Liguros - Gitlab CI/CD [develop]" Date: Fri, 20 Dec 2024 06:54:35 +0000 Subject: Adding metadata --- .../validator-collection-1.5.0-r1.ebuild | 44 ---------------------- .../validator-collection-1.5.0-r2.ebuild | 42 +++++++++++++++++++++ 2 files changed, 42 insertions(+), 44 deletions(-) delete mode 100644 dev-python/validator-collection/validator-collection-1.5.0-r1.ebuild create mode 100644 dev-python/validator-collection/validator-collection-1.5.0-r2.ebuild (limited to 'dev-python/validator-collection') diff --git a/dev-python/validator-collection/validator-collection-1.5.0-r1.ebuild b/dev-python/validator-collection/validator-collection-1.5.0-r1.ebuild deleted file mode 100644 index edd33ff5b22f..000000000000 --- a/dev-python/validator-collection/validator-collection-1.5.0-r1.ebuild +++ /dev/null @@ -1,44 +0,0 @@ -# Copyright 2023-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -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" -S="${WORKDIR}/${PN}-v.${PV}" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64" -IUSE="test" - -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 - "tests/test_checkers.py::test_is_readable[/var/data/xx1.txt-True-False]" - "tests/test_validators.py::test_readable[/var/data/xx1.txt-True-False]" - "tests/test_validators.py::test_writeable[/var/data/xx1.txt-True-False]" - "tests/test_validators.py::test_executable[/var/data/xx1.txt-True-False]" -) - -distutils_enable_tests pytest -distutils_enable_sphinx docs diff --git a/dev-python/validator-collection/validator-collection-1.5.0-r2.ebuild b/dev-python/validator-collection/validator-collection-1.5.0-r2.ebuild new file mode 100644 index 000000000000..5ac48115810c --- /dev/null +++ b/dev-python/validator-collection/validator-collection-1.5.0-r2.ebuild @@ -0,0 +1,42 @@ +# Copyright 2023-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{9,10,11,12,13} ) + +inherit distutils-r1 + +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" + +RDEPEND="dev-python/jsonschema[${PYTHON_USEDEP}]" +BDEPEND=" + test? ( + dev-python/pyfakefs[${PYTHON_USEDEP}] + ) +" + +EPYTEST_DESELECT=( + # Errors, probably because of missing privileges or problems in the virtual file system used in the tests + "tests/test_checkers.py::test_is_readable[/var/data/xx1.txt-True-False]" + "tests/test_validators.py::test_readable[/var/data/xx1.txt-True-False]" + "tests/test_validators.py::test_writeable[/var/data/xx1.txt-True-False]" + "tests/test_validators.py::test_executable[/var/data/xx1.txt-True-False]" +) + +distutils_enable_tests pytest + +distutils_enable_sphinx docs \ + dev-python/sphinx-rtd-theme \ + dev-python/sphinx-tabs -- cgit v1.3