blob: ab25a28605a73147c01841d33634cbb75192a5ca (
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
|
# Maintainer: Hoang Nguyen <folliekazetani@protonmail.com>
pkgname=litecli
pkgver=1.11.0
pkgrel=0
pkgdesc="CLI for SQLite Databases with auto-completion and syntax highlighting"
url="https://litecli.com/"
arch="noarch"
license="BSD-3-Clause"
depends="
python3
py3-cli_helpers
py3-click
py3-configobj
py3-prompt_toolkit
py3-pygments
py3-sqlparse
"
makedepends="py3-gpep517 py3-setuptools py3-wheel"
checkdepends="py3-mock py3-pytest"
subpackages="$pkgname-pyc"
source="$pkgname-$pkgver.tar.gz::https://github.com/dbcli/litecli/archive/refs/tags/v$pkgver.tar.gz"
build() {
gpep517 build-wheel --wheel-dir .dist --output-fd 3 3>&1 >&2
}
check() {
python3 -m venv --clear --without-pip --system-site-packages .testenv
.testenv/bin/python3 -m installer .dist/*.whl
.testenv/bin/python3 -m pytest
}
package() {
python3 -m installer -d "$pkgdir" .dist/*.whl
}
sha512sums="
31a97d412d5749b6e8d32b88d8b41fde79d8ca9657da9885f39dc92cb0ad00ac6ab98f931ab57806be05ba9249580f1ea5ff25849d86c2f044dc40f437b6a52e litecli-1.11.0.tar.gz
"
|