Date: Sunday, April 30, 2023 @ 05:15:31 Author: polyzen Revision: 1454967
archrelease: copy trunk to community-testing-any Added: mopidy/repos/community-testing-any/PKGBUILD (from rev 1454963, mopidy/trunk/PKGBUILD) mopidy/repos/community-testing-any/logging.conf (from rev 1454963, mopidy/trunk/logging.conf) mopidy/repos/community-testing-any/mopidy.conf (from rev 1454963, mopidy/trunk/mopidy.conf) mopidy/repos/community-testing-any/mopidy.sysusers (from rev 1454964, mopidy/trunk/mopidy.sysusers) Deleted: mopidy/repos/community-testing-any/PKGBUILD mopidy/repos/community-testing-any/logging.conf mopidy/repos/community-testing-any/mopidy.conf mopidy/repos/community-testing-any/mopidy.sysusers -----------------+ PKGBUILD | 163 ++++++++++++++++++++++++++---------------------------- logging.conf | 42 ++++++------- mopidy.conf | 30 ++++----- mopidy.sysusers | 4 - 4 files changed, 119 insertions(+), 120 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2023-04-30 05:15:28 UTC (rev 1454966) +++ PKGBUILD 2023-04-30 05:15:31 UTC (rev 1454967) @@ -1,82 +0,0 @@ -# Maintainer: Morten Linderud <foxbo...@archlinux.org> -# Contributor: Sven-Hendrik Haase <s...@lutzhaase.com> -# Contributor: Alexandre Petitjean <alpetitjean at gmail dot com> - -pkgname=mopidy -pkgver=3.4.1 -pkgrel=2 -pkgdesc="An extensible music server written in Python" -arch=('any') -url="https://www.mopidy.com" -license=('APACHE') -depends=('python' 'python-pykka' 'python-requests' 'gstreamer' 'python-setuptools' - 'gst-python' 'gst-plugins-good' 'gst-plugins-ugly' 'python-tornado' 'gst-plugins-base' - 'python-dbus') -checkdepends=('python-gobject' 'python-pytest' 'python-responses') -makedepends=('python-sphinx' 'python-sphinx_rtd_theme' 'git') -backup=('etc/mopidy/mopidy.conf') -source=("$pkgname-$pkgver.tar.gz::https://github.com/mopidy/mopidy/archive/v${pkgver}.tar.gz" - 'mopidy.conf' - 'logging.conf' - 'mopidy.sysusers' - "$pkgname-$pkgver-doc-py311.patch::https://github.com/mopidy/mopidy/commit/1b7330884b996e13944e9680b0c0d01f4907b6b5.patch" - "$pkgname-$pkgver-audio-fix.patch::https://github.com/mopidy/mopidy/commit/1b7d81ad3d8227659ca1b7e0d6bf5f7859ad664a.patch" - ) -sha512sums=('cb3271f106303415b65e4b4248995235bd16a5b795f4575206d3fd08aceb5d2e2df4c323eb84df8e50cb3785d94a258633650ebc5a5916f3dcc66dfe69f249d6' - 'eb66e8e826640a939b1ba51569ab7fab041b8b5e8823ea2d5f05596faf1de8882fd8c1c32bdb92534e759243fb5ff741bda0d2ebb3282af542d1287c8c68b5ea' - '0c438058500ab7559baae21b03b10e2b80b10c77776b240b2100da1f4c84ea8efe24dc7a38a95034e75605eaf5d21604d13e5b8c7358778c555ddb6372a49388' - 'ff6c9f0406dfc1cc01ac6edcc6bae429342437397321ab9205ca273a63b28611d08005a0a5dba639b5ae2157a4f03a1d58c2199f7dbc6965864685b4b71f0b6f' - '212ad0a84e3cb36a576cd4c15b1fa00a9b0fc62db20ade61ee92df5c914a67dd038f89337e61e8bf2c4e03547e071f10d257168d04ddf5b81cc9a692088f5ddf' - '852730959d4270cd0fa74738eb1b786ec38ad5d865fbd1532cec77f51990840cecb0548c003d77d145e68313469da7228d94e05e265d92a8dc17c1031c1fd14e') - -prepare() { - cd "${pkgname}-${pkgver}" - git apply "$srcdir/mopidy-3.4.1-doc-py311.patch" - git apply "$srcdir/mopidy-3.4.1-audio-fix.patch" -} - -build() { - cd ${pkgname}-${pkgver} - python setup.py build - python setup.py build_sphinx -b man - python setup.py build_sphinx -b html -} - -check() { - cd ${pkgname}-${pkgver} - python -m unittest discover -vs . -} - -package() { - cd ${pkgname}-${pkgver} - python setup.py install --root="${pkgdir}/" --optimize=1 - - install -Dm755 extra/mopidyctl/mopidyctl "${pkgdir}/usr/bin/mopidyctl" - - install -dm755 "${pkgdir}/usr/share/doc/mopidy" - cp -r build/sphinx/html "${pkgdir}/usr/share/doc/mopidy" - - install -dm755 "${pkgdir}/usr/share/man/man1/" - gzip -n -c build/sphinx/man/mopidy.1 > "${pkgdir}/usr/share/man/man1/mopidy.1.gz" - - install -dm755 "${pkgdir}/usr/share/man/man8/" - gzip -n -c extra/mopidyctl/mopidyctl.8 > "${pkgdir}/usr/share/man/man8/mopidyctl.8.gz" - - install -Dm644 "${srcdir}/mopidy.conf" "${pkgdir}/etc/mopidy/mopidy.conf" - install -Dm644 "${srcdir}/logging.conf" "${pkgdir}/etc/mopidy/logging.conf" - - install -Dm644 "extra/systemd/mopidy.service" "${pkgdir}/usr/lib/systemd/system/mopidy.service" - install -Dm644 "extra/desktop/mopidy.desktop" "${pkgdir}/usr/share/applications/mopidy.desktop" - - install -dm755 -g 46 -o 46 "${pkgdir}/var/cache/mopidy" - install -dm755 -g 46 -o 46 "${pkgdir}/var/log/mopidy" - install -dm755 -g 46 -o 46 "${pkgdir}/var/lib/mopidy" - install -dm755 -g 46 -o 46 "${pkgdir}/var/lib/mopidy/local" - install -dm755 -g 46 -o 46 "${pkgdir}/var/lib/mopidy/media" - install -dm755 -g 46 -o 46 "${pkgdir}/var/lib/mopidy/playlists" - - install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" - install -Dm644 "${srcdir}/mopidy.sysusers" "${pkgdir}/usr/lib/sysusers.d/$pkgname.conf" -} - -# vim:set ts=2 sw=2 et: Copied: mopidy/repos/community-testing-any/PKGBUILD (from rev 1454963, mopidy/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2023-04-30 05:15:31 UTC (rev 1454967) @@ -0,0 +1,81 @@ +# Maintainer: Morten Linderud <foxbo...@archlinux.org> +# Contributor: Sven-Hendrik Haase <s...@lutzhaase.com> +# Contributor: Alexandre Petitjean <alpetitjean at gmail dot com> + +pkgname=mopidy +pkgver=3.4.1 +pkgrel=3 +pkgdesc="An extensible music server written in Python" +arch=('any') +url="https://www.mopidy.com" +license=('APACHE') +depends=('python' 'python-pykka' 'python-requests' 'gstreamer' 'python-setuptools' + 'gst-python' 'gst-plugins-good' 'gst-plugins-ugly' 'python-tornado' 'gst-plugins-base' + 'python-dbus') +checkdepends=('python-gobject' 'python-pytest' 'python-responses') +makedepends=('python-sphinx' 'python-sphinx_rtd_theme' 'git') +backup=('etc/mopidy/mopidy.conf') +source=("$pkgname-$pkgver.tar.gz::https://github.com/mopidy/mopidy/archive/v${pkgver}.tar.gz" + 'mopidy.conf' + 'logging.conf' + 'mopidy.sysusers' + "$pkgname-$pkgver-doc-py311.patch::https://github.com/mopidy/mopidy/commit/1b7330884b996e13944e9680b0c0d01f4907b6b5.patch" + "$pkgname-$pkgver-audio-fix.patch::https://github.com/mopidy/mopidy/commit/1b7d81ad3d8227659ca1b7e0d6bf5f7859ad664a.patch" + ) +sha512sums=('cb3271f106303415b65e4b4248995235bd16a5b795f4575206d3fd08aceb5d2e2df4c323eb84df8e50cb3785d94a258633650ebc5a5916f3dcc66dfe69f249d6' + 'eb66e8e826640a939b1ba51569ab7fab041b8b5e8823ea2d5f05596faf1de8882fd8c1c32bdb92534e759243fb5ff741bda0d2ebb3282af542d1287c8c68b5ea' + '0c438058500ab7559baae21b03b10e2b80b10c77776b240b2100da1f4c84ea8efe24dc7a38a95034e75605eaf5d21604d13e5b8c7358778c555ddb6372a49388' + 'ff6c9f0406dfc1cc01ac6edcc6bae429342437397321ab9205ca273a63b28611d08005a0a5dba639b5ae2157a4f03a1d58c2199f7dbc6965864685b4b71f0b6f' + '212ad0a84e3cb36a576cd4c15b1fa00a9b0fc62db20ade61ee92df5c914a67dd038f89337e61e8bf2c4e03547e071f10d257168d04ddf5b81cc9a692088f5ddf' + '852730959d4270cd0fa74738eb1b786ec38ad5d865fbd1532cec77f51990840cecb0548c003d77d145e68313469da7228d94e05e265d92a8dc17c1031c1fd14e') + +prepare() { + cd "${pkgname}-${pkgver}" + git apply "$srcdir/mopidy-3.4.1-doc-py311.patch" + git apply "$srcdir/mopidy-3.4.1-audio-fix.patch" +} + +build() { + cd ${pkgname}-${pkgver} + python setup.py build + make -C docs html man +} + +check() { + cd ${pkgname}-${pkgver} + python -m unittest discover -vs . +} + +package() { + cd ${pkgname}-${pkgver} + python setup.py install --root="${pkgdir}/" --optimize=1 + + 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" + + install -dm755 "${pkgdir}/usr/share/man/man1/" + gzip -n -c docs/_build/man/mopidy.1 > "${pkgdir}/usr/share/man/man1/mopidy.1.gz" + + install -dm755 "${pkgdir}/usr/share/man/man8/" + gzip -n -c extra/mopidyctl/mopidyctl.8 > "${pkgdir}/usr/share/man/man8/mopidyctl.8.gz" + + install -Dm644 "${srcdir}/mopidy.conf" "${pkgdir}/etc/mopidy/mopidy.conf" + install -Dm644 "${srcdir}/logging.conf" "${pkgdir}/etc/mopidy/logging.conf" + + install -Dm644 "extra/systemd/mopidy.service" "${pkgdir}/usr/lib/systemd/system/mopidy.service" + install -Dm644 "extra/desktop/mopidy.desktop" "${pkgdir}/usr/share/applications/mopidy.desktop" + + install -dm755 -g 46 -o 46 "${pkgdir}/var/cache/mopidy" + install -dm755 -g 46 -o 46 "${pkgdir}/var/log/mopidy" + install -dm755 -g 46 -o 46 "${pkgdir}/var/lib/mopidy" + install -dm755 -g 46 -o 46 "${pkgdir}/var/lib/mopidy/local" + install -dm755 -g 46 -o 46 "${pkgdir}/var/lib/mopidy/media" + install -dm755 -g 46 -o 46 "${pkgdir}/var/lib/mopidy/playlists" + + install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" + install -Dm644 "${srcdir}/mopidy.sysusers" "${pkgdir}/usr/lib/sysusers.d/$pkgname.conf" +} + +# vim:set ts=2 sw=2 et: Deleted: logging.conf =================================================================== --- logging.conf 2023-04-30 05:15:28 UTC (rev 1454966) +++ logging.conf 2023-04-30 05:15:31 UTC (rev 1454967) @@ -1,21 +0,0 @@ -[loggers] -keys = root - -[handlers] -keys = fileHandler - -[formatters] -keys = simpleFormatter - -[logger_root] -handlers = fileHandler - -[handler_fileHandler] -class = FileHandler -formatter = simpleFormatter -level = INFO -args = ('/var/log/mopidy/mopidy.log',) - -[formatter_simpleFormatter] -format = %(asctime)s %(levelname)s [%(process)d:%(threadName)s] %(name)s: %(message)s -datefmt = Copied: mopidy/repos/community-testing-any/logging.conf (from rev 1454963, mopidy/trunk/logging.conf) =================================================================== --- logging.conf (rev 0) +++ logging.conf 2023-04-30 05:15:31 UTC (rev 1454967) @@ -0,0 +1,21 @@ +[loggers] +keys = root + +[handlers] +keys = fileHandler + +[formatters] +keys = simpleFormatter + +[logger_root] +handlers = fileHandler + +[handler_fileHandler] +class = FileHandler +formatter = simpleFormatter +level = INFO +args = ('/var/log/mopidy/mopidy.log',) + +[formatter_simpleFormatter] +format = %(asctime)s %(levelname)s [%(process)d:%(threadName)s] %(name)s: %(message)s +datefmt = Deleted: mopidy.conf =================================================================== --- mopidy.conf 2023-04-30 05:15:28 UTC (rev 1454966) +++ mopidy.conf 2023-04-30 05:15:31 UTC (rev 1454967) @@ -1,15 +0,0 @@ -[core] -cache_dir = /var/cache/mopidy -config_dir = /etc/mopidy -data_dir = /var/lib/mopidy - -[logging] -config_file = /etc/mopidy/logging.conf -debug_file = /var/log/mopidy/mopidy-debug.log - -[local] -data_dir = /var/lib/mopidy/local -media_dir = /var/lib/mopidy/media - -[m3u] -playlists_dir = /var/lib/mopidy/playlists Copied: mopidy/repos/community-testing-any/mopidy.conf (from rev 1454963, mopidy/trunk/mopidy.conf) =================================================================== --- mopidy.conf (rev 0) +++ mopidy.conf 2023-04-30 05:15:31 UTC (rev 1454967) @@ -0,0 +1,15 @@ +[core] +cache_dir = /var/cache/mopidy +config_dir = /etc/mopidy +data_dir = /var/lib/mopidy + +[logging] +config_file = /etc/mopidy/logging.conf +debug_file = /var/log/mopidy/mopidy-debug.log + +[local] +data_dir = /var/lib/mopidy/local +media_dir = /var/lib/mopidy/media + +[m3u] +playlists_dir = /var/lib/mopidy/playlists Deleted: mopidy.sysusers =================================================================== --- mopidy.sysusers 2023-04-30 05:15:28 UTC (rev 1454966) +++ mopidy.sysusers 2023-04-30 05:15:31 UTC (rev 1454967) @@ -1,2 +0,0 @@ -u mopidy 46 "Mopidy User" /var/lib/mopidy -m mopidy audio Copied: mopidy/repos/community-testing-any/mopidy.sysusers (from rev 1454964, mopidy/trunk/mopidy.sysusers) =================================================================== --- mopidy.sysusers (rev 0) +++ mopidy.sysusers 2023-04-30 05:15:31 UTC (rev 1454967) @@ -0,0 +1,2 @@ +u mopidy 46 "Mopidy User" /var/lib/mopidy +m mopidy audio