blob: 6f1dbba99b8b42c879c388da39ec37ba95f8db6b (
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.6
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="44de9fbfe0493473fcfa11f3a36befb3 docker-py-1.10.6.tar.gz"
sha256sums="dd1aa55dbe507538318e51e5303077d146d5176abd6b05fe9bcde24c289410bc docker-py-1.10.6.tar.gz"
sha512sums="6360f9743472c42b3b080204195a0ba62ec85503cc3d4053dca1fb68e8dbed54bd90ed530d9b6ed0b29367aecbe3731d076c89e8d49365c133754bc38c3f15b9 docker-py-1.10.6.tar.gz"
|