python-jupyter_nbconvert: use alternatives
This commit is contained in:
parent
8c57adcb90
commit
ad7493009b
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'python-jupyter_nbconvert'
|
||||
pkgname=python-jupyter_nbconvert
|
||||
version=4.2.0
|
||||
revision=1
|
||||
revision=2
|
||||
noarch=yes
|
||||
wrksrc="nbconvert-${version}"
|
||||
build_style=python-module
|
||||
|
@ -16,9 +16,9 @@ homepage="https://github.com/jupyter/nbconvert"
|
|||
license="3-clause-BSD"
|
||||
distfiles="${PYPI_SITE}/n/nbconvert/nbconvert-${version}.tar.gz"
|
||||
checksum=55946d7522741294fcdd50799bd1777d16673ce721fecca0610cdb86749863c6
|
||||
alternatives="jupyter-nbconvert:jupyter-nbconvert:/usr/bin/jupyter-nbconvert2.7"
|
||||
|
||||
post_install() {
|
||||
vbin build-3.4/scripts-3.4/jupyter-nbconvert jupyter-nbconvert3.4
|
||||
vlicense COPYING.md LICENSE
|
||||
}
|
||||
|
||||
|
@ -29,6 +29,7 @@ python3.4-jupyter_nbconvert_package() {
|
|||
pycompile_version="3.4"
|
||||
pycompile_module="nbconvert"
|
||||
short_desc="${short_desc/Python2/Python3.4}"
|
||||
alternatives="jupyter-nbconvert:jupyter-nbconvert:/usr/bin/jupyter-nbconvert3.4"
|
||||
pkg_install() {
|
||||
vmove usr/bin/jupyter-nbconvert3.4
|
||||
vmove usr/lib/python3.4
|
||||
|
|
Loading…
Reference in New Issue