[92083] trunk/dports/python

jmr at macports.org jmr at macports.org
Tue Apr 17 10:32:21 PDT 2012


Revision: 92083
          https://trac.macports.org/changeset/92083
Author:   jmr at macports.org
Date:     2012-04-17 10:32:21 -0700 (Tue, 17 Apr 2012)
Log Message:
-----------
py*-iniparse: unify, add py27

Modified Paths:
--------------
    trunk/dports/python/py-iniparse/Portfile

Removed Paths:
-------------
    trunk/dports/python/py25-iniparse/
    trunk/dports/python/py26-iniparse/

Modified: trunk/dports/python/py-iniparse/Portfile
===================================================================
--- trunk/dports/python/py-iniparse/Portfile	2012-04-17 17:08:02 UTC (rev 92082)
+++ trunk/dports/python/py-iniparse/Portfile	2012-04-17 17:32:21 UTC (rev 92083)
@@ -1,12 +1,14 @@
 # $Id$
 
 PortSystem 1.0
-PortGroup python24 1.0
+PortGroup python 1.0
 
 name			py-iniparse
 version			0.3.1
 platforms		darwin
+supported_archs	noarch
 categories		python
+license			PSF MIT
 maintainers		afb openmaintainer
 description		Python Module for Accessing and Modifying Configuration Data in INI files
 long_description	iniparse is an INI parser for Python which is API compatible \
@@ -22,8 +24,11 @@
 			sha1    9d390e3c50ad21fcf045d91319a4adfc37540e90 \
 			rmd160  d703c0c2e86134496778e0e0362ac5bc15c0cc38
 
-post-destroot {
-	eval move [glob ${destroot}${prefix}/share/doc/iniparse-${version}/*] \
-		${destroot}${prefix}/share/doc/${name}
+python.versions 24 25 26 27
+
+if {$subport != $name} {
+    post-destroot {
+        eval move [glob ${destroot}${python.prefix}/share/doc/iniparse-${version}/*] \
+            ${destroot}${prefix}/share/doc/${subport}
+    }
 }
-
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120417/1bfa08a6/attachment.html>


More information about the macports-changes mailing list