diff --git a/dev-python/css-parser/Manifest b/dev-python/css-parser/Manifest new file mode 100644 index 0000000..6cb9594 --- /dev/null +++ b/dev-python/css-parser/Manifest @@ -0,0 +1 @@ +DIST css-parser-1.0.4.tar.gz 143977 BLAKE2B 94a42d751a90d306b0dd2d503d8d9c326509b438d1f52b5567e6f6db7d80e7a6d2c37cbfa0db79225cc4d0fd5df612b3e430fa1c62604a2f8990d20678019af0 SHA512 3781128e55c1e72aa00369873e214f683e3f42944ae83d399697adb7d2966f68fb500c39982845ce9cd06078e4021838d82b06f99d90938069371da8a89a0857 diff --git a/dev-python/css-parser/css-parser-1.0.4-r1.ebuild b/dev-python/css-parser/css-parser-1.0.4-r1.ebuild new file mode 100644 index 0000000..16a13eb --- /dev/null +++ b/dev-python/css-parser/css-parser-1.0.4-r1.ebuild @@ -0,0 +1,22 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +PYTHON_COMPAT=( python3_{7,8,9} ) + +inherit distutils-r1 + +DESCRIPTION="A CSS Cascading Style Sheets library (fork of cssutils)" +HOMEPAGE="https://pypi.org/project/css-parser/" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="LGPL-2.1+" +SLOT="0" +KEYWORDS="~amd64 ~arm ~x86 ~arm64" + +# Tests fail under network-sandbox. +RESTRICT+=" test" + +python_test() { + esetup.py test || die "tests failed under ${EPYTHON}" +}