[arch-commits] Commit in (4 files)

Kyle Keen kkeen at archlinux.org
Sun Nov 22 18:14:45 UTC 2020


    Date: Sunday, November 22, 2020 @ 18:14:45
  Author: kkeen
Revision: 759356

pkginit: new deps for jupyter-nbconvert

Added:
  jupyterlab_pygments/
  jupyterlab_pygments/repos/
  jupyterlab_pygments/trunk/
  jupyterlab_pygments/trunk/PKGBUILD

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

Added: jupyterlab_pygments/trunk/PKGBUILD
===================================================================
--- jupyterlab_pygments/trunk/PKGBUILD	                        (rev 0)
+++ jupyterlab_pygments/trunk/PKGBUILD	2020-11-22 18:14:45 UTC (rev 759356)
@@ -0,0 +1,23 @@
+# Maintainer: Kyle Keen <keenerd at gmail.com>
+
+pkgname=jupyterlab_pygments
+pkgver=0.1.2
+pkgrel=1
+pkgdesc="Pygments theme using JupyterLab CSS variables"
+arch=('any')
+#url="https://pypi.org/project/jupyterlab-pygments/"
+url="https://github.com/jupyterlab/jupyterlab_pygments"
+license=('BSD')
+depends=('python-pygments')
+# NPM package @jupyterlab/codemirror ?
+makedepends=('python-setuptools')
+optdepends=()
+source=("$pkgname-$pkgver.tgz::https://github.com/jupyterlab/$pkgname/archive/$pkgver.tar.gz")
+md5sums=('1217dad77f63b45ae99bc9cd1d02f29d')
+
+package() {
+  cd "$srcdir/$pkgname-$pkgver"
+  python3 setup.py install --prefix=/usr --root="$pkgdir" --optimize=0
+
+  install -Dm644 "LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}



More information about the arch-commits mailing list