Christian Heusel pushed to branch main at Arch Linux / Packaging / Packages / 
mopidy


Commits:
be37995c by Christian Heusel at 2024-12-04T23:36:25+01:00
upgpkg: 4.0.0a2-1: Update to alpha release

This is done in order to get python 3.13 compatibility.

Co-Authored-by: loqs <[email protected]>
Signed-off-by: Christian Heusel <[email protected]>

- - - - -


2 changed files:

- .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -1,19 +1,22 @@
 pkgbase = mopidy
        pkgdesc = An extensible music server written in Python
-       pkgver = 3.4.2
-       pkgrel = 3
+       pkgver = 4.0.0a2
+       pkgrel = 1
        url = https://www.mopidy.com
        arch = any
        license = Apache-2.0
        checkdepends = python-gobject
        checkdepends = python-pytest
        checkdepends = python-responses
+       checkdepends = python-pytest-mock
        makedepends = python-sphinx
        makedepends = python-sphinx_rtd_theme
        makedepends = git
        makedepends = python-build
        makedepends = python-installer
        makedepends = python-wheel
+       makedepends = python-setuptools-scm
+       makedepends = python-sphinx-autodoc-typehints
        depends = python
        depends = python-pykka
        depends = python-requests
@@ -26,11 +29,11 @@ pkgbase = mopidy
        depends = gst-plugins-base
        depends = python-dbus
        backup = etc/mopidy/mopidy.conf
-       source = 
mopidy-3.4.2.tar.gz::https://github.com/mopidy/mopidy/archive/v3.4.2.tar.gz
+       source = 
mopidy-4.0.0a2.tar.gz::https://github.com/mopidy/mopidy/archive/v4.0.0a2.tar.gz
        source = mopidy.conf
        source = logging.conf
        source = mopidy.sysusers
-       sha512sums = 
3c6a8ca328377176f4a985741d306e0d544d194d7f6fdb4cb115b1b61fa70644f9c3c7086eb45e6ca49feb8b6210a96386ca83c18f48bdba53963fc7fcf38883
+       sha512sums = 
d5a987ec8c1517749c79619e7cfb50c8d5c5ddff471a1dc31b2c0e64c6b180906b068b17dd0c33e11b48ab658f1c5b66072159dd57fc3bfe315c6d7fc2ff7c53
        sha512sums = 
eb66e8e826640a939b1ba51569ab7fab041b8b5e8823ea2d5f05596faf1de8882fd8c1c32bdb92534e759243fb5ff741bda0d2ebb3282af542d1287c8c68b5ea
        sha512sums = 
0c438058500ab7559baae21b03b10e2b80b10c77776b240b2100da1f4c84ea8efe24dc7a38a95034e75605eaf5d21604d13e5b8c7358778c555ddb6372a49388
        sha512sums = 
ff6c9f0406dfc1cc01ac6edcc6bae429342437397321ab9205ca273a63b28611d08005a0a5dba639b5ae2157a4f03a1d58c2199f7dbc6965864685b4b71f0b6f


=====================================
PKGBUILD
=====================================
@@ -3,37 +3,43 @@
 # Contributor: Alexandre Petitjean <alpetitjean at gmail dot com>
 
 pkgname=mopidy
-pkgver=3.4.2
-pkgrel=3
+pkgver=4.0.0a2
+pkgrel=1
 pkgdesc="An extensible music server written in Python"
 arch=('any')
 url="https://www.mopidy.com";
 license=('Apache-2.0')
 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' 'python-build' 
'python-installer' 'python-wheel')
+         'gst-python' 'gst-plugins-good' 'gst-plugins-ugly' 'python-tornado'
+         'gst-plugins-base' 'python-dbus')
+checkdepends=('python-gobject' 'python-pytest' 'python-responses' 
'python-pytest-mock')
+makedepends=('python-sphinx' 'python-sphinx_rtd_theme' 'git' 'python-build'
+             'python-installer' 'python-wheel' 'python-setuptools-scm'
+             'python-sphinx-autodoc-typehints')
 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=('3c6a8ca328377176f4a985741d306e0d544d194d7f6fdb4cb115b1b61fa70644f9c3c7086eb45e6ca49feb8b6210a96386ca83c18f48bdba53963fc7fcf38883'
+sha512sums=('d5a987ec8c1517749c79619e7cfb50c8d5c5ddff471a1dc31b2c0e64c6b180906b068b17dd0c33e11b48ab658f1c5b66072159dd57fc3bfe315c6d7fc2ff7c53'
             
'eb66e8e826640a939b1ba51569ab7fab041b8b5e8823ea2d5f05596faf1de8882fd8c1c32bdb92534e759243fb5ff741bda0d2ebb3282af542d1287c8c68b5ea'
             
'0c438058500ab7559baae21b03b10e2b80b10c77776b240b2100da1f4c84ea8efe24dc7a38a95034e75605eaf5d21604d13e5b8c7358778c555ddb6372a49388'
             
'ff6c9f0406dfc1cc01ac6edcc6bae429342437397321ab9205ca273a63b28611d08005a0a5dba639b5ae2157a4f03a1d58c2199f7dbc6965864685b4b71f0b6f')
 
 build() {
   cd ${pkgname}-${pkgver}
+  export SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver
   python -m build --wheel --no-isolation
-  make -C docs html man
+
+  python -m venv --system-site-packages test-env
+  test-env/bin/python -m installer dist/*.whl
+  make -C docs SPHINXBUILD="$PWD/test-env/bin/python /usr/bin/sphinx-build" 
html man
 }
 
 check() {
   cd ${pkgname}-${pkgver}
-  python -m unittest discover -vs .
+  test-env/bin/python -m unittest discover -vs .
 }
 
 package() {



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/mopidy/-/commit/be37995c98b3333fd92dbfd83e27589215809b40

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/mopidy/-/commit/be37995c98b3333fd92dbfd83e27589215809b40
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to