[arch-commits] Commit in jupyterlab/repos/community-any (PKGBUILD PKGBUILD)
Antonio Rojas
arojas at gemini.archlinux.org
Wed Mar 2 20:36:51 UTC 2022
Date: Wednesday, March 2, 2022 @ 20:36:51
Author: arojas
Revision: 1139842
archrelease: copy trunk to community-any
Added:
jupyterlab/repos/community-any/PKGBUILD
(from rev 1139841, jupyterlab/trunk/PKGBUILD)
Deleted:
jupyterlab/repos/community-any/PKGBUILD
----------+
PKGBUILD | 56 ++++++++++++++++++++++++++++----------------------------
1 file changed, 28 insertions(+), 28 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-03-02 20:36:42 UTC (rev 1139841)
+++ PKGBUILD 2022-03-02 20:36:51 UTC (rev 1139842)
@@ -1,28 +0,0 @@
-# Maintainer: Antonio Rojas <arojas at archlinux.org>
-
-pkgname=jupyterlab
-_pipname=jupyterlab
-pkgver=3.2.9
-pkgrel=1
-pkgdesc='JupyterLab computational environment'
-arch=(any)
-url='https://github.com/jupyterlab/jupyterlab'
-license=(custom)
-makedepends=(python-setuptools)
-depends=(python-jupyterlab_server python-jupyter_packaging jupyter-nbclassic nodejs)
-optdepends=('npm: to install extensions' 'jupyterlab-widgets: ipywidgets support')
-source=(https://pypi.io/packages/source/${_pipname:0:1}/$_pipname/$_pipname-$pkgver.tar.gz)
-sha256sums=('65ddc34e5da1a764606e38c4f70cf9d4ac1c05182813cf0ab2dfea312c701124')
-
-build() {
- cd $pkgname-$pkgver
- python setup.py build
-}
-
-package() {
- cd $pkgname-$pkgver
- python setup.py install --root="$pkgdir" --optimize=1
- mv "$pkgdir"/usr/etc "$pkgdir"
-
- install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
Copied: jupyterlab/repos/community-any/PKGBUILD (from rev 1139841, jupyterlab/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-03-02 20:36:51 UTC (rev 1139842)
@@ -0,0 +1,28 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+
+pkgname=jupyterlab
+_pipname=jupyterlab
+pkgver=3.3.0
+pkgrel=1
+pkgdesc='JupyterLab computational environment'
+arch=(any)
+url='https://github.com/jupyterlab/jupyterlab'
+license=(custom)
+makedepends=(python-build python-installer)
+depends=(python-jupyterlab_server python-jupyter_packaging jupyter-nbclassic nodejs)
+optdepends=('npm: to install extensions' 'jupyterlab-widgets: ipywidgets support')
+source=(https://pypi.io/packages/source/${_pipname:0:1}/$_pipname/$_pipname-$pkgver.tar.gz)
+sha256sums=('c7a1997bebf5487f8c17587f519039125014d122cdd5d60beffad4b266da330f')
+
+build() {
+ cd $pkgname-$pkgver
+ python -m build --wheel --no-isolation
+}
+
+package() {
+ cd $pkgname-$pkgver
+ python -m installer --destdir="$pkgdir" dist/*.whl
+ mv "$pkgdir"/usr/etc "$pkgdir"
+
+ install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
More information about the arch-commits
mailing list