1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-23 11:15:13 +03:00
aports/community/ipython/APKBUILD
2023-03-02 05:56:24 +00:00

56 lines
1.4 KiB
Text

# Contributor: Kevin Daudt <kdaudt@alpinelinux.org>
# Maintainer: Kevin Daudt <kdaudt@alpinelinux.org>
pkgname=ipython
pkgver=8.11.0
pkgrel=0
pkgdesc="A rich toolkit to help you make the most of using Python interactively"
options="!check" # Too many tests fail
url="https://ipython.org/"
arch="noarch"
license="BSD-3-Clause"
depends="
py3-backcall
py3-decorator
py3-jedi
py3-matplotlib-inline
py3-pexpect
py3-pickleshare
py3-prompt_toolkit<3.1.0
py3-pygments
py3-stack_data
py3-traitlets
"
makedepends="py3-setuptools"
checkdepends="py3-pathlib2 py3-pytest py3-nose py3-matplotlib"
subpackages="$pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://github.com/ipython/ipython/archive/$pkgver.tar.gz"
# secfixes:
# 7.31.1-r0:
# - CVE-2022-21699
build() {
python3 setup.py build
}
check() {
# Requires unpackaged 'testpath'
rm -f IPython/core/tests/test_paths.py
rm -f IPython/core/tests/test_completer.py
# Requires unpackaged 'nbformat'
rm -f IPython/core/tests/test_run.py
py.test-3 \
--deselect=IPython/terminal/tests/test_help.py::test_trust_help \
--deselect=IPython/core/tests/test_display.py::test_set_matplotlib_formats_kwargs
}
package() {
python3 setup.py install --skip-build --root="$pkgdir"
}
sha512sums="
3117233375ec40ac0ea67b1b32a2bed19919093f291568f6773acbae97dd05a79878bf93a45c07c68309e2fe5bde63b112a6e37ed57cb060c4448bccad41242c ipython-8.11.0.tar.gz
"