blob: 721a8fc1d6df57e46bbe2d422e4d7ff70b654471 (
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.9.0
pkgrel=1
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="a84dd27288edfa507a40eb173ca62132 docker-py-1.9.0.tar.gz"
sha256sums="0ff58798c8cf79c7e459505786b3b83ca0552a077945b8fe20fc38ff3f732361 docker-py-1.9.0.tar.gz"
sha512sums="49e6d4e8ab30c4e54165e7eff9e3034a1fe102348020bad2c5aefa238c44efdf39711536a7727fd9689e2e90483a348930bb91f1e76cade546161c82990f78ed docker-py-1.9.0.tar.gz"
|