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

Antonio Rojas arojas at archlinux.org
Sun Mar 29 22:45:30 UTC 2020


    Date: Sunday, March 29, 2020 @ 22:45:29
  Author: arojas
Revision: 606599

archrelease: copy trunk to community-any

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-03-29 22:45:09 UTC (rev 606598)
+++ PKGBUILD	2020-03-29 22:45:29 UTC (rev 606599)
@@ -1,28 +0,0 @@
-# Maintainer: Antonio Rojas <arojas at archlinux.org>
-
-pkgname=jupyterlab
-_pipname=jupyterlab
-pkgver=2.0.1
-pkgrel=1
-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=('5d1a833a9e49e6d90d68191917cb16a97ff4ec668c26c85d33ebce629df14141')
-
-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
-}

Copied: jupyterlab/repos/community-any/PKGBUILD (from rev 606598, jupyterlab/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-03-29 22:45:29 UTC (rev 606599)
@@ -0,0 +1,33 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+
+pkgname=jupyterlab
+_pipname=jupyterlab
+pkgver=2.0.1
+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=('5d1a833a9e49e6d90d68191917cb16a97ff4ec668c26c85d33ebce629df14141')
+
+prepare() {
+  cd $pkgname-$pkgver
+  sed -e 's|~=|>=|' -i setup.py # Fix jupyterlab_server version
+}
+
+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