aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py-mopidy-mopify/APKBUILD
blob: 507c6c595f5e47b4a2e78812ec71f372c1b9b19d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer:
pkgname=py-py-mopidy-mopify
pkgver=1.1.2
pkgrel=0
pkgdesc="a full music experience web client for Mopidy"
url="https://github.com/martijnboland/mopidy-mopify"
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-Mopify/Mopidy-Mopify-$pkgver.tar.gz"

_builddir="$srcdir"/Mopidy-Mopify-$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="c050bbc9255684e2082f09de231adc38  Mopidy-Mopify-1.1.2.tar.gz"
sha256sums="641e81e7ee09560b08f67793b89efe62ee84f183a99d5ad92b3b219d018ed4d2  Mopidy-Mopify-1.1.2.tar.gz"
sha512sums="d4874cdbeeb6584d46f24209f1f3f9efb503b2b1af3975c854afc7a45b4a7b60aafad1a09c6a10bf8b3424a727214a5ff436903a64f742a9fc78adc7a1f6b715  Mopidy-Mopify-1.1.2.tar.gz"