summaryrefslogtreecommitdiff
path: root/dev-python/cssutils/cssutils-2.2.0.ebuild
diff options
context:
space:
mode:
authorLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2021-03-11 13:45:03 +0000
committerLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2021-03-11 13:45:03 +0000
commita378b43e2c5a47f42ca9fea27017bcca067dc2f2 (patch)
tree09ec2288a65fdba2d8b38a4b195c43338eeedfaf /dev-python/cssutils/cssutils-2.2.0.ebuild
parent8bd944b3b1b49f7db9869e49186104603913ea26 (diff)
downloadbaldeagleos-repo-a378b43e2c5a47f42ca9fea27017bcca067dc2f2.tar.gz
baldeagleos-repo-a378b43e2c5a47f42ca9fea27017bcca067dc2f2.tar.xz
baldeagleos-repo-a378b43e2c5a47f42ca9fea27017bcca067dc2f2.zip
Adding metadata
Diffstat (limited to 'dev-python/cssutils/cssutils-2.2.0.ebuild')
-rw-r--r--dev-python/cssutils/cssutils-2.2.0.ebuild34
1 files changed, 34 insertions, 0 deletions
diff --git a/dev-python/cssutils/cssutils-2.2.0.ebuild b/dev-python/cssutils/cssutils-2.2.0.ebuild
new file mode 100644
index 000000000000..a0d7eeabd405
--- /dev/null
+++ b/dev-python/cssutils/cssutils-2.2.0.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DISTUTILS_USE_SETUPTOOLS=rdepend
+PYTHON_COMPAT=( python3_{6,7,8,9,10} )
+
+inherit distutils-r1
+
+DESCRIPTION="A CSS Cascading Style Sheets library"
+HOMEPAGE="https://pypi.org/project/cssutils/ https://cthedot.de/cssutils/"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~x86"
+
+DEPEND="
+ test? (
+ dev-python/mock[${PYTHON_USEDEP}]
+ )"
+
+distutils_enable_tests pytest
+
+python_test() {
+ local deselect=(
+ # network
+ encutils/__init__.py::encutils
+ cssutils/tests/test_parse.py::CSSParserTestCase::test_parseUrl
+ )
+
+ epytest ${deselect[@]/#/--deselect }
+}