28 lines
883 B
Bash
28 lines
883 B
Bash
# Template file for 'python-docker-py'
|
|
pkgname=python-docker-py
|
|
version=1.7.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=f25335ad9ddd6a257d0948ab3f1cae3dba9156d2df372b7ebd738c1b755985de
|
|
|
|
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
|
|
}
|
|
}
|