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:
Đoàn Trần Công Danh 2020-03-31 12:14:36 +07:00 committed by Piotr
parent ae9343ce3a
commit 229bab746b
3 changed files with 12 additions and 32 deletions

View file

@ -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"
}

View file

@ -1,17 +1,16 @@
# Template file for 'python-jupyter_core'
pkgname=python-jupyter_core
version=4.4.0
revision=2
revision=3
archs=noarch
wrksrc="jupyter_core-${version}"
build_style=python-module
hostmakedepends="python-setuptools python3-setuptools"
depends="python-traitlets"
pycompile_module="jupyter_core jupyter.py"
short_desc="Jupyter core package (Python2)"
maintainer="Alessio Sergi <al3hex@gmail.com>"
homepage="https://github.com/jupyter/jupyter_core"
license="3-clause-BSD"
license="BSD-3-Clause"
homepage="https://jupyter.org"
distfiles="${PYPI_SITE}/j/jupyter_core/jupyter_core-${version}.tar.gz"
checksum=ba70754aa680300306c699790128f6fbd8c306ee5927976cbe48adacf240c0b7
@ -29,7 +28,6 @@ python3-jupyter_core_package() {
jupyter-core:jupyter-migrate:/usr/bin/jupyter-migrate3"
archs=noarch
depends="python3-traitlets"
pycompile_module="jupyter_core jupyter.py"
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove usr/bin/jupyter3
@ -38,3 +36,11 @@ python3-jupyter_core_package() {
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"
}

View file

@ -1 +1 @@
python-jupyter
python3-jupyter_core