projects/aports·blob master · refs

38 lines · 1023 B

1# Maintainer: Hoang Nguyen <[email protected]>
2pkgname=py3-mopidy-jellyfin
3_pyname=${pkgname#py3-}
4pkgver=1.0.4
5pkgrel=6
6pkgdesc="Mopidy extension for Jellyfin"
7url="https://github.com/jellyfin/mopidy-jellyfin"
8arch="noarch"
9license="Apache-2.0"
10depends="
11 python3
12 mopidy
13 py3-pykka
14 py3-requests
15 py3-unidecode
16 py3-websocket-client
17 "
18makedepends="py3-setuptools py3-gpep517"
19subpackages="$pkgname-pyc"
20source="$_pyname-$pkgver.tar.gz::https://github.com/jellyfin/mopidy-jellyfin/archive/refs/tags/v$pkgver.tar.gz"
21builddir="$srcdir/$_pyname-$pkgver"
22# AttributeError: <class 'mopidy_jellyfin.remote.JellyfinHandler'> does not have the attribute '_get_token'
23options="!check"
24
25build() {
26 gpep517 build-wheel \
27 --wheel-dir .dist \
28 --output-fd 3 3>&1 >&2
29}
30
31package() {
32 gpep517 install-wheel --destdir "$pkgdir" \
33 .dist/*.whl
34}
35
36sha512sums="
37e78d61ab1c4029fcc472a55c30eb4f75d18427d5ca5759ea03bb1dcb6bf9626570c5e2a84f7727ec59be07dd5ce78c63228c08524e703042950f087ae3878823 mopidy-jellyfin-1.0.4.tar.gz
38"