blob: d78e2c3d84ac1bbedf4a3e6bde29a0cac3e131b3 (
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-de-de
pkgdesc='German (Germany) language pack for JupyterLab'
url='https://github.com/jupyterlab/language-packs/tree/master/language-packs/jupyterlab-language-pack-de-DE'
pkgver=4.3.post1
pkgrel=1
arch=('any')
license=('BSD-3-Clause')
makedepends=(
'jupyterlab-translate'
'python-build'
'python-hatchling'
'python-installer'
)
_pypi=jupyterlab_language_pack_de_de
source=(
"https://files.pythonhosted.org/packages/source/${_pypi::1}/$_pypi/$_pypi-$pkgver.tar.gz"
)
sha256sums=(
'6764543c7c8a60bfd79e2aed7f87789242eb0ee62b28e4eb772eef8b94cf8dbe'
)
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"
}
|