mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
community/jupyterlab to 3.3.0-1
This commit is contained in:
parent
94145483c7
commit
6628849128
1 changed files with 5 additions and 5 deletions
|
@ -5,27 +5,27 @@
|
|||
|
||||
pkgname=jupyterlab
|
||||
_pipname=jupyterlab
|
||||
pkgver=3.2.9
|
||||
pkgver=3.3.0
|
||||
pkgrel=1
|
||||
pkgdesc='JupyterLab computational environment'
|
||||
arch=(any)
|
||||
url='https://github.com/jupyterlab/jupyterlab'
|
||||
license=(custom)
|
||||
makedepends=(python-setuptools)
|
||||
makedepends=(python-build python-installer)
|
||||
depends=(python-jupyterlab_server python-jupyter_packaging jupyter-nbclassic nodejs)
|
||||
optdepends=('npm: to install extensions' 'jupyterlab-widgets: ipywidgets support')
|
||||
source=(https://pypi.io/packages/source/${_pipname:0:1}/$_pipname/$_pipname-$pkgver.tar.gz)
|
||||
sha256sums=('65ddc34e5da1a764606e38c4f70cf9d4ac1c05182813cf0ab2dfea312c701124')
|
||||
sha256sums=('c7a1997bebf5487f8c17587f519039125014d122cdd5d60beffad4b266da330f')
|
||||
|
||||
build() {
|
||||
cd $pkgname-$pkgver
|
||||
export NODE_OPTIONS=--max-old-space-size=1024
|
||||
python setup.py build
|
||||
python -m build --wheel --no-isolation
|
||||
}
|
||||
|
||||
package() {
|
||||
cd $pkgname-$pkgver
|
||||
python setup.py install --root="$pkgdir" --optimize=1
|
||||
python -m installer --destdir="$pkgdir" dist/*.whl
|
||||
mv "$pkgdir"/usr/etc "$pkgdir"
|
||||
|
||||
install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
|
||||
|
|
Loading…
Reference in a new issue