summaryrefslogtreecommitdiff
path: root/dev-python/cssutils
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/cssutils')
-rw-r--r--dev-python/cssutils/Manifest2
-rw-r--r--dev-python/cssutils/cssutils-2.6.0.ebuild23
2 files changed, 16 insertions, 9 deletions
diff --git a/dev-python/cssutils/Manifest b/dev-python/cssutils/Manifest
index 619ee6d2ef8f..4530e2c02f51 100644
--- a/dev-python/cssutils/Manifest
+++ b/dev-python/cssutils/Manifest
@@ -1,3 +1,3 @@
DIST cssutils-2.6.0.tar.gz 723259 BLAKE2B 6548e87c78fe6b850b98989521c27cebd4170939517edca895c2787c1367e1c6dc94308355f7dd2e1dee7194f88bd025b72c801cd9b90f8a08ab244f6a4e890e SHA512 95ce26cc4816e7750fc0f1e0c4ac60f176e3c7b3ea1871440bf937d442e0f8626f9e4c75622c0ea3a84d68ceb4b768544e9642936beb87eff1b55117ce47b311
-EBUILD cssutils-2.6.0.ebuild 965 BLAKE2B ca74eff2b0c56f3f9676a42df04355a76bdbff5004b17a4d171caed0b30d5a5b2299edabd363375e4adaa987ba71a25103bf74f175506dec034de7d236965f37 SHA512 1c38205bee1cad1057c85d3587bd35a7c8576a2462a77c93210323f07d934a7e41f710306eb0c768638de46e2f70a14e3552f9ad1cf2e7fc9a25ef96f4de4d65
+EBUILD cssutils-2.6.0.ebuild 1044 BLAKE2B f4310a7649f6b9b43ce13a41ced4b53e7948b155ee016233c3ae13e15b1781b32f0f948af283a74a33e8a51894c961bd276279e393ee547de9c63efade8824d5 SHA512 8ef8fafd6d6be6a88505e5ad831501c8d254aa95315d2a75aed5c1a5085f184786f8a8be5b14006345708d77ef8da83ff532e04a44115bdb440c28fcc4b82e1f
MISC metadata.xml 404 BLAKE2B 799ecc65093102f5dc56c272245253ad76e69ade2196953bc37547408cbec9c3259c05dd75838c23027cb6a348d03586d2e1d61d37713401ae3cbcfb330275e9 SHA512 b009e78386aee2e8405406ed455c5432e00d5990ca86b49e6ac5db4e3e06102fb968cdc7b55b824c3451156fe2501e3f1deed1f31b48cd1916f90ef515dd8e4e
diff --git a/dev-python/cssutils/cssutils-2.6.0.ebuild b/dev-python/cssutils/cssutils-2.6.0.ebuild
index ba17b9caaba8..aa70a9c26987 100644
--- a/dev-python/cssutils/cssutils-2.6.0.ebuild
+++ b/dev-python/cssutils/cssutils-2.6.0.ebuild
@@ -6,14 +6,13 @@ EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{9..11} )
-inherit distutils-r1
+inherit distutils-r1 pypi
DESCRIPTION="A CSS Cascading Style Sheets library"
HOMEPAGE="
https://pypi.org/project/cssutils/
https://github.com/jaraco/cssutils/
"
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="GPL-3"
SLOT="0"
@@ -34,9 +33,17 @@ BDEPEND="
distutils_enable_tests pytest
-EPYTEST_DESELECT=(
- # network
- encutils/__init__.py::encutils
- cssutils/tests/test_parse.py::TestCSSParser::test_parseUrl
- examples/website.py::website.logging
-)
+python_test() {
+ local EPYTEST_DESELECT=(
+ # network
+ encutils/__init__.py::encutils
+ cssutils/tests/test_parse.py::TestCSSParser::test_parseUrl
+ examples/website.py::website.logging
+ )
+ local EPYTEST_IGNORE=(
+ # path mismatch with "parse" package
+ examples/parse.py
+ )
+
+ epytest
+}