python-jupyter_nbformat: use alternatives
This commit is contained in:
parent
ad7493009b
commit
64e92effa7
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'python-jupyter_nbformat'
|
||||
pkgname=python-jupyter_nbformat
|
||||
version=4.0.1
|
||||
revision=1
|
||||
revision=2
|
||||
noarch=yes
|
||||
wrksrc="nbformat-${version}"
|
||||
build_style=python-module
|
||||
|
@ -15,9 +15,9 @@ homepage="https://github.com/jupyter/nbformat"
|
|||
license="3-clause-BSD"
|
||||
distfiles="${PYPI_SITE}/n/nbformat/nbformat-${version}.tar.gz"
|
||||
checksum=5261c957589b9dfcd387c338d59375162ba9ca82c69e378961a1f4e641285db5
|
||||
alternatives="jupyter-nbformat:jupyter-trust:/usr/bin/jupyter-trust2.7"
|
||||
|
||||
post_install() {
|
||||
vbin build-3.4/scripts-3.4/jupyter-trust jupyter-trust3.4
|
||||
vlicense COPYING.md LICENSE
|
||||
}
|
||||
|
||||
|
@ -28,6 +28,7 @@ python3.4-jupyter_nbformat_package() {
|
|||
pycompile_version="3.4"
|
||||
pycompile_module="nbformat"
|
||||
short_desc="${short_desc/Python2/Python3.4}"
|
||||
alternatives="jupyter-nbformat:jupyter-trust:/usr/bin/jupyter-trust3.4"
|
||||
pkg_install() {
|
||||
vmove usr/bin/jupyter-trust3.4
|
||||
vmove usr/lib/python3.4
|
||||
|
|
Loading…
Reference in New Issue