blob: 8395fd10b6bd8eb0652a841df423c2ab2c349394 (
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
36
|
# Maintainer: Guillaume Horel <guillaume.horel@gmail.com>
_pkgname=ipydatagrid
pkgname=python-${_pkgname}-git
pkgver=1.1.13.r37.gf8742cb
pkgrel=1
pkgdesc="Fast Datagrid widget for the Jupyter Notebook and JupyterLab"
arch=('any')
url="https://github.com/bloomberg/ipydatagrid"
license=('BSD')
depends=(python python-bqplot python-py2vega python-numpy python-pandas python-ipywidgets python-traitlets)
conflicts=(python-ipydatagrid)
provides=(python-ipydatagrid)
checkdepends=()
optdepends=()
makedepends=(git python-hatchling python-hatch-jupyter-builder python-installer yarn)
source=("${_pkgname}::git+https://github.com/bloomberg/ipydatagrid")
sha256sums=('SKIP')
pkgver() {
cd "${_pkgname}"
git describe --long --abbrev=7 | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
build(){
cd "${_pkgname}"
python -m build --wheel --no-isolation --skip-dependency-check
}
package(){
cd "${_pkgname}"
python -m installer --destdir="$pkgdir" dist/*.whl
install -vDm 644 LICENSE.txt -t "${pkgdir}/usr/share/licenses/${pkgname}/"
}
# vim:ts=2:sw=2:et:
|