1 # Maintainer: Daniel M. Capella <polyzen@archlinux.org>
2 # Contributor: Caltlgin Stsodaat <contact@fossdaily.xyz>
3 # Contributor: Ekin Dursun <ekindursun@gmail.com>
8 pkgdesc='Python interface to the awesome mpv media player'
10 url=https://github.com/jaseg/python-mpv
11 _url_pypi=https://pypi.org/project/python-mpv
12 license=('GPL' 'LGPL')
13 depends=('mpv' 'python')
14 makedepends=('python-build' 'python-installer' 'python-setuptools'
16 checkdepends=('python-pytest' 'python-xvfbwrapper')
17 optdepends=('python-pillow: for raw screenshot support')
18 source=("https://github.com/jaseg/$pkgname/archive/v$pkgver/$pkgname-$pkgver.tar.gz")
19 b2sums=('0701147415c920be4ec65151ed7844bb36c275bcc64ae07d4ece9a515a96ba09097a8f2282eb7bbb74e8dc143d14f9a0aebdfadad53e0e9e4d62fcde734c7d17')
23 python -m build --wheel --skip-dependency-check --no-isolation
33 python -m installer --destdir="$pkgdir" dist/*.whl
34 install -Dm644 'README.rst' -t "$pkgdir"/usr/share/doc/$pkgname