# -*- 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.2.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     310 311 312 313

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

checksums           rmd160  db8c9ca8e1742dbe49d78d8185858a4a45eb22c5 \
                    sha256  da6c7fcc7bef7bb0132dc2046f74ec6513b1fe6f0c80e5528d630d14b7c4849d \
                    size    50389

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

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

    test.run        yes
}
