mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-18 23:22:24 +01:00
31 lines
948 B
Plaintext
31 lines
948 B
Plaintext
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
|
|
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
|
|
pkgname=docker-py
|
|
pkgver=4.0.1
|
|
pkgrel=0
|
|
pkgdesc="Python library for the Docker Engine API"
|
|
url="https://github.com/dotcloud/docker-py"
|
|
arch="noarch"
|
|
license="Apache-2.0"
|
|
depends="dockerpy-creds py3-cparser py3-cryptography py3-ipaddress
|
|
py3-packaging py3-parsing py3-requests py3-websocket-client"
|
|
makedepends="py3-flake8 py3-mock py3-pip py3-setuptools py3-six python3-dev"
|
|
source="$pkgname-$pkgver.tar.gz::https://github.com/docker/$pkgname/archive/$pkgver.tar.gz"
|
|
|
|
check() {
|
|
cd "$builddir"
|
|
python3 setup.py check
|
|
}
|
|
|
|
build() {
|
|
cd "$builddir"
|
|
python3 setup.py build
|
|
}
|
|
|
|
package() {
|
|
cd "$builddir"
|
|
python3 setup.py install --prefix=/usr --root="$pkgdir"
|
|
}
|
|
|
|
sha512sums="658b65e97897de5d73b370174b7139e194f9a2dd2172c361f09d01a64cd432dc8c1481484ef542c5c8e6d8795a549c4f6d1aa636070b9964a22f571dd6a99362 docker-py-4.0.1.tar.gz"
|