mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-10-09 14:32:02 +02:00
30 lines
1.0 KiB
Plaintext
30 lines
1.0 KiB
Plaintext
# 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"
|