# Maintainer: Marcin Wieczorek # Contributor: evertonstz # Contributor: phijor _name=Mopidy-Iris pkgname=mopidy-iris pkgver=3.65.0 pkgrel=1 pkgdesc='A Mopidy Web client that utilizes the Spotify and EchoNest frameworks. (Formerly Spotmop)' arch=('any') url="https://github.com/jaedb/iris" license=('APACHE') depends=('mopidy>=3' 'python-configobj' 'python-pylast') makedepends=('python-build' 'python-installer' 'python-wheel') optdepends=('mopidy-local: local library support' 'mopidy-spotify: spotify support') source=("${_name}-${pkgver}.tar.gz::https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz") sha256sums=('800ebe9e922d8c6d632080d2d4cbdade39d18ceb8eeda5fd4328facf7d52ab42') build() { cd "${_name}-$pkgver" python -m build --wheel --no-isolation } package() { cd "${_name}-$pkgver" python -m installer --destdir="$pkgdir" dist/*.whl }