31 lines
975 B
Bash
31 lines
975 B
Bash
# Template file for 'python-docker-py'
|
|
pkgname=python-docker-py
|
|
version=1.8.1
|
|
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=4f47a05e677472b5e022be1ab1dfd91b473ab3fc14a6b71337042ac2caaafa0b
|
|
|
|
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
|
|
}
|
|
}
|