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

Antonio Rojas arojas at gemini.archlinux.org
Tue Nov 23 09:45:28 UTC 2021


    Date: Tuesday, November 23, 2021 @ 09:45:27
  Author: arojas
Revision: 1054433

archrelease: copy trunk to community-any

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-11-23 09:45:00 UTC (rev 1054432)
+++ PKGBUILD	2021-11-23 09:45:27 UTC (rev 1054433)
@@ -1,27 +0,0 @@
-# Maintainer: Antonio Rojas <arojas at archlinux.org>
-
-pkgname=jupyter-server
-pkgver=1.11.2
-pkgrel=1
-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)
-optdepends=('jupyter-server-mathjax: to use local MathJax')
-source=(https://pypi.io/packages/source/j/${pkgname/-/_}/${pkgname/-/_}-$pkgver.tar.gz)
-sha256sums=('c1f32e0c1807ab2de37bf70af97a36b4436db0bc8af3124632b1f4441038bf95')
-
-build() {
-  cd ${pkgname/-/_}-$pkgver
-  python setup.py build 
-}
-
-package() {
-  cd ${pkgname/-/_}-$pkgver
-  python setup.py install --skip-build --root="$pkgdir" --optimize=1
-
-  install -Dm644 COPYING.md -t "$pkgdir"/usr/share/licenses/$pkgname
-}

Copied: jupyter-server/repos/community-any/PKGBUILD (from rev 1054432, jupyter-server/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-11-23 09:45:27 UTC (rev 1054433)
@@ -0,0 +1,36 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+
+pkgname=jupyter-server
+pkgver=1.12.0
+pkgrel=1
+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=('0d8ab06f34e1cad224373e3b127e07d9cbb48babd66286136fbd075ce509b6ff')
+
+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