Skip to content

Commit bb741bb

Browse files
author
Reed Wade
committed
mopidy: update to 3.0.1
1 parent 2aa6196 commit bb741bb

File tree

1 file changed

+11
-10
lines changed

1 file changed

+11
-10
lines changed

srcpkgs/mopidy/template

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
11
# Template file for 'mopidy'
22
pkgname=mopidy
3-
version=2.3.1
4-
revision=2
3+
version=3.0.1
4+
revision=1
55
archs=noarch
66
wrksrc="Mopidy-${version}"
7-
build_style=python2-module
7+
build_style=python3-module
88
pycompile_module=mopidy
9-
hostmakedepends="python-setuptools python-Sphinx python-sphinx_rtd_theme python-pykka"
9+
hostmakedepends="python3-setuptools python3-Sphinx python3-sphinx_rtd_theme python-pykka"
1010
depends="gst1-python gst-plugins-good1 gst-plugins-ugly1 gst-plugins-bad1
11-
python-futures python-tornado python-pykka python-setuptools python-requests"
11+
python3-tornado python-pykka python3-setuptools python3-requests"
1212
short_desc="Music server for MPD, Spotify, SoundClound and others"
1313
maintainer="allan <[email protected]>"
1414
license="Apache-2.0"
1515
homepage="http://www.mopidy.com"
1616
changelog="https://github.com/mopidy/mopidy/raw/develop/docs/changelog.rst"
1717
distfiles="${PYPI_SITE}/M/Mopidy/Mopidy-${version}.tar.gz"
18-
checksum=d1ee47fd91ae7ce2bf99cf85ed9108ac48c3fb5f29b31c7fbe94fac45c6e4a0b
18+
checksum=7931ca61028e135834df1af22a01029b24f3c2455625f3da84a1a05b5c313ef3
1919

2020
conf_files="/etc/mopidy/*.conf"
2121
system_accounts="mopidy"
@@ -30,11 +30,12 @@ post_install() {
3030
vcopy extra/desktop/mopidy.desktop usr/share/applications/
3131
vbin extra/mopidyctl/mopidyctl
3232
vman extra/mopidyctl/mopidyctl.8
33-
make -C docs man
34-
vman docs/_build/man/mopidy.1
35-
make -C docs html
33+
python3 setup.py build
34+
python3 setup.py build_sphinx -b man
35+
python3 setup.py build_sphinx -b html
36+
vman build/sphinx/man/mopidy.1
3637
vmkdir usr/share/doc/mopidy/
37-
cp -r docs/_build/html/* ${DESTDIR}/usr/share/doc/mopidy/
38+
cp -r build/sphinx/html/* ${DESTDIR}/usr/share/doc/mopidy/
3839
vinstall ${FILESDIR}/mopidy.conf 644 etc/mopidy/
3940
vinstall ${FILESDIR}/logging.conf 644 etc/mopidy/
4041
vsv mopidy

0 commit comments

Comments
 (0)