# Contributor: Francesco Colista # Maintainer: Francesco Colista pkgname=docker-py pkgver=4.0.2 pkgrel=0 pkgdesc="Python library for the Docker Engine API" url="https://github.com/dotcloud/docker-py" arch="noarch" license="Apache-2.0" depends="dockerpy-creds py3-cparser py3-cryptography py3-ipaddress py3-packaging py3-parsing py3-requests py3-websocket-client" makedepends="py3-flake8 py3-mock py3-pip py3-setuptools py3-six python3-dev" source="$pkgname-$pkgver.tar.gz::https://github.com/docker/$pkgname/archive/$pkgver.tar.gz" check() { cd "$builddir" python3 setup.py check } build() { cd "$builddir" python3 setup.py build } package() { cd "$builddir" python3 setup.py install --prefix=/usr --root="$pkgdir" } sha512sums="d58ed82a4b614a1915a814833d2a2a376a439baa58be91b8d1a0402398acb0c45f497bf77f529ecdfbec64705454f0f2be3a807dd912aa975855d1beb8eba1f5 docker-py-4.0.2.tar.gz"