[100718] trunk/dports/python/py-xmltramp/Portfile
jmr at macports.org
jmr at macports.org
Thu Dec 20 23:27:13 PST 2012
Revision: 100718
https://trac.macports.org/changeset/100718
Author: jmr at macports.org
Date: 2012-12-20 23:27:13 -0800 (Thu, 20 Dec 2012)
Log Message:
-----------
py-xmltramp: move to unified portgroup, license, noarch
Modified Paths:
--------------
trunk/dports/python/py-xmltramp/Portfile
Modified: trunk/dports/python/py-xmltramp/Portfile
===================================================================
--- trunk/dports/python/py-xmltramp/Portfile 2012-12-21 07:20:12 UTC (rev 100717)
+++ trunk/dports/python/py-xmltramp/Portfile 2012-12-21 07:27:13 UTC (rev 100718)
@@ -1,13 +1,14 @@
# $Id$
PortSystem 1.0
-PortGroup python24 1.0
+PortGroup python 1.0
name py-xmltramp
version 2.16
revision 1
-categories python
+license GPL-2
platforms darwin
+supported_archs noarch
maintainers nomaintainer
description easy-to-use python API for XML documents
long_description ${description}
@@ -17,9 +18,13 @@
distfiles xmltramp-${version}.py
checksums md5 1492bd99a119a24d58da5d2849d1e31b
-extract {
- file mkdir ${worksrcpath}
- file copy ${distpath}/${distfiles} ${worksrcpath}/xmltramp.py
- file copy ${filespath}/setup.py ${worksrcpath}
- reinplace "s|VERSION|${version}|g" ${worksrcpath}/setup.py
+python.versions 24
+
+if {$subport != $name} {
+ extract {
+ file mkdir ${worksrcpath}
+ file copy ${distpath}/${distfiles} ${worksrcpath}/xmltramp.py
+ file copy ${filespath}/setup.py ${worksrcpath}
+ reinplace "s|VERSION|${version}|g" ${worksrcpath}/setup.py
+ }
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20121220/d468cc48/attachment.html>
More information about the macports-changes
mailing list