diff --git a/extra/jupyterlab/.SRCINFO b/extra/jupyterlab/.SRCINFO index 3e9f5efa9..19e3c0141 100644 --- a/extra/jupyterlab/.SRCINFO +++ b/extra/jupyterlab/.SRCINFO @@ -1,6 +1,6 @@ pkgbase = jupyterlab pkgdesc = JupyterLab computational environment - pkgver = 4.1.6 + pkgver = 4.1.7 pkgrel = 1 url = https://github.com/jupyterlab/jupyterlab arch = any @@ -9,6 +9,7 @@ pkgbase = jupyterlab checkdepends = python-jupyter-server-terminals checkdepends = python-pytest-jupyter checkdepends = python-pytest-tornasync + makedepends = git makedepends = python-build makedepends = python-hatch-jupyter-builder makedepends = python-installer @@ -27,7 +28,7 @@ pkgbase = jupyterlab optdepends = jupyter-collaboration: collaborative mode optdepends = jupyterlab-widgets: ipywidgets support optdepends = npm: to install extensions - source = https://pypi.io/packages/source/j/jupyterlab/jupyterlab-4.1.6.tar.gz - sha256sums = 7935f36ba26eb615183a4f5c2bbca5791b5108ce2a00b5505f8cfd100d53648e + source = git+https://github.com/jupyterlab/jupyterlab#tag=v4.1.7 + sha256sums = 81b28690037d4ab893b0e1115b0afd8c8565343ab04c2a542fec1631976a97fa pkgname = jupyterlab diff --git a/extra/jupyterlab/PKGBUILD b/extra/jupyterlab/PKGBUILD index 844f1155c..cbf4e746d 100644 --- a/extra/jupyterlab/PKGBUILD +++ b/extra/jupyterlab/PKGBUILD @@ -5,7 +5,7 @@ pkgname=jupyterlab _pipname=jupyterlab -pkgver=4.1.6 +pkgver=4.1.7 pkgrel=1 pkgdesc='JupyterLab computational environment' arch=(any) @@ -23,7 +23,8 @@ depends=(jupyter-notebook-shim python-packaging python-tornado python-traitlets) -makedepends=(python-build +makedepends=(git + python-build python-hatch-jupyter-builder python-installer) optdepends=('jupyter-collaboration: collaborative mode' @@ -33,24 +34,24 @@ checkdepends=(npm python-jupyter-server-terminals python-pytest-jupyter python-pytest-tornasync) -source=(https://pypi.io/packages/source/${_pipname:0:1}/$_pipname/$_pipname-$pkgver.tar.gz) -sha256sums=('7935f36ba26eb615183a4f5c2bbca5791b5108ce2a00b5505f8cfd100d53648e') +source=(git+https://github.com/jupyterlab/jupyterlab#tag=v$pkgver) +sha256sums=('81b28690037d4ab893b0e1115b0afd8c8565343ab04c2a542fec1631976a97fa') build() { - cd $pkgname-$pkgver + cd $pkgname export NODE_OPTIONS=--max-old-space-size=1024 python -m build --wheel --no-isolation } check() { - cd $pkgname-$pkgver + cd $pkgname python -m venv --system-site-packages test-env test-env/bin/python -m installer dist/*.whl test-env/bin/python -m pytest -v } package() { - cd $pkgname-$pkgver + cd $pkgname python -m installer --destdir="$pkgdir" dist/*.whl mv "$pkgdir"/usr/etc "$pkgdir"