# Contributor: Francesco Colista # Maintainer: Francesco Colista pkgname=docker-py pkgver=1.10.3 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="fffd60b408c61bdfe71d377555cf16d3 docker-py-1.10.3.tar.gz" sha256sums="3042c0b3ca5333aaaa53f0aa7acc19b5a1258b0f2fcf0a90da0f96659f52f64a docker-py-1.10.3.tar.gz" sha512sums="39bb7440849fcc815f6a36dfe402e76635d01584f9af3d17610d0c70719f46aa16b697058feeda961b9830e463fba5aeac2cc28752881ea0bf1cd0c6ca41acb7 docker-py-1.10.3.tar.gz"