void-packages/srcpkgs/python3-ipython/template

33 lines
1001 B
Bash

# Template file for 'python3-ipython'
pkgname=python3-ipython
version=7.17.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_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=b70974aaa2674b05eb86a910c02ed09956a33f2dd6c71afc60f0b128a77e7f28
conflicts="python-ipython<=5.8.0_2"
do_check() {
pytest
}
post_install() {
# remove iptest
rm -f ${DESTDIR}/usr/bin/iptest*
vlicense COPYING.rst LICENSE
}