upgpkg: python-jellyfin-apiclient 1.9.2-2
switched to PEP 517
This commit is contained in:
@@ -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
|
||||
|
@@ -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
|
||||
}
|
||||
|
Reference in New Issue
Block a user