mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-12-26 20:02:30 +01:00
60 lines
1.4 KiB
Plaintext
60 lines
1.4 KiB
Plaintext
# Contributor: Kevin Daudt <kdaudt@alpinelinux.org>
|
|
# Maintainer: Kevin Daudt <kdaudt@alpinelinux.org>
|
|
pkgname=ipython
|
|
pkgver=9.2.0
|
|
pkgrel=0
|
|
pkgdesc="A rich toolkit to help you make the most of using Python interactively"
|
|
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-gpep517 py3-setuptools py3-wheel"
|
|
checkdepends="
|
|
bash
|
|
py3-matplotlib
|
|
py3-nose
|
|
py3-pathlib2
|
|
py3-pytest<8.0.0
|
|
py3-testpath
|
|
"
|
|
options="!check" # requires pytest<8.0.0
|
|
subpackages="$pkgname-doc $pkgname-pyc"
|
|
source="$pkgname-$pkgver.tar.gz::https://github.com/ipython/ipython/archive/$pkgver.tar.gz"
|
|
|
|
# secfixes:
|
|
# 7.31.1-r0:
|
|
# - CVE-2022-21699
|
|
|
|
build() {
|
|
gpep517 build-wheel \
|
|
--wheel-dir .dist \
|
|
--output-fd 3 3>&1 >&2
|
|
}
|
|
|
|
check() {
|
|
python3 -m venv --clear --without-pip --system-site-packages .testenv
|
|
.testenv/bin/python3 -m installer .dist/*.whl
|
|
.testenv/bin/python3 -m pytest \
|
|
--deselect=IPython/terminal/tests/test_help.py::test_trust_help \
|
|
--deselect=IPython/core/tests/test_display.py::test_set_matplotlib_formats_kwargs
|
|
}
|
|
|
|
package() {
|
|
python3 -m installer -d "$pkgdir" .dist/*.whl
|
|
}
|
|
|
|
sha512sums="
|
|
4dd6e2153cc2422fa49e4c44427ba76cc16995ddea3871ddd46abd2aa36b8e745d8fe316d5d37a96dc50e0608a8c33d9c3e74782a880884ede25fbf1d5503eb7 ipython-9.2.0.tar.gz
|
|
"
|