aboutsummaryrefslogtreecommitdiffstats
path: root/community/docker-py/APKBUILD
blob: 048657b94fe73b136693eccb3826f82a2d7cb165 (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
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=docker-py
pkgver=1.10.3
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"
makedepends="python2-dev py-setuptools py2-six flake8 py-mock"
install=""
subpackages=""
source="$pkgname-$pkgver.tar.gz::https://github.com/docker/$pkgname/archive/$pkgver.tar.gz"

builddir="$srcdir"/$pkgname-$pkgver
build() {
	cd "$builddir"
	python2 setup.py build || return 1
}

package() {
	cd "$builddir"
	python2 setup.py install --prefix=/usr --root="$pkgdir" || return 1
}

md5sums="fffd60b408c61bdfe71d377555cf16d3  docker-py-1.10.3.tar.gz"
sha256sums="3042c0b3ca5333aaaa53f0aa7acc19b5a1258b0f2fcf0a90da0f96659f52f64a  docker-py-1.10.3.tar.gz"
sha512sums="39bb7440849fcc815f6a36dfe402e76635d01584f9af3d17610d0c70719f46aa16b697058feeda961b9830e463fba5aeac2cc28752881ea0bf1cd0c6ca41acb7  docker-py-1.10.3.tar.gz"