Date: Mon, 16 Feb 2015 15:40:42 +0900 From: SASAKI Katuhiro <crest@sahiro.org> To: koobs@FreeBSD.org Cc: ports@FreeBSD.org Subject: Re: Port textproc/py-xml Message-ID: <20150216154042.8a326c06915c1a9fd384d1a4@sahiro.org> In-Reply-To: <54E06B05.70507@FreeBSD.org> References: <54DF5300.9010304@gmail.com> <54E06B05.70507@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi. On Sun, 15 Feb 2015 20:46:45 +1100 Kubilay Kocak <koobs@FreeBSD.org> 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 > > > > JC6rg > > > > > > Hi JC6rg, > > 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? > On my 10.1-RELEASE box, error as below before patching. > ===> Staging for py27-xml-0.8.4_2 > ===> py27-xml-0.8.4_2 depends on package: py27-setuptools27>0 - found > ===> py27-xml-0.8.4_2 depends on file: /usr/local/bin/python2.7 - found > ===> Generating temporary packing list > ... > byte-compiling /var/portbuild/usr/ports/textproc/py-xml/work/stage/usr/local/lib > /python2.7/site-packages/_xmlplus/xslt/Stylesheet.py to Stylesheet.pyc > File "/usr/local/lib/python2.7/site-packages/_xmlplus/xslt/Stylesheet.py", line 376 > for as in attribute_sets: > ^ > SyntaxError: invalid syntax > > ... > /usr/local/bin/python2.7 -O /tmp/tmpwBM1dQ.py > File "/usr/local/lib/python2.7/site-packages/_xmlplus/xslt/Stylesheet.py", line 376 > for as in attribute_sets: > ^ > SyntaxError: invalid syntax > > removing /tmp/tmpwBM1dQ.py > ... > ===> Compressing man pages (compress-man) > ===> Installing for py27-xml-0.8.4_2 > ===> Checking if py27-xml already installed > /usr/local/bin/python2.7 > ===> Registering installation for py27-xml-0.8.4_2 > pkg-static: Unable to access file /var/portbuild/usr/ports/textproc/py-xml/work/stage/usr/local/lib/python2.7/site-packages/_xmlplus/xslt/Stylesheet.pyc: No such file or directory > pkg-static: Unable to access file /var/portbuild/usr/ports/textproc/py-xml/work/stage/usr/local/lib/python2.7/site-packages/_xmlplus/xslt/Stylesheet.pyo: No such file or directory > *** Error code 74 > > Stop. > make[1]: stopped in /usr/ports/textproc/py-xml > *** Error code 1 > > Stop. > make: stopped in /usr/ports/textproc/py-xml -- SASAKI Katuhiro mailto: crest@sahiro.org
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20150216154042.8a326c06915c1a9fd384d1a4>