python-texttable: update to 1.3.1
[void-packages.git] / srcpkgs / python-jupyter_console / template
blobd47f03c302d2cfd6acab0ee0711f56825c42f3e3
1 # Template file for 'python-jupyter_console'
2 pkgname=python-jupyter_console
3 version=5.2.0
4 revision=2
5 noarch=yes
6 wrksrc="jupyter_console-${version}"
7 build_style=python-module
8 hostmakedepends="python-setuptools python3-setuptools"
9 depends="python-ipython python-ipython_ipykernel python-jupyter_client
10  python-prompt_toolkit python-Pygments"
11 pycompile_module="jupyter_console"
12 short_desc="Jupyter terminal console (Python2)"
13 maintainer="Alessio Sergi <al3hex@gmail.com>"
14 homepage="https://github.com/jupyter/jupyter_console"
15 license="3-clause-BSD"
16 distfiles="${PYPI_SITE}/j/jupyter_console/jupyter_console-${version}.tar.gz"
17 checksum=545dedd3aaaa355148093c5609f0229aeb121b4852995c2accfa64fe3e0e55cd
18 alternatives="jupyter-console:jupyter-console:/usr/bin/jupyter-console2"
20 post_install() {
21         vlicense COPYING.md LICENSE
24 python3-jupyter_console_package() {
25         noarch=yes
26         depends="python3-ipython python3-ipython_ipykernel python3-jupyter_client
27          python3-prompt_toolkit python3-Pygments"
28         pycompile_module="jupyter_console"
29         short_desc="${short_desc/Python2/Python3}"
30         alternatives="jupyter-console:jupyter-console:/usr/bin/jupyter-console3"
31         pkg_install() {
32                 vmove usr/bin/jupyter-console3
33                 vmove usr/lib/python3*
34                 vlicense COPYING.md LICENSE
35         }