Date: Wednesday, July 18, 2018 @ 05:19:52 Author: eschwartz Revision: 361739
archrelease: copy trunk to community-staging-any Added: jupyter_console/repos/community-staging-any/ jupyter_console/repos/community-staging-any/PKGBUILD (from rev 361738, jupyter_console/trunk/PKGBUILD) ----------+ PKGBUILD | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) Copied: jupyter_console/repos/community-staging-any/PKGBUILD (from rev 361738, jupyter_console/trunk/PKGBUILD) =================================================================== --- community-staging-any/PKGBUILD (rev 0) +++ community-staging-any/PKGBUILD 2018-07-18 05:19:52 UTC (rev 361739) @@ -0,0 +1,28 @@ +# $Id$ +# Maintainer: Kyle Keen <keen...@gmail.com> + +pkgname=jupyter_console +pkgver=5.2.0 +pkgrel=2 +pkgdesc="An IPython-like terminal frontend for Jupyter kernels in any language." +arch=('any') +url="https://pypi.org/project/jupyter_console/" +license=('BSD') +depends=('ipython' 'python-jupyter_client' 'python-ipykernel' + 'python-pygments' 'python-prompt_toolkit') +makedepends=('python-setuptools') +#source=("$pkgname-$pkgver.tgz::https://github.com/jupyter/jupyter_console/archive/$pkgver.tar.gz") +source=("https://files.pythonhosted.org/packages/source/j/$pkgname/$pkgname-$pkgver.tar.gz") +md5sums=('175953df3c76ffa6d4d5cb23198ab324') + +build() { + cd "$srcdir/jupyter_console-$pkgver" + + python setup.py build +} + +package() { + cd "$srcdir/jupyter_console-$pkgver" + python3 setup.py install --prefix=/usr --root="$pkgdir" --optimize=0 + install -Dm644 COPYING.md "$pkgdir/usr/share/licenses/$pkgname/LICENSE" +}