aboutsummaryrefslogtreecommitdiffstats
path: root/community/py3-ytmusicapi/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/py3-ytmusicapi/APKBUILD')
-rw-r--r--community/py3-ytmusicapi/APKBUILD24
1 files changed, 24 insertions, 0 deletions
diff --git a/community/py3-ytmusicapi/APKBUILD b/community/py3-ytmusicapi/APKBUILD
new file mode 100644
index 0000000000..38f2b4a6b7
--- /dev/null
+++ b/community/py3-ytmusicapi/APKBUILD
@@ -0,0 +1,24 @@
+# Maintainer: Luca Weiss <luca@z3ntu.xyz>
+pkgname=py3-ytmusicapi
+_pyname=ytmusicapi
+pkgver=0.15.1
+pkgrel=0
+pkgdesc="Unofficial API for YouTube Music"
+url="https://github.com/sigma67/ytmusicapi"
+arch="noarch"
+license="MIT"
+depends="py3-setuptools py3-requests"
+_pypiprefix="${_pyname%${_pyname#?}}"
+source="https://files.pythonhosted.org/packages/source/$_pypiprefix/$_pyname/$_pyname-$pkgver.tar.gz"
+builddir="$srcdir/ytmusicapi-$pkgver"
+options="!check" # tests require special auth setup
+
+build() {
+ python3 setup.py build
+}
+
+package() {
+ python3 setup.py install --prefix=/usr --root="$pkgdir"
+}
+
+sha512sums="30011710fef294abafd84f1485cf74d49876746fd954bf31ab29ca1140679a999b8fe50987c1eb109d1606f04fce24f48a7e56542c51012171d881acfca32829 ytmusicapi-0.15.1.tar.gz"