Date: Wednesday, March 16, 2022 @ 19:56:51
  Author: arojas
Revision: 1155828

archrelease: copy trunk to community-any

Added:
  python-jupyterlab_server/repos/community-any/PKGBUILD
    (from rev 1155826, python-jupyterlab_server/trunk/PKGBUILD)
Deleted:
  python-jupyterlab_server/repos/community-any/PKGBUILD

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD    2022-03-16 19:56:49 UTC (rev 1155827)
+++ PKGBUILD    2022-03-16 19:56:51 UTC (rev 1155828)
@@ -1,29 +0,0 @@
-# Maintainer: Antonio Rojas <aro...@archlinux.org>
-# Contributor: Guillaume Duboc <guildu...@gmail.com>
-
-_pipname=jupyterlab_server
-pkgname=python-$_pipname
-pkgver=2.10.3
-pkgrel=1
-pkgdesc='Launch an application built using JupyterLab'
-arch=(any)
-url='https://jupyter.org/'
-license=(custom)
-depends=(jupyter-server python-requests python-json5 python-babel)
-makedepends=(python-setuptools)
-conflicts=(jupyterlab_server)
-replaces=(jupyterlab_server)
-source=(https://pypi.io/packages/source/j/$_pipname/$_pipname-$pkgver.tar.gz)
-sha256sums=('3fb84a5813d6d836ceda773fb2d4e9ef3c7944dbc1b45a8d59d98641a80de80a')
-
-build() {
-  cd $_pipname-$pkgver
-  python setup.py build 
-}
-
-package() {
-  cd $_pipname-$pkgver
-  python setup.py install --skip-build --root="$pkgdir" --optimize=1
-
-  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}

Copied: python-jupyterlab_server/repos/community-any/PKGBUILD (from rev 
1155826, python-jupyterlab_server/trunk/PKGBUILD)
===================================================================
--- PKGBUILD                            (rev 0)
+++ PKGBUILD    2022-03-16 19:56:51 UTC (rev 1155828)
@@ -0,0 +1,29 @@
+# Maintainer: Antonio Rojas <aro...@archlinux.org>
+# Contributor: Guillaume Duboc <guildu...@gmail.com>
+
+_pipname=jupyterlab_server
+pkgname=python-$_pipname
+pkgver=2.11.0
+pkgrel=1
+pkgdesc='Launch an application built using JupyterLab'
+arch=(any)
+url='https://jupyter.org/'
+license=(custom)
+depends=(jupyter-server python-requests python-json5 python-babel)
+makedepends=(python-build python-installer)
+conflicts=(jupyterlab_server)
+replaces=(jupyterlab_server)
+source=(https://pypi.io/packages/source/j/$_pipname/$_pipname-$pkgver.tar.gz)
+sha256sums=('865e0b1fddefb173b1877dfe0ae115e1df94d9b4ca745d53e57f7b4e4f882396')
+
+build() {
+  cd $_pipname-$pkgver
+  python -m build --wheel --no-isolation
+}
+
+package() {
+  cd $_pipname-$pkgver
+  python -m installer --destdir="$pkgdir" dist/*.whl
+
+  install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname
+}

Reply via email to