aboutsummaryrefslogtreecommitdiffstats
path: root/community/ipython/APKBUILD
blob: 13203ba711ef5954b4ef4846e4b6c325ba9d48c6 (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
# Contributor: Kevin Daudt <kdaudt@alpinelinux.org>
# Maintainer: Kevin Daudt <kdaudt@alpinelinux.org>
pkgname=ipython
pkgver=7.4.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-traitlets
	py3-pexpect
	py3-prompt_toolkit>2.0.0
	py3-jedi
	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="f3b9b76d0eebdfd74424ac8ed7b788e519f963a080e4b306fbcd2b010a31d0968b31c18e23314a2e7b9e55d5d1d1997183538ff364b9df2316f4562265be8c16  ipython-7.4.0.tar.gz"