# Maintainer: Luca Weiss pkgname=py3-ytmusicapi pkgver=1.1.1 pkgrel=0 pkgdesc="Unofficial API for YouTube Music" url="https://github.com/sigma67/ytmusicapi" arch="noarch" license="MIT" depends="py3-setuptools py3-requests" makedepends="py3-setuptools_scm py3-gpep517 py3-installer py3-wheel" subpackages="$pkgname-pyc" source="https://files.pythonhosted.org/packages/source/y/ytmusicapi/ytmusicapi-$pkgver.tar.gz" builddir="$srcdir/ytmusicapi-$pkgver" options="!check" # tests require special auth setup build() { export SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver gpep517 build-wheel \ --wheel-dir .dist \ --output-fd 3 3>&1 >&2 } package() { python3 -m installer -d "$pkgdir" \ .dist/ytmusicapi-$pkgver-*.whl } sha512sums=" f65f568d7837cca06b9e1827d39cbb281adf4c9bbf9c1e1030e320ccaac9df00a343bdfa7036807cea57d205b3501551bed37f71e4c33e7cc5a898412ef9e564 ytmusicapi-1.1.1.tar.gz "