aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--community/mopidy/APKBUILD18
1 files changed, 11 insertions, 7 deletions
diff --git a/community/mopidy/APKBUILD b/community/mopidy/APKBUILD
index 4cffcf70ad..743654c6b1 100644
--- a/community/mopidy/APKBUILD
+++ b/community/mopidy/APKBUILD
@@ -2,7 +2,7 @@
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=mopidy
-pkgver=3.0.0a3
+pkgver=3.0.1
pkgrel=0
pkgdesc="Mopidy is an extensible music server"
options="!check" # Requires dependency testing/py-responses
@@ -12,7 +12,7 @@ license="Apache-2.0"
depends="python3 py3-pykka py3-tornado gst-plugins-base gst-plugins-good
gst-plugins-ugly py3-gst py3-setuptools py3-libxml2 py3-requests
py3-six"
-makedepends="python3-dev py3-sphinx"
+makedepends="python3-dev py3-sphinx graphviz"
install="$pkgname.pre-install $pkgname.post-deinstall"
subpackages="$pkgname-doc $pkgname-openrc"
source="https://files.pythonhosted.org/packages/source/M/Mopidy/Mopidy-$pkgver.tar.gz
@@ -29,8 +29,12 @@ pkggroups="audio"
build() {
python3 setup.py build
- make -C docs SPHINXBUILD=sphinx-build man
- make -C docs SPHINXBUILD=sphinx-build html
+ python3 setup.py build_sphinx -b man
+ python3 setup.py build_sphinx -b html
+}
+
+check() {
+ python3 setup.py test
}
package() {
@@ -38,10 +42,10 @@ package() {
install -Dm755 extra/mopidyctl/mopidyctl "$pkgdir/usr/bin/mopidyctl"
install -dm755 "$pkgdir/usr/share/doc/mopidy"
- cp -r docs/_build/html "$pkgdir/usr/share/doc/mopidy"
+ cp -r build/sphinx/html "$pkgdir/usr/share/doc/mopidy"
install -dm755 "$pkgdir/usr/share/man/man1/"
- gzip -c docs/_build/man/mopidy.1 > "$pkgdir/usr/share/man/man1/mopidy.1.gz"
+ gzip -c build/sphinx/man/mopidy.1 > "$pkgdir/usr/share/man/man1/mopidy.1.gz"
install -dm755 "$pkgdir/usr/share/man/man8/"
gzip -c extra/mopidyctl/mopidyctl.8 > "$pkgdir/usr/share/man/man8/mopidyctl.8.gz"
@@ -62,7 +66,7 @@ package() {
"$pkgdir/var/lib/mopidy/playlists"
}
-sha512sums="12a70a63f610b7facdc77c230ef616928f4eec3e8eab87b7c700a7b123f22d1b56596b434575ee64d32d05f97a8028e58a1573f92c3b7c73f35f6bf2acc31708 Mopidy-3.0.0a3.tar.gz
+sha512sums="d354d0cb32ee48b0e73f1812c5a3662893f312df83e3bd3dd121cc0c6fb54cde74bfb732f3ab426e20cae4c2faf941d2d13ccdb4a7a318485601545f3bb2250c Mopidy-3.0.1.tar.gz
eb66e8e826640a939b1ba51569ab7fab041b8b5e8823ea2d5f05596faf1de8882fd8c1c32bdb92534e759243fb5ff741bda0d2ebb3282af542d1287c8c68b5ea mopidy.conf
0c438058500ab7559baae21b03b10e2b80b10c77776b240b2100da1f4c84ea8efe24dc7a38a95034e75605eaf5d21604d13e5b8c7358778c555ddb6372a49388 logging.conf
8492ac223c32e4a0bb0ae64348ed0a5928cc98c0ce713eff5948b12e09860f83a9de5377117f85fd9ad54643201aadd84f68494e773aa8c1bba97fa992bd9dbe mopidy.initd"