blob: a0f6792109c547a04352c4c7a71704e977bceccc (
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
|
# Maintainer: Andrej Radović <r.andrej@gmail.com>
pkgname=litecli
pkgver=1.15.0
pkgrel=1
pkgdesc="A command-line client for SQLite databases that has auto-completion ""\
and syntax highlighting."
url="https://github.com/dbcli/litecli"
arch=(any)
license=('BSD')
depends=(
'python'
'python-click'
'python-pygments'
'python-prompt_toolkit'
'python-sqlparse'
'python-configobj'
'python-cli_helpers'
)
makedepends=(python-build python-installer python-wheel python-setuptools python-setuptools-scm)
source=("https://files.pythonhosted.org/packages/source/${pkgname::1}/$pkgname/$pkgname-$pkgver.tar.gz")
provides=('litecli')
conflicts=('litecli-git')
md5sums=('dbd18eb142960e1efb0a926161188506')
build() {
cd "$srcdir/${pkgname}-${pkgver}"
python -m build --wheel --no-isolation
}
package() {
cd "$srcdir/${pkgname}-${pkgver}"
python -m installer --destdir="$pkgdir" dist/*.whl
install -D "LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
|