Date: Tuesday, August 11, 2015 @ 03:50:54 Author: svenstaro Revision: 138185
archrelease: copy trunk to community-any Added: mopidy/repos/community-any/PKGBUILD (from rev 138184, mopidy/trunk/PKGBUILD) mopidy/repos/community-any/logging.conf (from rev 138184, mopidy/trunk/logging.conf) mopidy/repos/community-any/mopidy.conf (from rev 138184, mopidy/trunk/mopidy.conf) mopidy/repos/community-any/mopidy.install (from rev 138184, mopidy/trunk/mopidy.install) Deleted: mopidy/repos/community-any/PKGBUILD mopidy/repos/community-any/mopidy.conf mopidy/repos/community-any/mopidy.install ----------------+ PKGBUILD | 143 ++++++++++++++++++++++++++++--------------------------- logging.conf | 21 ++++++++ mopidy.conf | 30 +++++------ mopidy.install | 16 +++--- 4 files changed, 117 insertions(+), 93 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2015-08-11 01:50:49 UTC (rev 138184) +++ PKGBUILD 2015-08-11 01:50:54 UTC (rev 138185) @@ -1,70 +0,0 @@ -# Maintainer: Sven-Hendrik Haase <s...@lutzhaase.com> -# Contributor: Alexandre Petitjean <alpetitjean at gmail dot com> - -pkgname=mopidy -pkgver=1.1.0 -pkgrel=2 -pkgdesc="Mopidy is an extensible music server written in Python" -arch=('any') -url="http://www.mopidy.com" -license=('APACHE') -depends=('python2' - 'python2-pykka>=1.1' - 'python2-setuptools' - 'python2-requests' - 'gstreamer0.10-python' - 'gstreamer0.10-base-plugins' - 'gstreamer0.10-good-plugins' - 'gstreamer0.10-ugly-plugins' - 'python2-tornado>=2.3') -optdepends=('mopidy-spotify: Spotify backend' - 'mopidy-scrobbler: Last.FM scrobbler' - 'mopidy-mopify: Web client with Spotify-inspired interface' - 'mopidy-soundcloud: Soundcloud backend') -makedepends=('python2-sphinx') -backup=('etc/mopidy/mopidy.conf') -install=$pkgname.install -source=("https://github.com/mopidy/mopidy/archive/v${pkgver}.tar.gz" - 'mopidy.conf') -md5sums=('c64266a7cbd2d1ccac08552c74a795a9' - '5e3c3308a75241b2f7ea5647287ca70c') - -build() { - cd "${srcdir}/${pkgname}-${pkgver}" - - make -C docs SPHINXBUILD=sphinx-build2 man - make -C docs SPHINXBUILD=sphinx-build2 html -} - -package() { - cd "${srcdir}/${pkgname}-${pkgver}" - python2 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 -c docs/_build/man/mopidy.1 > "${pkgdir}/usr/share/man/man1/mopidy.1.gz" - - install -dm755 "${pkgdir}/usr/share/man/man8/" - gzip -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 "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 "${pkgdir}/etc/mopidy/extensions.d" - - 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/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" -} - -# vim:set ts=2 sw=2 et: Copied: mopidy/repos/community-any/PKGBUILD (from rev 138184, mopidy/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2015-08-11 01:50:54 UTC (rev 138185) @@ -0,0 +1,73 @@ +# Maintainer: Sven-Hendrik Haase <s...@lutzhaase.com> +# Contributor: Alexandre Petitjean <alpetitjean at gmail dot com> + +pkgname=mopidy +pkgver=1.1.0 +pkgrel=3 +pkgdesc="Mopidy is an extensible music server written in Python" +arch=('any') +url="http://www.mopidy.com" +license=('APACHE') +depends=('python2' + 'python2-pykka>=1.1' + 'python2-setuptools' + 'python2-requests' + 'gstreamer0.10-python' + 'gstreamer0.10-base-plugins' + 'gstreamer0.10-good-plugins' + 'gstreamer0.10-ugly-plugins' + 'python2-tornado>=2.3') +optdepends=('mopidy-spotify: Spotify backend' + 'mopidy-scrobbler: Last.FM scrobbler' + 'mopidy-mopify: Web client with Spotify-inspired interface' + 'mopidy-soundcloud: Soundcloud backend') +makedepends=('python2-sphinx') +backup=('etc/mopidy/mopidy.conf') +install=$pkgname.install +source=("https://github.com/mopidy/mopidy/archive/v${pkgver}.tar.gz" + 'mopidy.conf' + 'logging.conf') +md5sums=('c64266a7cbd2d1ccac08552c74a795a9' + '5e3c3308a75241b2f7ea5647287ca70c' + 'dbacd3800f63ef3c2a7135a6f3ee573d') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + + make -C docs SPHINXBUILD=sphinx-build2 man + make -C docs SPHINXBUILD=sphinx-build2 html +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + python2 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 -c docs/_build/man/mopidy.1 > "${pkgdir}/usr/share/man/man1/mopidy.1.gz" + + install -dm755 "${pkgdir}/usr/share/man/man8/" + gzip -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 "${pkgdir}/etc/mopidy/extensions.d" + + 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/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" +} + +# vim:set ts=2 sw=2 et: Copied: mopidy/repos/community-any/logging.conf (from rev 138184, mopidy/trunk/logging.conf) =================================================================== --- logging.conf (rev 0) +++ logging.conf 2015-08-11 01:50:54 UTC (rev 138185) @@ -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 2015-08-11 01:50:49 UTC (rev 138184) +++ mopidy.conf 2015-08-11 01:50:54 UTC (rev 138185) @@ -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-any/mopidy.conf (from rev 138184, mopidy/trunk/mopidy.conf) =================================================================== --- mopidy.conf (rev 0) +++ mopidy.conf 2015-08-11 01:50:54 UTC (rev 138185) @@ -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.install =================================================================== --- mopidy.install 2015-08-11 01:50:49 UTC (rev 138184) +++ mopidy.install 2015-08-11 01:50:54 UTC (rev 138185) @@ -1,8 +0,0 @@ -post_upgrade() { - getent group mopidy &>/dev/null || groupadd -g 46 mopidy >/dev/null - getent passwd mopidy &>/dev/null || useradd -u 46 -d /var/lib/mopidy -s /bin/false -g mopidy -G audio mopidy >/dev/null -} - -post_install() { - post_upgrade -} Copied: mopidy/repos/community-any/mopidy.install (from rev 138184, mopidy/trunk/mopidy.install) =================================================================== --- mopidy.install (rev 0) +++ mopidy.install 2015-08-11 01:50:54 UTC (rev 138185) @@ -0,0 +1,8 @@ +post_upgrade() { + getent group mopidy &>/dev/null || groupadd -g 46 mopidy >/dev/null + getent passwd mopidy &>/dev/null || useradd -u 46 -d /var/lib/mopidy -s /bin/false -g mopidy -G audio mopidy >/dev/null +} + +post_install() { + post_upgrade +}