[21554] trunk/dports/python/py-pgsql

source_changes at macosforge.org source_changes at macosforge.org
Sun Jan 28 03:08:01 PST 2007


Revision: 21554
          http://trac.macosforge.org/projects/macports/changeset/21554
Author:   mww at macports.org
Date:     2007-01-28 03:08:00 -0800 (Sun, 28 Jan 2007)

Log Message:
-----------
version 2.5.1, depend on postgresql82

Modified Paths:
--------------
    trunk/dports/python/py-pgsql/Portfile

Removed Paths:
-------------
    trunk/dports/python/py-pgsql/files/

Modified: trunk/dports/python/py-pgsql/Portfile
===================================================================
--- trunk/dports/python/py-pgsql/Portfile	2007-01-28 10:21:21 UTC (rev 21553)
+++ trunk/dports/python/py-pgsql/Portfile	2007-01-28 11:08:00 UTC (rev 21554)
@@ -4,12 +4,11 @@
 PortGroup python24 1.0
 
 name			py-pgsql
-version			2.4
-revision		2
+version			2.5.1
 categories		python databases
 platforms		darwin
-maintainers		mww at opendarwin.org
-description		python DB-API 2.0 compliant interface to postgresql
+maintainers		mww at macports.org
+description		python DB-API 2.0 compliant interface to postgresql (8.2)
 long_description	pyPgSQL is a package of two modules that provide a \
 				Python DB-API 2.0 compliant interface to PostgreSQL \
 				databases. The first module, libpq, exports the \
@@ -23,20 +22,16 @@
 homepage		http://pypgsql.sourceforge.net/
 master_sites	sourceforge:pypgsql
 distname		pyPgSQL-${version}
-checksums		md5 56d4003e5192de9a09de468a7641bd11
-patchfiles		patch-setup.py.diff
+checksums		sha1 ae286d2b0b0e6896223430887dd244e9eeef705b
 
-depends_lib-append	port:postgresql8
+depends_lib-append	port:postgresql82
 
-worksrcdir		pypgsql
+build.env		PATH="${prefix}/lib/postgresql82/bin:$env(PATH)"
+destroot.env	${build.env}
 
-post-patch {
-	reinplace "s|__PREFIX__|${prefix}|g" ${worksrcpath}/setup.py
-}
-
 post-destroot {
 	xinstall -m 644 -W ${worksrcpath} Announce ChangeLog README \
-		README.html TODO ${destroot}${prefix}/share/doc/${name}
+		README.html ${destroot}${prefix}/share/doc/${name}
 	xinstall -m 644 -W ${worksrcpath}/examples basic.py demo1a.py \
 		demo1b.py demo2a.py demo2b.py \
 		${destroot}${prefix}/share/doc/${name}/examples

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070128/e3578fcb/attachment.html


More information about the macports-changes mailing list