void-packages/srcpkgs/python3-ipython/template

33 lines
987 B
Bash

# Template file for 'python3-ipython'
pkgname=python3-ipython
version=7.13.0
revision=1
archs=noarch
wrksrc="ipython-${version}"
build_style=python3-module
hostmakedepends="python3-setuptools"
depends="python3-pickleshare python3-simplegeneric python3-traitlets
python3-pexpect python3-prompt_toolkit2 python3-Pygments python3-jedi
python3-backcall"
checkdepends="$depends python3-pytest python3-nose python3-matplotlib
python3-requests python3-testpath python3-numpy python3-ipython_ipykernel
python3-jupyter_nbformat python3-Pygments"
short_desc="Enhanced interactive Python3 shell"
maintainer="Alessio Sergi <al3hex@gmail.com>"
license="BSD-3-Clause"
homepage="https://ipython.org/"
distfiles="${PYPI_SITE}/i/ipython/ipython-${version}.tar.gz"
checksum=ca478e52ae1f88da0102360e57e528b92f3ae4316aabac80a2cd7f7ab2efb48a
conflicts="python-ipython<=5.8.0_2"
do_check() {
pytest
}
post_install() {
# remove iptest
rm -f ${DESTDIR}/usr/bin/iptest*
vlicense COPYING.rst LICENSE
}