blob: 91f60724e0987ea3cc6792b03afa759dc063f86c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
|
# Contributor: Kevin Daudt <kdaudt@alpinelinux.org>
# Maintainer: Kevin Daudt <kdaudt@alpinelinux.org>
pkgname=ipython
pkgver=7.12.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="2779baa51a7cb691ab346207fa22d4ce9f84249dd7b3b7cca21a2249ef17a9e2d2a0d8f7089f0d5872b2b1dd3b9bc1f74c65eee7cb18fbe4704697d568e1268a ipython-7.12.0.tar.gz"
|