blob: 4791604d29dd351b91b72ec221d2a593bd4ec527 (
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: Blair Bonnett <blair dot bonnett at gmail dot com>
pkgname=jupyterlab-language-pack-no-no
pkgdesc='Norwegian Bokmål (Norway) language pack for JupyterLab'
url='https://github.com/jupyterlab/language-packs/'
pkgver=4.3.post3
pkgrel=1
arch=('any')
license=('BSD-3-Clause')
makedepends=(
'jupyterlab-translate'
'python-build'
'python-hatchling'
'python-installer'
)
_pypi=jupyterlab_language_pack_no_no
source=(
"https://files.pythonhosted.org/packages/source/${_pypi::1}/$_pypi/$_pypi-$pkgver.tar.gz"
)
sha256sums=(
'cb3b25a5c2cc62bc7ec616a79c3dde86083b6fec9f03108f128f6ce63e78ac31'
)
build() {
cd "$_pypi-$pkgver"
python -m build --wheel --no-isolation -x
}
package() {
cd "$_pypi-$pkgver"
python -m installer --destdir="$pkgdir" dist/*.whl
install -Dm644 LICENSE.txt -t "$pkgdir/usr/share/licenses/$pkgname"
}
|