commit: d6fab546445678a4a1af3d6dd7905c28519f2d54
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Jun 9 12:01:27 2023 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri Jun 9 12:22:12 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d6fab546
dev-python/cssutils: Bump to 2.7.0
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/cssutils/Manifest | 1 +
dev-python/cssutils/cssutils-2.7.0.ebuild | 49 +++++++++++++++++++++++++++++++
2 files changed, 50 insertions(+)
diff --git a/dev-python/cssutils/Manifest b/dev-python/cssutils/Manifest
index f49e6b30d29c..9c0cbc26e75e 100644
--- a/dev-python/cssutils/Manifest
+++ b/dev-python/cssutils/Manifest
@@ -1 +1,2 @@
DIST cssutils-2.6.0.tar.gz 723259 BLAKE2B
6548e87c78fe6b850b98989521c27cebd4170939517edca895c2787c1367e1c6dc94308355f7dd2e1dee7194f88bd025b72c801cd9b90f8a08ab244f6a4e890e
SHA512
95ce26cc4816e7750fc0f1e0c4ac60f176e3c7b3ea1871440bf937d442e0f8626f9e4c75622c0ea3a84d68ceb4b768544e9642936beb87eff1b55117ce47b311
+DIST cssutils-2.7.0.tar.gz 724282 BLAKE2B
db2b56bc919d266b6f5f3c334c424748b94dc754a7734af3d09551918bff669fcc16b2da4466ebd22439b8056084126cd90c49b1282613ce2242dfdba251d4c9
SHA512
378ae1f263dcc2fc3f523e1e33977ebb5b46a16cf642aa067ea97f2293d94932dea1cddd825562041145995b6d899b8912add6055425b47c3baba97db05a2dab
diff --git a/dev-python/cssutils/cssutils-2.7.0.ebuild
b/dev-python/cssutils/cssutils-2.7.0.ebuild
new file mode 100644
index 000000000000..eed56831f200
--- /dev/null
+++ b/dev-python/cssutils/cssutils-2.7.0.ebuild
@@ -0,0 +1,49 @@
+# 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}]
+ $(python_gen_cond_dep '
+ dev-python/importlib-resources[${PYTHON_USEDEP}]
+ ' 3.8)
+ )
+"
+
+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
+}