aboutsummaryrefslogtreecommitdiffstats
path: root/community/ipython/APKBUILD
blob: 0d4d42e3074bef320ea05aeca1c14c6742d4c2cb (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.7.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-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="1a57be9e9d06c5ea6d9a954fcf5932bd185e8dc12ba2226e12c0032185a738ed4c36acfe5dc8ad116d13cf861728f659fdb1b4671ef094a97902b77ebd836d9f  ipython-7.7.0.tar.gz"