diff --git a/community/jupyterlab/PKGBUILD b/community/jupyterlab/PKGBUILD index aef2c4f4c..8c1578d3a 100644 --- a/community/jupyterlab/PKGBUILD +++ b/community/jupyterlab/PKGBUILD @@ -6,7 +6,7 @@ pkgname=jupyterlab _pipname=jupyterlab pkgver=2.0.1 -pkgrel=1 +pkgrel=2 pkgdesc="JupyterLab computational environment" arch=(any) url="https://github.com/jupyterlab/jupyterlab" @@ -17,6 +17,11 @@ optdepends=('npm: to install extensions') source=(https://pypi.io/packages/source/${_pipname:0:1}/$_pipname/$_pipname-$pkgver.tar.gz) sha256sums=('5d1a833a9e49e6d90d68191917cb16a97ff4ec668c26c85d33ebce629df14141') +prepare() { + cd $pkgname-$pkgver + sed -e 's|~=|>=|' -i setup.py # Fix jupyterlab_server version +} + build() { cd $pkgname-$pkgver export NODE_OPTIONS=--max-old-space-size=1024