[arch-commits] Commit in jupyter_console/trunk (PKGBUILD)
Kyle Keen
kkeen at archlinux.org
Tue Jan 28 02:51:47 UTC 2020
Date: Tuesday, January 28, 2020 @ 02:51:46
Author: kkeen
Revision: 557028
upgpkg: jupyter_console 6.1.0-1
Modified:
jupyter_console/trunk/PKGBUILD
----------+
PKGBUILD | 10 +++++++---
1 file changed, 7 insertions(+), 3 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2020-01-28 02:50:57 UTC (rev 557027)
+++ PKGBUILD 2020-01-28 02:51:46 UTC (rev 557028)
@@ -1,8 +1,8 @@
# Maintainer: Kyle Keen <keenerd at gmail.com>
pkgname=jupyter_console
-pkgver=6.0.0
-pkgrel=3
+pkgver=6.1.0
+pkgrel=1
pkgdesc="An IPython-like terminal frontend for Jupyter kernels in any language."
arch=('any')
url="https://pypi.org/project/jupyter_console/"
@@ -12,7 +12,7 @@
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=('59bbd67721a7a5eb7361967af962cc4f')
+md5sums=('b4f162292cbeee24c0d1551f21c8de3a')
build() {
cd "$srcdir/jupyter_console-$pkgver"
@@ -24,4 +24,8 @@
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"
+
+ # 6.1.0 removes the binary?
+ echo -e "#!/usr/bin/python\nfrom jupyter_console import app\nif __name__ == '__main__':\n app.main()" > jupyter-console
+ install -Dm755 jupyter-console "$pkgdir/usr/bin/jupyter-console"
}
More information about the arch-commits
mailing list