diff options
author | pav <pav@FreeBSD.org> | 2009-09-20 05:44:27 +0800 |
---|---|---|
committer | pav <pav@FreeBSD.org> | 2009-09-20 05:44:27 +0800 |
commit | 6f2b5b6f61854dfeb0594252066052089a911462 (patch) | |
tree | 80c580a7f713995a6c658f0d661df269adc7cf9a /databases | |
parent | afb6535ec211ec07809702fb3748681dafadf9d4 (diff) | |
download | freebsd-ports-graphics-6f2b5b6f61854dfeb0594252066052089a911462.tar.gz freebsd-ports-graphics-6f2b5b6f61854dfeb0594252066052089a911462.tar.zst freebsd-ports-graphics-6f2b5b6f61854dfeb0594252066052089a911462.zip |
- Update to 4.0
PR: ports/136203
Submitted by: Wen Heping <wenheping@gmail.com>
Approved by: maintainer timeout (girgen; 2 months)
Feature safe: yes
Diffstat (limited to 'databases')
-rw-r--r-- | databases/py-PyGreSQL/Makefile | 36 | ||||
-rw-r--r-- | databases/py-PyGreSQL/distinfo | 6 | ||||
-rw-r--r-- | databases/py-PyGreSQL/pkg-plist | 13 |
3 files changed, 24 insertions, 31 deletions
diff --git a/databases/py-PyGreSQL/Makefile b/databases/py-PyGreSQL/Makefile index f7951ce097d..0440f4ce312 100644 --- a/databases/py-PyGreSQL/Makefile +++ b/databases/py-PyGreSQL/Makefile @@ -6,45 +6,25 @@ # PORTNAME= PyGreSQL -PORTVERSION= 3.8.1 -PORTREVISION= 1 +PORTVERSION= 4.0 PORTEPOCH= 1 CATEGORIES= databases python -MASTER_SITES= ftp://ftp.pygresql.org/pub/distrib/ +MASTER_SITES= CHEESESHOP \ + ftp://ftp.pygresql.org/pub/distrib/ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} -EXTRACT_SUFX= .tgz MAINTAINER= girgen@FreeBSD.org COMMENT= A Python interface to PostgreSQL, both classic and DP-API 2.0 -BUILD_DEPENDS= ${DATETIME_DEP}:${PORTSDIR}/lang/py-mx-base -RUN_DEPENDS= ${DATETIME_DEP}:${PORTSDIR}/lang/py-mx-base - -USE_PGSQL= yes -USE_PYTHON= yes +USE_PGSQL= yes +USE_PYTHON= yes +USE_PYDISTUTILS= yes DATETIME_DEP= ${PYTHON_SITELIBDIR}/mx/DateTime/__init__.py -INSTALLS_EGGINFO= yes - -pre-build: - @ cd ${WRKSRC} ; ${REINPLACE_CMD} -e 's,%%LOCALBASE%%,${LOCALBASE},g' setup.py - -do-build: - @ cd ${WRKSRC} ; ${PYTHON_CMD} setup.py build - -do-install: - @ cd ${WRKSRC} ; ${PYTHON_CMD} setup.py install post-install: - @ ${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py -lf \ - ${PYTHONPREFIX_SITELIBDIR} - @ ${PYTHON_CMD} -O ${PYTHON_LIBDIR}/compileall.py -lf \ - ${PYTHONPREFIX_SITELIBDIR} .if !defined(NOPORTDOCS) -.for docfile in announce.txt changelog.txt pg.txt pgdb.txt - @ ${MKDIR} ${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/docs/${docfile} \ - ${DOCSDIR} -.endfor + @${MKDIR} ${DOCSDIR} + @cd ${WRKSRC}/docs/ && ${COPYTREE_SHARE} . ${DOCSDIR} .endif .include <bsd.port.mk> diff --git a/databases/py-PyGreSQL/distinfo b/databases/py-PyGreSQL/distinfo index a967577f3e0..55f49591a01 100644 --- a/databases/py-PyGreSQL/distinfo +++ b/databases/py-PyGreSQL/distinfo @@ -1,3 +1,3 @@ -MD5 (PyGreSQL-3.8.1.tgz) = 5575979dac93c9c5795d7693a8f91c86 -SHA256 (PyGreSQL-3.8.1.tgz) = 5638e1f12c8dd4f1ea8c9db4f92a98d19e66dbef2e25ab45ede190c3fcac816d -SIZE (PyGreSQL-3.8.1.tgz) = 81186 +MD5 (PyGreSQL-4.0.tar.gz) = 1aca50e59ff4cc56abe9452a9a49c5ff +SHA256 (PyGreSQL-4.0.tar.gz) = c57e93835de8a881e714baf217d7ab012297d6f0450454e3cde508937bf6bc9b +SIZE (PyGreSQL-4.0.tar.gz) = 89528 diff --git a/databases/py-PyGreSQL/pkg-plist b/databases/py-PyGreSQL/pkg-plist index 825aa6ea61d..7f06dacdc65 100644 --- a/databases/py-PyGreSQL/pkg-plist +++ b/databases/py-PyGreSQL/pkg-plist @@ -1,7 +1,20 @@ +%%PORTDOCS%%%%DOCSDIR%%/announce.html %%PORTDOCS%%%%DOCSDIR%%/announce.txt +%%PORTDOCS%%%%DOCSDIR%%/changelog.html %%PORTDOCS%%%%DOCSDIR%%/changelog.txt +%%PORTDOCS%%%%DOCSDIR%%/default.css +%%PORTDOCS%%%%DOCSDIR%%/docs.css +%%PORTDOCS%%%%DOCSDIR%%/future.html +%%PORTDOCS%%%%DOCSDIR%%/future.txt +%%PORTDOCS%%%%DOCSDIR%%/index.html +%%PORTDOCS%%%%DOCSDIR%%/install.html +%%PORTDOCS%%%%DOCSDIR%%/install.txt +%%PORTDOCS%%%%DOCSDIR%%/pg.html %%PORTDOCS%%%%DOCSDIR%%/pg.txt +%%PORTDOCS%%%%DOCSDIR%%/pgdb.html %%PORTDOCS%%%%DOCSDIR%%/pgdb.txt +%%PORTDOCS%%%%DOCSDIR%%/readme.html +%%PORTDOCS%%%%DOCSDIR%%/readme.txt %%PYTHON_SITELIBDIR%%/_pg.so %%PYTHON_SITELIBDIR%%/pg.py %%PYTHON_SITELIBDIR%%/pg.pyc |