[arch-commits] Commit in jupyter_console/repos/community-any (PKGBUILD PKGBUILD)

Kyle Keen kkeen at archlinux.org
Tue Jan 28 02:52:11 UTC 2020


    Date: Tuesday, January 28, 2020 @ 02:52:09
  Author: kkeen
Revision: 557030

archrelease: copy trunk to community-any

Added:
  jupyter_console/repos/community-any/PKGBUILD
    (from rev 557029, jupyter_console/trunk/PKGBUILD)
Deleted:
  jupyter_console/repos/community-any/PKGBUILD

----------+
 PKGBUILD |   58 +++++++++++++++++++++++++++++++---------------------------
 1 file changed, 31 insertions(+), 27 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-01-28 02:51:47 UTC (rev 557029)
+++ PKGBUILD	2020-01-28 02:52:09 UTC (rev 557030)
@@ -1,27 +0,0 @@
-# Maintainer: Kyle Keen <keenerd at gmail.com>
-
-pkgname=jupyter_console
-pkgver=6.0.0
-pkgrel=3
-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=('59bbd67721a7a5eb7361967af962cc4f')
-
-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"
-}

Copied: jupyter_console/repos/community-any/PKGBUILD (from rev 557029, jupyter_console/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-01-28 02:52:09 UTC (rev 557030)
@@ -0,0 +1,31 @@
+# Maintainer: Kyle Keen <keenerd at gmail.com>
+
+pkgname=jupyter_console
+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/"
+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=('b4f162292cbeee24c0d1551f21c8de3a')
+
+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"
+
+  # 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