mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-23 03:05:48 +03:00
33 lines
961 B
Text
33 lines
961 B
Text
# Contributor: Michał Polański <michal@polanski.me>
|
|
# Maintainer: Michał Polański <michal@polanski.me>
|
|
pkgname=py3-podman
|
|
pkgver=4.4.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-toml py3-xdg"
|
|
makedepends="py3-gpep517 py3-setuptools py3-wheel"
|
|
checkdepends="py3-pytest py3-requests-mock py3-fixtures py3-testtools"
|
|
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="
|
|
12fea4ba3d6e80e024e55b17e38769cb0458fbb089295fec2d23f42dab45f2363a8b2976242dab0dde16a9a824c8a202fd8b828a4a9dee3330684cddf972f2b5 py3-podman-4.4.1.tar.gz
|
|
"
|