aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBart Ribbers <bribbers@disroot.org>2019-11-09 17:27:35 +0100
committerLeo <thinkabit.ukim@gmail.com>2019-11-09 18:48:34 -0300
commitd28cf2bfda41f38a501796b5ad8412f947a54f2a (patch)
tree9cf3e1ab6ae111ff4452b0407f272c884ee2f460
parentc275601e5afc83cc8ef4f8b6417f170192bb4ef0 (diff)
downloadaports-d28cf2bfda41f38a501796b5ad8412f947a54f2a.tar.gz
aports-d28cf2bfda41f38a501796b5ad8412f947a54f2a.tar.bz2
aports-d28cf2bfda41f38a501796b5ad8412f947a54f2a.tar.xz
community/mopidy: upgrade to 3.0.0a3
This removes the Python 2 requirement
-rw-r--r--community/mopidy/APKBUILD23
1 files changed, 11 insertions, 12 deletions
diff --git a/community/mopidy/APKBUILD b/community/mopidy/APKBUILD
index 78808b6b87..4cffcf70ad 100644
--- a/community/mopidy/APKBUILD
+++ b/community/mopidy/APKBUILD
@@ -2,18 +2,17 @@
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=mopidy
-_pkgname=Mopidy
-pkgver=2.3.1
+pkgver=3.0.0a3
pkgrel=0
pkgdesc="Mopidy is an extensible music server"
options="!check" # Requires dependency testing/py-responses
url="https://www.mopidy.com/"
arch="noarch"
license="Apache-2.0"
-depends="python py-pykka py-tornado gst-plugins-base gst-plugins-good
- gst-plugins-ugly py-gst py-setuptools py-libxml2 py-requests
- py-six"
-makedepends="python-dev py2-sphinx"
+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"
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
@@ -22,20 +21,20 @@ source="https://files.pythonhosted.org/packages/source/M/Mopidy/Mopidy-$pkgver.t
mopidy.initd
"
-builddir="$srcdir/$_pkgname-$pkgver"
+builddir="$srcdir/Mopidy-$pkgver"
pkgusers="mopidy"
pkggroups="audio"
build() {
- python2 setup.py build
+ python3 setup.py build
- make -C docs SPHINXBUILD=sphinx-build-2 man
- make -C docs SPHINXBUILD=sphinx-build-2 html
+ make -C docs SPHINXBUILD=sphinx-build man
+ make -C docs SPHINXBUILD=sphinx-build html
}
package() {
- python2 setup.py install --prefix=/usr --root="$pkgdir"
+ python3 setup.py install --prefix=/usr --root="$pkgdir"
install -Dm755 extra/mopidyctl/mopidyctl "$pkgdir/usr/bin/mopidyctl"
install -dm755 "$pkgdir/usr/share/doc/mopidy"
@@ -63,7 +62,7 @@ package() {
"$pkgdir/var/lib/mopidy/playlists"
}
-sha512sums="e7dbd9d4c86fb7b6e2d4ae8b54a2ae52f0213ae61e74c73510aadd55660f31d7e1cb8054058984f1e4747b06d34e6aba0001e4ab50176aa83de01956ae4be98d Mopidy-2.3.1.tar.gz
+sha512sums="12a70a63f610b7facdc77c230ef616928f4eec3e8eab87b7c700a7b123f22d1b56596b434575ee64d32d05f97a8028e58a1573f92c3b7c73f35f6bf2acc31708 Mopidy-3.0.0a3.tar.gz
eb66e8e826640a939b1ba51569ab7fab041b8b5e8823ea2d5f05596faf1de8882fd8c1c32bdb92534e759243fb5ff741bda0d2ebb3282af542d1287c8c68b5ea mopidy.conf
0c438058500ab7559baae21b03b10e2b80b10c77776b240b2100da1f4c84ea8efe24dc7a38a95034e75605eaf5d21604d13e5b8c7358778c555ddb6372a49388 logging.conf
8492ac223c32e4a0bb0ae64348ed0a5928cc98c0ce713eff5948b12e09860f83a9de5377117f85fd9ad54643201aadd84f68494e773aa8c1bba97fa992bd9dbe mopidy.initd"