diff options
author | nbm <nbm@FreeBSD.org> | 2001-11-10 15:01:33 +0800 |
---|---|---|
committer | nbm <nbm@FreeBSD.org> | 2001-11-10 15:01:33 +0800 |
commit | 653381108ccea0977ac6623c68c085dd861f4028 (patch) | |
tree | 62a941fd3b28724a5dd8063ad206d145468d615a /databases | |
parent | 76f2abfa7927a5cf014426fbf60d8be1c7921e53 (diff) | |
download | freebsd-ports-gnome-653381108ccea0977ac6623c68c085dd861f4028.tar.gz freebsd-ports-gnome-653381108ccea0977ac6623c68c085dd861f4028.tar.zst freebsd-ports-gnome-653381108ccea0977ac6623c68c085dd861f4028.zip |
Update of the py-pyPGSQL port to version 2.0.
PR: ports/31887
Submitted by: Gerhard Häring <gerhard@bigfoot.de> (maintainer)
Diffstat (limited to 'databases')
-rw-r--r-- | databases/py-pyPgSQL/Makefile | 10 | ||||
-rw-r--r-- | databases/py-pyPgSQL/distinfo | 2 | ||||
-rw-r--r-- | databases/py-pyPgSQL/pkg-plist | 15 |
3 files changed, 19 insertions, 8 deletions
diff --git a/databases/py-pyPgSQL/Makefile b/databases/py-pyPgSQL/Makefile index 680859814d44..9f37206c598b 100644 --- a/databases/py-pyPgSQL/Makefile +++ b/databases/py-pyPgSQL/Makefile @@ -1,12 +1,12 @@ # New ports collection makefile for: py-pypgsql -# Date created: 01 Nov 2001 -# Whom: Gerhard Haering <gerhard@bigfoot.de> +# Date created: 01 Nov 2001 +# Whom: Gerhard Haering <gerhard@bigfoot.de> # # $FreeBSD$ # PORTNAME= pyPgSQL -PORTVERSION= 1.6 +PORTVERSION= 2.0 CATEGORIES= databases python MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= pypgsql @@ -29,6 +29,8 @@ PLIST_SUB+= PYTHON_SITELIBDIR=${PYTHON_SITELIBDIR:S/^${LOCALBASE}\///g} 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/pgsql" ]# ;' \ @@ -39,7 +41,7 @@ do-build: ${SETUP_CMD} build_ext --inplace do-install: - ${SETUP_CMD} install + ${SETUP_CMD} install -c -O1 .if !defined(NOPORTDOCS) @${MKDIR} ${DOCSDIR} .for file in ${DOCS} diff --git a/databases/py-pyPgSQL/distinfo b/databases/py-pyPgSQL/distinfo index d40100d58b7e..85ad9fbb9520 100644 --- a/databases/py-pyPgSQL/distinfo +++ b/databases/py-pyPgSQL/distinfo @@ -1 +1 @@ -MD5 (pypgsql-1.6.tar.gz) = 3804f543cbe6cb2805eecc4c44913aea +MD5 (pypgsql-2.0.tar.gz) = b3671864f8cddc5cfe89c4d1c365295a diff --git a/databases/py-pyPgSQL/pkg-plist b/databases/py-pyPgSQL/pkg-plist index 94fd9c4e06a6..abd2cc2bf429 100644 --- a/databases/py-pyPgSQL/pkg-plist +++ b/databases/py-pyPgSQL/pkg-plist @@ -1,6 +1,15 @@ -%%PYTHON_SITELIBDIR%%/libpqmodule.so -%%PYTHON_SITELIBDIR%%/PgSQL.py -%%PYTHON_SITELIBDIR%%/PgSQL.pyc +%%PYTHON_SITELIBDIR%%/pyPgSQL/__init__.py +%%PYTHON_SITELIBDIR%%/pyPgSQL/__init__.pyc +%%PYTHON_SITELIBDIR%%/pyPgSQL/__init__.pyo +%%PYTHON_SITELIBDIR%%/pyPgSQL/PgSQL.py +%%PYTHON_SITELIBDIR%%/pyPgSQL/PgSQL.pyc +%%PYTHON_SITELIBDIR%%/pyPgSQL/PgSQL.pyo +%%PYTHON_SITELIBDIR%%/pyPgSQL/libpq/__init__.py +%%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 @dirrm %%PORTDOCS%%share/doc/py-pyPgSQL |