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

Antonio Rojas arojas at gemini.archlinux.org
Mon Apr 4 12:11:03 UTC 2022


    Date: Monday, April 4, 2022 @ 12:11:03
  Author: arojas
Revision: 1181270

archrelease: copy trunk to community-any

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-04-04 12:10:53 UTC (rev 1181269)
+++ PKGBUILD	2022-04-04 12:11:03 UTC (rev 1181270)
@@ -1,27 +0,0 @@
-# Maintainer: Antonio Rojas <arojas at archlinux.org>
-
-_pipname=nbclassic
-pkgname=jupyter-$_pipname
-pkgver=0.3.7
-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=('36dbaa88ffaf5dc05d149deb97504b86ba648f4a80a60b8a58ac94acab2daeb5')
-
-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
-}

Copied: jupyter-nbclassic/repos/community-any/PKGBUILD (from rev 1181269, jupyter-nbclassic/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-04-04 12:11:03 UTC (rev 1181270)
@@ -0,0 +1,33 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+
+_pipname=nbclassic
+pkgname=jupyter-$_pipname
+pkgver=0.3.7
+pkgrel=2
+pkgdesc='Jupyter Notebook as a Jupyter Server Extension'
+arch=(any)
+url='https://jupyter.org/'
+license=(custom)
+depends=(jupyter-server jupyter-notebook-shim jupyter-notebook)
+makedepends=(python-build python-installer)
+checkdepends=(python-pytest-tornasync)
+source=(https://pypi.io/packages/source/${_pipname:0:1}/$_pipname/$_pipname-$pkgver.tar.gz)
+sha256sums=('36dbaa88ffaf5dc05d149deb97504b86ba648f4a80a60b8a58ac94acab2daeb5')
+
+build() {
+  cd $_pipname-$pkgver
+  python -m build --wheel --no-isolation
+}
+
+check() {
+  cd $_pipname-$pkgver
+  pytest -v
+}
+
+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