mirror of
https://github.com/void-linux/void-packages.git
synced 2025-08-02 02:42:56 +02:00
python-jupyter_console: split out python3-jupyter_console
This commit is contained in:
parent
dbd2d26539
commit
91d6feec2a
3 changed files with 6 additions and 19 deletions
|
@ -1,12 +1,12 @@
|
||||||
# Template file for 'python-jupyter_console'
|
# Template file for 'python-jupyter_console'
|
||||||
pkgname=python-jupyter_console
|
pkgname=python-jupyter_console
|
||||||
version=5.2.0
|
version=5.2.0
|
||||||
revision=3
|
revision=4
|
||||||
archs=noarch
|
archs=noarch
|
||||||
wrksrc="jupyter_console-${version}"
|
wrksrc="jupyter_console-${version}"
|
||||||
build_style=python-module
|
build_style=python2-module
|
||||||
pycompile_module="jupyter_console"
|
pycompile_module="jupyter_console"
|
||||||
hostmakedepends="python-setuptools python3-setuptools"
|
hostmakedepends="python-setuptools"
|
||||||
depends="python-ipython python-ipython_ipykernel python-jupyter_client
|
depends="python-ipython python-ipython_ipykernel python-jupyter_client
|
||||||
python-prompt_toolkit1 python-Pygments"
|
python-prompt_toolkit1 python-Pygments"
|
||||||
short_desc="Jupyter terminal console (Python2)"
|
short_desc="Jupyter terminal console (Python2)"
|
||||||
|
@ -18,19 +18,7 @@ checksum=545dedd3aaaa355148093c5609f0229aeb121b4852995c2accfa64fe3e0e55cd
|
||||||
alternatives="jupyter-console:jupyter-console:/usr/bin/jupyter-console2"
|
alternatives="jupyter-console:jupyter-console:/usr/bin/jupyter-console2"
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
|
# create versioned script for alternatives
|
||||||
|
mv ${DESTDIR}/usr/bin/jupyter-console{,2}
|
||||||
vlicense COPYING.md LICENSE
|
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
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
ignore="*b*"
|
ignore="*b* 6.*"
|
||||||
|
|
|
@ -1 +0,0 @@
|
||||||
python-jupyter_console
|
|
Loading…
Add table
Reference in a new issue