mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-02-06 16:31:41 +01:00
51 lines
1.3 KiB
Plaintext
51 lines
1.3 KiB
Plaintext
# Contributor: Kevin Daudt <kdaudt@alpinelinux.org>
|
|
# Maintainer: Kevin Daudt <kdaudt@alpinelinux.org>
|
|
pkgname=ipython
|
|
pkgver=7.13.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-traitlets
|
|
py3-pexpect
|
|
py3-prompt_toolkit<2.1.0
|
|
py3-pygments
|
|
py3-pickleshare
|
|
py3-decorator
|
|
py3-backcall
|
|
py3-simplegeneric
|
|
py3-setuptools
|
|
"
|
|
checkdepends="py3-pathlib2"
|
|
checkdepends="py3-pytest py3-nose py3-matplotlib"
|
|
subpackages="$pkgname-doc"
|
|
source="$pkgname-$pkgver.tar.gz::https://github.com/ipython/ipython/archive/$pkgver.tar.gz"
|
|
builddir="$srcdir/$pkgname-$pkgver/"
|
|
|
|
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 --prefix=/usr --root="$pkgdir"
|
|
}
|
|
|
|
sha512sums="ee156643bd7d0f0c1525818ed8352b1d19b321e4f1259198946a7e0bac8af169e4f7785b685e9b9fcc6bc4288962ca8084fff52f2183e32932c7d4a09fa4fc1c ipython-7.13.0.tar.gz"
|