Date: Monday, April 10, 2023 @ 17:12:28
  Author: arojas
Revision: 1444508

archrelease: copy trunk to community-staging-any

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

----------+
 PKGBUILD |   75 ++++++++++++++++++++++++++++++++-----------------------------
 1 file changed, 40 insertions(+), 35 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD    2023-04-10 17:12:16 UTC (rev 1444507)
+++ PKGBUILD    2023-04-10 17:12:28 UTC (rev 1444508)
@@ -1,35 +0,0 @@
-# Maintainer: Antonio Rojas <[email protected]>
-
-pkgname=jupyter-server
-pkgver=2.5.0
-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
-         python-argon2_cffi python-jupyter-events)
-makedepends=(python-build python-installer python-hatch-jupyter-builder)
-checkdepends=(python-pytest-tornasync python-pytest-console-scripts 
python-pytest-timeout python-pytest-jupyter)
-optdepends=('jupyter-server-mathjax: to use local MathJax')
-source=(https://pypi.io/packages/source/j/${pkgname/-/_}/${pkgname/-/_}-$pkgver.tar.gz)
-sha256sums=('9fde612791f716fd34d610cd939704a9639643744751ba66e7ee8fdc9cead07e')
-
-build() {
-  cd ${pkgname/-/_}-$pkgver
-  python -m build --wheel --no-isolation
-}
-
-check() {
-  cd ${pkgname/-/_}-$pkgver
-# tests fail on the build server, run them locally
-# pytest -v
-}
-
-package() {
-  cd ${pkgname/-/_}-$pkgver
-  python -m installer --destdir="$pkgdir" dist/*.whl
-
-  install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname
-}

Copied: jupyter-server/repos/community-staging-any/PKGBUILD (from rev 1444507, 
jupyter-server/trunk/PKGBUILD)
===================================================================
--- PKGBUILD                            (rev 0)
+++ PKGBUILD    2023-04-10 17:12:28 UTC (rev 1444508)
@@ -0,0 +1,40 @@
+# Maintainer: Antonio Rojas <[email protected]>
+
+pkgname=jupyter-server
+pkgver=2.5.0
+pkgrel=3
+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
+         python-argon2_cffi python-jupyter-events)
+makedepends=(python-build python-installer python-hatch-jupyter-builder)
+checkdepends=(python-pytest-tornasync python-pytest-console-scripts 
python-pytest-timeout python-pytest-jupyter)
+optdepends=('jupyter-server-mathjax: to use local MathJax')
+source=(https://pypi.io/packages/source/j/${pkgname/-/_}/${pkgname/-/_}-$pkgver.tar.gz)
+sha256sums=('9fde612791f716fd34d610cd939704a9639643744751ba66e7ee8fdc9cead07e')
+
+prepare() {
+  cd ${pkgname/-/_}-$pkgver
+  sed -e '/jupyter_server_terminals/d' -i pyproject.toml # Prevent cyclic 
dependencies
+}
+
+build() {
+  cd ${pkgname/-/_}-$pkgver
+  python -m build --wheel --no-isolation
+}
+
+check() {
+  cd ${pkgname/-/_}-$pkgver
+# tests fail on the build server, run them locally
+# pytest -v
+}
+
+package() {
+  cd ${pkgname/-/_}-$pkgver
+  python -m installer --destdir="$pkgdir" dist/*.whl
+
+  install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname
+}

Reply via email to