PortSystem          1.0
PortGroup           python 1.0
name                py-postgresql
version             1.0.3
categories-append   devel databases
license             BSD
maintainers         nomaintainer
description         Python interface to PostgreSQL
long_description \
   py-postgresql 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.

platforms           darwin

homepage            http://python.projects.postgresql.org/
master_sites        ${homepage}files
distname            py-postgresql-${version}

checksums           sha1    fd39fd2c8fe8010761f733761d3cd29406e1f562 \
                    rmd160  7af6df6988e380d24b9fb4159e96f7abe07c5c34

if {${name} ne ${subport}} {
   post-destroot {
      xinstall -m 755 -d ${destroot}${prefix}/share/doc/${subport}
      xinstall -m 644 -W ${worksrcpath} AUTHORS LICENSE README \
         ${destroot}${prefix}/share/doc/${subport}
   }
}

python.versions     34

livecheck.type      regex
livecheck.url       [lindex ${master_sites} 0]
livecheck.regex     py-postgresql-(\[.\\d\]+)${extract.suffix}