[arch-commits] Commit in jupyterlab/repos (2 files)

Evangelos Foutras foutrelis at archlinux.org
Thu Nov 12 19:48:05 UTC 2020


    Date: Thursday, November 12, 2020 @ 19:48:05
  Author: foutrelis
Revision: 753624

archrelease: copy trunk to community-staging-any

Added:
  jupyterlab/repos/community-staging-any/
  jupyterlab/repos/community-staging-any/PKGBUILD
    (from rev 753623, jupyterlab/trunk/PKGBUILD)

----------+
 PKGBUILD |   28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

Copied: jupyterlab/repos/community-staging-any/PKGBUILD (from rev 753623, jupyterlab/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2020-11-12 19:48:05 UTC (rev 753624)
@@ -0,0 +1,28 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+
+pkgname=jupyterlab
+_pipname=jupyterlab
+pkgver=2.2.9
+pkgrel=2
+pkgdesc="JupyterLab computational environment"
+arch=(any)
+url="https://github.com/jupyterlab/jupyterlab"
+license=(custom)
+makedepends=(python-setuptools)
+depends=(jupyterlab_server nodejs)
+optdepends=('npm: to install extensions')
+source=(https://pypi.io/packages/source/${_pipname:0:1}/$_pipname/$_pipname-$pkgver.tar.gz)
+sha256sums=('3be8f8edea173753dd838c1b6d3bbcb6f5c801121f824a477025c1b6a1d33dc6')
+
+build() {
+  cd $pkgname-$pkgver
+  python setup.py build 
+}
+
+package() {
+  cd $pkgname-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+  mv "$pkgdir"/usr/etc "$pkgdir"
+
+  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}



More information about the arch-commits mailing list