# Maintainer: Marcin Wieczorek # Contributor: evertonstz # Contributor: phijor _name=Mopidy-Iris pkgname=mopidy-iris pkgver=3.69.3 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-pykka>=2.0.1' 'python-setuptools') 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=('3c40179daa62cb1a338a3474e7723bcd061160b783395ef5f4bd106cedabe2be') build() { cd "${_name}-$pkgver" python -m build --wheel --no-isolation } package() { cd "${_name}-$pkgver" python -m installer --destdir="$pkgdir" dist/*.whl }