void-packages/srcpkgs/python-dockerpty/template
2016-02-16 23:57:05 +01:00

28 lines
874 B
Bash

# Template file for 'python-dockerpty'
pkgname=python-dockerpty
version=0.4.1
revision=1
noarch=yes
wrksrc="dockerpty-${version}"
build_style=python-module
python_versions="2.7 3.4"
hostmakedepends="python-setuptools python3.4-setuptools"
depends="python-six python-docker-py"
pycompile_module="dockerpty"
short_desc="Python2 library to use the pseudo-tty of a docker container"
maintainer="Sergi Alvarez <pancake@nopcode.org>"
homepage="https://github.com/d11wtq/dockerpty"
license="Apache-2.0"
distfiles="${PYPI_SITE}/d/dockerpty/dockerpty-${version}.tar.gz"
checksum=69a9d69d573a0daa31bcd1c0774eeed5c15c295fe719c61aca550ed1393156ce
python3.4-dockerpty_package() {
noarch=yes
depends="python3.4-six python3.4-docker-py"
pycompile_version="3.4"
pycompile_module="dockerpty"
short_desc="${short_desc/Python2/Python3.4}"
pkg_install() {
vmove usr/lib/python3.4
}
}