blob: 315ab93d82da0556b2ba20ecec4b836062673ac8 (
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
|
# Maintainer: Eric Engestrom <aur [at] engestrom [dot] ch>
pkgname=python-podman-git
pkgver=4.5.0
pkgrel=1
pkgdesc="Python bindings for Podman's RESTful API"
arch=('any')
url="https://github.com/containers/podman-py"
license=('Apache')
source=("git+$url")
sha256sums=('SKIP')
depends=('python' 'git')
makedepends=('python-setuptools')
conflicts=('python-podman')
provides=('python-podman' 'python-podman-py')
pkgver() {
git -C podman-py describe --tags --abbrev=10 | sed 's/^v//; s/-/+/; s/-/./'
}
build() {
cd podman-py
python setup.py build
}
package() {
cd podman-py
python setup.py install --root="$pkgdir/" --optimize=1 --skip-build
}
|