# -*- 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-postgresql
python.rootname     ${name}
version             1.3.0
revision            0
categories-append   devel databases
license             BSD
maintainers         nomaintainer
description         Python interface to PostgreSQL
long_description    ${name} is a project dedicated to improving the Python \
                    interfaces to PostgreSQL. It strives to provide \
                    substantial convenience to Python programmers \
                    using PostgreSQL. At its core, py-postgresql provides \
                    a PG-API, postgresql.api and DB-API 2.0 interface \
                    for using a PostgreSQL database.

homepage            https://github.com/python-postgres/fe

checksums           rmd160  4860cb0b8df767ed58dd7478841ce02ae5e228ac \
                    sha256  fca0f04d3f7478bd59c29c051e979d75b54be01545bd619eba2a3ed322a32c6e \
                    size    273764

python.versions     39 310 311

if {${name} ne ${subport}} {
   post-destroot {
      xinstall -m 0755 -d ${destroot}${prefix}/share/doc/${subport}
      xinstall -m 0644 -W ${worksrcpath} AUTHORS LICENSE README.md \
         ${destroot}${prefix}/share/doc/${subport}
   }
}