11# Template file for 'mopidy'
22pkgname=mopidy
3- version=2.3 .1
4- revision=2
3+ version=3.0 .1
4+ revision=1
55archs=noarch
66wrksrc="Mopidy-${version}"
7- build_style=python2 -module
7+ build_style=python3 -module
88pycompile_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"
1010depends="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"
1212short_desc="Music server for MPD, Spotify, SoundClound and others"
1313maintainer="allan <
[email protected] >"
1414license="Apache-2.0"
1515homepage="http://www.mopidy.com"
1616changelog="https://github.com/mopidy/mopidy/raw/develop/docs/changelog.rst"
1717distfiles="${PYPI_SITE}/M/Mopidy/Mopidy-${version}.tar.gz"
18- checksum=d1ee47fd91ae7ce2bf99cf85ed9108ac48c3fb5f29b31c7fbe94fac45c6e4a0b
18+ checksum=7931ca61028e135834df1af22a01029b24f3c2455625f3da84a1a05b5c313ef3
1919
2020conf_files="/etc/mopidy/*.conf"
2121system_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