Date: Wednesday, April 5, 2023 @ 19:19:43
  Author: felixonmars
Revision: 1437958

archrelease: copy trunk to community-staging-any

Added:
  jupyter-notebook/repos/community-staging-any/
  jupyter-notebook/repos/community-staging-any/PKGBUILD
    (from rev 1437957, jupyter-notebook/trunk/PKGBUILD)

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

Copied: jupyter-notebook/repos/community-staging-any/PKGBUILD (from rev 
1437957, jupyter-notebook/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD                              (rev 0)
+++ community-staging-any/PKGBUILD      2023-04-05 19:19:43 UTC (rev 1437958)
@@ -0,0 +1,38 @@
+# Maintainer: Antonio Rojas <[email protected]>
+# Contributor: Kyle Keen <[email protected]>
+
+pkgname=jupyter-notebook
+_pipname=notebook
+pkgver=6.5.3
+pkgrel=2
+pkgdesc='The language-agnostic HTML notebook application for Project Jupyter'
+arch=(any)
+url='https://github.com/jupyter/notebook'
+license=(BSD)
+depends=(python-jinja python-tornado python-terminado python-traitlets 
jupyter-nbformat python-jupyter-core
+         python-jupyter-client python-send2trash jupyter-nbconvert 
python-prometheus_client
+         python-argon2_cffi python-ipython-genutils jupyter-nbclassic)
+# Much of their official dependency tree appears inverted and circular?
+makedepends=(python-build python-installer python-wheel 
python-jupyter-packaging python-setuptools)
+checkdepends=(python-pytest python-requests)
+optdepends=('pandoc: notebook export' 'jupyter-widgetsnbextension: interactive 
widgets')
+source=(https://pypi.io/packages/source/${_pipname:0:1}/$_pipname/$_pipname-$pkgver.tar.gz)
+sha256sums=('b12bee3292211d85dd7e588a790ddce30cb3e8fbcfa1e803522a207f60819e05')
+
+build() {
+  cd notebook-$pkgver
+  python -m build --wheel --no-isolation --skip-dependency-check
+}
+
+#check() {
+#  cd notebook-$pkgver
+#  pytest -v
+#}
+
+package() {
+  cd notebook-$pkgver
+  python -m installer --destdir="$pkgdir" dist/*.whl
+
+  install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname
+  install -Dm644 jupyter-notebook.desktop -t "$pkgdir"/usr/share/applications
+}

Reply via email to