aboutsummaryrefslogtreecommitdiffstats
path: root/databases/py-pyPgSQL
diff options
context:
space:
mode:
authorijliao <ijliao@FreeBSD.org>2002-09-16 21:57:56 +0800
committerijliao <ijliao@FreeBSD.org>2002-09-16 21:57:56 +0800
commitf944d2fd52eafb8b03373426f268b5dfcea8e787 (patch)
tree32f4fdc954dbe9d6e756a0b07529096c4fe587d5 /databases/py-pyPgSQL
parente2edc520afc6b81beea0bbc1c66aa5df15459f46 (diff)
downloadfreebsd-ports-gnome-f944d2fd52eafb8b03373426f268b5dfcea8e787.tar.gz
freebsd-ports-gnome-f944d2fd52eafb8b03373426f268b5dfcea8e787.tar.zst
freebsd-ports-gnome-f944d2fd52eafb8b03373426f268b5dfcea8e787.zip
- update port to pyPgSQL 2.2
- updated maintainer email address - use REINPLACE instead of PERL PR: 42560 Submitted by: maintainer
Diffstat (limited to 'databases/py-pyPgSQL')
-rw-r--r--databases/py-pyPgSQL/Makefile12
-rw-r--r--databases/py-pyPgSQL/distinfo2
2 files changed, 6 insertions, 8 deletions
diff --git a/databases/py-pyPgSQL/Makefile b/databases/py-pyPgSQL/Makefile
index c9af98d25782..095839fb50ac 100644
--- a/databases/py-pyPgSQL/Makefile
+++ b/databases/py-pyPgSQL/Makefile
@@ -1,19 +1,19 @@
# New ports collection makefile for: py-pypgsql
# Date created: 01 Nov 2001
-# Whom: Gerhard Haering <gerhard@bigfoot.de>
+# Whom: Gerhard Haering <gerhard.haering@gmx.de>
#
# $FreeBSD$
#
PORTNAME= pyPgSQL
-PORTVERSION= 2.1
+PORTVERSION= 2.2
CATEGORIES= databases python
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= pypgsql
PKGNAMEPREFIX= py-
DISTNAME= pypgsql-${PORTVERSION}
-MAINTAINER= gerhard@bigfoot.de
+MAINTAINER= gerhard.haering@gmx.de
BUILD_DEPENDS= ${DATETIME_DEP}:${PORTSDIR}/lang/py-mx-base
RUN_DEPENDS= ${DATETIME_DEP}:${PORTSDIR}/lang/py-mx-base
@@ -22,6 +22,7 @@ LIB_DEPENDS= pq.2:${PORTSDIR}/databases/postgresql7
WRKSRC= ${WRKDIR}/pypgsql
USE_PYTHON= yes
USE_PYDISTUTILS= yes
+USE_REINPLACE= YES
DOCS= README
@@ -32,10 +33,7 @@ DATETIME_DEP= ${PYTHON_SITELIBDIR}/mx/DateTime/__init__.py
DOCSDIR= ${PREFIX}/share/doc/py-pyPgSQL
post-patch:
- ${PERL} -i -p \
- -e 's#^include_dirs = \[ "/usr/local/pgsql/include" \]#include_dirs = [ "${LOCALBASE}/include" ]# ;' \
- -e 's#^library_dirs = \[ "/usr/local/pgsql/lib" \]#library_dirs = [ "${LOCALBASE}/lib" ]#' \
- ${WRKSRC}/setup.py
+ ${REINPLACE_CMD} -e "s/\/usr\/local\/pgsql/$${LOCALBASE}/g" ${WRKSRC}/setup.py
.if !defined(NOPORTDOCS)
post-install:
diff --git a/databases/py-pyPgSQL/distinfo b/databases/py-pyPgSQL/distinfo
index 359c633ee705..e7736e4adba3 100644
--- a/databases/py-pyPgSQL/distinfo
+++ b/databases/py-pyPgSQL/distinfo
@@ -1 +1 @@
-MD5 (pypgsql-2.1.tar.gz) = c7ec473a5bf64d0c2ee166d4dd2b42af
+MD5 (pypgsql-2.2.tar.gz) = 2a490eac49e8ead34d0167905072604a