From owner-freebsd-ports@FreeBSD.ORG Sun Feb 15 16:19:53 2015 Return-Path: Delivered-To: ports@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 2A70AC03; Sun, 15 Feb 2015 16:19:53 +0000 (UTC) Received: from mail-wg0-x22d.google.com (mail-wg0-x22d.google.com [IPv6:2a00:1450:400c:c00::22d]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id A9D8FA37; Sun, 15 Feb 2015 16:19:52 +0000 (UTC) Received: by mail-wg0-f45.google.com with SMTP id k14so22230408wgh.4; Sun, 15 Feb 2015 08:19:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:disposition-notification-to:date:from:user-agent :mime-version:to:subject:references:in-reply-to:content-type; bh=F+kZnlSpWEv2fCdixERJCQk6xPeB8WV7QIe994KCLvw=; b=frNChBWKj1cKHZsTBtWDFlAuCDJRPAjBBEEZ7tlASVh4divlc1IgsGbQDK8Er/dw+N eMJjBmCxcVQmI/iSefAmFyDNNF2kJEQKo6NNmvLs76mRGHoBq48XM6vXLy+ej35G+BfA oZEvbnLfsWs8RIQrMnmCvBAfkY2L6HRg2shuVNL+eARrwN/rI6Kjdqk9Yu8GH5U/7mTq yp0JUDLxxMEyPTNGxCYJBDF1QQjdhS8Pp0SH9sjr2IA3SFLnHVPl0qRGt8JVUvBvZmyf xxplGPDu8w8R9JxskjMteQVKfLpMYfVe1tNvn8VKsjjsM3RcUtcLWZYwg7dy7ZuZEmCT drtA== X-Received: by 10.194.21.137 with SMTP id v9mr21901351wje.140.1424017191124; Sun, 15 Feb 2015 08:19:51 -0800 (PST) Received: from jupiter.jrtnet.ch (jupiter.jrtnet.ch. [2001:470:b4ca:ffff::1111]) by mx.google.com with ESMTPSA id kj8sm18851988wjc.29.2015.02.15.08.19.49 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 15 Feb 2015 08:19:50 -0800 (PST) Message-ID: <54E0C723.3080508@gmail.com> Date: Sun, 15 Feb 2015 17:19:47 +0100 From: Joerg Ruppe-Tanner User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 MIME-Version: 1.0 To: koobs@FreeBSD.org, ports@FreeBSD.org Subject: Re: Port textproc/py-xml References: <54DF5300.9010304@gmail.com> <54E06B05.70507@FreeBSD.org> In-Reply-To: <54E06B05.70507@FreeBSD.org> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 15 Feb 2015 16:19:53 -0000 On 02/15/15 10:46, Kubilay Kocak wrote: > On 15/02/2015 12:52 AM, Joerg Ruppe-Tanner wrote: >> Hi Maintainer >> >> Here an Patch for textproc/py-xml >> >> >> --- xml/xslt/Stylesheet.py.orig 2015-02-14 14:39:02.860452706 +0100 >> +++ xml/xslt/Stylesheet.py 2015-02-14 14:28:48.331501981 +0100 >> @@ -373,8 +373,8 @@ >> >> #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: >> >> >> For me it was useful >> >> >> Kind Rregards >> >> Jörg >> >> > Hi Jörg, > > May I ask what the patch addresses? > Does it fix a bug? If so, what are/were the symptoms? > Did you find this patch online? If so, what URL? > > -- > Regards, > > Koobs > > Hi Koobs The Problem was for me was that the potr doen't install . portupgrde -p -v textproc/py-xml will fail. I saw that Stylesheet.py will not compile will the parser have problem with the for as statement. So i have a look in tho other both patches in the files Directory. I changed the for as stamen to for las prepare the patch make potupgrade -p -v an it works. Is this enough for You ? Kind regards Jörg -- Joerg Ruppe-Tanner Schuetzenweg 19 3294 Bueren an der Aare email: joerg.ruppe.tanner@gmail.com http://www.jrtnet.ch Tel.: (+41) 32 351 5840 Mob.: (+41) 79 593 9569