29 lines
874 B
Bash
29 lines
874 B
Bash
# Template file for 'python-dockerpty'
|
|
pkgname=python-dockerpty
|
|
version=0.3.4
|
|
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=a51044cc49089a2408fdf6769a63eebe0b16d91f34716ecee681984446ce467d
|
|
|
|
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
|
|
}
|
|
}
|