python-jupyter: drop python 2 package
Also make jupyter as subpackage of jupyter_core to avoid vlicense lint. /usr/bin/jupyter is provided by jupyter_core packages.
This commit is contained in:
parent
ae9343ce3a
commit
229bab746b
|
@ -1,26 +0,0 @@
|
||||||
# Template file for 'python-jupyter'
|
|
||||||
pkgname=python-jupyter
|
|
||||||
version=1.0.0
|
|
||||||
revision=5
|
|
||||||
archs=noarch
|
|
||||||
build_style=meta
|
|
||||||
short_desc="The Jupyter metapackage for Void Linux (Python2)"
|
|
||||||
maintainer="Alessio Sergi <al3hex@gmail.com>"
|
|
||||||
homepage="https://jupyter.org/"
|
|
||||||
license="BSD-3-Clause"
|
|
||||||
depends="
|
|
||||||
python-jupyter_notebook
|
|
||||||
python-jupyter_console
|
|
||||||
python-jupyter_nbconvert
|
|
||||||
python-jupyter_ipywidgets"
|
|
||||||
|
|
||||||
python3-jupyter_package() {
|
|
||||||
archs=noarch
|
|
||||||
build_style=meta
|
|
||||||
short_desc="${short_desc/Python2/Python3}"
|
|
||||||
depends="
|
|
||||||
python3-jupyter_notebook
|
|
||||||
python3-jupyter_console
|
|
||||||
python3-jupyter_nbconvert
|
|
||||||
python3-jupyter_ipywidgets"
|
|
||||||
}
|
|
|
@ -1,17 +1,16 @@
|
||||||
# Template file for 'python-jupyter_core'
|
# Template file for 'python-jupyter_core'
|
||||||
pkgname=python-jupyter_core
|
pkgname=python-jupyter_core
|
||||||
version=4.4.0
|
version=4.4.0
|
||||||
revision=2
|
revision=3
|
||||||
archs=noarch
|
archs=noarch
|
||||||
wrksrc="jupyter_core-${version}"
|
wrksrc="jupyter_core-${version}"
|
||||||
build_style=python-module
|
build_style=python-module
|
||||||
hostmakedepends="python-setuptools python3-setuptools"
|
hostmakedepends="python-setuptools python3-setuptools"
|
||||||
depends="python-traitlets"
|
depends="python-traitlets"
|
||||||
pycompile_module="jupyter_core jupyter.py"
|
|
||||||
short_desc="Jupyter core package (Python2)"
|
short_desc="Jupyter core package (Python2)"
|
||||||
maintainer="Alessio Sergi <al3hex@gmail.com>"
|
maintainer="Alessio Sergi <al3hex@gmail.com>"
|
||||||
homepage="https://github.com/jupyter/jupyter_core"
|
license="BSD-3-Clause"
|
||||||
license="3-clause-BSD"
|
homepage="https://jupyter.org"
|
||||||
distfiles="${PYPI_SITE}/j/jupyter_core/jupyter_core-${version}.tar.gz"
|
distfiles="${PYPI_SITE}/j/jupyter_core/jupyter_core-${version}.tar.gz"
|
||||||
checksum=ba70754aa680300306c699790128f6fbd8c306ee5927976cbe48adacf240c0b7
|
checksum=ba70754aa680300306c699790128f6fbd8c306ee5927976cbe48adacf240c0b7
|
||||||
|
|
||||||
|
@ -29,7 +28,6 @@ python3-jupyter_core_package() {
|
||||||
jupyter-core:jupyter-migrate:/usr/bin/jupyter-migrate3"
|
jupyter-core:jupyter-migrate:/usr/bin/jupyter-migrate3"
|
||||||
archs=noarch
|
archs=noarch
|
||||||
depends="python3-traitlets"
|
depends="python3-traitlets"
|
||||||
pycompile_module="jupyter_core jupyter.py"
|
|
||||||
short_desc="${short_desc/Python2/Python3}"
|
short_desc="${short_desc/Python2/Python3}"
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
vmove usr/bin/jupyter3
|
vmove usr/bin/jupyter3
|
||||||
|
@ -38,3 +36,11 @@ python3-jupyter_core_package() {
|
||||||
vlicense COPYING.md LICENSE
|
vlicense COPYING.md LICENSE
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
python3-jupyter_package() {
|
||||||
|
build_style=meta
|
||||||
|
archs=noarch
|
||||||
|
depends="python3-jupyter_notebook python3-jupyter_console
|
||||||
|
python3-jupyter_ipywidgets"
|
||||||
|
short_desc="Jupyter metapackage for Void Linux"
|
||||||
|
}
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
python-jupyter
|
python3-jupyter_core
|
Loading…
Reference in a new issue