From f5210a8b08c2a765cfc6480d95a93cfcba310c43 Mon Sep 17 00:00:00 2001 From: Giovanni Harting <539@idlegandalf.com> Date: Sat, 13 Jan 2024 17:43:31 +0100 Subject: [PATCH] upgpkg: python-jellyfin-apiclient 1.9.2-2 switched to PEP 517 --- python-jellyfin-apiclient/.SRCINFO | 6 ++++-- python-jellyfin-apiclient/PKGBUILD | 10 +++++----- 2 files changed, 9 insertions(+), 7 deletions(-) diff --git a/python-jellyfin-apiclient/.SRCINFO b/python-jellyfin-apiclient/.SRCINFO index 1abcaa9..0dbda4e 100644 --- a/python-jellyfin-apiclient/.SRCINFO +++ b/python-jellyfin-apiclient/.SRCINFO @@ -1,12 +1,14 @@ pkgbase = python-jellyfin-apiclient pkgdesc = Python API client for Jellyfin pkgver = 1.9.2 - pkgrel = 1 + pkgrel = 2 url = https://github.com/iwalton3/jellyfin-apiclient-python arch = any license = GPL3 + makedepends = python-build + makedepends = python-installer + makedepends = python-wheel makedepends = python-setuptools - depends = python>=3.6 depends = python-requests depends = python-urllib3 depends = python-websocket-client diff --git a/python-jellyfin-apiclient/PKGBUILD b/python-jellyfin-apiclient/PKGBUILD index 2e51206..9e8863f 100644 --- a/python-jellyfin-apiclient/PKGBUILD +++ b/python-jellyfin-apiclient/PKGBUILD @@ -3,22 +3,22 @@ pkgname=python-jellyfin-apiclient pkgver=1.9.2 -pkgrel=1 +pkgrel=2 pkgdesc="Python API client for Jellyfin" arch=(any) url='https://github.com/iwalton3/jellyfin-apiclient-python' license=(GPL3) -depends=('python>=3.6' python-requests python-urllib3 python-websocket-client python-six python-certifi) -makedepends=(python-setuptools) +depends=(python-requests python-urllib3 python-websocket-client python-six python-certifi) +makedepends=(python-build python-installer python-wheel python-setuptools) source=("https://pypi.python.org/packages/source/j/jellyfin-apiclient-python/jellyfin-apiclient-python-$pkgver.tar.gz") b2sums=('4d8547e33a151678824abf6bc055dee984f61c7b550fa404751c648f53817b291260ec855d0788e46c3cdf1f3b907832fb65a7ffbf84fbdb56fa0ccdee25fcc9') build() { cd "${srcdir}/jellyfin-apiclient-python-${pkgver}" - python setup.py build + python -m build --wheel --no-isolation } package() { cd "${srcdir}/jellyfin-apiclient-python-${pkgver}" - python setup.py install --root="$pkgdir" --optimize=1 + python -m installer --destdir="$pkgdir" dist/*.whl }