Username: Password: Remember me
# $Id$
# Maintainer: Felix Yan <felixonmars@archlinux.org>
# Contributor: Hideaki Takahashi <mymelo+aur@gmail.com>
# Contributor: Vincent Demeester <vincent@sbr.io>
# Contributor: Josh VanderLinden <arch@cloudlery.com>
 
pkgname=python3-docker-py
pkgver=4.1.0
pkgrel=1
pkgdesc="Python client for Docker."
arch=('x86_64')
url="https://github.com/docker/docker-py"
license=("Apache")
depends=('python3' 'python3-requests' 'python3-six' 'python3-websocket-client'
         'python3-docker-pycreds')
makedepends=('git' 'python3-setuptools')
source=("git+https://github.com/docker/docker-py.git#tag=$pkgver")
sha256sums=('SKIP')
 
prepare() {
  sed -i 's/==.*$//' docker-py/{,test-}requirements.txt
}
 
build() {
  cd "$srcdir/docker-py"
  python3 setup.py build
}
 
package() {
  cd "$srcdir/docker-py"
  python3 setup.py install -O1 --root="$pkgdir"
  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
}