[arch-commits] Commit in jupyterlab/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Mon Nov 4 06:25:34 UTC 2019
Date: Monday, November 4, 2019 @ 06:25:33
Author: felixonmars
Revision: 523390
archrelease: copy trunk to community-staging-any
Added:
jupyterlab/repos/community-staging-any/
jupyterlab/repos/community-staging-any/PKGBUILD
(from rev 523389, jupyterlab/trunk/PKGBUILD)
----------+
PKGBUILD | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+)
Copied: jupyterlab/repos/community-staging-any/PKGBUILD (from rev 523389, jupyterlab/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2019-11-04 06:25:33 UTC (rev 523390)
@@ -0,0 +1,28 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+
+pkgname=jupyterlab
+_pipname=jupyterlab
+pkgver=1.2.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=('e74955e70d345b8832e243ce3376f7180c79fed2fcc44043e8a43b122e2cd757')
+
+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