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