Update to 3.8

PR:	93701
This commit is contained in:
Palle Girgensohn 2006-02-22 22:39:46 +00:00
parent 42c6f453f1
commit 157067734b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=156718
4 changed files with 7 additions and 32 deletions

View file

@ -6,8 +6,7 @@
#
PORTNAME= PyGreSQL
PORTVERSION= 3.6.2
PORTEPOCH= 1
PORTVERSION= 3.8
CATEGORIES= databases python
MASTER_SITES= ftp://ftp.pygresql.org/pub/distrib/
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@ -39,7 +38,7 @@ post-install:
@ ${PYTHON_CMD} -O ${PYTHON_LIBDIR}/compileall.py -lf \
${PYTHONPREFIX_SITELIBDIR}
.if !defined(NOPORTDOCS)
.for docfile in Announce ChangeLog
.for docfile in announce.txt changelog.txt
@ ${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/${docfile} \
${DOCSDIR}

View file

@ -1,3 +1,3 @@
MD5 (PyGreSQL-3.6.2.tgz) = 1f2694ea546c852c5a0ba2b17f7c5ce1
SHA256 (PyGreSQL-3.6.2.tgz) = 1e35d569e751f1974f2321d3db1b79348858fad78687be7a4cf85b16ca78d0c7
SIZE (PyGreSQL-3.6.2.tgz) = 45824
MD5 (PyGreSQL-3.8.tgz) = 312f5e90a63ea17f8c65bc83b85a55f3
SHA256 (PyGreSQL-3.8.tgz) = 551c02ee9d9dc434604c4df62221a6ded88a82999f43e286cf2d092255948777
SIZE (PyGreSQL-3.8.tgz) = 40754

View file

@ -1,24 +0,0 @@
--- 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>

View file

@ -1,5 +1,5 @@
%%PORTDOCS%%%%DOCSDIR%%/Announce
%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
%%PORTDOCS%%%%DOCSDIR%%/announce.txt
%%PORTDOCS%%%%DOCSDIR%%/changelog.txt
%%PYTHON_SITELIBDIR%%/_pg.so
%%PYTHON_SITELIBDIR%%/pg.py
%%PYTHON_SITELIBDIR%%/pg.pyc