30 lines
975 B
Bash
30 lines
975 B
Bash
# Template file for 'python-docker-py'
|
|
pkgname=python-docker-py
|
|
version=1.9.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 python-ipaddress
|
|
python-backports.ssl_match_hostname"
|
|
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=6dc6b914a745786d97817bf35bfc1559834c08517c119f846acdfda9cc7f6d7e
|
|
|
|
python3.4-docker-py_package() {
|
|
noarch=yes
|
|
depends="python3.4-requests python3.4-six python3.4-websocket-client
|
|
python-backports.ssl_match_hostname"
|
|
pycompile_version="3.4"
|
|
pycompile_module="docker"
|
|
short_desc="${short_desc/Python2/Python3.4}"
|
|
pkg_install() {
|
|
vmove usr/lib/python3.4
|
|
}
|
|
}
|