[arch-commits] Commit in jupyter-nbclassic/repos/community-any (PKGBUILD PKGBUILD)

Antonio Rojas arojas at gemini.archlinux.org
Thu Mar 3 08:21:10 UTC 2022


    Date: Thursday, March 3, 2022 @ 08:21:10
  Author: arojas
Revision: 1140357

archrelease: copy trunk to community-any

Added:
  jupyter-nbclassic/repos/community-any/PKGBUILD
    (from rev 1140356, jupyter-nbclassic/trunk/PKGBUILD)
Deleted:
  jupyter-nbclassic/repos/community-any/PKGBUILD

----------+
 PKGBUILD |   54 +++++++++++++++++++++++++++---------------------------
 1 file changed, 27 insertions(+), 27 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-03-03 08:20:58 UTC (rev 1140356)
+++ PKGBUILD	2022-03-03 08:21:10 UTC (rev 1140357)
@@ -1,27 +0,0 @@
-# Maintainer: Antonio Rojas <arojas at archlinux.org>
-
-_pipname=nbclassic
-pkgname=jupyter-$_pipname
-pkgver=0.3.5
-pkgrel=1
-pkgdesc='Jupyter Notebook as a Jupyter Server Extension'
-arch=(any)
-url='https://jupyter.org/'
-license=(custom)
-depends=(jupyter-server jupyter-notebook)
-makedepends=(python-setuptools)
-source=(https://pypi.io/packages/source/${_pipname:0:1}/$_pipname/$_pipname-$pkgver.tar.gz)
-sha256sums=('99444dd63103af23c788d9b5172992f12caf8c3098dd5a35c787f0df31490c29')
-
-build() {
-  cd $_pipname-$pkgver
-  python setup.py build 
-}
-
-package() {
-  cd $_pipname-$pkgver
-  python setup.py install --skip-build --root="$pkgdir" --optimize=1
-  mv "$pkgdir"/{usr/,}etc
-
-  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}

Copied: jupyter-nbclassic/repos/community-any/PKGBUILD (from rev 1140356, jupyter-nbclassic/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-03-03 08:21:10 UTC (rev 1140357)
@@ -0,0 +1,27 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+
+_pipname=nbclassic
+pkgname=jupyter-$_pipname
+pkgver=0.3.6
+pkgrel=1
+pkgdesc='Jupyter Notebook as a Jupyter Server Extension'
+arch=(any)
+url='https://jupyter.org/'
+license=(custom)
+depends=(jupyter-server jupyter-notebook-shim)
+makedepends=(python-build python-installer)
+source=(https://pypi.io/packages/source/${_pipname:0:1}/$_pipname/$_pipname-$pkgver.tar.gz)
+sha256sums=('7dbac0a6cb71bbe3afa1fe89369e6e3174d89f42aa08216a327046de45aa9a4f')
+
+build() {
+  cd $_pipname-$pkgver
+  python -m build --wheel --no-isolation
+}
+
+package() {
+  cd $_pipname-$pkgver
+  python -m installer --destdir="$pkgdir" dist/*.whl
+  mv "$pkgdir"/{usr/,}etc
+
+  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}



More information about the arch-commits mailing list