void-packages/srcpkgs/python-docker-py/template

29 lines
883 B
Bash

# Template file for 'python-docker-py'
pkgname=python-docker-py
version=1.7.2
revision=1
noarch=yes
wrksrc="docker-py-${version}"
build_style=python-module
python_versions="2.7 3.4"
hostmakedepends="python-setuptools python3.4-setuptools"
depends="python-requests python-six python-websocket-client"
pycompile_module="docker"
short_desc="Python2 client for Docker"
maintainer="Sergi Alvarez <pancake@nopcode.org>"
homepage="https://github.com/docker/docker-py"
license="Apache-2.0"
distfiles="${PYPI_SITE}/d/docker-py/docker-py-${version}.tar.gz"
checksum=95b1d14c4ae49dfbb724332cda9c63fb67628b8bdee79c321f2d405cf7a8d04c
python3.4-docker-py_package() {
noarch=yes
depends="python3.4-requests python3.4-six python3.4-websocket-client"
pycompile_version="3.4"
pycompile_module="docker"
short_desc="${short_desc/Python2/Python3.4}"
pkg_install() {
vmove usr/lib/python3.4
}
}