void-packages/srcpkgs/python3-ipython/template

32 lines
988 B
Bash

# Template file for 'python3-ipython'
pkgname=python3-ipython
version=7.19.0
revision=1
wrksrc="ipython-${version}"
build_style=python3-module
hostmakedepends="python3-setuptools"
depends="python3-pickleshare python3-simplegeneric python3-traitlets
python3-pexpect python3-prompt_toolkit 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 python3-Pillow"
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=cbb2ef3d5961d44e6a963b9817d4ea4e1fa2eb589c371a470fed14d8d40cbd6a
conflicts="python-ipython<=5.8.0_2"
do_check() {
pytest
}
post_install() {
# remove iptest
rm -f ${DESTDIR}/usr/bin/iptest*
vlicense COPYING.rst LICENSE
}