blob: c7a0f5b76d82b73cf5b11dfd0357d2a6b36e8639 (
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
|
# Mantainer: sgar < swhaat at github >
# Maintainer: Butui Hu <hot123tea123@gmail.com>
# Contributor: Mohammad Hossein Sekhavat <sekhavat17@gmail.com>
_pkgname=streamlit
pkgname=python-streamlit
pkgver=1.40.0
pkgrel=1
pkgdesc='The fastest way to build data apps in Python'
arch=('any')
url='https://streamlit.io'
license=('Apache')
depends=(
python-altair
python-astor
python-attrs
python-blinker
python-cachetools
python-click
python-dateutil
python-gitpython
python-importlib-metadata
python-numpy
python-packaging
python-pandas
python-pillow
python-protobuf
python-pyarrow
python-pydeck
python-pympler
python-requests
python-toml
python-tornado
python-tzlocal
python-validators
python-watchdog
semver
)
makedepends=(
python-build python-installer python-wheel
)
source=("${_pkgname}-${pkgver}.tar.gz::https://files.pythonhosted.org/packages/source/${_pkgname::1}/${_pkgname}/${_pkgname}-${pkgver}.tar.gz"
)
sha512sums=('cb0a0d11b36bc17d39bf6a15582dadb31b7b7c9b90b2ed69da243ca22232aa1e23b53b63e1e826b8e4ddd402c0502b31233818ac97d1f519270b8e6995420947')
build() {
cd "${_pkgname}-${pkgver}"
python -m build --wheel --no-isolation
}
package() {
cd "${_pkgname}-${pkgver}"
python -m installer --destdir="$pkgdir" dist/*.whl
rm -vf "${pkgdir}/usr/bin/streamlit.cmd"
}
# vim:set ts=2 sw=2 et:
|