python-terminado: rebuild for Python 3.5
Switch to python3-* pkgs. Convert python3.4-* pkg into dummy pkg.
This commit is contained in:
parent
d479d3f696
commit
d1f63206de
|
@ -1,12 +1,11 @@
|
||||||
# Template file for 'python-terminado'
|
# Template file for 'python-terminado'
|
||||||
pkgname=python-terminado
|
pkgname=python-terminado
|
||||||
version=0.6
|
version=0.6
|
||||||
revision=1
|
revision=2
|
||||||
noarch=yes
|
noarch=yes
|
||||||
wrksrc="terminado-${version}"
|
wrksrc="terminado-${version}"
|
||||||
build_style=python-module
|
build_style=python-module
|
||||||
python_versions="2.7 3.4"
|
hostmakedepends="python-setuptools python3-setuptools"
|
||||||
hostmakedepends="python-setuptools python3.4-setuptools"
|
|
||||||
depends="python-ptyprocess python-tornado"
|
depends="python-ptyprocess python-tornado"
|
||||||
pycompile_module="terminado"
|
pycompile_module="terminado"
|
||||||
short_desc="Terminals served to term.js using Tornado websockets (Python2)"
|
short_desc="Terminals served to term.js using Tornado websockets (Python2)"
|
||||||
|
@ -16,13 +15,19 @@ license="BSD"
|
||||||
distfiles="${PYPI_SITE}/t/terminado/terminado-${version}.tar.gz"
|
distfiles="${PYPI_SITE}/t/terminado/terminado-${version}.tar.gz"
|
||||||
checksum=2c0ba1f624067dccaaead7d2247cfe029806355cef124dc2ccb53c83229f0126
|
checksum=2c0ba1f624067dccaaead7d2247cfe029806355cef124dc2ccb53c83229f0126
|
||||||
|
|
||||||
python3.4-terminado_package() {
|
python3-terminado_package() {
|
||||||
noarch=yes
|
noarch=yes
|
||||||
depends="python3.4-ptyprocess python3.4-tornado"
|
depends="python3-ptyprocess python3-tornado"
|
||||||
pycompile_version="3.4"
|
replaces="python3.4-terminado>=0"
|
||||||
pycompile_module="terminado"
|
pycompile_module="terminado"
|
||||||
short_desc="${short_desc/Python2/Python3.4}"
|
short_desc="${short_desc/Python2/Python3}"
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
vmove usr/lib/python3.4
|
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}"
|
||||||
|
}
|
||||||
|
|
|
@ -0,0 +1 @@
|
||||||
|
python-terminado
|
Loading…
Reference in New Issue