mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-09 08:33:51 +02:00
After more than a year the switch to python3 packages, it is time to say them goodbye. So long, and thanks for all the fish.
40 lines
1.1 KiB
Bash
40 lines
1.1 KiB
Bash
# Template file for 'python-jupyter_core'
|
|
pkgname=python-jupyter_core
|
|
version=4.4.0
|
|
revision=1
|
|
noarch=yes
|
|
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"
|
|
distfiles="${PYPI_SITE}/j/jupyter_core/jupyter_core-${version}.tar.gz"
|
|
checksum=ba70754aa680300306c699790128f6fbd8c306ee5927976cbe48adacf240c0b7
|
|
|
|
alternatives="
|
|
jupyter-core:jupyter:/usr/bin/jupyter2
|
|
jupyter-core:jupyter-migrate:/usr/bin/jupyter-migrate2"
|
|
|
|
post_install() {
|
|
vlicense COPYING.md LICENSE
|
|
}
|
|
|
|
python3-jupyter_core_package() {
|
|
alternatives="
|
|
jupyter-core:jupyter:/usr/bin/jupyter3
|
|
jupyter-core:jupyter-migrate:/usr/bin/jupyter-migrate3"
|
|
noarch=yes
|
|
depends="python3-traitlets"
|
|
pycompile_module="jupyter_core jupyter.py"
|
|
short_desc="${short_desc/Python2/Python3}"
|
|
pkg_install() {
|
|
vmove usr/bin/jupyter3
|
|
vmove usr/bin/jupyter-migrate3
|
|
vmove usr/lib/python3*
|
|
vlicense COPYING.md LICENSE
|
|
}
|
|
}
|