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

Antonio Rojas arojas at gemini.archlinux.org
Sat Apr 9 19:39:04 UTC 2022


    Date: Saturday, April 9, 2022 @ 19:39:03
  Author: arojas
Revision: 1183145

archrelease: copy trunk to community-any

Added:
  jupyterlab_pygments/repos/community-any/PKGBUILD
    (from rev 1183144, jupyterlab_pygments/trunk/PKGBUILD)
Deleted:
  jupyterlab_pygments/repos/community-any/PKGBUILD

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-04-09 19:38:52 UTC (rev 1183144)
+++ PKGBUILD	2022-04-09 19:39:03 UTC (rev 1183145)
@@ -1,23 +0,0 @@
-# Maintainer: Kyle Keen <keenerd at gmail.com>
-
-pkgname=jupyterlab_pygments
-pkgver=0.1.2
-pkgrel=4
-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"
-}

Copied: jupyterlab_pygments/repos/community-any/PKGBUILD (from rev 1183144, jupyterlab_pygments/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-04-09 19:39:03 UTC (rev 1183145)
@@ -0,0 +1,27 @@
+# Maintainer: Kyle Keen <keenerd at gmail.com>
+
+pkgname=jupyterlab_pygments
+pkgver=0.2.0
+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' 'jupyterlab')
+# NPM package @jupyterlab/codemirror ?
+makedepends=('python-build' 'python-installer')
+source=(https://pypi.io/packages/source/j/$pkgname/$pkgname-$pkgver.tar.gz)
+sha256sums=('2d48bcdd666043afc086af56adaf6bb79bbeffb1d73ed00ec4a2113f6cc22581')
+
+build() {
+  cd $pkgname-$pkgver
+  python -m build --wheel --no-isolation
+}
+
+package() {
+  cd $pkgname-$pkgver
+  python -m installer --destdir="$pkgdir" dist/*.whl
+
+  install -Dm644 "LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}



More information about the arch-commits mailing list