summaryrefslogtreecommitdiffstats
path: root/databases/py-pyPgSQL
diff options
context:
space:
mode:
authorijliao <ijliao@FreeBSD.org>2003-01-02 19:28:46 +0000
committerijliao <ijliao@FreeBSD.org>2003-01-02 19:28:46 +0000
commite5e2bd3ae519b4828d8be295d9342a9d0030804a (patch)
tree8ec50ad8c98e48fccdd1ec0d14bf4513bd13515b /databases/py-pyPgSQL
parent1c82cd7adb74dad1ed5d18858b90bad42a3791e2 (diff)
downloadFreeBSD-ports-e5e2bd3ae519b4828d8be295d9342a9d0030804a.zip
FreeBSD-ports-e5e2bd3ae519b4828d8be295d9342a9d0030804a.tar.gz
upgrade to 2.3
PR: 46099 Submitted by: maintainer
Diffstat (limited to 'databases/py-pyPgSQL')
-rw-r--r--databases/py-pyPgSQL/Makefile18
-rw-r--r--databases/py-pyPgSQL/distinfo2
-rw-r--r--databases/py-pyPgSQL/pkg-descr2
-rw-r--r--databases/py-pyPgSQL/pkg-plist9
4 files changed, 19 insertions, 12 deletions
diff --git a/databases/py-pyPgSQL/Makefile b/databases/py-pyPgSQL/Makefile
index 44b6fdd..ad2d6e0 100644
--- a/databases/py-pyPgSQL/Makefile
+++ b/databases/py-pyPgSQL/Makefile
@@ -6,12 +6,12 @@
#
PORTNAME= pyPgSQL
-PORTVERSION= 2.2
+PORTVERSION= 2.3
CATEGORIES= databases python
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= pypgsql
PKGNAMEPREFIX= py-
-DISTNAME= pypgsql-${PORTVERSION}
+DISTNAME= pyPgSQL-${PORTVERSION}
MAINTAINER= gerhard.haering@gmx.de
@@ -21,18 +21,14 @@ LIB_DEPENDS= pq.2:${PORTSDIR}/databases/postgresql7
WRKSRC= ${WRKDIR}/pypgsql
USE_PYTHON= yes
USE_PYDISTUTILS= yes
-USE_REINPLACE= YES
-DOCS= README
-
-PLIST_SUB+= PYTHON_SITELIBDIR=${PYTHON_SITELIBDIR:S/^${LOCALBASE}\///g}
+DOCS= README README.html
+EXAMPLES= examples/*.py
DATETIME_DEP= ${PYTHON_SITELIBDIR}/mx/DateTime/__init__.py
DOCSDIR= ${PREFIX}/share/doc/py-pyPgSQL
-
-post-patch:
- ${REINPLACE_CMD} -e 's^/usr/local^${LOCALBASE}^g' ${WRKSRC}/setup.py
+EXAMPLESDIR= ${PREFIX}/share/examples/py-pyPgSQL
.if !defined(NOPORTDOCS)
post-install:
@@ -40,6 +36,10 @@ post-install:
.for file in ${DOCS}
@${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
.endfor
+ @${MKDIR} ${EXAMPLESDIR}
+.for file in ${EXAMPLES}
+ @${INSTALL_DATA} ${WRKSRC}/${file} ${EXAMPLESDIR}
+.endfor
.endif
.include <bsd.port.mk>
diff --git a/databases/py-pyPgSQL/distinfo b/databases/py-pyPgSQL/distinfo
index e7736e4..2592a8d 100644
--- a/databases/py-pyPgSQL/distinfo
+++ b/databases/py-pyPgSQL/distinfo
@@ -1 +1 @@
-MD5 (pypgsql-2.2.tar.gz) = 2a490eac49e8ead34d0167905072604a
+MD5 (pyPgSQL-2.3.tar.gz) = 4c614b0b240efc098010488aede00fef
diff --git a/databases/py-pyPgSQL/pkg-descr b/databases/py-pyPgSQL/pkg-descr
index fca21ad..eaac6ef 100644
--- a/databases/py-pyPgSQL/pkg-descr
+++ b/databases/py-pyPgSQL/pkg-descr
@@ -9,4 +9,4 @@ written in Python.
WWW: http://pypgsql.sourceforge.net/
developed by Bill Allie et al
-- Gerhard Haering <gerhard@bigfoot.de>
+- Gerhard Haering <gerhard.haering@gmx.de>
diff --git a/databases/py-pyPgSQL/pkg-plist b/databases/py-pyPgSQL/pkg-plist
index 0c3291a..e861d1b 100644
--- a/databases/py-pyPgSQL/pkg-plist
+++ b/databases/py-pyPgSQL/pkg-plist
@@ -8,7 +8,14 @@
%%PYTHON_SITELIBDIR%%/pyPgSQL/libpq/__init__.pyc
%%PYTHON_SITELIBDIR%%/pyPgSQL/libpq/__init__.pyo
%%PYTHON_SITELIBDIR%%/pyPgSQL/libpq/libpqmodule.so
-%%PORTDOCS%%share/doc/py-pyPgSQL/README
@dirrm %%PYTHON_SITELIBDIR%%/pyPgSQL/libpq
@dirrm %%PYTHON_SITELIBDIR%%/pyPgSQL
+%%PORTDOCS%%share/doc/py-pyPgSQL/README
+%%PORTDOCS%%share/doc/py-pyPgSQL/README.html
%%PORTDOCS%%@dirrm share/doc/py-pyPgSQL
+%%PORTDOCS%%share/examples/py-pyPgSQL/basic.py
+%%PORTDOCS%%share/examples/py-pyPgSQL/demo1a.py
+%%PORTDOCS%%share/examples/py-pyPgSQL/demo1b.py
+%%PORTDOCS%%share/examples/py-pyPgSQL/demo2a.py
+%%PORTDOCS%%share/examples/py-pyPgSQL/demo2b.py
+%%PORTDOCS%%@dirrm share/examples/py-pyPgSQL
OpenPOWER on IntegriCloud