blob: 78cdf6a67825f43acc5082daee129737d520a95f (
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
|
# Maintainer: Dan Johansen <strit@manjaro.org>
# Contributor: Gabriel Magno <gabrielmagno1@gmail.com>
# Contributor: Michał Pałubicki <maln0ir@gmx.com>
# Contributor: yochananmarqos
pkgname=python-tmdbsimple
_name=${pkgname#python-}
pkgver=2.9.1
pkgrel=4
pkgdesc="A wrapper for The Movie Database API v3"
arch=('any')
url="https://github.com/celiao/tmdbsimple"
license=('GPL-3.0-or-later')
depends=(
'python'
'python-requests'
)
makedepends=(
'python-build'
'python-installer'
'python-setuptools'
'python-wheel'
)
source=("$_name-$pkgver.tar.gz::$url/archive/refs/tags/$pkgver.tar.gz")
sha256sums=('5aca27030b9fd4af4df00c4850d0843729b0c3603fe1315d1c58635d185c222c')
build() {
cd "$_name-$pkgver"
python -m build --wheel --no-isolation
}
package() {
cd "$_name-$pkgver"
python -m installer --destdir="$pkgdir" dist/*.whl
}
|