void-packages/srcpkgs/python-docker-py/template
2016-01-21 17:34:14 +01:00

28 lines
883 B
Bash

# Template file for 'python-docker-py'
pkgname=python-docker-py
version=1.6.0
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=35fef7379d5937983d645f3a15baa4874e3d512ee15f376d92131ad27c276a99
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
}
}