[arch-commits] Commit in mopidy/repos (5 files)

Evangelos Foutras foutrelis at archlinux.org
Thu Nov 12 16:56:31 UTC 2020


    Date: Thursday, November 12, 2020 @ 16:56:31
  Author: foutrelis
Revision: 752110

archrelease: copy trunk to community-staging-any

Added:
  mopidy/repos/community-staging-any/
  mopidy/repos/community-staging-any/PKGBUILD
    (from rev 752108, mopidy/trunk/PKGBUILD)
  mopidy/repos/community-staging-any/logging.conf
    (from rev 752108, mopidy/trunk/logging.conf)
  mopidy/repos/community-staging-any/mopidy.conf
    (from rev 752109, mopidy/trunk/mopidy.conf)
  mopidy/repos/community-staging-any/mopidy.sysusers
    (from rev 752109, mopidy/trunk/mopidy.sysusers)

-----------------+
 PKGBUILD        |   71 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
 logging.conf    |   21 +++++++++++++++
 mopidy.conf     |   15 +++++++++++
 mopidy.sysusers |    2 +
 4 files changed, 109 insertions(+)

Copied: mopidy/repos/community-staging-any/PKGBUILD (from rev 752108, mopidy/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2020-11-12 16:56:31 UTC (rev 752110)
@@ -0,0 +1,71 @@
+# Maintainer: Morten Linderud <foxboron at archlinux.org>
+# Contributor: Sven-Hendrik Haase <sh at lutzhaase.com>
+# Contributor: Alexandre Petitjean <alpetitjean at gmail dot com>
+
+pkgname=mopidy
+pkgver=3.0.2
+pkgrel=3
+pkgdesc="An extensible music server written in Python"
+arch=('any')
+url="https://www.mopidy.com"
+license=('APACHE')
+depends=('python' 'python-pykka' 'python-setuptools' 'python-requests' 'gstreamer'
+         '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')
+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')
+sha512sums=('bf1f30b207be3b82ce7bf8fc432c232d64bf5f951bd7e1ad28b3a54cfb8ec16e707eaf156c45e124a95749eca32db4b4adeeb94b1f9f47608ef70b86c9296b4c'
+            'eb66e8e826640a939b1ba51569ab7fab041b8b5e8823ea2d5f05596faf1de8882fd8c1c32bdb92534e759243fb5ff741bda0d2ebb3282af542d1287c8c68b5ea'
+            '0c438058500ab7559baae21b03b10e2b80b10c77776b240b2100da1f4c84ea8efe24dc7a38a95034e75605eaf5d21604d13e5b8c7358778c555ddb6372a49388'
+            'ff6c9f0406dfc1cc01ac6edcc6bae429342437397321ab9205ca273a63b28611d08005a0a5dba639b5ae2157a4f03a1d58c2199f7dbc6965864685b4b71f0b6f')
+
+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 setup.py test
+}
+
+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-staging-any/logging.conf (from rev 752108, mopidy/trunk/logging.conf)
===================================================================
--- community-staging-any/logging.conf	                        (rev 0)
+++ community-staging-any/logging.conf	2020-11-12 16:56:31 UTC (rev 752110)
@@ -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 =

Copied: mopidy/repos/community-staging-any/mopidy.conf (from rev 752109, mopidy/trunk/mopidy.conf)
===================================================================
--- community-staging-any/mopidy.conf	                        (rev 0)
+++ community-staging-any/mopidy.conf	2020-11-12 16:56:31 UTC (rev 752110)
@@ -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

Copied: mopidy/repos/community-staging-any/mopidy.sysusers (from rev 752109, mopidy/trunk/mopidy.sysusers)
===================================================================
--- community-staging-any/mopidy.sysusers	                        (rev 0)
+++ community-staging-any/mopidy.sysusers	2020-11-12 16:56:31 UTC (rev 752110)
@@ -0,0 +1,2 @@
+u mopidy 46 "Mopidy User" /var/lib/mopidy
+m mopidy audio



More information about the arch-commits mailing list