33 lines
1 KiB
Bash
33 lines
1 KiB
Bash
# Template file for 'python-terminado'
|
|
pkgname=python-terminado
|
|
version=0.6
|
|
revision=3
|
|
noarch=yes
|
|
wrksrc="terminado-${version}"
|
|
build_style=python-module
|
|
hostmakedepends="python-setuptools python3-setuptools"
|
|
depends="python-ptyprocess python-tornado"
|
|
pycompile_module="terminado"
|
|
short_desc="Terminals served to term.js using Tornado websockets (Python2)"
|
|
maintainer="Alessio Sergi <al3hex@gmail.com>"
|
|
homepage="https://github.com/takluyver/terminado"
|
|
license="BSD"
|
|
distfiles="${PYPI_SITE}/t/terminado/terminado-${version}.tar.gz"
|
|
checksum=2c0ba1f624067dccaaead7d2247cfe029806355cef124dc2ccb53c83229f0126
|
|
|
|
python3-terminado_package() {
|
|
noarch=yes
|
|
depends="python3-ptyprocess python3-tornado"
|
|
replaces="python3.4-terminado>=0"
|
|
pycompile_module="terminado"
|
|
short_desc="${short_desc/Python2/Python3}"
|
|
pkg_install() {
|
|
vmove usr/lib/python3*
|
|
}
|
|
}
|
|
python3.4-terminado_package() {
|
|
noarch=yes
|
|
build_style=meta
|
|
short_desc="${short_desc/Python2/Python3.4} (transitional dummy package)"
|
|
depends="python3-terminado>=${version}_${revision}"
|
|
}
|