aboutsummaryrefslogtreecommitdiffstats
path: root/community/ipython/APKBUILD
blob: 7ee3b06ec986d8b2c4f84efb5ebab8253e1006da (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
# Contributor: Kevin Daudt <kdaudt@alpinelinux.org>
# Maintainer: Kevin Daudt <kdaudt@alpinelinux.org>
pkgname=ipython
pkgver=7.6.1
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-traitlets
	py3-pexpect
	py3-prompt_toolkit>2.0.0
	py3-pygments
	py3-pickleshare
	py3-decorator
	py3-backcall
	py3-simplegeneric
	py3-setuptools
	"
checkdepends="py-pathlib2"
makedepends="python3-dev py-setuptools"
subpackages="$pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://github.com/ipython/ipython/archive/$pkgver.tar.gz"
builddir="$srcdir/$pkgname-$pkgver/"

build() {
	cd "$builddir"
	python3 setup.py build
}

check() {
	cd "$builddir"
	python3 setup.py check
}

package() {
	cd "$builddir"
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="1ffb758511768fc95d1e06dee09b2e8befea95f0888a25cddb90687f0f005ec872104824854fcdb54ddbaa4e164d50e8fdff18a8085b7e8f54071951e0b443a1  ipython-7.6.1.tar.gz"