python-jupyter_client: update to 5.2.0

This commit is contained in:
Alessio Sergi 2017-12-19 19:52:59 +01:00
parent 3a6feed85f
commit 04c458ac9b
1 changed files with 18 additions and 11 deletions

View File

@ -1,21 +1,24 @@
# Template file for 'python-jupyter_client'
pkgname=python-jupyter_client
version=5.1.0
revision=2
version=5.2.0
revision=1
noarch=yes
wrksrc="jupyter_client-${version}"
build_style=python-module
hostmakedepends="python-setuptools python3-setuptools"
depends="python-traitlets python-jupyter_core python-pyzmq python-dateutil"
pycompile_module="jupyter_client"
hostmakedepends="python-setuptools python3-setuptools"
depends="python-setuptools python-traitlets python-jupyter_core
python-pyzmq python-dateutil"
short_desc="Jupyter protocol client APIs (Python2)"
maintainer="Alessio Sergi <al3hex@gmail.com>"
homepage="https://github.com/jupyter/jupyter_client"
license="3-clause-BSD"
# distfiles="${PYPI_SITE}/j/jupyter_client/jupyter_client-${version}.tar.gz"
distfiles="https://github.com/jupyter/jupyter_client/archive/${version}.tar.gz"
checksum=b0197090262bd8cf494378f6ca8ffb73e58d7a97eef4fc74eb3ad25de6534c34
alternatives="jupyter-client:jupyter-kernelspec:/usr/bin/jupyter-kernelspec2"
distfiles="${PYPI_SITE}/j/jupyter_client/jupyter_client-${version}.tar.gz"
checksum=ca30cf1786047925ebacd6f6faa3a993efaa004b584f7d83bc8b807f7cd3f6bb
alternatives="
jupyter-client:jupyter-kernel:/usr/bin/jupyter-kernel2
jupyter-client:jupyter-kernelspec:/usr/bin/jupyter-kernelspec2
jupyter-client:jupyter-run:/usr/bin/jupyter-run2"
post_install() {
vlicense COPYING.md LICENSE
@ -26,10 +29,14 @@ python3-jupyter_client_package() {
pycompile_module="jupyter_client"
replaces="python3.4-jupyter_client>=0"
short_desc="${short_desc/Python2/Python3}"
depends="python3-traitlets python3-jupyter_core python3-pyzmq python3-dateutil"
alternatives="jupyter-client:jupyter-kernelspec:/usr/bin/jupyter-kernelspec3"
depends="python3-setuptools python3-traitlets python3-jupyter_core
python3-pyzmq python3-dateutil"
alternatives="
jupyter-client:jupyter-kernel:/usr/bin/jupyter-kernel3
jupyter-client:jupyter-kernelspec:/usr/bin/jupyter-kernelspec3
jupyter-client:jupyter-run:/usr/bin/jupyter-run3"
pkg_install() {
vmove usr/bin/jupyter-kernelspec3
vmove usr/bin/*3
vmove usr/lib/python3*
vlicense COPYING.md LICENSE
}