36 lines
1.2 KiB
Bash
36 lines
1.2 KiB
Bash
# Template file for 'python-jupyter_console'
|
|
pkgname=python-jupyter_console
|
|
version=5.2.0
|
|
revision=3
|
|
archs=noarch
|
|
wrksrc="jupyter_console-${version}"
|
|
build_style=python-module
|
|
pycompile_module="jupyter_console"
|
|
hostmakedepends="python-setuptools python3-setuptools"
|
|
depends="python-ipython python-ipython_ipykernel python-jupyter_client
|
|
python-prompt_toolkit1 python-Pygments"
|
|
short_desc="Jupyter terminal console (Python2)"
|
|
maintainer="Alessio Sergi <al3hex@gmail.com>"
|
|
license="BSD-3-Clause"
|
|
homepage="https://github.com/jupyter/jupyter_console"
|
|
distfiles="${PYPI_SITE}/j/jupyter_console/jupyter_console-${version}.tar.gz"
|
|
checksum=545dedd3aaaa355148093c5609f0229aeb121b4852995c2accfa64fe3e0e55cd
|
|
alternatives="jupyter-console:jupyter-console:/usr/bin/jupyter-console2"
|
|
|
|
post_install() {
|
|
vlicense COPYING.md LICENSE
|
|
}
|
|
|
|
python3-jupyter_console_package() {
|
|
archs=noarch
|
|
depends="python3-ipython python3-ipython_ipykernel python3-jupyter_client
|
|
python3-prompt_toolkit1 python3-Pygments"
|
|
pycompile_module="jupyter_console"
|
|
short_desc="${short_desc/Python2/Python3}"
|
|
alternatives="jupyter-console:jupyter-console:/usr/bin/jupyter-console3"
|
|
pkg_install() {
|
|
vmove usr/bin/jupyter-console3
|
|
vmove usr/lib/python3*
|
|
vlicense COPYING.md LICENSE
|
|
}
|
|
}
|