2019-01-11 08:37:04 +00:00

31 lines
948 B
Plaintext

# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=docker-py
pkgver=3.7.0
pkgrel=0
pkgdesc="Python library for the Docker Engine API"
url="https://github.com/dotcloud/docker-py"
arch="noarch"
license="Apache-2.0"
depends="dockerpy-creds py3-cparser py3-cryptography py3-ipaddress
py3-packaging py3-parsing py3-requests py3-websocket-client"
makedepends="py3-flake8 py3-mock py3-pip py3-setuptools py3-six python3-dev"
source="$pkgname-$pkgver.tar.gz::https://github.com/docker/$pkgname/archive/$pkgver.tar.gz"
check() {
cd "$builddir"
python3 setup.py check
}
build() {
cd "$builddir"
python3 setup.py build
}
package() {
cd "$builddir"
python3 setup.py install --prefix=/usr --root="$pkgdir"
}
sha512sums="444634a26d0ce7af4850f346286cdac7f2c597aa6ce349c6371dbaa670aa0bcc2fa192221783b2059750d682580e34fcc5e115aeda0884838bf966decf9d0070 docker-py-3.7.0.tar.gz"