commit: 83b405805e8a6f0903d4c8038ea4838e1dd9c2ae Author: Michał Górny <mgorny <AT> gentoo <DOT> org> AuthorDate: Fri Oct 13 04:25:20 2023 +0000 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> CommitDate: Fri Oct 13 04:31:03 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=83b40580
dev-python/cssutils: Bump to 2.9.0 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> dev-python/cssutils/Manifest | 1 + dev-python/cssutils/cssutils-2.9.0.ebuild | 46 +++++++++++++++++++++++++++++++ 2 files changed, 47 insertions(+) diff --git a/dev-python/cssutils/Manifest b/dev-python/cssutils/Manifest index ea82dbfc3ab4..7305681e2953 100644 --- a/dev-python/cssutils/Manifest +++ b/dev-python/cssutils/Manifest @@ -1 +1,2 @@ DIST cssutils-2.7.1.tar.gz 724365 BLAKE2B 352525fbc782280dd026ffcd88152cd77ba2bbe0aa57b4dd41ff40f27b5256cc1ccecf038970da0b07d08b0780b5d161b18aecc4343972a335d1bafd97ee1f51 SHA512 719b1b0866dd51e9b464659d861caa5eadfb1821b902824064fbf7843b6a2f5cfceb33f1deb2b7aa5dfc3306c94e8e86441aa014ec0c5bf133d5b1c13463b2db +DIST cssutils-2.9.0.tar.gz 723452 BLAKE2B fc3593dec7a61b1a23b346b5a77160248760a934f01e6135a6478eb1164333a910c6c3fb403e3e06c8c7c90214a7c30ddc481dc9623c26091d62c8d092d8cea3 SHA512 d13d53b3e4f133afb5b72faba1e41a95cf2b146efb075dd3b328fc424eccd371194e1e14fd9e607b207b5c7d473e64f1e4c63975173d8491fa8036a16dc94d38 diff --git a/dev-python/cssutils/cssutils-2.9.0.ebuild b/dev-python/cssutils/cssutils-2.9.0.ebuild new file mode 100644 index 000000000000..ef9cbf45db74 --- /dev/null +++ b/dev-python/cssutils/cssutils-2.9.0.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..12} ) + +inherit distutils-r1 pypi + +DESCRIPTION="A CSS Cascading Style Sheets library" +HOMEPAGE=" + https://pypi.org/project/cssutils/ + https://github.com/jaraco/cssutils/ +" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~x86" + +BDEPEND=" + dev-python/setuptools-scm[${PYTHON_USEDEP}] + test? ( + dev-python/cssselect[${PYTHON_USEDEP}] + >=dev-python/jaraco-test-5.1[${PYTHON_USEDEP}] + dev-python/lxml[${PYTHON_USEDEP}] + dev-python/mock[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_test() { + local EPYTEST_DESELECT=( + # network + encutils/__init__.py::encutils + cssutils/tests/test_parse.py::TestCSSParser::test_parseUrl + examples/website.py::examples.website.logging + ) + local EPYTEST_IGNORE=( + # path mismatch with "parse" package + examples/parse.py + ) + + epytest +}