aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py-mopidy-spotify
diff options
context:
space:
mode:
authorCarlo Landmeter <clandmeter@gmail.com>2015-01-09 12:06:07 +0100
committerCarlo Landmeter <clandmeter@gmail.com>2015-01-09 12:06:07 +0100
commitb49e2ef3cd7d6383cfed49b3b4b4fbf7b63c4283 (patch)
tree5976f3987384cea3176a31a6e2440158531df4a1 /testing/py-mopidy-spotify
parentaad0f307be1454130624c8befe32266025b1623a (diff)
downloadaports-b49e2ef3cd7d6383cfed49b3b4b4fbf7b63c4283.tar.bz2
aports-b49e2ef3cd7d6383cfed49b3b4b4fbf7b63c4283.tar.xz
testing/py-mopidy-spotify: new aport
Diffstat (limited to 'testing/py-mopidy-spotify')
-rw-r--r--testing/py-mopidy-spotify/APKBUILD41
1 files changed, 41 insertions, 0 deletions
diff --git a/testing/py-mopidy-spotify/APKBUILD b/testing/py-mopidy-spotify/APKBUILD
new file mode 100644
index 0000000000..cc009e5cf5
--- /dev/null
+++ b/testing/py-mopidy-spotify/APKBUILD
@@ -0,0 +1,41 @@
+# Contributor: Carlo Landmeter <clandmeter@gmail.com>
+# Maintainer:
+pkgname=py-mopidy-spotify
+pkgver=1.2.0
+pkgrel=0
+pkgdesc="Mopidy extension for playing music from Spotify"
+url="https://github.com/mopidy/mopidy-spotify"
+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-Spotify/Mopidy-Spotify-$pkgver.tar.gz"
+
+_builddir="$srcdir"/Mopidy-Spotify-$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="03fec138e5d96e6254ecefea46561fec Mopidy-Spotify-1.2.0.tar.gz"
+sha256sums="b677f20b63a37c0dc1c7a4fa635f6c2ff853a60a65bddebfae08dc1b4cd748cc Mopidy-Spotify-1.2.0.tar.gz"
+sha512sums="1a2d9201d1c1493a9ac1d067848e15cb7d05b0141877a7ccc6b07419c63fa56632c7101a2c94edbc5f37bf64576aa5060b81d23eaab8bcd504d0be05283b93e5 Mopidy-Spotify-1.2.0.tar.gz"