aboutsummaryrefslogtreecommitdiffstats
path: root/community/docker-py/APKBUILD
blob: 415d45c10113c7849daa782b557aeec487510431 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=docker-py
pkgver=4.2.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-setuptools py3-six python3-dev"
source="$pkgname-$pkgver.tar.gz::https://github.com/docker/docker-py/archive/$pkgver.tar.gz"

check() {
	python3 setup.py check
}

build() {
	python3 setup.py build
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="df5a450355f11d580568ebb0e80abc967df35f2ae10ce83c4ece85e4cf3e97d9cd15e5f14a2d9a43650a844d9402a8d97370f6e5f615c186b12968379e52fa38  docker-py-4.2.0.tar.gz"