blob: 266786126baf934a41514452587fe1a7c719c91c (
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
|
# Maintainer: Bao Trinh <qubidt at gmail dot com>
pkgname=python-jupyter_ascending
_pkgname="${pkgname#python-}"
pkgver=0.1.27
pkgrel=2
pkgdesc='Edit Jupyter notebooks using your favorite editor'
arch=('any')
url=https://github.com/untitled-ai/jupyter_ascending
license=('MIT')
depends=(
'python'
'python-jupytext'
'python-jsonrpcserver'
'python-jsonrpcclient'
'python-loguru'
'python-poetry-core'
'python-edlib'
)
makedepends=('python-build' 'python-installer' 'python-wheel')
source=("${_pkgname}-${pkgver}.tar.gz::${url}/archive/refs/tags/${pkgver}.tar.gz")
sha512sums=('66ebf74128f9690518b6a257324250410849a722f4c4cab4a292858b70a0f077505bafedfd1f3b119dcec9cf4573b00e695feaf8b20faea614752a5205d50635')
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"
install -Dm644 -t "${pkgdir}/usr/share/doc/${pkgname}" "README.md"
}
|