aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py-mopidy-mopify/APKBUILD
blob: f15d3c64fd1a6e8a55109d2f08d5551cf0b80cd7 (plain) (blame)
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-mopidy-mopify
pkgver=1.3.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://files.pythonhosted.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="62921f95197ff8902f269220b22fffdf  Mopidy-Mopify-1.3.2.tar.gz"
sha256sums="60bd41567b1d82ad03f434543b73652eb845f20c7c66fdf06eda117d41233a27  Mopidy-Mopify-1.3.2.tar.gz"
sha512sums="b52609c1bdf6e86108a7e1ebed01a78a9d4a32c66e525698ecd2f86e3e041862337df13a20044c11138c8083ad4170fc80cb8a7daece079501cf9636bb4b4b5f  Mopidy-Mopify-1.3.2.tar.gz"