# Contributor: Francesco Colista # Maintainer: Francesco Colista pkgname=docker-py pkgver=3.0.1 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 py-ipaddress py-cffi py2-cparser py2-idna py2-packaging py2-parsing py2-cryptography py-enum34 py2-asn1crypto" 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="2d4f362c1a93b004f41d8338e801280827d646cbbd98d87c6fbab3fd443a3aa7ab43e9db7ad8197d50ee735d7d264e17991f5af7d5a2483c3630ca139ae21e19 docker-py-3.0.1.tar.gz"