# Contributor: Francesco Colista # Maintainer: Francesco Colista pkgname=docker-py pkgver=1.10.4 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" makedepends="python2-dev py-setuptools py2-six flake8 py-mock" install="" subpackages="" source="$pkgname-$pkgver.tar.gz::https://github.com/docker/$pkgname/archive/$pkgver.tar.gz" builddir="$srcdir"/$pkgname-$pkgver build() { cd "$builddir" python2 setup.py build || return 1 } package() { cd "$builddir" python2 setup.py install --prefix=/usr --root="$pkgdir" || return 1 } md5sums="d1cb8b763bcd5fab67457128d3a76cbb docker-py-1.10.4.tar.gz" sha256sums="8b0054aa1afce641df369ccec5e350c3d2dbe9deef2b3ad11222f7becfab8081 docker-py-1.10.4.tar.gz" sha512sums="bdfbaff471ecb16c5b283a960d2366ada80bce3fbc67c962f14bd1a254a59f85bbdc9e47873e409118d09594dfb2fa1fd5a522beaa668a2a63bd46dbd58b0dc3 docker-py-1.10.4.tar.gz"