summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: dc9d0016acf238a93c3143e2ec644c02d6932217 (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
# Maintainer: asm0dey <pavel.finkelshtein+AUR@gmail.com>

pkgname=ipython-7
pkgver=7.5.0
pkgrel=1
pkgdesc="IPython provides a rich toolkit to help you make the most of using Python interactively"
url="https://ipython.readthedocs.io/en/stable/"
arch=(any)
license=('BSD')
depends=(
    'python'
    'python-prompt_toolkit'
    'python-pygments'
    'python-traitlets'
    'python-pickleshare'
    'python-decorator'
    'python-jedi'
    'python-backcall'
)
provides=('ipython' 'ipython-7')
conflicts=('ipython')
makedepends=('python-setuptools')
source=("https://github.com/ipython/ipython/releases/download/$pkgver/ipython-$pkgver.tar.gz")
md5sums=('1d6a3721812916f83f8bf5ac81d9fa75')

build() {
    cd "${srcdir}/ipython-$pkgver"
    python setup.py build
}

package() {
    cd "${srcdir}/ipython-$pkgver"
    python setup.py install --skip-build --root="$pkgdir" --optimize=1
    install -D --mode 644 --target-directory "$pkgdir/usr/share/licenses/$pkgname" LICENSE
}