# -*- 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.2.1
revision            0
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
supported_archs     noarch

homepage            http://python.projects.postgresql.org/
master_sites        pypi:[string index ${python.rootname} 0]/${python.rootname}
distname            py-postgresql-${version}

checksums           rmd160  d50c1f4e2959a8a886fc7a69ba58373afce0d81c \
                    sha256  271bef0cb340f58662cbe958d05746fb421d18f35815e6965f839c824678bb3d \
                    size    1098784

python.versions     34 35 36 37

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

   livecheck.type   none
}