[arch-commits] Commit in jupyter-server/repos (2 files)

Evangelos Foutras foutrelis at gemini.archlinux.org
Wed Dec 1 13:49:12 UTC 2021


    Date: Wednesday, December 1, 2021 @ 13:49:12
  Author: foutrelis
Revision: 1059271

archrelease: copy trunk to community-staging-any

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

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

Copied: jupyter-server/repos/community-staging-any/PKGBUILD (from rev 1059270, jupyter-server/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2021-12-01 13:49:12 UTC (rev 1059271)
@@ -0,0 +1,36 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+
+pkgname=jupyter-server
+pkgver=1.12.1
+pkgrel=2
+pkgdesc='Provides the backend for Jupyter web applications like Jupyter notebook, JupyterLab, and Voila'
+arch=(any)
+url='https://jupyter.org/'
+license=(custom)
+depends=(python-jupyter_client jupyter-nbformat jupyter-nbconvert python-terminado python-prometheus_client python-traitlets python-tornado
+         python-jinja python-send2trash python-anyio python-jupyter_packaging python-websocket-client python-requests-unixsocket)
+makedepends=(python-setuptools)
+checkdepends=(python-pytest-tornasync python-pytest-console-scripts)
+optdepends=('jupyter-server-mathjax: to use local MathJax')
+source=(https://pypi.io/packages/source/j/${pkgname/-/_}/${pkgname/-/_}-$pkgver.tar.gz)
+sha256sums=('f71e10ebaa6704a1e0fe76ec70a16a0804ab5a9d268f0c512e8c69086a8e86d1')
+
+build() {
+  cd ${pkgname/-/_}-$pkgver
+  python setup.py build 
+}
+
+check() {
+  cd ${pkgname/-/_}-$pkgver
+  python setup.py install --root="$PWD"/tmp_install --optimize=1
+  PYTHONPATH="$PWD"/`ls tmp_install/usr/lib/python*/site-packages`
+  PATH="$PWD/tmp_install/usr/bin:$PATH"
+  pytest jupyter_server
+}
+
+package() {
+  cd ${pkgname/-/_}-$pkgver
+  python setup.py install --skip-build --root="$pkgdir" --optimize=1
+
+  install -Dm644 COPYING.md -t "$pkgdir"/usr/share/licenses/$pkgname
+}



More information about the arch-commits mailing list