Date: Thursday, October 13, 2022 @ 19:38:34
  Author: arojas
Revision: 1328034

archrelease: copy trunk to community-testing-any

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

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

Copied: jupyter-nbclassic/repos/community-testing-any/PKGBUILD (from rev 
1328033, jupyter-nbclassic/trunk/PKGBUILD)
===================================================================
--- community-testing-any/PKGBUILD                              (rev 0)
+++ community-testing-any/PKGBUILD      2022-10-13 19:38:34 UTC (rev 1328034)
@@ -0,0 +1,33 @@
+# Maintainer: Antonio Rojas <[email protected]>
+
+_pipname=nbclassic
+pkgname=jupyter-$_pipname
+pkgver=0.4.6
+pkgrel=2
+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 python-setuptools)
+checkdepends=(python-pytest-tornasync)
+source=(https://pypi.io/packages/source/${_pipname:0:1}/$_pipname/$_pipname-$pkgver.tar.gz)
+sha256sums=('3c18d343b292f938efc93205761e674f20eca06ead25e0eedc17f7ae252bf56d')
+
+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
+}

Reply via email to