mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-07 07:33:48 +02:00
python3-jupyter_console: drop alternatives
This commit is contained in:
parent
f596326c6f
commit
5f661431aa
1 changed files with 3 additions and 5 deletions
|
@ -1,11 +1,10 @@
|
||||||
# Template file for 'python3-jupyter_console'
|
# Template file for 'python3-jupyter_console'
|
||||||
pkgname=python3-jupyter_console
|
pkgname=python3-jupyter_console
|
||||||
version=6.0.0
|
version=6.0.0
|
||||||
revision=2
|
revision=3
|
||||||
archs=noarch
|
archs=noarch
|
||||||
wrksrc="jupyter_console-${version}"
|
wrksrc="jupyter_console-${version}"
|
||||||
build_style=python3-module
|
build_style=python3-module
|
||||||
pycompile_module="jupyter_console"
|
|
||||||
hostmakedepends="python3-setuptools"
|
hostmakedepends="python3-setuptools"
|
||||||
depends="python3-ipython python3-ipython_ipykernel python3-jupyter_client
|
depends="python3-ipython python3-ipython_ipykernel python3-jupyter_client
|
||||||
python3-prompt_toolkit2 python3-Pygments"
|
python3-prompt_toolkit2 python3-Pygments"
|
||||||
|
@ -15,10 +14,9 @@ license="BSD-3-Clause"
|
||||||
homepage="https://github.com/jupyter/jupyter_console"
|
homepage="https://github.com/jupyter/jupyter_console"
|
||||||
distfiles="${PYPI_SITE}/j/jupyter_console/jupyter_console-${version}.tar.gz"
|
distfiles="${PYPI_SITE}/j/jupyter_console/jupyter_console-${version}.tar.gz"
|
||||||
checksum=308ce876354924fb6c540b41d5d6d08acfc946984bf0c97777c1ddcb42e0b2f5
|
checksum=308ce876354924fb6c540b41d5d6d08acfc946984bf0c97777c1ddcb42e0b2f5
|
||||||
alternatives="jupyter-console:jupyter-console:/usr/bin/jupyter-console3"
|
# alternatives will be a conflict
|
||||||
|
conflicts="python-jupyter_console<=6.0.0_2"
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
# create versioned script for alternatives
|
|
||||||
mv ${DESTDIR}/usr/bin/jupyter-console{,3}
|
|
||||||
vlicense COPYING.md LICENSE
|
vlicense COPYING.md LICENSE
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue