[arch-commits] Commit in jupyter-server/trunk (PKGBUILD)
Antonio Rojas
arojas at gemini.archlinux.org
Mon Mar 14 22:03:57 UTC 2022
Date: Monday, March 14, 2022 @ 22:03:57
Author: arojas
Revision: 1153975
Update to 1.15.3
Modified:
jupyter-server/trunk/PKGBUILD
----------+
PKGBUILD | 15 ++++++---------
1 file changed, 6 insertions(+), 9 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2022-03-14 21:55:03 UTC (rev 1153974)
+++ PKGBUILD 2022-03-14 22:03:57 UTC (rev 1153975)
@@ -1,7 +1,7 @@
# Maintainer: Antonio Rojas <arojas at archlinux.org>
pkgname=jupyter-server
-pkgver=1.13.5
+pkgver=1.15.3
pkgrel=1
pkgdesc='Provides the backend for Jupyter web applications like Jupyter notebook, JupyterLab, and Voila'
arch=(any)
@@ -9,28 +9,25 @@
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)
+makedepends=(python-build python-installer)
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=('9e3e9717eea3bffab8cfb2ff330011be6c8bbd9cdae5b71cef169fcece2f19d3')
+sha256sums=('09b6092b406866c514faaff46c1ec3bf04b7204d0f1bb731dce655c375b2f03c')
build() {
cd ${pkgname/-/_}-$pkgver
- python setup.py build
+ python -m build --wheel --no-isolation
}
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
+# pytest
}
package() {
cd ${pkgname/-/_}-$pkgver
- python setup.py install --skip-build --root="$pkgdir" --optimize=1
+ python -m installer --destdir="$pkgdir" dist/*.whl
install -Dm644 COPYING.md -t "$pkgdir"/usr/share/licenses/$pkgname
}
More information about the arch-commits
mailing list