void-packages/srcpkgs/pgcli/template

27 lines
806 B
Bash

# Template file for 'pgcli'
pkgname=pgcli
version=2.2.0
revision=1
archs=noarch
build_style=python3-module
pycompile_module="pgcli"
hostmakedepends="python3-setuptools"
depends="python3-pgspecial python3-click python3-Pygments python3-prompt_toolkit2
python3-psycopg2 python3-sqlparse python3-configobj python3-humanize
python3-cli_helpers python3-setproctitle"
short_desc="PostgreSQL CLI with autocompletion and syntax highlighting"
maintainer="Aluísio Augusto Silva Gonçalves <aluisio@aasg.name>"
license="BSD-3-Clause"
homepage="https://www.pgcli.com"
distfiles="${PYPI_SITE}/p/pgcli/pgcli-${version}.tar.gz"
checksum=54138a31e6736a34c63b84a6d134c9292c9a73543cc0f66e80a0aaf79259d39b
do_check() {
# pgcli tests require a PostgreSQL server; skip them.
:
}
post_install() {
vlicense LICENSE.txt
}