mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 21:37:15 +02:00
this is only a partial rebuild, including stuff that i built on my personal machine with python 3.12.2; might fail with 3.12.3
45 lines
1.1 KiB
Plaintext
45 lines
1.1 KiB
Plaintext
# Contributor: Fabricio Silva <hi@fabricio.dev>
|
|
# Maintainer: Fabricio Silva <hi@fabricio.dev>
|
|
pkgname=py3-plexapi
|
|
_pkgname=python-plexapi
|
|
pkgver=4.15.11
|
|
pkgrel=1
|
|
pkgdesc="Python bindings for the Plex API"
|
|
url="https://github.com/pkkid/python-plexapi"
|
|
arch="noarch"
|
|
license="BSD-3-Clause"
|
|
# tests requires an instance of plex running
|
|
# net for sphinx
|
|
options="net !check"
|
|
depends="
|
|
python3
|
|
py3-requests
|
|
"
|
|
makedepends="
|
|
py3-gpep517
|
|
py3-recommonmark
|
|
py3-setuptools
|
|
py3-sphinx_rtd_theme
|
|
py3-wheel
|
|
"
|
|
subpackages="$pkgname-doc $pkgname-pyc"
|
|
source="https://github.com/pkkid/python-plexapi/archive/$pkgver/py3-plexapi-$pkgver.tar.gz"
|
|
builddir="$srcdir/$_pkgname-$pkgver"
|
|
|
|
build() {
|
|
gpep517 build-wheel \
|
|
--wheel-dir .dist \
|
|
--output-fd 3 3>&1 >&2
|
|
sphinx-build -W -b man docs man
|
|
}
|
|
|
|
package() {
|
|
python3 -m installer -d "$pkgdir" \
|
|
.dist/*.whl
|
|
install -Dm644 man/pythonplexapi.1 -t "$pkgdir"/usr/share/man/man1
|
|
}
|
|
|
|
sha512sums="
|
|
c68b414aa9262c3505dc2490c38e8d5dd896970f4df7fe8d382a0c5f2276ecc9833767e243b596c4f0f625e6d8984f5f89790fe7a71e9b6cab1c439f26b9cde1 py3-plexapi-4.15.11.tar.gz
|
|
"
|