# Contributor: Francesco Colista # Maintainer: Francesco Colista pkgname=docker-py pkgver=2.6.0 pkgrel=0 pkgdesc="An API client for docker written in Python" url="https://github.com/dotcloud/docker-py" arch="noarch" license="APACHE" depends="python2 py2-requests py2-six py2-websocket-client dockerpy-creds" makedepends="python2-dev py2-pip py-setuptools py2-six flake8 py-mock" source="$pkgname-$pkgver.tar.gz::https://github.com/docker/$pkgname/archive/$pkgver.tar.gz" builddir="$srcdir"/$pkgname-$pkgver check() { cd "$builddir" python2 setup.py check } build() { cd "$builddir" python2 setup.py build } package() { cd "$builddir" python2 setup.py install --prefix=/usr --root="$pkgdir" } sha512sums="4b574510ad57ec3b9853b42d36fc1870b093872ed02f339cc5de1d7b0687196c00fee3d8b7182d06800e49eaff71b5942537290526590288954c34b7b8ead331 docker-py-2.6.0.tar.gz"