# Contributor: Michał Polański # Maintainer: Michał Polański pkgname=py3-podman pkgver=4.5.1 pkgrel=0 pkgdesc="Python bindings for Podman's RESTful API" url="https://github.com/containers/podman-py" license="Apache-2.0" arch="noarch" depends="python3 py3-requests py3-urllib3 py3-xdg" makedepends="py3-gpep517 py3-setuptools py3-wheel" checkdepends="py3-pytest py3-requests-mock py3-fixtures" subpackages="$pkgname-pyc" source="https://github.com/containers/podman-py/archive/v$pkgver/py3-podman-$pkgver.tar.gz" builddir="$srcdir/podman-py-$pkgver" build() { gpep517 build-wheel \ --wheel-dir .dist \ --output-fd 3 3>&1 >&2 } check() { pytest podman/tests/unit } package() { python3 -m installer -d "$pkgdir" \ .dist/podman-$pkgver-py3-none-any.whl } sha512sums=" 09aa76fa3971c5e707ad6f99d5ae7ba11c9ac54877cf681f6acf471c80af476d9356cfae37a85ec602191193a4230af16a9f9e9d022457e87ffd2a7800b51112 py3-podman-4.5.1.tar.gz "