void-packages/srcpkgs/python-docker/template

30 lines
980 B
Bash
Raw Normal View History

2017-04-21 13:41:46 +00:00
# Template file for 'python-docker'
pkgname=python-docker
2017-08-25 07:07:52 +00:00
version=2.5.1
2017-08-28 02:52:47 +00:00
revision=2
2017-04-21 13:41:46 +00:00
noarch=yes
wrksrc="docker-${version}"
build_style=python-module
pycompile_module="docker"
replaces="python-docker-py>=0"
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>"
homepage="https://github.com/docker/docker-py"
license="Apache-2.0"
distfiles="${PYPI_SITE}/d/docker/docker-${version}.tar.gz"
2017-08-25 07:07:52 +00:00
checksum=b876e6909d8d2360e0540364c3a952a62847137f4674f2439320ede16d6db880
2017-04-21 13:41:46 +00:00
python3-docker_package() {
noarch=yes
pycompile_module="docker"
replaces="python3-docker-py>=0"
depends="python3-requests python3-six python3-websocket-client python3-docker-pycreds"
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove usr/lib/python3*
}
}