diff options
author | ijliao <ijliao@FreeBSD.org> | 2003-01-03 03:28:46 +0800 |
---|---|---|
committer | ijliao <ijliao@FreeBSD.org> | 2003-01-03 03:28:46 +0800 |
commit | e5e2bd3ae519b4828d8be295d9342a9d0030804a (patch) | |
tree | 8ec50ad8c98e48fccdd1ec0d14bf4513bd13515b /databases | |
parent | 1c82cd7adb74dad1ed5d18858b90bad42a3791e2 (diff) | |
download | freebsd-ports-gnome-e5e2bd3ae519b4828d8be295d9342a9d0030804a.tar.gz freebsd-ports-gnome-e5e2bd3ae519b4828d8be295d9342a9d0030804a.tar.zst freebsd-ports-gnome-e5e2bd3ae519b4828d8be295d9342a9d0030804a.zip |
upgrade to 2.3
PR: 46099
Submitted by: maintainer
Diffstat (limited to 'databases')
-rw-r--r-- | databases/py-pyPgSQL/Makefile | 18 | ||||
-rw-r--r-- | databases/py-pyPgSQL/distinfo | 2 | ||||
-rw-r--r-- | databases/py-pyPgSQL/pkg-descr | 2 | ||||
-rw-r--r-- | databases/py-pyPgSQL/pkg-plist | 9 |
4 files changed, 19 insertions, 12 deletions
diff --git a/databases/py-pyPgSQL/Makefile b/databases/py-pyPgSQL/Makefile index 44b6fddef8dd..ad2d6e02ce28 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 e7736e4adba3..2592a8dcdce7 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 fca21ad66902..eaac6ef29ac3 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 0c3291aa01d2..e861d1bc60f7 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 |