void-packages/srcpkgs/python3-ipython/template
2020-10-10 10:21:21 -04:00

32 lines
988 B
Bash

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