# Contributor: Francesco Colista # Maintainer: Francesco Colista pkgname=docker-py pkgver=2.5.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="1fb96e9835bc9263e4daf091b6531e72847eea2ee0fe73e96588b42a64edfeef6740142dd8b29a9739e5ca11f60ace21f93f25a9886077d3e2135a1a2bec31e8 docker-py-2.5.0.tar.gz"