28 lines
920 B
Bash
28 lines
920 B
Bash
# Template file for 'python-docker'
|
|
pkgname=python-docker
|
|
version=3.7.2
|
|
revision=2
|
|
archs=noarch
|
|
wrksrc="docker-${version}"
|
|
build_style=python-module
|
|
pycompile_module="docker"
|
|
hostmakedepends="python-setuptools python3-setuptools"
|
|
depends="python-requests python-six python-websocket-client python-ipaddress
|
|
python-backports.ssl_match_hostname python-docker-pycreds"
|
|
short_desc="Python2 library for the Docker Engine API"
|
|
maintainer="Sergi Alvarez <pancake@nopcode.org>"
|
|
license="Apache-2.0"
|
|
homepage="https://github.com/docker/docker-py"
|
|
distfiles="${PYPI_SITE}/d/docker/docker-${version}.tar.gz"
|
|
checksum=c456ded5420af5860441219ff8e51cdec531d65f4a9e948ccd4133e063b72f50
|
|
|
|
python3-docker_package() {
|
|
archs=noarch
|
|
pycompile_module="docker"
|
|
depends="python3-requests python3-six python3-websocket-client python3-docker-pycreds"
|
|
short_desc="${short_desc/Python2/Python3}"
|
|
pkg_install() {
|
|
vmove usr/lib/python3*
|
|
}
|
|
}
|