blob: 5b3ab6316220f72e7e58e6400933b03f72f1c5cd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
# Maintainer: Jakub Klinkovský <lahwaacz at archlinux dot org>
_pyname=rise
pkgname=jupyterlab-rise
pkgdesc="RISE: \"Live\" Reveal.js JupyterLab Slideshow Extension"
url="https://github.com/jupyterlab-contrib/rise"
pkgver=0.42.0
pkgrel=2
license=(BSD-3-Clause)
arch=(any)
depends=(jupyterlab python-hatchling python-hatch-nodejs-version)
makedepends=(python-build python-installer python-setuptools python-wheel
python-jupyter-packaging python-hatch-jupyter-builder npm)
source=("$pkgname-$pkgver.tar.gz::$url/archive/refs/tags/v$pkgver.tar.gz"
"install.json")
sha256sums=('086903e8a963dca531bef409ed805289d3ba133ffa453cfc85aaa8fb45a11ffd'
'140fd4e44ebdc1d8d5a56c3f583d829dd316dd930e2c654c1abea4ffef62c8af')
prepare() {
cd $_pyname-$pkgver
# Replace uninstallation instructions with Arch-specific ones.
cp ../install.json .
}
build() {
cd $_pyname-$pkgver
python -m build --no-isolation --wheel --skip-dependency-check
}
package() {
cd $_pyname-$pkgver
python -m installer --destdir="$pkgdir" dist/*.whl
install -Dm644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname"
}
|