community/jupyterlab to 2.0.1-2

This commit is contained in:
Kevin Mihelich 2020-03-29 23:58:22 +00:00
parent 7a934712dd
commit ab903bacfe

View file

@ -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