29 lines
878 B
Bash
29 lines
878 B
Bash
|
# Template file for 'python-terminado'
|
||
|
pkgname=python-terminado
|
||
|
version=0.5
|
||
|
revision=1
|
||
|
noarch=yes
|
||
|
wrksrc="terminado-${version}"
|
||
|
build_style=python-module
|
||
|
python_versions="2.7 3.4"
|
||
|
hostmakedepends="python-setuptools python3.4-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=63e893eff1ba84f1ee7c4bfcca7676ba1de6394538bb9aa80cbbc8866cb875b6
|
||
|
|
||
|
python3.4-terminado_package() {
|
||
|
noarch=yes
|
||
|
depends="python3.4-ptyprocess python3.4-tornado"
|
||
|
pycompile_version="3.4"
|
||
|
pycompile_module="terminado"
|
||
|
short_desc="${short_desc/Python2/Python3.4}"
|
||
|
pkg_install() {
|
||
|
vmove usr/lib/python3.4
|
||
|
}
|
||
|
}
|