1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-27 00:57:50 +00:00

upgrade to 2.3

PR:		46099
Submitted by:	maintainer
This commit is contained in:
Ying-Chieh Liao 2003-01-02 19:28:46 +00:00
parent 9dae8a95b8
commit 1fa008a4fe
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=72286
4 changed files with 19 additions and 12 deletions

View File

@ -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,24 +21,24 @@ 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:
@${MKDIR} ${DOCSDIR}
.for file in ${DOCS}
@${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
.endfor
@${MKDIR} ${EXAMPLESDIR}
.for file in ${EXAMPLES}
@${INSTALL_DATA} ${WRKSRC}/${file} ${EXAMPLESDIR}
.endfor
.endif

View File

@ -1 +1 @@
MD5 (pypgsql-2.2.tar.gz) = 2a490eac49e8ead34d0167905072604a
MD5 (pyPgSQL-2.3.tar.gz) = 4c614b0b240efc098010488aede00fef

View File

@ -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>

View File

@ -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