mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-03-15 18:41:37 +01:00
41 lines
1.1 KiB
Plaintext
41 lines
1.1 KiB
Plaintext
# Maintainer: Hoang Nguyen <folliekazetani@protonmail.com>
|
|
pkgname=litecli
|
|
pkgver=1.14.4
|
|
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
|
|
# 'LLM_CLI_COMMANDS' is not defined, llm is not packaged
|
|
.testenv/bin/python3 -m pytest --ignore=tests/test_llm_special.py
|
|
}
|
|
|
|
package() {
|
|
python3 -m installer -d "$pkgdir" .dist/*.whl
|
|
}
|
|
|
|
sha512sums="
|
|
198c3ccfe99d31c589ca091ec4602c5739a6e6045fe9c06550cf7c3daa8a8d50c9804c03a9ca5a01f54ead3b20794e4b6f4d6d238f99412cf988f21adb76011c litecli-1.14.4.tar.gz
|
|
"
|