1 # Template file for 'python-jupyter_core'
2 pkgname=python-jupyter_core
6 wrksrc="jupyter_core-${version}"
7 build_style=python-module
8 hostmakedepends="python-setuptools python3-setuptools"
9 depends="python-traitlets"
10 pycompile_module="jupyter_core jupyter.py"
11 short_desc="Jupyter core package (Python2)"
12 maintainer="Alessio Sergi <al3hex@gmail.com>"
13 homepage="https://github.com/jupyter/jupyter_core"
14 license="3-clause-BSD"
15 distfiles="${PYPI_SITE}/j/jupyter_core/jupyter_core-${version}.tar.gz"
16 checksum=ba70754aa680300306c699790128f6fbd8c306ee5927976cbe48adacf240c0b7
19 jupyter-core:jupyter:/usr/bin/jupyter2
20 jupyter-core:jupyter-migrate:/usr/bin/jupyter-migrate2"
23 vlicense COPYING.md LICENSE
26 python3-jupyter_core_package() {
28 jupyter-core:jupyter:/usr/bin/jupyter3
29 jupyter-core:jupyter-migrate:/usr/bin/jupyter-migrate3"
31 depends="python3-traitlets"
32 pycompile_module="jupyter_core jupyter.py"
33 short_desc="${short_desc/Python2/Python3}"
35 vmove usr/bin/jupyter3
36 vmove usr/bin/jupyter-migrate3
37 vmove usr/lib/python3*
38 vlicense COPYING.md LICENSE