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

Antonio Rojas arojas at archlinux.org
Sun May 5 13:58:06 UTC 2019


    Date: Sunday, May 5, 2019 @ 13:58:06
  Author: arojas
Revision: 460120

archrelease: copy trunk to community-any

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

----------+
 PKGBUILD |   69 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 35 insertions(+), 34 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-05-05 13:57:40 UTC (rev 460119)
+++ PKGBUILD	2019-05-05 13:58:06 UTC (rev 460120)
@@ -1,34 +0,0 @@
-# Maintainer: Antonio Rojas <arojas at archlinux.org>
-
-pkgname=jupyterlab
-pkgver=0.35.5
-pkgrel=1
-pkgdesc="JupyterLab computational environment"
-arch=(any)
-url="https://github.com/jupyterlab/jupyterlab"
-license=(custom)
-makedepends=(python-setuptools nodejs)
-depends=(jupyterlab_server)
-source=($pkgname-$pkgver.tar.gz::"https://github.com/jupyterlab/jupyterlab/archive/v$pkgver.tar.gz")
-sha256sums=('812499768c556bae39d079caa130f7f584e7ad485a28ae9fda36d88d4da4e3fe')
-
-prepare() {
-  cd $pkgname-$pkgver
-  sed -e 's|0.3.0|0.4.0|' -i setup.py
-}
-
-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 460119, jupyterlab/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-05-05 13:58:06 UTC (rev 460120)
@@ -0,0 +1,35 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+
+pkgname=jupyterlab
+_pipname=jupyterlab
+pkgver=0.35.6
+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=('2ec845845d51221e39d0d753884a19342c953f39febf3148a68631bf57ecb774')
+
+prepare() {
+  cd $pkgname-$pkgver
+  sed -e 's|0.3.0|0.4.0|' -i setup.py
+}
+
+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
+}


More information about the arch-commits mailing list