# Template file for 'pgcli'
pkgname=pgcli
version=4.5.0
revision=1
build_style=python3-pep517
hostmakedepends="python3-setuptools_scm"
depends="python3-pgspecial python3-click python3-Pygments
 python3-prompt_toolkit python3-psycopg python3-sqlparse python3-configobj
 python3-cli_helpers python3-setproctitle python3-tzlocal"
short_desc="PostgreSQL CLI with autocompletion and syntax highlighting"
maintainer="Joel Beckmeyer <joel@beckmeyer.us>"
license="BSD-3-Clause"
homepage="https://www.pgcli.com"
changelog="https://raw.githubusercontent.com/dbcli/pgcli/main/changelog.rst"
distfiles="${PYPI_SITE}/p/pgcli/pgcli-${version}.tar.gz"
checksum=9dce07f5b628068156256cb818e5191a773afe6eeb7054f210fa892813625e3e
make_check=no # pgcli tests require a PostgreSQL server; skip them.

post_install() {
	vlicense LICENSE.txt
}
