python-jupyter_console: use alternatives
This commit is contained in:
parent
4181d0c072
commit
d756e97d8b
1 changed files with 3 additions and 2 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'python-jupyter_console'
|
# Template file for 'python-jupyter_console'
|
||||||
pkgname=python-jupyter_console
|
pkgname=python-jupyter_console
|
||||||
version=4.1.1
|
version=4.1.1
|
||||||
revision=1
|
revision=2
|
||||||
noarch=yes
|
noarch=yes
|
||||||
wrksrc="jupyter_console-${version}"
|
wrksrc="jupyter_console-${version}"
|
||||||
build_style=python-module
|
build_style=python-module
|
||||||
|
@ -15,9 +15,9 @@ homepage="https://github.com/jupyter/jupyter_console"
|
||||||
license="3-clause-BSD"
|
license="3-clause-BSD"
|
||||||
distfiles="${PYPI_SITE}/j/jupyter_console/jupyter_console-${version}.tar.gz"
|
distfiles="${PYPI_SITE}/j/jupyter_console/jupyter_console-${version}.tar.gz"
|
||||||
checksum=d754cfd18d258fa9e7dde39a36e589c4a7241075b5d0f420691fa3d50e4c4ae3
|
checksum=d754cfd18d258fa9e7dde39a36e589c4a7241075b5d0f420691fa3d50e4c4ae3
|
||||||
|
alternatives="jupyter-console:jupyter-console:/usr/bin/jupyter-console2.7"
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
vbin build-3.4/scripts-3.4/jupyter-console jupyter-console3.4
|
|
||||||
vlicense COPYING.md LICENSE
|
vlicense COPYING.md LICENSE
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -27,6 +27,7 @@ python3.4-jupyter_console_package() {
|
||||||
pycompile_version="3.4"
|
pycompile_version="3.4"
|
||||||
pycompile_module="jupyter_console"
|
pycompile_module="jupyter_console"
|
||||||
short_desc="${short_desc/Python2/Python3.4}"
|
short_desc="${short_desc/Python2/Python3.4}"
|
||||||
|
alternatives="jupyter-console:jupyter-console:/usr/bin/jupyter-console3.4"
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
vmove usr/bin/jupyter-console3.4
|
vmove usr/bin/jupyter-console3.4
|
||||||
vmove usr/lib/python3.4
|
vmove usr/lib/python3.4
|
||||||
|
|
Loading…
Reference in a new issue