[arch-commits] Commit in jupyterlab/repos/community-any (PKGBUILD PKGBUILD)

Antonio Rojas arojas at archlinux.org
Sun Jun 30 21:37:14 UTC 2019


    Date: Sunday, June 30, 2019 @ 21:37:14
  Author: arojas
Revision: 486838

archrelease: copy trunk to community-any

Added:
  jupyterlab/repos/community-any/PKGBUILD
    (from rev 486837, jupyterlab/trunk/PKGBUILD)
Deleted:
  jupyterlab/repos/community-any/PKGBUILD

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-06-30 21:36:53 UTC (rev 486837)
+++ PKGBUILD	2019-06-30 21:37:14 UTC (rev 486838)
@@ -1,30 +0,0 @@
-# Maintainer: Antonio Rojas <arojas at archlinux.org>
-
-pkgname=jupyterlab
-_pipname=jupyterlab
-pkgver=1.0.0
-pkgrel=1
-pkgdesc="JupyterLab computational environment"
-arch=(any)
-url="https://github.com/jupyterlab/jupyterlab"
-license=(custom)
-makedepends=(python-setuptools nodejs)
-depends=(jupyterlab_server)
-source=(https://pypi.io/packages/source/${_pipname:0:1}/$_pipname/$_pipname-$pkgver.tar.gz)
-sha256sums=('1c325cbe9e8e3b3e552550e24a48f03182a64f533a85ed153330cbd006e9326d')
-
-build() {
-  cd $pkgname-$pkgver
-  python setup.py build 
-}
-
-package() {
-  cd $pkgname-$pkgver
-  python setup.py install --skip-build --root="$pkgdir" --optimize=1
-
-  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-
-  # symlink to fix assets
-  install -d "$pkgdir"/usr/share/jupyter
-  ln -s `python -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())"`/jupyterlab "$pkgdir"/usr/share/jupyter/lab
-}

Copied: jupyterlab/repos/community-any/PKGBUILD (from rev 486837, jupyterlab/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-06-30 21:37:14 UTC (rev 486838)
@@ -0,0 +1,28 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+
+pkgname=jupyterlab
+_pipname=jupyterlab
+pkgver=1.0.0
+pkgrel=2
+pkgdesc="JupyterLab computational environment"
+arch=(any)
+url="https://github.com/jupyterlab/jupyterlab"
+license=(custom)
+makedepends=(python-setuptools nodejs)
+depends=(jupyterlab_server)
+optdepends=('npm: to install extensions')
+source=(https://pypi.io/packages/source/${_pipname:0:1}/$_pipname/$_pipname-$pkgver.tar.gz)
+sha256sums=('1c325cbe9e8e3b3e552550e24a48f03182a64f533a85ed153330cbd006e9326d')
+
+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