43 lines
1.5 KiB
Bash
43 lines
1.5 KiB
Bash
# Template file for 'python-jupyter_client'
|
|
pkgname=python-jupyter_client
|
|
version=5.2.4
|
|
revision=1
|
|
archs=noarch
|
|
wrksrc="jupyter_client-${version}"
|
|
build_style=python-module
|
|
pycompile_module="jupyter_client"
|
|
hostmakedepends="python-setuptools python3-setuptools"
|
|
depends="python-setuptools python-traitlets python-jupyter_core
|
|
python-pyzmq python-dateutil python-tornado python-simplejson"
|
|
short_desc="Jupyter protocol client APIs (Python2)"
|
|
maintainer="Alessio Sergi <al3hex@gmail.com>"
|
|
license="BSD-3-Clause"
|
|
homepage="https://github.com/jupyter/jupyter_client"
|
|
distfiles="${PYPI_SITE}/j/jupyter_client/jupyter_client-${version}.tar.gz"
|
|
checksum=b5f9cb06105c1d2d30719db5ffb3ea67da60919fb68deaefa583deccd8813551
|
|
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
|
|
}
|
|
|
|
python3-jupyter_client_package() {
|
|
archs=noarch
|
|
pycompile_module="jupyter_client"
|
|
short_desc="${short_desc/Python2/Python3}"
|
|
depends="python3-setuptools python3-traitlets python3-jupyter_core
|
|
python3-pyzmq python3-dateutil python3-tornado python3-simplejson"
|
|
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/*3
|
|
vmove usr/lib/python3*
|
|
vlicense COPYING.md LICENSE
|
|
}
|
|
}
|