blob: ab05bfd20e6ed7ef0919c87f1ae1909a21e1340d (
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
37
38
|
# Maintainer: Jakub Klinkovský <lahwaacz at archlinux dot org>
_name=streamlit-aggrid
pkgname=python-$_name
pkgver=1.1.5
pkgrel=1
pkgdesc="A Streamlit component for the AG Grid JavaScript library"
arch=(any)
url="https://pypi.org/project/streamlit-aggrid"
license=(MIT)
depends=(
python
python-decouple
python-numpy
python-pandas
python-simplejson
python-streamlit
)
makedepends=(
python-build
python-installer
python-poetry-core
python-wheel
)
# No releases or tags on GitHub :-(
source=(https://files.pythonhosted.org/packages/source/${_name::1}/${_name//-/_}/${_name//-/_}-$pkgver.tar.gz)
b2sums=('bc05fb97af74e7812546c082e1569b04bd23263c121f17514cd02391b2b1289fd66f5c7b9d75f1253a129fbcbb0eb09a3347ee4af2cfc1ad05481283bed95111')
build() {
cd ${_name//-/_}-$pkgver
python -m build --wheel --no-isolation
}
package() {
cd ${_name//-/_}-$pkgver
python -m installer --destdir="$pkgdir" dist/*.whl
install -vDm 644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
}
|