source: trunk/dports/python/py25-pgsql/Portfile @ 50984

Last change on this file since 50984 was 50984, checked in by and.damore@…, 10 years ago

Maintainer email change, second batch, mail without @macports.org domain are put in domain:user form.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.3 KB
Line 
1# $Id: Portfile 50984 2009-05-14 21:08:43Z and.damore@macports.org $
2
3PortSystem 1.0
4PortGroup python25 1.0
5
6name                    py25-pgsql
7version                 2.5.1
8revision                2
9categories              python databases
10platforms               darwin
11maintainers             geeklair.net:dluke
12description             python DB-API 2.0 compliant interface to postgresql (8.3)
13long_description        pyPgSQL is a package of two modules that provide a \
14                                Python DB-API 2.0 compliant interface to PostgreSQL \
15                                databases. The first module, libpq, exports the \
16                                PostgreSQL C API to Python. This module is written in \
17                                C and can be compiled into Python or can be \
18                                dynamically loaded on demand. The second module, \
19                                PgSQL, provides the DB-API 2.0 compliant interface and \
20                                support for various PostgreSQL data types, such as \
21                                INT8, NUMERIC, MONEY, BOOL, ARRAYS, etc.
22
23homepage                http://pypgsql.sourceforge.net/
24master_sites    sourceforge:pypgsql
25distname                pyPgSQL-${version}
26checksums               sha1 ae286d2b0b0e6896223430887dd244e9eeef705b
27
28depends_lib-append      port:postgresql83 port:py25-mx-base
29
30build.env               PATH="${prefix}/lib/postgresql83/bin:$env(PATH)"
31destroot.env    ${build.env}
32
33post-destroot {
34        xinstall -m 644 -W ${worksrcpath} Announce ChangeLog README \
35                README.html ${destroot}${prefix}/share/doc/${name}
36        xinstall -m 644 -W ${worksrcpath}/examples basic.py demo1a.py \
37                demo1b.py demo2a.py demo2b.py \
38                ${destroot}${prefix}/share/doc/${name}/examples
39}
Note: See TracBrowser for help on using the repository browser.