c7f5ee22df
Closes: #35618 [via git-merge-pr]
38 lines
1.4 KiB
Bash
38 lines
1.4 KiB
Bash
# Template file for 'python3-ipython'
|
|
pkgname=python3-ipython
|
|
version=8.0.1
|
|
revision=1
|
|
wrksrc="ipython-${version}"
|
|
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/"
|
|
distfiles="${PYPI_SITE}/i/ipython/ipython-${version}.tar.gz"
|
|
checksum=ab564d4521ea8ceaac26c3a2c6e5ddbca15c8848fd5a5cc325f960da88d42974
|
|
conflicts="python-ipython<=5.8.0_2"
|
|
|
|
do_check() {
|
|
# Tests fail when building (and have for awhile) but don't hinder use
|
|
PYTHONPATH="$(cd build/lib* && pwd)" python3 -m pytest \
|
|
-k "not test_all_completions_dups and \
|
|
not test_deduplicate_completions and \
|
|
not test_magic_arguments and \
|
|
not test_pinfo_docstring_if_detail_and_no_source and \
|
|
not test_pprint_heap_allocated_type and \
|
|
not test_system_interrupt and not test_code_from_file"
|
|
}
|
|
|
|
post_install() {
|
|
# remove iptest
|
|
rm -f ${DESTDIR}/usr/bin/iptest*
|
|
|
|
vlicense COPYING.rst LICENSE
|
|
}
|