mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-01-17 23:34:07 +00:00
extra/jupyterlab to 4.1.7-1
This commit is contained in:
parent
2ee0d2e868
commit
9acc958c21
2 changed files with 12 additions and 10 deletions
|
@ -1,6 +1,6 @@
|
||||||
pkgbase = jupyterlab
|
pkgbase = jupyterlab
|
||||||
pkgdesc = JupyterLab computational environment
|
pkgdesc = JupyterLab computational environment
|
||||||
pkgver = 4.1.6
|
pkgver = 4.1.7
|
||||||
pkgrel = 1
|
pkgrel = 1
|
||||||
url = https://github.com/jupyterlab/jupyterlab
|
url = https://github.com/jupyterlab/jupyterlab
|
||||||
arch = any
|
arch = any
|
||||||
|
@ -9,6 +9,7 @@ pkgbase = jupyterlab
|
||||||
checkdepends = python-jupyter-server-terminals
|
checkdepends = python-jupyter-server-terminals
|
||||||
checkdepends = python-pytest-jupyter
|
checkdepends = python-pytest-jupyter
|
||||||
checkdepends = python-pytest-tornasync
|
checkdepends = python-pytest-tornasync
|
||||||
|
makedepends = git
|
||||||
makedepends = python-build
|
makedepends = python-build
|
||||||
makedepends = python-hatch-jupyter-builder
|
makedepends = python-hatch-jupyter-builder
|
||||||
makedepends = python-installer
|
makedepends = python-installer
|
||||||
|
@ -27,7 +28,7 @@ pkgbase = jupyterlab
|
||||||
optdepends = jupyter-collaboration: collaborative mode
|
optdepends = jupyter-collaboration: collaborative mode
|
||||||
optdepends = jupyterlab-widgets: ipywidgets support
|
optdepends = jupyterlab-widgets: ipywidgets support
|
||||||
optdepends = npm: to install extensions
|
optdepends = npm: to install extensions
|
||||||
source = https://pypi.io/packages/source/j/jupyterlab/jupyterlab-4.1.6.tar.gz
|
source = git+https://github.com/jupyterlab/jupyterlab#tag=v4.1.7
|
||||||
sha256sums = 7935f36ba26eb615183a4f5c2bbca5791b5108ce2a00b5505f8cfd100d53648e
|
sha256sums = 81b28690037d4ab893b0e1115b0afd8c8565343ab04c2a542fec1631976a97fa
|
||||||
|
|
||||||
pkgname = jupyterlab
|
pkgname = jupyterlab
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
|
|
||||||
pkgname=jupyterlab
|
pkgname=jupyterlab
|
||||||
_pipname=jupyterlab
|
_pipname=jupyterlab
|
||||||
pkgver=4.1.6
|
pkgver=4.1.7
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
pkgdesc='JupyterLab computational environment'
|
pkgdesc='JupyterLab computational environment'
|
||||||
arch=(any)
|
arch=(any)
|
||||||
|
@ -23,7 +23,8 @@ depends=(jupyter-notebook-shim
|
||||||
python-packaging
|
python-packaging
|
||||||
python-tornado
|
python-tornado
|
||||||
python-traitlets)
|
python-traitlets)
|
||||||
makedepends=(python-build
|
makedepends=(git
|
||||||
|
python-build
|
||||||
python-hatch-jupyter-builder
|
python-hatch-jupyter-builder
|
||||||
python-installer)
|
python-installer)
|
||||||
optdepends=('jupyter-collaboration: collaborative mode'
|
optdepends=('jupyter-collaboration: collaborative mode'
|
||||||
|
@ -33,24 +34,24 @@ checkdepends=(npm
|
||||||
python-jupyter-server-terminals
|
python-jupyter-server-terminals
|
||||||
python-pytest-jupyter
|
python-pytest-jupyter
|
||||||
python-pytest-tornasync)
|
python-pytest-tornasync)
|
||||||
source=(https://pypi.io/packages/source/${_pipname:0:1}/$_pipname/$_pipname-$pkgver.tar.gz)
|
source=(git+https://github.com/jupyterlab/jupyterlab#tag=v$pkgver)
|
||||||
sha256sums=('7935f36ba26eb615183a4f5c2bbca5791b5108ce2a00b5505f8cfd100d53648e')
|
sha256sums=('81b28690037d4ab893b0e1115b0afd8c8565343ab04c2a542fec1631976a97fa')
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd $pkgname-$pkgver
|
cd $pkgname
|
||||||
export NODE_OPTIONS=--max-old-space-size=1024
|
export NODE_OPTIONS=--max-old-space-size=1024
|
||||||
python -m build --wheel --no-isolation
|
python -m build --wheel --no-isolation
|
||||||
}
|
}
|
||||||
|
|
||||||
check() {
|
check() {
|
||||||
cd $pkgname-$pkgver
|
cd $pkgname
|
||||||
python -m venv --system-site-packages test-env
|
python -m venv --system-site-packages test-env
|
||||||
test-env/bin/python -m installer dist/*.whl
|
test-env/bin/python -m installer dist/*.whl
|
||||||
test-env/bin/python -m pytest -v
|
test-env/bin/python -m pytest -v
|
||||||
}
|
}
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
cd $pkgname-$pkgver
|
cd $pkgname
|
||||||
python -m installer --destdir="$pkgdir" dist/*.whl
|
python -m installer --destdir="$pkgdir" dist/*.whl
|
||||||
mv "$pkgdir"/usr/etc "$pkgdir"
|
mv "$pkgdir"/usr/etc "$pkgdir"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue