# Template file for 'pgcli'
pkgname=pgcli
version=2.1.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=3791a3c7734802fd14fefe9d18082a95687a02631f3287bd154cd27b4f12c05c

do_check() {
	# pgcli tests require a PostgreSQL server; skip them.
	:
}

post_install() {
	vlicense LICENSE.txt
}
