[arch-commits] Commit in jupyter-nbclient/trunk (PKGBUILD)

Antonio Rojas arojas at gemini.archlinux.org
Sun Mar 6 21:17:45 UTC 2022


    Date: Sunday, March 6, 2022 @ 21:17:44
  Author: arojas
Revision: 1144024

Update to 0.5.12

Modified:
  jupyter-nbclient/trunk/PKGBUILD

----------+
 PKGBUILD |   13 +++++++++----
 1 file changed, 9 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2022-03-06 21:12:58 UTC (rev 1144023)
+++ PKGBUILD	2022-03-06 21:17:44 UTC (rev 1144024)
@@ -1,7 +1,7 @@
 # Maintainer: Kyle Keen <keenerd at gmail.com>
 
 pkgname=jupyter-nbclient
-pkgver=0.5.11
+pkgver=0.5.12
 pkgrel=1
 pkgdesc="A tool for running Jupyter Notebooks in different execution contexts."
 arch=('any')
@@ -8,13 +8,18 @@
 url="https://github.com/jupyter/nbclient"
 license=('BSD')
 depends=('python-nest-asyncio' 'python-traitlets' 'python-async_generator')
-makedepends=('python-setuptools')
+makedepends=('python-build' 'python-installer' 'python-setuptools' 'python-wheel')
 source=("https://github.com/jupyter/nbclient/archive/v$pkgver/$pkgname-$pkgver.tar.gz")
-md5sums=('d6f64db4fd8ec8588563a49fa7d5983f')
+md5sums=('06f448e0c94565dbc8a950fc1b64945b')
 
+build() {
+  cd nbclient-$pkgver
+  python -m build --wheel --no-isolation
+}
+
 package() {
   cd "$srcdir/nbclient-$pkgver"
-  python3 setup.py install --prefix=/usr --root="$pkgdir" --optimize=0
+  python -m installer --destdir="$pkgdir" dist/*.whl
 
   install -Dm644 "LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
 }



More information about the arch-commits mailing list