summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--user/py3-tinycss2/APKBUILD27
1 files changed, 27 insertions, 0 deletions
diff --git a/user/py3-tinycss2/APKBUILD b/user/py3-tinycss2/APKBUILD
new file mode 100644
index 000000000..94360b225
--- /dev/null
+++ b/user/py3-tinycss2/APKBUILD
@@ -0,0 +1,27 @@
+# Contributor: Kiyoshi Aman <adelie@aerdan.vulpine.house>
+# Maintainer: Kiyoshi Aman <adelie@aerdan.vulpine.house>
+pkgname=py3-tinycss2
+pkgver=1.0.2
+pkgrel=0
+pkgdesc="Low-level CSS parser for Python"
+url="https://tinycss2.readthedocs.io/en/latest/"
+arch="noarch"
+license="BSD-3-Clause"
+depends="python3"
+makedepends=""
+source="py3-tinycss2-$pkgver.tar.gz::https://github.com/Kozea/tinycss2/archive/v$pkgver.tar.gz"
+builddir="$srcdir/tinycss2-$pkgver"
+
+build() {
+ python3 setup.py build
+}
+
+check() {
+ python3 setup.py check
+}
+
+package() {
+ python3 setup.py install --prefix=/usr --root="$pkgdir"
+}
+
+sha512sums="a53fb4d68d031da35505e92f7a6eb7d0237fac3d4e9ad6ef1416ab515ec0dffa4557c07e03efb918793e862ffae3aa56371a6c371cab4758edbcc951001ec643 py3-tinycss2-1.0.2.tar.gz"