# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4

PortSystem          1.0
PortGroup           python 1.0

name                py-pgspecial
version             2.1.1
revision            0

license             BSD
platforms           {darwin any}
supported_archs     noarch
maintainers         nomaintainer
description         Meta-commands handler for Postgres Database
long_description    This package provides an API to execute meta-commands \
                    (AKA “special”, or “backslash commands”) on PostgreSQL.

python.versions     38 39 310 311

homepage            https://pypi.python.org/pypi/${python.rootname}/

checksums           rmd160  29348053bc79e59e8a629fc5ab4ea1866269b89b \
                    sha256  a38239cd961fac33ce6da35c466d758acb6f942901598d7df74e5b82fe6f5636 \
                    size    51017

if {${name} ne ${subport}} {
    depends_build-append    port:py${python.version}-setuptools

    depends_lib-append      port:py${python.version}-click \
                            port:py${python.version}-sqlparse \
                            port:py${python.version}-psycopg

    livecheck.type          none
}