Date: Monday, April 10, 2023 @ 17:59:20
Author: arojas
Revision: 1444553
archrelease: copy trunk to community-staging-any
Added:
jupyterlab_pygments/repos/community-staging-any/
jupyterlab_pygments/repos/community-staging-any/PKGBUILD
(from rev 1444552, jupyterlab_pygments/trunk/PKGBUILD)
----------+
PKGBUILD | 26 ++++++++++++++++++++++++++
1 file changed, 26 insertions(+)
Copied: jupyterlab_pygments/repos/community-staging-any/PKGBUILD (from rev
1444552, jupyterlab_pygments/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2023-04-10 17:59:20 UTC (rev 1444553)
@@ -0,0 +1,26 @@
+# Maintainer: Kyle Keen <[email protected]>
+
+pkgname=jupyterlab_pygments
+pkgver=0.2.2
+pkgrel=2
+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')
+makedepends=('python-build' 'python-installer')
+source=(https://pypi.io/packages/source/j/$pkgname/$pkgname-$pkgver.tar.gz)
+sha256sums=('7405d7fde60819d905a9fa8ce89e4cd830e318cdad22a0030f7a901da705585d')
+
+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"
+}