diff options
Diffstat (limited to 'dev-python/cssutils')
-rw-r--r-- | dev-python/cssutils/Manifest | 2 | ||||
-rw-r--r-- | dev-python/cssutils/cssutils-2.7.0.ebuild | 49 |
2 files changed, 51 insertions, 0 deletions
diff --git a/dev-python/cssutils/Manifest b/dev-python/cssutils/Manifest index d46e8aa0064a..d71256f9a7a5 100644 --- a/dev-python/cssutils/Manifest +++ b/dev-python/cssutils/Manifest @@ -1,3 +1,5 @@ DIST cssutils-2.6.0.tar.gz 723259 BLAKE2B 6548e87c78fe6b850b98989521c27cebd4170939517edca895c2787c1367e1c6dc94308355f7dd2e1dee7194f88bd025b72c801cd9b90f8a08ab244f6a4e890e SHA512 95ce26cc4816e7750fc0f1e0c4ac60f176e3c7b3ea1871440bf937d442e0f8626f9e4c75622c0ea3a84d68ceb4b768544e9642936beb87eff1b55117ce47b311 +DIST cssutils-2.7.0.tar.gz 724282 BLAKE2B db2b56bc919d266b6f5f3c334c424748b94dc754a7734af3d09551918bff669fcc16b2da4466ebd22439b8056084126cd90c49b1282613ce2242dfdba251d4c9 SHA512 378ae1f263dcc2fc3f523e1e33977ebb5b46a16cf642aa067ea97f2293d94932dea1cddd825562041145995b6d899b8912add6055425b47c3baba97db05a2dab EBUILD cssutils-2.6.0.ebuild 1045 BLAKE2B 90453d0db623ca271ebbe8b2fe48a26edf249aec0ef8dbe319c5be3f4d43e5da793c40fc62a09ec5cb77d451b7638549acaafe12c53b2751bbd27b93cac0889a SHA512 374479c46efdb49a24a8c41e5b8261e4e371ed12754d993b38393fca97236e60234aa933e70cace4ff72099cedee747a05581a4e6f62e518ecbbfa69682a11b0 +EBUILD cssutils-2.7.0.ebuild 1059 BLAKE2B 52cc29401b68f93f03d7d9f7a0d770e2a98612d0229a0c960dd852ff5bb479a154d6af92640bee1b39c4ea173f9b6c97864d1e763bf3f27549ee8a87d7aebf6f SHA512 07ae53a84ee88da1b2fdb7788a3956d2f4ecf39766b0b7a9e2d98015b3504c637f60ad2cd8ecd1c85585bfde862297481055e0785bd2b59f552aca36d4c9bd46 MISC metadata.xml 404 BLAKE2B 799ecc65093102f5dc56c272245253ad76e69ade2196953bc37547408cbec9c3259c05dd75838c23027cb6a348d03586d2e1d61d37713401ae3cbcfb330275e9 SHA512 b009e78386aee2e8405406ed455c5432e00d5990ca86b49e6ac5db4e3e06102fb968cdc7b55b824c3451156fe2501e3f1deed1f31b48cd1916f90ef515dd8e4e 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 +} |