[49907] trunk/dports/python

blb at macports.org blb at macports.org
Sun Apr 19 15:00:05 PDT 2009


Revision: 49907
          http://trac.macports.org/changeset/49907
Author:   blb at macports.org
Date:     2009-04-19 15:00:05 -0700 (Sun, 19 Apr 2009)
Log Message:
-----------
New port - python/py26-celementtree, C implementation of the ElementTree API, py-elementtree

Modified Paths:
--------------
    trunk/dports/python/py26-celementtree/Portfile

Added Paths:
-----------
    trunk/dports/python/py26-celementtree/

Modified: trunk/dports/python/py26-celementtree/Portfile
===================================================================
--- trunk/dports/python/py25-celementtree/Portfile	2009-04-19 19:52:49 UTC (rev 49891)
+++ trunk/dports/python/py26-celementtree/Portfile	2009-04-19 22:00:05 UTC (rev 49907)
@@ -1,13 +1,13 @@
 # $Id$
 
 PortSystem 1.0
-PortGroup python25 1.0
+PortGroup python26 1.0
 
-name			py25-celementtree
+name			py26-celementtree
 version			1.0.5-20051216
 categories		python
 platforms		darwin
-maintainers		afb at macports.org openmaintainer
+maintainers		nomaintainer
 description		C implementation of the ElementTree API, py-elementtree
 long_description	The cElementTree module is a C implementation of the \
 				ElementTree API. On typical documents, it's 15-20 times faster \
@@ -20,17 +20,21 @@
 checksums		sha1 b36c95fd90d53746424c10db45b102b8fab260b8
 use_zip			yes
 
-depends_lib-append	port:py25-elementtree
+depends_lib-append	port:py26-elementtree
 
 test.run		yes
 test.cmd		${python.bin}
 test.target		selftest.py
 
 post-destroot	{
-	xinstall -m 644 ${worksrcpath}/README ${destroot}${prefix}/share/doc/${name}
-	xinstall -m 644 -W ${worksrcpath}/samples simple-ns.xml simple.xml \
-		${destroot}${prefix}/share/doc/${name}/examples
+	xinstall -m 644 -W ${worksrcpath} CHANGES README \
+		${destroot}${prefix}/share/doc/${name}
+	xinstall -m 755 -d ${destroot}${prefix}/share/examples/${name}
+	eval xinstall -m 644 [glob ${worksrcpath}/samples/*] \
+		${destroot}${prefix}/share/examples/${name}
 }
+
 livecheck.check	regex
 livecheck.url	http://effbot.org/downloads/
 livecheck.regex	cElementTree-(\[0-9\.-\]+).tar.gz
+
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090419/d881a0f8/attachment.html>


More information about the macports-changes mailing list