[arch-commits] Commit in python-jupyterlab_server/trunk (PKGBUILD)

Antonio Rojas arojas at gemini.archlinux.org
Wed Mar 16 19:56:33 UTC 2022


    Date: Wednesday, March 16, 2022 @ 19:56:33
  Author: arojas
Revision: 1155825

Update te 2.11.0

Modified:
  python-jupyterlab_server/trunk/PKGBUILD

----------+
 PKGBUILD |   12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2022-03-16 19:53:44 UTC (rev 1155824)
+++ PKGBUILD	2022-03-16 19:56:33 UTC (rev 1155825)
@@ -3,7 +3,7 @@
 
 _pipname=jupyterlab_server
 pkgname=python-$_pipname
-pkgver=2.10.3
+pkgver=2.11.0
 pkgrel=1
 pkgdesc='Launch an application built using JupyterLab'
 arch=(any)
@@ -10,20 +10,20 @@
 url='https://jupyter.org/'
 license=(custom)
 depends=(jupyter-server python-requests python-json5 python-babel)
-makedepends=(python-setuptools)
+makedepends=(python-build python-installer)
 conflicts=(jupyterlab_server)
 replaces=(jupyterlab_server)
 source=(https://pypi.io/packages/source/j/$_pipname/$_pipname-$pkgver.tar.gz)
-sha256sums=('3fb84a5813d6d836ceda773fb2d4e9ef3c7944dbc1b45a8d59d98641a80de80a')
+sha256sums=('865e0b1fddefb173b1877dfe0ae115e1df94d9b4ca745d53e57f7b4e4f882396')
 
 build() {
   cd $_pipname-$pkgver
-  python setup.py build 
+  python -m build --wheel --no-isolation
 }
 
 package() {
   cd $_pipname-$pkgver
-  python setup.py install --skip-build --root="$pkgdir" --optimize=1
+  python -m installer --destdir="$pkgdir" dist/*.whl
 
-  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