mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-08 16:13:50 +02:00
python-jupyter_nbformat: rebuild for Python 3.5
Switch to python3-* pkgs. Convert python3.4-* pkg into dummy pkg.
This commit is contained in:
parent
a5d66035dd
commit
63a641db8a
2 changed files with 18 additions and 12 deletions
|
@ -1,12 +1,11 @@
|
||||||
# Template file for 'python-jupyter_nbformat'
|
# Template file for 'python-jupyter_nbformat'
|
||||||
pkgname=python-jupyter_nbformat
|
pkgname=python-jupyter_nbformat
|
||||||
version=4.1.0
|
version=4.1.0
|
||||||
revision=1
|
revision=2
|
||||||
noarch=yes
|
noarch=yes
|
||||||
wrksrc="nbformat-${version}"
|
wrksrc="nbformat-${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-jsonschema python-ipython_genutils python-traitlets python-jupyter_core"
|
depends="python-jsonschema python-ipython_genutils python-traitlets python-jupyter_core"
|
||||||
pycompile_module="nbformat"
|
pycompile_module="nbformat"
|
||||||
short_desc="The Jupyter notebook format (Python2)"
|
short_desc="The Jupyter notebook format (Python2)"
|
||||||
|
@ -15,23 +14,29 @@ homepage="https://github.com/jupyter/nbformat"
|
||||||
license="3-clause-BSD"
|
license="3-clause-BSD"
|
||||||
distfiles="${PYPI_SITE}/n/nbformat/nbformat-${version}.tar.gz"
|
distfiles="${PYPI_SITE}/n/nbformat/nbformat-${version}.tar.gz"
|
||||||
checksum=dbf6c0ed0cb7c5a7184536368f1dd1ada2d48fd6f016e0f9e9b69236e28c0857
|
checksum=dbf6c0ed0cb7c5a7184536368f1dd1ada2d48fd6f016e0f9e9b69236e28c0857
|
||||||
alternatives="jupyter-nbformat:jupyter-trust:/usr/bin/jupyter-trust2.7"
|
alternatives="jupyter-nbformat:jupyter-trust:/usr/bin/jupyter-trust2"
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
vlicense COPYING.md LICENSE
|
vlicense COPYING.md LICENSE
|
||||||
}
|
}
|
||||||
|
|
||||||
python3.4-jupyter_nbformat_package() {
|
python3-jupyter_nbformat_package() {
|
||||||
noarch=yes
|
noarch=yes
|
||||||
depends="python3.4-jsonschema python3.4-ipython_genutils python3.4-traitlets
|
depends="python3-jsonschema python3-ipython_genutils python3-traitlets
|
||||||
python3.4-jupyter_core"
|
python3-jupyter_core"
|
||||||
pycompile_version="3.4"
|
|
||||||
pycompile_module="nbformat"
|
pycompile_module="nbformat"
|
||||||
short_desc="${short_desc/Python2/Python3.4}"
|
replaces="python3.4-jupyter_nbformat>=0"
|
||||||
alternatives="jupyter-nbformat:jupyter-trust:/usr/bin/jupyter-trust3.4"
|
short_desc="${short_desc/Python2/Python3}"
|
||||||
|
alternatives="jupyter-nbformat:jupyter-trust:/usr/bin/jupyter-trust3"
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
vmove usr/bin/jupyter-trust3.4
|
vmove usr/bin/jupyter-trust3
|
||||||
vmove usr/lib/python3.4
|
vmove usr/lib/python3*
|
||||||
vlicense COPYING.md LICENSE
|
vlicense COPYING.md LICENSE
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
python3.4-jupyter_nbformat_package() {
|
||||||
|
noarch=yes
|
||||||
|
build_style=meta
|
||||||
|
short_desc="${short_desc/Python2/Python3.4} (transitional dummy package)"
|
||||||
|
depends="python3-jupyter_nbformat>=${version}_${revision}"
|
||||||
|
}
|
||||||
|
|
1
srcpkgs/python3-jupyter_nbformat
Symbolic link
1
srcpkgs/python3-jupyter_nbformat
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
python-jupyter_nbformat
|
Loading…
Add table
Reference in a new issue