blob: b57f7c6a2516ce4e68833c3bcf9791b9f49b5972 (
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
|
# Maintainer: AlphaJack <alphajack at tuta dot io>
pkgname="harlequin"
pkgver=2.1.2
pkgrel=1
pkgdesc="The SQL IDE for Your Terminal"
url="https://harlequin.sh/"
license=("MIT")
arch=("any")
depends=("python"
"python-textual"
"python-textual-fastdatatable"
"python-textual-textarea"
"python-click"
"python-rich-click"
"python-duckdb"
"python-shandy-sqlfmt"
"python-platformdirs"
"python-pyperclip"
"python-importlib-metadata"
"python-tomli"
"python-tomlkit"
"python-questionary"
"python-black"
"python-ruff"
"mypy")
makedepends=("python-build"
"python-installer"
"python-poetry"
"python-wheel")
options=("!strip")
source=("https://files.pythonhosted.org/packages/source/${pkgname::1}/${pkgname}/${pkgname}-${pkgver}.tar.gz")
b2sums=('d8bb58657fbd13580a22b7df29a8b22a325a54ad7ddd68837687231d0211d344ab72e40c468077da051a8d33ae659e266e8c141439992f160b87474d21692df0')
build(){
cd "$pkgname-$pkgver"
python -m build --wheel --no-isolation
}
package(){
cd "$pkgname-$pkgver"
python -m installer --destdir="$pkgdir" dist/*.whl
}
|