summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: d58fdf1a71f63db51e2dd778dfab9ca08ab0dde4 (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
58
_name=marimo
pkgname=marimo
pkgver=0.10.19
pkgrel=1
pkgdesc="A reactive Python notebook that's reproducible, git-friendly, and deployable as scripts or apps"
arch=(any)
url='https://marimo.io/'
license=('Apache-2.0')
options=(!debug)

depends=(
    'python-click'
    'python-jedi'
    'python-markdown'
    'python-pymdown-extensions'
    'python-pygments'
    'python-tomlkit'
    'python-yaml'
    'uvicorn'
    'python-starlette'
    'python-websockets'
    'python-pycrdt'
    'python-docutils'
    'python-psutil'
    'python-itsdangerous'
    'python-narwhals'
    'ruff'
    'python-packaging'
)

optdepends=(
    'python-typing_extensions: python <=3.10 support'
    'python-duckdb: SQL cells support'
    'python-altair: Plotting in datasource viewer'
    'python-polars: SQL output back in Python'
    'python-sqlglot: SQL cells parsing'
    'python-openai: AI features'
)

makedepends=(
    'python-build'
    'python-installer'
    'python-wheel'
    'python-hatch'
)

source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name//-/_}/${_name//-/_}-$pkgver.tar.gz")
sha256sums=('eec812e874156852d825f50aa738cbaf2f55d8be8d36449febce443f991ccb75')

build() {
    cd $_name-$pkgver
    python -m build --wheel --no-isolation
}

package() {
    cd $_name-$pkgver
    python -m installer --destdir="$pkgdir" dist/*.whl
}