[82216] trunk/dports/python

ecronin at macports.org ecronin at macports.org
Wed Aug 10 08:34:57 PDT 2011


Revision: 82216
          http://trac.macports.org/changeset/82216
Author:   ecronin at macports.org
Date:     2011-08-10 08:34:57 -0700 (Wed, 10 Aug 2011)
Log Message:
-----------
py27-xml: new port (copy of py26-xml)

git-svn probably won't turn this into a 'svn cp' but it was a trivial
s/26/27/g

Added Paths:
-----------
    trunk/dports/python/py27-xml/
    trunk/dports/python/py27-xml/Portfile
    trunk/dports/python/py27-xml/files/
    trunk/dports/python/py27-xml/files/patch-xml_xpath_ParsedAbbreviatedAbsoluteLocationPath.py.diff
    trunk/dports/python/py27-xml/files/patch-xml_xpath_ParsedAbbreviatedRelativeLocationPath.py.diff

Added: trunk/dports/python/py27-xml/Portfile
===================================================================
--- trunk/dports/python/py27-xml/Portfile	                        (rev 0)
+++ trunk/dports/python/py27-xml/Portfile	2011-08-10 15:34:57 UTC (rev 82216)
@@ -0,0 +1,33 @@
+# $Id$
+
+PortSystem 1.0
+PortGroup python27 1.0
+
+name            py27-xml
+version         0.8.4
+categories-append   devel textproc
+maintainers     nomaintainer
+description     XML Tools for Python
+long_description \
+    A package of all the tools required for writing basic \
+    XML applications in Python.
+
+platforms       darwin
+homepage        http://pyxml.sourceforge.net/
+master_sites    sourceforge:pyxml
+distname        PyXML-${version}
+checksums       md5 1f7655050cebbb664db976405fdba209
+
+depends_lib-append  port:expat 
+
+# Work with python 2.7
+patchfiles      patch-xml_xpath_ParsedAbbreviatedAbsoluteLocationPath.py.diff \
+                patch-xml_xpath_ParsedAbbreviatedRelativeLocationPath.py.diff
+
+build.args      --with-libexpat=${prefix}
+
+post-destroot {
+   file mkdir ${destroot}${prefix}/share/doc
+   file copy ${worksrcpath}/doc ${destroot}${prefix}/share/doc/${name}
+}
+


Property changes on: trunk/dports/python/py27-xml/Portfile
___________________________________________________________________
Added: svn:keywords
   + Id
Added: svn:eol-style
   + native

Added: trunk/dports/python/py27-xml/files/patch-xml_xpath_ParsedAbbreviatedAbsoluteLocationPath.py.diff
===================================================================
--- trunk/dports/python/py27-xml/files/patch-xml_xpath_ParsedAbbreviatedAbsoluteLocationPath.py.diff	                        (rev 0)
+++ trunk/dports/python/py27-xml/files/patch-xml_xpath_ParsedAbbreviatedAbsoluteLocationPath.py.diff	2011-08-10 15:34:57 UTC (rev 82216)
@@ -0,0 +1,13 @@
+--- xml/xpath/ParsedAbbreviatedAbsoluteLocationPath.py.orig	2003-03-11 07:01:34.000000000 -0700
++++ xml/xpath/ParsedAbbreviatedAbsoluteLocationPath.py	2009-04-12 00:53:07.000000000 -0600
+@@ -24,8 +24,8 @@
+         self._rel = rel
+         nt = ParsedNodeTest.ParsedNodeTest('node', '')
+         ppl = ParsedPredicateList.ParsedPredicateList([])
+-        as = ParsedAxisSpecifier.ParsedAxisSpecifier('descendant-or-self')
+-        self._step = ParsedStep.ParsedStep(as, nt, ppl)
++        axisspec = ParsedAxisSpecifier.ParsedAxisSpecifier('descendant-or-self')
++        self._step = ParsedStep.ParsedStep(axisspec, nt, ppl)
+         return
+ 
+     def evaluate(self, context):

Added: trunk/dports/python/py27-xml/files/patch-xml_xpath_ParsedAbbreviatedRelativeLocationPath.py.diff
===================================================================
--- trunk/dports/python/py27-xml/files/patch-xml_xpath_ParsedAbbreviatedRelativeLocationPath.py.diff	                        (rev 0)
+++ trunk/dports/python/py27-xml/files/patch-xml_xpath_ParsedAbbreviatedRelativeLocationPath.py.diff	2011-08-10 15:34:57 UTC (rev 82216)
@@ -0,0 +1,13 @@
+--- xml/xpath/ParsedAbbreviatedRelativeLocationPath.py.orig	2003-03-11 07:01:34.000000000 -0700
++++ xml/xpath/ParsedAbbreviatedRelativeLocationPath.py	2009-04-12 00:52:11.000000000 -0600
+@@ -28,8 +28,8 @@
+         self._right = right
+         nt = ParsedNodeTest.ParsedNodeTest('node','')
+         ppl = ParsedPredicateList.ParsedPredicateList([])
+-        as = ParsedAxisSpecifier.ParsedAxisSpecifier('descendant-or-self')
+-        self._middle = ParsedStep.ParsedStep(as, nt, ppl)
++        axisspec = ParsedAxisSpecifier.ParsedAxisSpecifier('descendant-or-self')
++        self._middle = ParsedStep.ParsedStep(axisspec, nt, ppl)
+ 
+     def evaluate(self, context):
+         res = []
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110810/468be03b/attachment.html>


More information about the macports-changes mailing list