[93503] trunk/dports/python

jmr at macports.org jmr at macports.org
Thu May 24 10:29:52 PDT 2012


Revision: 93503
          https://trac.macports.org/changeset/93503
Author:   jmr at macports.org
Date:     2012-05-24 10:29:52 -0700 (Thu, 24 May 2012)
Log Message:
-----------
py*-appscript: unify, update to 1.0.0, add py32 (#31111)

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

Removed Paths:
-------------
    trunk/dports/python/py25-appscript/
    trunk/dports/python/py26-appscript/
    trunk/dports/python/py27-appscript/
    trunk/dports/python/py31-appscript/

Modified: trunk/dports/python/py-appscript/Portfile
===================================================================
--- trunk/dports/python/py-appscript/Portfile	2012-05-24 17:22:14 UTC (rev 93502)
+++ trunk/dports/python/py-appscript/Portfile	2012-05-24 17:29:52 UTC (rev 93503)
@@ -1,38 +1,39 @@
 # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
 # $Id$
 
-PortSystem 1.0
-PortGroup python24 1.0
+PortSystem          1.0
+PortGroup           python 1.0
 
-name			   py-appscript
-version			   0.22.0
-categories		   python
-platforms		   darwin
-maintainers		   internode.on.net:arsptr
-description		   High-level application scripting package for Python
-long_description   Appscript is a high-level, user-friendly MacPython to Apple event \
-                   bridge that allows you to control scriptable Mac OS X applications \
-                   using ordinary Python scripts. Appscript makes MacPython a serious \
-                   alternative to Apple's own AppleScript language for automating your \
-                   Mac.
+name                py-appscript
+version             1.0.0
+categories          python
+platforms           darwin
+maintainers         internode.on.net:arsptr
+description         High-level application scripting package for Python
+long_description    Appscript is a high-level, user-friendly MacPython to \
+                    Apple event bridge that allows you to control scriptable \
+                    Mac OS X applications using ordinary Python scripts. \
+                    Appscript makes MacPython a serious alternative to Apple's \
+                    own AppleScript language for automating your Mac.
 
-homepage		   http://appscript.sourceforge.net/
-master_sites       http://pypi.python.org/packages/source/a/appscript/
-distname           appscript-${version}
+homepage            http://appscript.sourceforge.net/
+master_sites        http://pypi.python.org/packages/source/a/appscript/
+distname            appscript-${version}
 
-depends_lib-append  port:py24-distribute
+checksums           md5    6619b637037ea0f391f45870c13ae38a \
+                    sha256 ed15d00ef41f8705da7e60833c7e4a56633135d903aeaba0231f8b4ca9c91843
 
-#depends_lib-append port:py-htmltemplate
+python.versions     24 25 26 27 31 32
 
-checksums           md5     da82d98d613c0f7d907ca128ac4bac68 \
-                    sha1    0fa2b72470c48b9331c8051abb8b74b33b8fd3d8
-
-post-destroot {
-    foreach subdir {appscript_2x appscript_3x} {
-        xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}/${subdir}
-        file copy ${worksrcpath}/${subdir}/sample \
-            ${destroot}${prefix}/share/doc/${name}/${subdir}/sample
-        file copy ${worksrcpath}/${subdir}/doc \
-            ${destroot}${prefix}/share/doc/${name}/${subdir}/doc
+if {$subport != $name} {
+    depends_lib-append  port:py${python.version}-distribute
+    post-destroot {
+        foreach subdir {appscript_2x appscript_3x} {
+            xinstall -m 755 -d ${destroot}${prefix}/share/doc/${subport}/${subdir}
+            file copy ${worksrcpath}/${subdir}/sample \
+                ${destroot}${prefix}/share/doc/${subport}/${subdir}/sample
+            file copy ${worksrcpath}/${subdir}/doc \
+                ${destroot}${prefix}/share/doc/${subport}/${subdir}/doc
+        }
     }
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120524/dfd30b02/attachment.html>


More information about the macports-changes mailing list