mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-27 07:52:55 +02:00
python-jupyter_nbconvert: rebuild for Python 3.5
Switch to python3-* pkgs. Convert python3.4-* pkg into dummy pkg.
This commit is contained in:
parent
6d4f846557
commit
2ad3ac9a31
3 changed files with 19 additions and 13 deletions
|
@ -1,2 +1,2 @@
|
||||||
To convert notebooks to formats other than HTML and markdown install
|
To convert notebooks to formats other than HTML and markdown install
|
||||||
python3.4-Sphinx and/or pandoc.
|
python3-Sphinx and/or pandoc.
|
|
@ -1,12 +1,11 @@
|
||||||
# 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=3
|
revision=4
|
||||||
noarch=yes
|
noarch=yes
|
||||||
wrksrc="nbconvert-${version}"
|
wrksrc="nbconvert-${version}"
|
||||||
build_style=python-module
|
build_style=python-module
|
||||||
python_versions="2.7 3.4"
|
hostmakedepends="python-setuptools python3-setuptools"
|
||||||
hostmakedepends="python-setuptools python3.4-setuptools"
|
|
||||||
depends="python-mistune python-Jinja2 python-Pygments python-traitlets
|
depends="python-mistune python-Jinja2 python-Pygments python-traitlets
|
||||||
python-jupyter_core python-jupyter_nbformat python-entrypoints"
|
python-jupyter_core python-jupyter_nbformat python-entrypoints"
|
||||||
pycompile_module="nbconvert"
|
pycompile_module="nbconvert"
|
||||||
|
@ -16,23 +15,29 @@ 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"
|
alternatives="jupyter-nbconvert:jupyter-nbconvert:/usr/bin/jupyter-nbconvert2"
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
vlicense COPYING.md LICENSE
|
vlicense COPYING.md LICENSE
|
||||||
}
|
}
|
||||||
|
|
||||||
python3.4-jupyter_nbconvert_package() {
|
python3-jupyter_nbconvert_package() {
|
||||||
noarch=yes
|
noarch=yes
|
||||||
depends="python3.4-mistune python3.4-Jinja2 python3.4-Pygments python3.4-traitlets
|
depends="python3-mistune python3-Jinja2 python3-Pygments python3-traitlets
|
||||||
python3.4-jupyter_core python3.4-jupyter_nbformat python3.4-entrypoints"
|
python3-jupyter_core python3-jupyter_nbformat python3-entrypoints"
|
||||||
pycompile_version="3.4"
|
|
||||||
pycompile_module="nbconvert"
|
pycompile_module="nbconvert"
|
||||||
short_desc="${short_desc/Python2/Python3.4}"
|
replaces="python3.4-jupyter_nbconvert>=0"
|
||||||
alternatives="jupyter-nbconvert:jupyter-nbconvert:/usr/bin/jupyter-nbconvert3.4"
|
short_desc="${short_desc/Python2/Python3}"
|
||||||
|
alternatives="jupyter-nbconvert:jupyter-nbconvert:/usr/bin/jupyter-nbconvert3"
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
vmove usr/bin/jupyter-nbconvert3.4
|
vmove usr/bin/jupyter-nbconvert3
|
||||||
vmove usr/lib/python3.4
|
vmove usr/lib/python3*
|
||||||
vlicense COPYING.md LICENSE
|
vlicense COPYING.md LICENSE
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
python3.4-jupyter_nbconvert_package() {
|
||||||
|
noarch=yes
|
||||||
|
build_style=meta
|
||||||
|
short_desc="${short_desc/Python2/Python3.4} (transitional dummy package)"
|
||||||
|
depends="python3-jupyter_nbconvert>=${version}_${revision}"
|
||||||
|
}
|
||||||
|
|
1
srcpkgs/python3-jupyter_nbconvert
Symbolic link
1
srcpkgs/python3-jupyter_nbconvert
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
python-jupyter_nbconvert
|
Loading…
Add table
Reference in a new issue