ports/71212: [MAINTAINER] databases/py23-PyGreSQL: update to 3.5
Palle Girgensohn
girgen at pingpong.net
Wed Sep 1 00:00:28 UTC 2004
>Number: 71212
>Category: ports
>Synopsis: [MAINTAINER] databases/py23-PyGreSQL: update to 3.5
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: maintainer-update
>Submitter-Id: current-users
>Arrival-Date: Wed Sep 01 00:00:27 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator: Palle Girgensohn
>Release: FreeBSD 5.2-CURRENT i386
>Organization:
Ping Pong AB
>Environment:
System: FreeBSD palle.girgensohn.se 5.2-CURRENT FreeBSD 5.2-CURRENT #11: Wed Jul 28 03:24:58 CEST 2004
>Description:
- Update to 3.5
- Add patch to allow building with postgresql client only installation [1]
[1]: Pointed out by: Lars Erik Gullerud <lerik at nolink.net>
Generated with FreeBSD Port Tools 0.50
>How-To-Repeat:
>Fix:
cvs remove files/patch-setup.py
apply patch
cvs add files/patch-pgmodule.c
--- py23-PyGreSQL-3.5,1.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/databases/py-PyGreSQL/Makefile,v
retrieving revision 1.40
diff -u -u -r1.40 Makefile
--- Makefile 4 Feb 2004 05:19:07 -0000 1.40
+++ Makefile 31 Aug 2004 23:28:15 -0000
@@ -6,8 +6,7 @@
#
PORTNAME= PyGreSQL
-PORTVERSION= 3.4
-PORTREVISION= 1
+PORTVERSION= 3.5
PORTEPOCH= 1
CATEGORIES= databases python
MASTER_SITES= ftp://ftp.pygresql.org/pub/distrib/
@@ -15,7 +14,7 @@
EXTRACT_SUFX= .tgz
MAINTAINER= girgen at pingpong.net
-COMMENT= A Python interface to PostgreSQL, both classic interface and DP-API 2.0
+COMMENT= A Python interface to PostgreSQL, both classic and DP-API 2.0
BUILD_DEPENDS= ${DATETIME_DEP}:${PORTSDIR}/lang/py-mx-base
RUN_DEPENDS= ${DATETIME_DEP}:${PORTSDIR}/lang/py-mx-base
Index: distinfo
===================================================================
RCS file: /home/ncvs/ports/databases/py-PyGreSQL/distinfo,v
retrieving revision 1.9
diff -u -u -r1.9 distinfo
--- distinfo 19 Jul 2004 10:41:12 -0000 1.9
+++ distinfo 31 Aug 2004 23:37:00 -0000
@@ -1,2 +1,2 @@
-MD5 (PyGreSQL-3.4.tgz) = 3cd6e4b689a339748261fa714a8fcd6c
-SIZE (PyGreSQL-3.4.tgz) = 33266
+MD5 (PyGreSQL-3.5.tgz) = aec4cc8600af25b1fe895f2ee6cd9801
+SIZE (PyGreSQL-3.5.tgz) = 44884
--- /dev/null Wed Sep 1 01:47:55 2004
+++ files/patch-pgmodule.c Sat Aug 28 16:43:48 2004
@@ -0,0 +1,24 @@
+--- pgmodule.c~ Tue Jan 13 13:29:57 2004
++++ pgmodule.c Sat Aug 28 16:41:56 2004
+@@ -27,10 +27,19 @@
+ */
+
+ #include <Python.h>
+-#include "postgres.h"
++
++/* defines snatched from "catalog/pg_type.h" */
++#define INT2OID 21
++#define INT4OID 23
++#define INT8OID 20
++#define OIDOID 26
++#define FLOAT4OID 700
++#define FLOAT8OID 701
++#define NUMERICOID 1700
++#define CASHOID 790
++
+ #include "libpq-fe.h"
+ #include "libpq/libpq-fs.h"
+-#include "catalog/pg_type.h"
+ #include <stdio.h>
+ #include <stdlib.h>
+ #include <string.h>
--- py23-PyGreSQL-3.5,1.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list