python-jupyter_client: rebuild for Python 3.5
Switch to python3-* pkgs. Convert python3.4-* pkg into dummy pkg.
This commit is contained in:
parent
377023d4a9
commit
265db9381c
|
@ -1,12 +1,11 @@
|
||||||
# Template file for 'python-jupyter_client'
|
# Template file for 'python-jupyter_client'
|
||||||
pkgname=python-jupyter_client
|
pkgname=python-jupyter_client
|
||||||
version=4.4.0
|
version=4.4.0
|
||||||
revision=1
|
revision=2
|
||||||
noarch=yes
|
noarch=yes
|
||||||
wrksrc="jupyter_client-${version}"
|
wrksrc="jupyter_client-${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-traitlets python-jupyter_core python-pyzmq"
|
depends="python-traitlets python-jupyter_core python-pyzmq"
|
||||||
pycompile_module="jupyter_client"
|
pycompile_module="jupyter_client"
|
||||||
short_desc="Jupyter protocol client APIs (Python2)"
|
short_desc="Jupyter protocol client APIs (Python2)"
|
||||||
|
@ -15,22 +14,28 @@ homepage="https://github.com/jupyter/jupyter_client"
|
||||||
license="3-clause-BSD"
|
license="3-clause-BSD"
|
||||||
distfiles="${PYPI_SITE}/j/jupyter_client/jupyter_client-${version}.tar.gz"
|
distfiles="${PYPI_SITE}/j/jupyter_client/jupyter_client-${version}.tar.gz"
|
||||||
checksum=c99a52fac2e5b7a3b714e9252ebf72cbf97536d556ae2b5082baccc3e5cd52ee
|
checksum=c99a52fac2e5b7a3b714e9252ebf72cbf97536d556ae2b5082baccc3e5cd52ee
|
||||||
alternatives="jupyter-client:jupyter-kernelspec:/usr/bin/jupyter-kernelspec2.7"
|
alternatives="jupyter-client:jupyter-kernelspec:/usr/bin/jupyter-kernelspec2"
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
vlicense COPYING.md LICENSE
|
vlicense COPYING.md LICENSE
|
||||||
}
|
}
|
||||||
|
|
||||||
python3.4-jupyter_client_package() {
|
python3-jupyter_client_package() {
|
||||||
noarch=yes
|
noarch=yes
|
||||||
depends="python3.4-traitlets python3.4-jupyter_core python3.4-pyzmq"
|
depends="python3-traitlets python3-jupyter_core python3-pyzmq"
|
||||||
pycompile_version="3.4"
|
|
||||||
pycompile_module="jupyter_client"
|
pycompile_module="jupyter_client"
|
||||||
short_desc="${short_desc/Python2/Python3.4}"
|
replaces="python3.4-jupyter_client>=0"
|
||||||
alternatives="jupyter-client:jupyter-kernelspec:/usr/bin/jupyter-kernelspec3.4"
|
short_desc="${short_desc/Python2/Python3}"
|
||||||
|
alternatives="jupyter-client:jupyter-kernelspec:/usr/bin/jupyter-kernelspec3"
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
vmove usr/bin/jupyter-kernelspec3.4
|
vmove usr/bin/jupyter-kernelspec3
|
||||||
vmove usr/lib/python3.4
|
vmove usr/lib/python3*
|
||||||
vlicense COPYING.md LICENSE
|
vlicense COPYING.md LICENSE
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
python3.4-jupyter_client_package() {
|
||||||
|
noarch=yes
|
||||||
|
build_style=meta
|
||||||
|
short_desc="${short_desc/Python2/Python3.4} (transitional dummy package)"
|
||||||
|
depends="python3-jupyter_client>=${version}_${revision}"
|
||||||
|
}
|
||||||
|
|
|
@ -0,0 +1 @@
|
||||||
|
python-jupyter_client
|
Loading…
Reference in New Issue