aboutsummaryrefslogtreecommitdiffstats
path: root/community/docker-py/APKBUILD
blob: 5a09f730cb80b341619976ed13082c4a6bdda5e4 (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
28
29
30
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=docker-py
pkgver=3.5.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="c5ebc99df66d49f53c39ff897bd95afcbb92ced3ec6fd61148b6775cddf9e830454b1da5ac79ea0bba76f143f35f29dec66e7db5c6df33ca5157d3fe40cd4e93  docker-py-3.5.0.tar.gz"