# Contributor: Alex McGrath # Maintainer: Alex McGrath pkgname=py3-mpv pkgver=1.0.3 pkgrel=0 pkgdesc="Python interface to the mpv media player" url="https://github.com/jaseg/python-mpv" arch="noarch" license="MIT" depends="python3 mpv-libs" makedepends=" py3-setuptools py3-gpep517 py3-installer py3-wheel " options="!check" # tests require unpackaged xvfbwrapper # release 1.0.3 has a typo where the version is vv$pkgver rather than v$pkgver source="python-mpv-$pkgver.tar.gz::https://github.com/jaseg/python-mpv/archive/vv$pkgver.tar.gz" builddir="$srcdir/python-mpv-vv$pkgver" build() { gpep517 build-wheel \ --wheel-dir dist \ --output-fd 3 3>&1 >&2 } package() { python3 -m installer -d "$pkgdir" \ dist/*.whl } sha512sums=" 1f1e3e7d89c7aef1e47a61ea73ce5f4b39081305db178fb2424b8c86613402eb6449b05e33a38bef61ad71a0f1d776df406417be48dffeadb157b960c4f4a2d9 python-mpv-1.0.3.tar.gz "