blob: 51208ed94f276f79aa5342877bb53fc0a58c7d5d (
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
|
# Maintainer: Peter <peter.w.adams96@gmail.com>
pkgname=sqlit
pkgver=1.2.6
pkgrel=1
pkgdesc="The lazygit of SQL databases - a lightweight TUI for SQL Server, PostgreSQL, MySQL, SQLite, and more"
arch=('any')
url="https://github.com/Maxteabag/sqlit"
license=('MIT')
provides=('python-sqlit-tui')
conflicts=('python-sqlit-tui')
replaces=('python-sqlit-tui')
depends=(
'python'
'python-textual'
'python-textual-fastdatatable-latest'
'python-pyperclip'
'python-keyring'
'python-docker'
)
optdepends=(
'python-psycopg2: PostgreSQL, CockroachDB and Supabase support'
'python-pyodbc: SQL Server support'
'python-pymysql: MySQL support'
'python-mariadb-connector: MariaDB support'
'python-oracledb: Oracle support'
'python-duckdb: DuckDB support'
'python-clickhouse-connect: ClickHouse support'
'python-requests: Cloudflare D1 support'
'python-snowflake-connector-python: Snowflake support'
'python-paramiko: SSH tunnel support'
'python-sshtunnel: SSH tunnel support'
)
makedepends=('python-build' 'python-installer' 'python-hatchling' 'python-hatch-vcs')
source=("https://files.pythonhosted.org/packages/source/s/sqlit-tui/sqlit_tui-${pkgver}.tar.gz")
sha256sums=('9eb070824056ee286dd43b69c6fef927ce9a32e5e0aec9e736b07921359f41d5')
build() {
cd "sqlit_tui-${pkgver}"
python -m build --wheel --no-isolation
}
package() {
cd "sqlit_tui-${pkgver}"
python -m installer --destdir="$pkgdir" dist/*.whl
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
|