vp-build/srcpkgs/python3-pgspecial/template

27 lines
759 B
Bash

# Template file for 'python3-pgspecial'
pkgname=python3-pgspecial
version=1.11.9
revision=2
archs=noarch
wrksrc="pgspecial-${version}"
build_style=python3-module
pycompile_module="pgspecial"
hostmakedepends="python3-setuptools"
depends="python3-click python3-sqlparse python3-psycopg2"
checkdepends="${depends} python3-pytest"
short_desc="Meta-commands handler for PostgreSQL"
maintainer="Aluísio Augusto Silva Gonçalves <aluisio@aasg.name>"
license="BSD-3-Clause"
homepage="https://www.dbcli.com"
distfiles="${PYPI_SITE}/p/pgspecial/pgspecial-${version}.tar.gz"
checksum=77f8651450ccbde7d3036cfe93486a4eeeb5ade28d1ebc4b2ba186fea0023c56
do_check() {
# pgspecial tests require a PostgreSQL server; skip them.
:
}
post_install() {
vlicense License.txt
}