void-packages/srcpkgs/pgcli/template

25 lines
767 B
Bash

# Template file for 'pgcli'
pkgname=pgcli
version=3.0.0
revision=2
build_style=python3-module
hostmakedepends="python3-setuptools"
depends="python3-pgspecial python3-click python3-Pygments python3-prompt_toolkit
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=4920225838e8004ae6d2ec42f566e0a8b99c4bd42bc2c876d0de8501da0a4082
do_check() {
# pgcli tests require a PostgreSQL server; skip them.
:
}
post_install() {
vlicense LICENSE.txt
}