mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-19 17:25:17 +03:00
34 lines
967 B
Text
34 lines
967 B
Text
# Contributor: Michał Polański <michal@polanski.me>
|
|
# Maintainer: Michał Polański <michal@polanski.me>
|
|
pkgname=py3-podman
|
|
pkgver=5.4.0.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="py3-requests py3-urllib3"
|
|
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="
|
|
ba86f42100691126e96401443a9febc87315c8b2f4bb11ee93803205886a910eaedc6c3f801e9cbc661d9c5ad8ee051b77cc63a14465a8c6ed307a3a606f708e py3-podman-5.4.0.1.tar.gz
|
|
"
|