diff options
author | Carlo Landmeter <clandmeter@gmail.com> | 2014-10-16 13:38:45 +0200 |
---|---|---|
committer | Carlo Landmeter <clandmeter@gmail.com> | 2014-10-16 13:40:49 +0200 |
commit | 7164e3df17e48a936609a11b2d49607fb4b60c6e (patch) | |
tree | 0e5ce314ff29e14a1c04cef488782f7716fd41c2 /testing/py-mopidy-beets | |
parent | 772054f88564d4a37251506380e99263b877eb79 (diff) | |
download | aports-7164e3df17e48a936609a11b2d49607fb4b60c6e.tar.bz2 aports-7164e3df17e48a936609a11b2d49607fb4b60c6e.tar.xz |
testing/py-mopidy-beets: new aport
Diffstat (limited to 'testing/py-mopidy-beets')
-rw-r--r-- | testing/py-mopidy-beets/APKBUILD | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/testing/py-mopidy-beets/APKBUILD b/testing/py-mopidy-beets/APKBUILD new file mode 100644 index 0000000000..af6c39acb7 --- /dev/null +++ b/testing/py-mopidy-beets/APKBUILD @@ -0,0 +1,40 @@ +# Contributor: Carlo Landmeter <clandmeter@gmail.com> +# Maintainer: +pkgname=py-mopidy-beets +pkgver=1.1.0 +pkgrel=0 +pkgdesc="Mopidy extension for playing music from a Beets collection" +url="http://www.mopidy.com/" +arch="noarch" +license="Apache" +depends="python mopidy py-setuptools py-pykka py-requests" +depends_dev="" +makedepends="python-dev" +install="" +subpackages="" +source="https://pypi.python.org/packages/source/M/Mopidy-Beets/Mopidy-Beets-$pkgver.tar.gz" + +_builddir="$srcdir"/Mopidy-Beets-$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="4a16dd96e14546c65ebaa7428179e45e Mopidy-Beets-1.1.0.tar.gz" +sha256sums="614ca2cf0b0cb8dfa1e2c254c8f338d8481d84ea146e722b1711ee2b5cacce12 Mopidy-Beets-1.1.0.tar.gz" +sha512sums="c746297600a4b4f15a5a916c7cc7149903715fb74d4868b3758f92fff3a02987bd93ffaed9a218be39e42284c8c9e6dfb44a7bd5493c3dfb3f81fac2a14f3cd2 Mopidy-Beets-1.1.0.tar.gz" |