Date: Wed, 1 Jul 2009 00:31:06 GMT From: Wen Heping <wenheping@gmail.com> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/136203: [Update]databases/py-PyGreSQL:update to 4.0 Message-ID: <200907010031.n610V6pJ046656@www.freebsd.org> Resent-Message-ID: <200907010040.n610e2e2025853@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 136203 >Category: ports >Synopsis: [Update]databases/py-PyGreSQL:update to 4.0 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Wed Jul 01 00:40:02 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Wen Heping >Release: FreeBSD 8.0-CURRENT >Organization: ChangAn Middle School >Environment: FreeBSD fb8.wenjing.com 8.0-CURRENT FreeBSD 8.0-CURRENT #0: Sun Mar 22 22:12:06 CST 2009 root@fb8.wenjing.com:/usr/obj/usr/src/sys/GENERIC i386 >Description: update to 4.0 from 3.8.1 >How-To-Repeat: >Fix: Patch attached with submission follows: --- Makefile.orig 2009-07-01 07:04:56.000000000 +0800 +++ Makefile 2009-07-01 08:08:00.000000000 +0800 @@ -6,13 +6,12 @@ # 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 @@ -20,31 +19,15 @@ 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> --- distinfo.orig 2009-07-01 07:05:04.000000000 +0800 +++ distinfo 2009-07-01 08:03:31.000000000 +0800 @@ -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 --- pkg-plist.orig 2009-07-01 07:05:16.000000000 +0800 +++ pkg-plist 2009-07-01 08:10:13.000000000 +0800 @@ -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 >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200907010031.n610V6pJ046656>