aboutsummaryrefslogtreecommitdiffstats
path: root/community/py3-ytmusicapi/APKBUILD
blob: 3777cdf689fd29e0dc8a98b5b9c776fa44a82c01 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# Maintainer: Luca Weiss <luca@z3ntu.xyz>
pkgname=py3-ytmusicapi
_pyname=ytmusicapi
pkgver=0.18.0
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="
15cf1559c94f12609b7fe5dd9ef1221ba5933d5c8ded99cb12546ec3b58004f9cdcd2fb9c3db2dca0dd23a95f016cc56749d1fbdf79e94e927c71c503985c701  ytmusicapi-0.18.0.tar.gz
"