aports/testing/py3-mopidy-jellyfin/APKBUILD

38 lines
1,023 B
Text

# Maintainer: Hoang Nguyen <folliekazetani@protonmail.com>
pkgname=py3-mopidy-jellyfin
_pyname=${pkgname#py3-}
pkgver=1.0.4
pkgrel=4
pkgdesc="Mopidy extension for Jellyfin"
url="https://github.com/jellyfin/mopidy-jellyfin"
arch="noarch"
license="Apache-2.0"
depends="
python3
mopidy
py3-pykka
py3-requests
py3-unidecode
py3-websocket-client
"
makedepends="py3-setuptools py3-gpep517"
subpackages="$pkgname-pyc"
source="$_pyname-$pkgver.tar.gz::https://github.com/jellyfin/mopidy-jellyfin/archive/refs/tags/v$pkgver.tar.gz"
builddir="$srcdir/$_pyname-$pkgver"
# AttributeError: <class 'mopidy_jellyfin.remote.JellyfinHandler'> does not have the attribute '_get_token'
options="!check"
build() {
gpep517 build-wheel \
--wheel-dir .dist \
--output-fd 3 3>&1 >&2
}
package() {
gpep517 install-wheel --destdir "$pkgdir" \
.dist/*.whl
}
sha512sums="
e78d61ab1c4029fcc472a55c30eb4f75d18427d5ca5759ea03bb1dcb6bf9626570c5e2a84f7727ec59be07dd5ce78c63228c08524e703042950f087ae3878823 mopidy-jellyfin-1.0.4.tar.gz
"