blob: cd7beb6807742d477960ebebcafc33aa465ee478 (
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
|
# Maintainer: Alex Hirzel <alex at hirzel period us>
pkgname=datasette
_name=$pkgname
pkgver=0.64.8
pkgrel=1
pkgdesc="An open source multi-tool for exploring and publishing data"
arch=("any")
url="https://datasette.io"
license=("Apache-2.0")
depends=(
# from setup.py install_requires
python-asgiref
python-click
python-click-default-group
python-jinja
python-hupper
python-httpx
python-pint
python-pluggy
uvicorn
python-aiofiles
python-janus
python-asgi-csrf
python-yaml
python-mergedeep
python-itsdangerous
python-setuptools
# pip is assumed
python-rich
python-importlib-metadata
)
makedepends=(python-build python-installer python-wheel)
conflicts=("datasette")
source=("https://pypi.io/packages/source/${pkgname::1}/${pkgname}/${pkgname}-${pkgver}.tar.gz")
sha256sums=('ee54d87152b2e3e6d4552f157e3431918f5fa929c17afd0548b0d04becbd4c97')
build() {
cd "${srcdir}/${_name}-${pkgver}"
python -m build --wheel --no-isolation
}
package() {
cd "${srcdir}/${_name}-${pkgver}"
python -m installer --destdir="$pkgdir" dist/*.whl
install -Dm644 LICENSE -t "${pkgdir}/usr/share/licenses/$pkgname"
}
|