# Maintainer: asm0dey pkgname=ipython-7 pkgver=7.1.1 pkgrel=2 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-2' '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=('4e1f459a7592101736d695751403bd4c') prepare() { cp -a "${srcdir}/ipython-$pkgver" "${srcdir}/python-$pkgbase-$pkgver" } build() { cd "${srcdir}/python-$pkgbase-$pkgver" python setup.py build } package() { cd "${srcdir}/python-$pkgbase-$pkgver" python setup.py install --skip-build --root="$pkgdir" --optimize=1 install -D --mode 644 --target-directory "$pkgdir/usr/share/licenses/$pkgname" LICENSE }