summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 0529b341b7b458a8356d827bb0fad44d87239e6e (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
# Maintainer: D3vil0p3r <vozaanthony [at] gmail [dot] com>

pkgname=python-podman
pkgver=5.2.0
pkgrel=1
pkgdesc="Python bindings for Podman's RESTful API"
arch=('any')
url="https://github.com/containers/podman-py"
license=('Apache')
source=("$url/archive/refs/tags/v$pkgver.tar.gz")
sha256sums=('4e4a66a451073348fe6f1ef97a3237242ce868dbcb1d8ac4643773cbb210a294')
depends=('python' 'python-requests')
makedepends=('python-setuptools')
provides=('python-podman-py')

build() {
  cd "podman-py-${pkgver}"
  python setup.py build
}

package() {
  cd "podman-py-${pkgver}"
  python setup.py install --root="$pkgdir/" --optimize=1 --skip-build
}