diff options
Diffstat (limited to 'community/mopidy/APKBUILD')
-rw-r--r-- | community/mopidy/APKBUILD | 32 |
1 files changed, 13 insertions, 19 deletions
diff --git a/community/mopidy/APKBUILD b/community/mopidy/APKBUILD index 8be4c38af0a..de1391587f9 100644 --- a/community/mopidy/APKBUILD +++ b/community/mopidy/APKBUILD @@ -4,11 +4,11 @@ # Contributor: Galen Abell <galen@galenabell.com> # Maintainer: Bart Ribbers <bribbers@disroot.org> pkgname=mopidy -pkgver=3.2.0 -pkgrel=3 +pkgver=3.4.2 +pkgrel=2 pkgdesc="Mopidy is an extensible music server" url="https://www.mopidy.com/" -arch="all" +arch="noarch" license="Apache-2.0" depends=" gst-plugins-base @@ -20,9 +20,7 @@ depends=" py3-pykka py3-requests py3-setuptools - py3-six py3-tornado - python3 " makedepends=" graphviz @@ -35,7 +33,7 @@ checkdepends=" py3-responses " install="$pkgname.pre-install" -subpackages="$pkgname-doc $pkgname-openrc" +subpackages="$pkgname-doc $pkgname-openrc $pkgname-pyc" source="https://github.com/mopidy/mopidy/archive/v$pkgver/mopidy-v$pkgver.tar.gz mopidy.conf logging.conf @@ -45,26 +43,22 @@ source="https://github.com/mopidy/mopidy/archive/v$pkgver/mopidy-v$pkgver.tar.gz pkgusers="mopidy" pkggroups="audio" -case "$CARCH" in - # Tests failing on 32-bit -# x86|arm*) options="!check" ;; - # Tests hang builder after completion - x86_64) options="!check" ;; -esac - build() { python3 setup.py build - - python3 setup.py build_sphinx -b man - python3 setup.py build_sphinx -b html + make -C docs BUILDDIR="$PWD/build/sphinx" html man } check() { - pytest + # test_help: circular import + # test_playback: gets wrong length for song + pytest \ + --ignore tests/test_help.py \ + --ignore tests/stream/test_playback.py \ + -k 'not test_duration_is_set' } package() { - python3 setup.py install --prefix=/usr --root="$pkgdir" + python3 setup.py install --skip-build --root="$pkgdir" install -Dm755 extra/mopidyctl/mopidyctl "$pkgdir/usr/bin/mopidyctl" install -Dm644 extra/desktop/mopidy.desktop -t "$pkgdir"/usr/share/applications @@ -94,7 +88,7 @@ package() { } sha512sums=" -cbca5c2f6784754c06f9f6fd80aa0379b606ed4a52f31dfa27c165869cf65171b6203f683ee1150319ab51feae45dadaaa338e22d26af3511cdf56e8f3d81145 mopidy-v3.2.0.tar.gz +3c6a8ca328377176f4a985741d306e0d544d194d7f6fdb4cb115b1b61fa70644f9c3c7086eb45e6ca49feb8b6210a96386ca83c18f48bdba53963fc7fcf38883 mopidy-v3.4.2.tar.gz eb66e8e826640a939b1ba51569ab7fab041b8b5e8823ea2d5f05596faf1de8882fd8c1c32bdb92534e759243fb5ff741bda0d2ebb3282af542d1287c8c68b5ea mopidy.conf 0c438058500ab7559baae21b03b10e2b80b10c77776b240b2100da1f4c84ea8efe24dc7a38a95034e75605eaf5d21604d13e5b8c7358778c555ddb6372a49388 logging.conf 8492ac223c32e4a0bb0ae64348ed0a5928cc98c0ce713eff5948b12e09860f83a9de5377117f85fd9ad54643201aadd84f68494e773aa8c1bba97fa992bd9dbe mopidy.initd |