mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-08 08:03:51 +02:00
python-jupyter_nbconvert: use alternatives
This commit is contained in:
parent
8c57adcb90
commit
ad7493009b
1 changed files with 3 additions and 2 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'python-jupyter_nbconvert'
|
# Template file for 'python-jupyter_nbconvert'
|
||||||
pkgname=python-jupyter_nbconvert
|
pkgname=python-jupyter_nbconvert
|
||||||
version=4.2.0
|
version=4.2.0
|
||||||
revision=1
|
revision=2
|
||||||
noarch=yes
|
noarch=yes
|
||||||
wrksrc="nbconvert-${version}"
|
wrksrc="nbconvert-${version}"
|
||||||
build_style=python-module
|
build_style=python-module
|
||||||
|
@ -16,9 +16,9 @@ homepage="https://github.com/jupyter/nbconvert"
|
||||||
license="3-clause-BSD"
|
license="3-clause-BSD"
|
||||||
distfiles="${PYPI_SITE}/n/nbconvert/nbconvert-${version}.tar.gz"
|
distfiles="${PYPI_SITE}/n/nbconvert/nbconvert-${version}.tar.gz"
|
||||||
checksum=55946d7522741294fcdd50799bd1777d16673ce721fecca0610cdb86749863c6
|
checksum=55946d7522741294fcdd50799bd1777d16673ce721fecca0610cdb86749863c6
|
||||||
|
alternatives="jupyter-nbconvert:jupyter-nbconvert:/usr/bin/jupyter-nbconvert2.7"
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
vbin build-3.4/scripts-3.4/jupyter-nbconvert jupyter-nbconvert3.4
|
|
||||||
vlicense COPYING.md LICENSE
|
vlicense COPYING.md LICENSE
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -29,6 +29,7 @@ python3.4-jupyter_nbconvert_package() {
|
||||||
pycompile_version="3.4"
|
pycompile_version="3.4"
|
||||||
pycompile_module="nbconvert"
|
pycompile_module="nbconvert"
|
||||||
short_desc="${short_desc/Python2/Python3.4}"
|
short_desc="${short_desc/Python2/Python3.4}"
|
||||||
|
alternatives="jupyter-nbconvert:jupyter-nbconvert:/usr/bin/jupyter-nbconvert3.4"
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
vmove usr/bin/jupyter-nbconvert3.4
|
vmove usr/bin/jupyter-nbconvert3.4
|
||||||
vmove usr/lib/python3.4
|
vmove usr/lib/python3.4
|
||||||
|
|
Loading…
Add table
Reference in a new issue