void-packages/srcpkgs/python-terminado/template
2019-04-15 09:27:55 -03:00

31 lines
888 B
Bash

# Template file for 'python-terminado'
pkgname=python-terminado
version=0.8.2
revision=1
archs=noarch
wrksrc="terminado-${version}"
build_style=python-module
pycompile_module="terminado"
hostmakedepends="python-setuptools python3-setuptools"
depends="python-ptyprocess python-tornado"
short_desc="Terminals served to term.js using Tornado websockets (Python2)"
maintainer="Alessio Sergi <al3hex@gmail.com>"
license="BSD-2-Clause"
homepage="https://github.com/takluyver/terminado"
distfiles="${PYPI_SITE}/t/terminado/terminado-${version}.tar.gz"
checksum=de08e141f83c3a0798b050ecb097ab6259c3f0331b2f7b7750c9075ced2c20c2
post_install() {
vlicense LICENSE
}
python3-terminado_package() {
archs=noarch
depends="python3-ptyprocess python3-tornado"
pycompile_module="terminado"
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove usr/lib/python3*
vlicense LICENSE
}
}