summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 0e14afdd9cc7c272504fcc48feb0c09ec0378279 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
# Maintainer: Mark Wagie <mark dot wagie at proton dot me>
# Contributor: mutantmonkey <aur@mutantmonkey.mx>
# Contributor: Kyle Sferrazza <kyle.sferrazza@gmail.com>
# Contributor: Dimitrios Vogiatzis <me@dimtree.net>
pkgname=python-plexapi-girens
pkgver=3.0.6+559+gcadb3d2
pkgrel=2
pkgdesc="Python bindings for the Plex API."
arch=('any')
url="https://github.com/tijder/python-plexapi"
license=('BSD-3-Clause')
depends=(
  'python-requests'
  'python-tqdm'
  'python-websocket-client'
)
makedepends=(
  'git'
  'python-build'
  'python-installer'
  'python-setuptools'
  'python-wheel'
)
provides=('python-plexapi')
conflicts=('python-plexapi')
_commit=cadb3d2a399702ae3908cad70e52e439d9b665a2  # branch/master
source=("git+https://github.com/tijder/python-plexapi.git#commit=${_commit}")
sha256sums=('8da661f11a423b133a18bfff5cd1e5965f04794550b733cc929d3ea170c5cdf7')

pkgver() {
  cd python-plexapi
  git describe --tags | sed 's/-/+/g'
}

build() {
  cd python-plexapi
  python -m build --wheel --no-isolation
}

package() {
  cd python-plexapi
  python -m installer --destdir="$pkgdir" dist/*.whl
}