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

Antonio Rojas arojas at gemini.archlinux.org
Wed Mar 9 20:54:22 UTC 2022


    Date: Wednesday, March 9, 2022 @ 20:54:22
  Author: arojas
Revision: 1145768

archrelease: copy trunk to community-any

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

----------+
 PKGBUILD |   52 ++++++++++++++++++++++++++--------------------------
 1 file changed, 26 insertions(+), 26 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-03-09 20:54:13 UTC (rev 1145767)
+++ PKGBUILD	2022-03-09 20:54:22 UTC (rev 1145768)
@@ -1,26 +0,0 @@
-# Maintainer: Kyle Keen <keenerd at gmail.com>
-
-pkgname=jupyter_console
-pkgver=6.4.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=('400cdf73675aff2456172cb9d424d10d')
-
-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 1145767, jupyter_console/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-03-09 20:54:22 UTC (rev 1145768)
@@ -0,0 +1,26 @@
+# Maintainer: Kyle Keen <keenerd at gmail.com>
+
+pkgname=jupyter_console
+pkgver=6.4.3
+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-build' 'python-installer' 'python-wheel')
+#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=('8e1f80a23d264cb7edced8043aaa6fe0')
+
+build() {
+  cd "$srcdir/jupyter_console-$pkgver"
+  python -m build --wheel --no-isolation
+}
+
+package() {
+  cd "$srcdir/jupyter_console-$pkgver"
+  python -m installer --destdir="$pkgdir" dist/*.whl
+  install -Dm644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname"
+}



More information about the arch-commits mailing list