aboutsummaryrefslogtreecommitdiffstats
path: root/community/docker-py/APKBUILD
blob: 0b2aaf28d5adc4d85a79d255dc4c261b41f20649 (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
31
32
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=docker-py
pkgver=3.1.4
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 dockerpy-creds
	py-ipaddress py-cffi py2-cparser py2-idna py2-packaging 
	py2-parsing py2-cryptography py-enum34 py2-asn1crypto"
makedepends="python2-dev py2-pip py-setuptools py2-six flake8 py-mock"
source="$pkgname-$pkgver.tar.gz::https://github.com/docker/$pkgname/archive/$pkgver.tar.gz"
builddir="$srcdir"/$pkgname-$pkgver

check() {
	cd "$builddir"
	python2 setup.py check
}

build() {
	cd "$builddir"
	python2 setup.py build
}

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

sha512sums="78081010ce4027156d3b4ebafee6023f387ee8e7ee4d77ee671a16a3fcb646fca91c5c36cfbaf94157f8a524a3e1a09b9cbfabf304e278a3c1e0132df5d13d13  docker-py-3.1.4.tar.gz"