aboutsummaryrefslogtreecommitdiffstats
path: root/testing/docker-py/APKBUILD
blob: 58987792882c88e3e882977b41619cfdad8a0775 (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=1.8.1
pkgrel=0
pkgdesc="An API client for docker written in Python"
url="https://github.com/dotcloud/docker-py"
arch="noarch"
license="APACHE"
depends="python py-requests py-six py-websocket-client"
depends_dev=""
makedepends="$depends_dev python-dev py-setuptools py-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"
	python setup.py build || return 1
}

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

md5sums="bac09b874b07d8ac8f984f095feb71e5  docker-py-1.8.1.tar.gz"
sha256sums="82dc8db8088576ec5c42c203f7c46a88a26963e137ee0dafbf7e33882d75eb47  docker-py-1.8.1.tar.gz"
sha512sums="c05412a43a774cc402e8f1bbb6c389c17e7fc335db4cfbe2d8a7001d7389f74fe51b3a2120bbbde640d93c5788283651b992389e3a09852eecb10e87e13466a0  docker-py-1.8.1.tar.gz"