dev-python/cssutils: Bump to 2.11.1

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny 2024-06-05 06:39:29 +02:00
parent b83cafb69b
commit d90e25be5e
No known key found for this signature in database
GPG Key ID: 639ADAE2329E240E
2 changed files with 51 additions and 0 deletions

View File

@ -1 +1,2 @@
DIST cssutils-2.11.0.tar.gz 723164 BLAKE2B 433358b1bd167d72ceda9c60f4460a95804c492a92854747dfc49ef4e2efe69388781c515adbb3c5d9010895e13a039ea33c46d4b2c71cb8bb15eead3e998b60 SHA512 42ce87502757d213ab5b2812c8a76724955f565826c69ffe4db53d49020ce960c8544423428f2b8c24d9b1b215c22f18de9dff66ef249c8060d17aad990d9a6f
DIST cssutils-2.11.1.tar.gz 711657 BLAKE2B 08522271238efd160dba06e580e01136ec1dab69bef8400f458edcf58a179ffc1d5bbca9423afddb66b5c781c2742a00f9a9fc0c5119ed3d865f914ebce2238f SHA512 7e38f08c5ff340b82ea39bda207d099b39ce6b88c8ac0d7ac1fb29e7b4ae6d8baa341e0a9b27e6d2285e31266112ec51d1fff9ef3e5a17a4bf55546fb4927845

View File

@ -0,0 +1,50 @@
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{10..13} )
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"
RDEPEND="
dev-python/more-itertools[${PYTHON_USEDEP}]
"
BDEPEND="
dev-python/setuptools-scm[${PYTHON_USEDEP}]
test? (
dev-python/cssselect[${PYTHON_USEDEP}]
>=dev-python/jaraco-test-5.1[${PYTHON_USEDEP}]
$(python_gen_cond_dep '
dev-python/lxml[${PYTHON_USEDEP}]
' 3.10)
)
"
distutils_enable_tests pytest
python_test() {
local EPYTEST_DESELECT=(
# network
encutils/__init__.py::encutils
examples/website.py::examples.website.logging
)
local EPYTEST_IGNORE=(
# path mismatch with "parse" package
examples/parse.py
)
local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
epytest -m "not network"
}