summaryrefslogtreecommitdiff
path: root/dev-python/tinycss2
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/tinycss2')
-rw-r--r--dev-python/tinycss2/Manifest1
-rw-r--r--dev-python/tinycss2/metadata.xml17
-rw-r--r--dev-python/tinycss2/tinycss2-1.0.2.ebuild26
3 files changed, 44 insertions, 0 deletions
diff --git a/dev-python/tinycss2/Manifest b/dev-python/tinycss2/Manifest
new file mode 100644
index 000000000000..eb7f15d3df24
--- /dev/null
+++ b/dev-python/tinycss2/Manifest
@@ -0,0 +1 @@
+DIST tinycss2-1.0.2.tar.gz 57728 BLAKE2B 966af74a499b9eb696beb3aca2c832d4e07641ed61415aa85a1798e30c568932875ff69f1ccf71cde8823194ea8dfbd54226fa93e718291f09645ea60620b43d SHA512 69bdf52898f9e704c01fe5fd11170e0efc9a6aca14646f5331fc06ebbdf941f9b6c798ded7d93636c7b810b35c659750c3ece3917c5c9cef4092e3e17b382dd1
diff --git a/dev-python/tinycss2/metadata.xml b/dev-python/tinycss2/metadata.xml
new file mode 100644
index 000000000000..a5fbe7ca8479
--- /dev/null
+++ b/dev-python/tinycss2/metadata.xml
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>python@gentoo.org</email>
+ <name>Python</name>
+ </maintainer>
+ <maintainer type="person">
+ <email>titanofold@gentoo.org</email>
+ <name>Aaron W. Swenson</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="pypi">tinycss2</remote-id>
+ <remote-id type="github">Kozea/tinycss2</remote-id>
+ </upstream>
+ <origin>gentoo-staging</origin>
+</pkgmetadata>
diff --git a/dev-python/tinycss2/tinycss2-1.0.2.ebuild b/dev-python/tinycss2/tinycss2-1.0.2.ebuild
new file mode 100644
index 000000000000..754dc595f016
--- /dev/null
+++ b/dev-python/tinycss2/tinycss2-1.0.2.ebuild
@@ -0,0 +1,26 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{6,7,8} )
+
+inherit distutils-r1
+
+DESCRIPTION="A complete yet simple CSS parser for Python"
+HOMEPAGE="https://github.com/Kozea/tinycss2/ https://pypi.python.org/pypi/tinycss2/"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="amd64 x86"
+
+RDEPEND=">=dev-python/webencodings-0.4[${PYTHON_USEDEP}]"
+
+distutils_enable_tests pytest
+
+src_prepare() {
+ # junk deps
+ sed -i -e '/pytest-runner/d' -e '/^addopts/d' setup.cfg || die
+ distutils-r1_src_prepare
+}