blob: 6ec246c60e90281711d54bfc39955e79a4d8500f (
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
|
# Maintainer: Zhirui Dai <daizhirui@hotmail.com>
pkgname=python-dash
_pkgname=dash
pkgver=4.4.1
pkgrel=1
pkgdesc="A python framework for building analytical web applications"
arch=('any')
url="https://plot.ly/products/dash/"
license=('MIT')
depends=(
python
python-comm
python-flask
python-importlib-metadata
python-janus
python-nest-asyncio
python-plotly
python-pydantic
python-requests
python-retrying
python-setuptools
python-typing_extensions
python-werkzeug
)
optdepends=(python-flask-compress)
makedepends=(python-build python-installer python-setuptools python-wheel)
provides=('python-dash-core-components' 'python-dash-html-components' 'python-dash-renderer' 'python-dash-table')
conflicts=('python-dash-core-components' 'python-dash-html-components' 'python-dash-renderer' 'python-dash-table')
source=("https://pypi.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz")
sha256sums=('9356ca7856bc496c12c5b6de5978aaf783e090d07450ee395ade1c0c2cbdf816')
build(){
cd "$_pkgname-$pkgver"
python -m build -wn
}
package(){
cd "$_pkgname-$pkgver"
python -m installer --destdir="${pkgdir}" dist/*.whl
install -Dm0644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
mkdir -p "${pkgdir}/etc/xdg"
mv "${pkgdir}/usr/etc/jupyter" "${pkgdir}/etc/xdg"
rmdir "${pkgdir}/usr/etc"
}
## vim:ts=2:sw=2:et:
|