[arch-commits] Commit in mopidy/repos/community-any (8 files)

Sven-Hendrik Haase svenstaro at archlinux.org
Sat Dec 30 06:17:22 UTC 2017


    Date: Saturday, December 30, 2017 @ 06:17:21
  Author: svenstaro
Revision: 276931

archrelease: copy trunk to community-any

Added:
  mopidy/repos/community-any/PKGBUILD
    (from rev 276930, mopidy/trunk/PKGBUILD)
  mopidy/repos/community-any/logging.conf
    (from rev 276930, mopidy/trunk/logging.conf)
  mopidy/repos/community-any/mopidy.conf
    (from rev 276930, mopidy/trunk/mopidy.conf)
  mopidy/repos/community-any/mopidy.sysusers
    (from rev 276930, mopidy/trunk/mopidy.sysusers)
Deleted:
  mopidy/repos/community-any/PKGBUILD
  mopidy/repos/community-any/logging.conf
  mopidy/repos/community-any/mopidy.conf
  mopidy/repos/community-any/mopidy.install

-----------------+
 PKGBUILD        |  124 +++++++++++++++++++++++++++---------------------------
 logging.conf    |   42 +++++++++---------
 mopidy.conf     |   30 ++++++-------
 mopidy.install  |   12 -----
 mopidy.sysusers |    3 +
 5 files changed, 102 insertions(+), 109 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2017-12-30 06:17:10 UTC (rev 276930)
+++ PKGBUILD	2017-12-30 06:17:21 UTC (rev 276931)
@@ -1,61 +0,0 @@
-# Maintainer: Sven-Hendrik Haase <sh at lutzhaase.com>
-# Contributor: Alexandre Petitjean <alpetitjean at gmail dot com>
-
-pkgname=mopidy
-pkgver=2.1.0
-pkgrel=2
-pkgdesc="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' 'gstreamer'
-         'gst-python2' 'gst-plugins-good' 'gst-plugins-ugly' 'python2-tornado>=2.3')
-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')
-sha512sums=('4d8c48180fb6402a64e16ac0d6448f354a3655a6924da7a55b70c8b2420cc1ede211ebaec7cfba0a365ca7595ae3d177a10184951c2203cc6e9a1a9631ce90de'
-            'eb66e8e826640a939b1ba51569ab7fab041b8b5e8823ea2d5f05596faf1de8882fd8c1c32bdb92534e759243fb5ff741bda0d2ebb3282af542d1287c8c68b5ea'
-            '0c438058500ab7559baae21b03b10e2b80b10c77776b240b2100da1f4c84ea8efe24dc7a38a95034e75605eaf5d21604d13e5b8c7358778c555ddb6372a49388')
-
-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 -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"
-}
-
-# vim:set ts=2 sw=2 et:

Copied: mopidy/repos/community-any/PKGBUILD (from rev 276930, mopidy/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2017-12-30 06:17:21 UTC (rev 276931)
@@ -0,0 +1,63 @@
+# Maintainer: Sven-Hendrik Haase <sh at lutzhaase.com>
+# Contributor: Alexandre Petitjean <alpetitjean at gmail dot com>
+
+pkgname=mopidy
+pkgver=2.1.0
+pkgrel=3
+pkgdesc="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' 'gstreamer'
+         'gst-python2' 'gst-plugins-good' 'gst-plugins-ugly' 'python2-tornado>=2.3')
+makedepends=('python2-sphinx')
+backup=('etc/mopidy/mopidy.conf')
+source=("https://github.com/mopidy/mopidy/archive/v${pkgver}.tar.gz"
+        'mopidy.conf'
+        'logging.conf'
+        'mopidy.sysusers')
+sha512sums=('4d8c48180fb6402a64e16ac0d6448f354a3655a6924da7a55b70c8b2420cc1ede211ebaec7cfba0a365ca7595ae3d177a10184951c2203cc6e9a1a9631ce90de'
+            'eb66e8e826640a939b1ba51569ab7fab041b8b5e8823ea2d5f05596faf1de8882fd8c1c32bdb92534e759243fb5ff741bda0d2ebb3282af542d1287c8c68b5ea'
+            '0c438058500ab7559baae21b03b10e2b80b10c77776b240b2100da1f4c84ea8efe24dc7a38a95034e75605eaf5d21604d13e5b8c7358778c555ddb6372a49388'
+            'feba29cac82fbf9e80eea5977e6576458d33704b8f0381d0f0b305bb47dc3a7134648da665dd0824afc2abb9681c4e0ecd893740884bd1df4562fd289bfe3c1e')
+
+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 -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	2017-12-30 06:17:10 UTC (rev 276930)
+++ logging.conf	2017-12-30 06:17:21 UTC (rev 276931)
@@ -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-any/logging.conf (from rev 276930, mopidy/trunk/logging.conf)
===================================================================
--- logging.conf	                        (rev 0)
+++ logging.conf	2017-12-30 06:17:21 UTC (rev 276931)
@@ -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	2017-12-30 06:17:10 UTC (rev 276930)
+++ mopidy.conf	2017-12-30 06:17:21 UTC (rev 276931)
@@ -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 276930, mopidy/trunk/mopidy.conf)
===================================================================
--- mopidy.conf	                        (rev 0)
+++ mopidy.conf	2017-12-30 06:17:21 UTC (rev 276931)
@@ -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	2017-12-30 06:17:10 UTC (rev 276930)
+++ mopidy.install	2017-12-30 06:17:21 UTC (rev 276931)
@@ -1,12 +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
-
-    # Remove me when updating to pkgrel -5 or a new pkgver
-    echo "It's adviced to change the ownership of /var/lib/mopidy to mopidy:mopidy."
-    echo "Otherwise some mopidy addons might not work."
-}
-
-post_install() {
-    post_upgrade
-}

Copied: mopidy/repos/community-any/mopidy.sysusers (from rev 276930, mopidy/trunk/mopidy.sysusers)
===================================================================
--- mopidy.sysusers	                        (rev 0)
+++ mopidy.sysusers	2017-12-30 06:17:21 UTC (rev 276931)
@@ -0,0 +1,3 @@
+u mopidy 46 "Mopidy User" /var/lib/mopidy
+g mopidy 46 -
+m mopidy audio



More information about the arch-commits mailing list