Date: Sun, 17 May 2009 10:36:39 +0800 (CST) From: Li-Wen Hsu <lwhsu@FreeBSD.org> To: FreeBSD-gnats-submit@FreeBSD.org Cc: yarodin@gmail.com Subject: ports/134594: [PATCH] security/pwman3: use cElementTree and sqlite comes with Python 2.5 Message-ID: <20090517023639.7175262024@FreeBSD.cs.nctu.edu.tw> Resent-Message-ID: <200905170300.n4H308Fe073857@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 134594 >Category: ports >Synopsis: [PATCH] security/pwman3: use cElementTree and sqlite comes with Python 2.5 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sun May 17 03:00:08 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Li-Wen Hsu >Release: FreeBSD 7.2-RELEASE amd64 >Organization: >Environment: System: FreeBSD FreeBSD.cs.nctu.edu.tw 7.2-RELEASE FreeBSD 7.2-RELEASE #0: Thu May 7 22:34:33 CST >Description: Changing depends to cElementTree and sqlite comes with Python 2.5 . Port maintainer (yarodin@gmail.com) is cc'd. Generated with FreeBSD Port Tools 0.77 >How-To-Repeat: >Fix: --- pwman3-0.0.6_1.patch begins here --- Index: Makefile =================================================================== RCS file: /home/ncvs/ports/security/pwman3/Makefile,v retrieving revision 1.1 diff -u -u -r1.1 Makefile --- Makefile 6 May 2008 03:09:35 -0000 1.1 +++ Makefile 17 May 2009 02:35:18 -0000 @@ -7,6 +7,7 @@ PORTNAME= pwman3 PORTVERSION= 0.0.6 +PORTREVISION= 1 CATEGORIES= security python MASTER_SITES= http://pwman.bleurgh.com/~ivan/pwman3/source/ \ http://source.antisupport.com/pwman3/ @@ -15,12 +16,17 @@ MAINTAINER= yarodin@gmail.com COMMENT= Console password management application with sql storage -RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pycrypto>=2.0:${PORTSDIR}/security/py-pycrypto \ - ${PYTHON_PKGNAMEPREFIX}cElementTree>=1.0.5:${PORTSDIR}/devel/py-celementtree \ - ${PYTHON_PKGNAMEPREFIX}pysqlite>=2.0.5:${PORTSDIR}/databases/py-pysqlite23 +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pycrypto>=2.0:${PORTSDIR}/security/py-pycrypto USE_PYTHON= 2.5+ USE_PYDISTUTILS= yes PYDISTUTILS_PKGNAME= Pwman3 -.include <bsd.port.mk> +.include <bsd.port.pre.mk> + +post-patch: + ${REINPLACE_CMD} -e s,cElementTree,xml.etree.cElementTree, ${WRKSRC}/pwman/exchange/exporter.py + ${REINPLACE_CMD} -e s,cElementTree,xml.etree.cElementTree, ${WRKSRC}/pwman/exchange/importer.py + ${REINPLACE_CMD} -e s,pysqlite2,sqlite3, ${WRKSRC}/pwman/data/drivers/sqlite.py + +.include <bsd.port.post.mk> --- pwman3-0.0.6_1.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090517023639.7175262024>