# Contributor: Carlo Landmeter # Maintainer: pkgname=py-mopidy-moped pkgver=0.4.2 pkgrel=0 pkgdesc="Responsive Web client for Mopidy" url="https://github.com/martijnboland/moped" arch="noarch" license="Apache" depends="python mopidy" depends_dev="" makedepends="python-dev py-setuptools" install="" subpackages="" source="https://pypi.python.org/packages/source/M/Mopidy-Moped/Mopidy-Moped-$pkgver.tar.gz" _builddir="$srcdir"/Mopidy-Moped-$pkgver prepare() { local i cd "$_builddir" for i in $source; do case $i in *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; esac done } build() { cd "$_builddir" python setup.py build || return 1 } package() { cd "$_builddir" python setup.py install --prefix=/usr --root="$pkgdir" || return 1 } md5sums="b58c1aed8052b3982d11474a4d3918fd Mopidy-Moped-0.4.2.tar.gz" sha256sums="0fcbbe90b28b1a6e39bceb74e0b16c9bc4c645a2e8b9ed4ed9de394c775ea40f Mopidy-Moped-0.4.2.tar.gz" sha512sums="edf5df3cc4a8c31e5d9907a87e48a2ce5b10c856a0bb445ff90d48113db00902719d8f2f0f0afed671b795eb75c8cd7752776ecc114f776f39cd09309ffa754e Mopidy-Moped-0.4.2.tar.gz"