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

Antonio Rojas arojas at gemini.archlinux.org
Wed Mar 16 07:48:31 UTC 2022


    Date: Wednesday, March 16, 2022 @ 07:48:30
  Author: arojas
Revision: 1155304

Update to 3.6.0

Modified:
  jupyter-widgetsnbextension/trunk/PKGBUILD

----------+
 PKGBUILD |   15 ++++++++-------
 1 file changed, 8 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2022-03-16 07:45:14 UTC (rev 1155303)
+++ PKGBUILD	2022-03-16 07:48:30 UTC (rev 1155304)
@@ -2,7 +2,7 @@
 # Maintainer: Kyle Keen <keenerd at gmail.com>
 
 pkgname=jupyter-widgetsnbextension
-pkgver=3.5.2
+pkgver=3.6.0
 pkgrel=1
 epoch=1
 pkgdesc="Interactive HTML widgets for Jupyter notebooks"
@@ -10,17 +10,18 @@
 url="https://pypi.python.org/pypi/widgetsnbextension"
 license=('BSD')
 depends=('jupyter-notebook')
+makedepends=('python-build' 'python-installer' 'python-wheel')
 source=("https://pypi.io/packages/source/w/widgetsnbextension/widgetsnbextension-$pkgver.tar.gz")
-md5sums=('c126a06559afe658e285bcd483790710')
+md5sums=('60c9ddbc7a04ff3c92c5570ec063f9b0')
 
 build() {
-  cd "widgetsnbextension-$pkgver"
-  python setup.py build
+  cd widgetsnbextension-$pkgver
+  python -m build --wheel --no-isolation
 }
 
 package() {
-  cd "widgetsnbextension-$pkgver"
-  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+  cd widgetsnbextension-$pkgver
+  python -m installer --destdir="$pkgdir" dist/*.whl
   mv "$pkgdir/usr/etc" "$pkgdir/etc"
-  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+  install -Dm644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname"
 }



More information about the arch-commits mailing list