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

Antonio Rojas arojas at archlinux.org
Thu Dec 24 09:32:06 UTC 2020


    Date: Thursday, December 24, 2020 @ 09:32:05
  Author: arojas
Revision: 786918

archrelease: copy trunk to community-staging-any

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

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

Copied: jupyterlab/repos/community-staging-any/PKGBUILD (from rev 786917, jupyterlab/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2020-12-24 09:32:05 UTC (rev 786918)
@@ -0,0 +1,28 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+
+pkgname=jupyterlab
+_pipname=jupyterlab
+pkgver=3.0.0
+pkgrel=1
+pkgdesc="JupyterLab computational environment"
+arch=(any)
+url="https://github.com/jupyterlab/jupyterlab"
+license=(custom)
+makedepends=(python-setuptools python-jupyter_packaging)
+depends=(python-jupyterlab_server jupyter-nbclassic nodejs)
+optdepends=('npm: to install extensions')
+source=(https://pypi.io/packages/source/${_pipname:0:1}/$_pipname/$_pipname-$pkgver.tar.gz)
+sha256sums=('15228dff3f77b0bca795fd232cb25f02121510cec83f1d25856b3bc8e585b087')
+
+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