summaryrefslogtreecommitdiff
path: root/dev-python/cssutils
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-04-01 02:13:31 +0100
committerV3n3RiX <venerix@koprulu.sector>2024-04-01 02:13:31 +0100
commitde6c40224da664deb650b25efd11f41044602c76 (patch)
tree705e4bb63436ed72cbca7e1a3aac31778933cff7 /dev-python/cssutils
parent54135f54d50ccd967032395ba30074c9d46dab25 (diff)
gentoo auto-resync : 01:04:2024 - 02:13:31
Diffstat (limited to 'dev-python/cssutils')
-rw-r--r--dev-python/cssutils/Manifest2
-rw-r--r--dev-python/cssutils/cssutils-2.10.2.ebuild46
2 files changed, 48 insertions, 0 deletions
diff --git a/dev-python/cssutils/Manifest b/dev-python/cssutils/Manifest
index fadc55061a77..21ff430a1830 100644
--- a/dev-python/cssutils/Manifest
+++ b/dev-python/cssutils/Manifest
@@ -1,3 +1,5 @@
+DIST cssutils-2.10.2.tar.gz 723055 BLAKE2B 7064f1928bf8496bef8eccf4663f944ed79e5e8065808254d12b68f32e9c8f308724e652b24fa584af54a0976ff3ab2f2751a9102e0f31a5f4a8fabf8f417b23 SHA512 c678b6953b13e8a7ac7b2abbe0b8be26283973537089071828e618b359bcce27df636f382d8b0dc50b13962e0d2dffcce991a47f678954ec018849e57026446d
DIST cssutils-2.9.0.tar.gz 723452 BLAKE2B fc3593dec7a61b1a23b346b5a77160248760a934f01e6135a6478eb1164333a910c6c3fb403e3e06c8c7c90214a7c30ddc481dc9623c26091d62c8d092d8cea3 SHA512 d13d53b3e4f133afb5b72faba1e41a95cf2b146efb075dd3b328fc424eccd371194e1e14fd9e607b207b5c7d473e64f1e4c63975173d8491fa8036a16dc94d38
+EBUILD cssutils-2.10.2.ebuild 972 BLAKE2B a7930445ca26cdab03fdc3869d208ffd9bf8b1b254f4e0d465698cba29f98091d7fac486f40d54089cc9b87f7c8cbd3933c38237f75c0ce9f24a228126d6e5a2 SHA512 18137d8f36885ba1a87739c136b1886f3ae6837a5a756a6a92c609e54d5aa6fe91e9bd9c2c227f27b86aacd61bc337fa9872d1e6ad04b35a33fa8dfddb244d32
EBUILD cssutils-2.9.0.ebuild 967 BLAKE2B 9e0dceb7b789fcabb5a26d6be38c570893daf23070ce1c4cdf1713a0cdcff3314a5f2111be513ac76947434401740fe296379fb59747d4fa13723f25a0750ae5 SHA512 34e4ae6f664c22ddc9aac2559a4e87c8bd9e22f3f749e42fd783f0010c0143b012e500d6a87026fa4c193ba01a69aa6eec536823d7744d7e8ea3148dca68fa81
MISC metadata.xml 404 BLAKE2B 799ecc65093102f5dc56c272245253ad76e69ade2196953bc37547408cbec9c3259c05dd75838c23027cb6a348d03586d2e1d61d37713401ae3cbcfb330275e9 SHA512 b009e78386aee2e8405406ed455c5432e00d5990ca86b49e6ac5db4e3e06102fb968cdc7b55b824c3451156fe2501e3f1deed1f31b48cd1916f90ef515dd8e4e
diff --git a/dev-python/cssutils/cssutils-2.10.2.ebuild b/dev-python/cssutils/cssutils-2.10.2.ebuild
new file mode 100644
index 000000000000..eb9363ad1cdc
--- /dev/null
+++ b/dev-python/cssutils/cssutils-2.10.2.ebuild
@@ -0,0 +1,46 @@
+# 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..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
+}