From owner-svn-ports-head@FreeBSD.ORG Mon Feb 16 17:27:59 2015 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 77415C5; Mon, 16 Feb 2015 17:27:59 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 627FF679; Mon, 16 Feb 2015 17:27:59 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id t1GHRxJc040323; Mon, 16 Feb 2015 17:27:59 GMT (envelope-from pi@FreeBSD.org) Received: (from pi@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id t1GHRwf2040321; Mon, 16 Feb 2015 17:27:58 GMT (envelope-from pi@FreeBSD.org) Message-Id: <201502161727.t1GHRwf2040321@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: pi set sender to pi@FreeBSD.org using -f From: Kurt Jaeger Date: Mon, 16 Feb 2015 17:27:58 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r379100 - in head/textproc/py-xml: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Feb 2015 17:27:59 -0000 Author: pi Date: Mon Feb 16 17:27:58 2015 New Revision: 379100 URL: https://svnweb.freebsd.org/changeset/ports/379100 QAT: https://qat.redports.org/buildarchive/r379100/ Log: textprox/py-xml: 'as' is reserved keyword in newer versions of Python PR: 197710 Submitted by: Joerg Ruppe-Tanner Added: head/textproc/py-xml/files/patch-xml_xslt_Stylesheet.py (contents, props changed) Modified: head/textproc/py-xml/Makefile Modified: head/textproc/py-xml/Makefile ============================================================================== --- head/textproc/py-xml/Makefile Mon Feb 16 16:00:05 2015 (r379099) +++ head/textproc/py-xml/Makefile Mon Feb 16 17:27:58 2015 (r379100) @@ -3,7 +3,7 @@ PORTNAME= xml PORTVERSION= 0.8.4 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= textproc python MASTER_SITES= SF/py${PORTNAME}/py${PORTNAME}/${PORTVERSION} PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} Added: head/textproc/py-xml/files/patch-xml_xslt_Stylesheet.py ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/textproc/py-xml/files/patch-xml_xslt_Stylesheet.py Mon Feb 16 17:27:58 2015 (r379100) @@ -0,0 +1,13 @@ +--- xml/xslt/Stylesheet.py.orig 2015-02-16 16:52:28 UTC ++++ xml/xslt/Stylesheet.py +@@ -373,8 +373,8 @@ class StylesheetElement(XsltElement): + + #Attribute sets + attribute_sets = filter(lambda x: x.nodeType == Node.ELEMENT_NODE and (x.namespaceURI, x.localName) == (XSL_NAMESPACE, 'attribute-set'), self.childNodes) +- for as in attribute_sets: +- as.instantiate(context, processor) ++ for las in attribute_sets: ++ las.instantiate(context, processor) + overridden_params = {} + for k in topLevelParams.keys(): + if type(k) != types.TupleType: