upgpkg: python-jellyfin-apiclient 1.9.2-2

switched to PEP 517
This commit is contained in:
2024-01-13 17:43:31 +01:00
parent ef7a335a41
commit f5210a8b08
2 changed files with 9 additions and 7 deletions

View File

@@ -1,12 +1,14 @@
pkgbase = python-jellyfin-apiclient pkgbase = python-jellyfin-apiclient
pkgdesc = Python API client for Jellyfin pkgdesc = Python API client for Jellyfin
pkgver = 1.9.2 pkgver = 1.9.2
pkgrel = 1 pkgrel = 2
url = https://github.com/iwalton3/jellyfin-apiclient-python url = https://github.com/iwalton3/jellyfin-apiclient-python
arch = any arch = any
license = GPL3 license = GPL3
makedepends = python-build
makedepends = python-installer
makedepends = python-wheel
makedepends = python-setuptools makedepends = python-setuptools
depends = python>=3.6
depends = python-requests depends = python-requests
depends = python-urllib3 depends = python-urllib3
depends = python-websocket-client depends = python-websocket-client

View File

@@ -3,22 +3,22 @@
pkgname=python-jellyfin-apiclient pkgname=python-jellyfin-apiclient
pkgver=1.9.2 pkgver=1.9.2
pkgrel=1 pkgrel=2
pkgdesc="Python API client for Jellyfin" pkgdesc="Python API client for Jellyfin"
arch=(any) arch=(any)
url='https://github.com/iwalton3/jellyfin-apiclient-python' url='https://github.com/iwalton3/jellyfin-apiclient-python'
license=(GPL3) license=(GPL3)
depends=('python>=3.6' python-requests python-urllib3 python-websocket-client python-six python-certifi) depends=(python-requests python-urllib3 python-websocket-client python-six python-certifi)
makedepends=(python-setuptools) 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") source=("https://pypi.python.org/packages/source/j/jellyfin-apiclient-python/jellyfin-apiclient-python-$pkgver.tar.gz")
b2sums=('4d8547e33a151678824abf6bc055dee984f61c7b550fa404751c648f53817b291260ec855d0788e46c3cdf1f3b907832fb65a7ffbf84fbdb56fa0ccdee25fcc9') b2sums=('4d8547e33a151678824abf6bc055dee984f61c7b550fa404751c648f53817b291260ec855d0788e46c3cdf1f3b907832fb65a7ffbf84fbdb56fa0ccdee25fcc9')
build() { build() {
cd "${srcdir}/jellyfin-apiclient-python-${pkgver}" cd "${srcdir}/jellyfin-apiclient-python-${pkgver}"
python setup.py build python -m build --wheel --no-isolation
} }
package() { package() {
cd "${srcdir}/jellyfin-apiclient-python-${pkgver}" cd "${srcdir}/jellyfin-apiclient-python-${pkgver}"
python setup.py install --root="$pkgdir" --optimize=1 python -m installer --destdir="$pkgdir" dist/*.whl
} }