# Template file for 'python3-ipython'
pkgname=python3-ipython
version=8.13.1
revision=1
build_style=python3-module
hostmakedepends="python3-setuptools"
depends="python3-setuptools python3-jedi python3-decorator python3-pickleshare
 python3-traitlets python3-prompt_toolkit python3-Pygments python3-backcall
 python3-matplotlib-inline python3-pexpect python3-stack_data"
checkdepends="python3-pytest $depends python3-matplotlib python3-Pillow
 python3-requests python3-testpath python3-numpy python3-ipython_ipykernel
 python3-jupyter_nbformat python3-Pygments"
short_desc="Enhanced interactive Python3 shell"
maintainer="Andrew J. Hesford <ajh@sideband.org>"
license="BSD-3-Clause"
homepage="https://ipython.org/"
changelog="https://github.com/ipython/ipython/raw/main/docs/source/whatsnew/version8.rst"
distfiles="${PYPI_SITE}/i/ipython/ipython-${version}.tar.gz"
checksum=9c8487ac18f330c8a683fc50ab6d7bc0fcf9ef1d7a9f6ce7926938261067b81f
conflicts="python-ipython<=5.8.0_2"

post_install() {
	# remove iptest
	rm -f ${DESTDIR}/usr/bin/iptest*

	vlicense COPYING.rst LICENSE
}
