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

25 lines
763 B
Bash

# Template file for 'python-docker-py'
pkgname=python-docker-py
version=1.9.0
revision=4
noarch=yes
build_style=meta
depends="python-docker>=${version}_${revision}"
short_desc="Python2 client for Docker (transitional dummy package)"
maintainer="Sergi Alvarez <pancake@nopcode.org>"
homepage="https://github.com/docker/docker-py"
license="Apache-2.0"
python3-docker-py_package() {
noarch=yes
build_style=meta
replaces="python3.4-docker-py>=0"
depends="python3-docker>=${version}_${revision}"
short_desc="${short_desc/Python2/Python3} (transitional dummy package)"
}
python3.4-docker-py_package() {
noarch=yes
build_style=meta
short_desc="${short_desc/Python2/Python3.4} (transitional dummy package)"
depends="python3-docker-py>=${version}_${revision}"
}