[89658] trunk/dports/python
macsforever2000 at macports.org
macsforever2000 at macports.org
Sun Feb 5 15:25:39 PST 2012
Revision: 89658
http://trac.macports.org/changeset/89658
Author: macsforever2000 at macports.org
Date: 2012-02-05 15:25:37 -0800 (Sun, 05 Feb 2012)
Log Message:
-----------
py-pexpect: unify
Modified Paths:
--------------
trunk/dports/python/py-pexpect/Portfile
Removed Paths:
-------------
trunk/dports/python/py25-pexpect/
trunk/dports/python/py26-pexpect/
trunk/dports/python/py27-pexpect/
Modified: trunk/dports/python/py-pexpect/Portfile
===================================================================
--- trunk/dports/python/py-pexpect/Portfile 2012-02-05 23:08:28 UTC (rev 89657)
+++ trunk/dports/python/py-pexpect/Portfile 2012-02-05 23:25:37 UTC (rev 89658)
@@ -1,37 +1,48 @@
+# -*- 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-pexpect
-version 2.3
-categories python
-platforms darwin
-maintainers nomaintainer
+name py-pexpect
+set real_name pexpect
+version 2.4
+categories python
+platforms darwin
+maintainers nomaintainer
description python module for better controlling other applications
-long_description Pexpect makes Python a better tool for controlling \
+long_description \
+ Pexpect makes Python a better tool for controlling \
other applications. It is a pure Python module for spawning child \
applications, controlling them and responding to expected patterns in \
their output. Pexpect works like Don Libes Expect. Pexpect allows your \
script to spawn a child application and control it as if a human were \
typing commands.
-homepage http://pexpect.sourceforge.net/
-master_sites sourceforge:pexpect
-distname pexpect-${version}
+homepage http://${real_name}.sourceforge.net/
+master_sites http://pypi.python.org/packages/source/p/${real_name} \
+ sourceforge:${real_name}
+distname ${real_name}-${version}
-checksums md5 bf107cf54e67bc6dec5bea1f3e6a65c3 \
- sha1 ee1e2770bfe49e7651bab78357179c28ed99a55b \
- rmd160 74adfd7e91152d64907f1a685b5dd0161cf4bf82
+checksums md5 fe82d69be19ec96d3a6650af947d5665 \
+ sha1 3e24584ef1aa51f7610d5077a608e49d2724c7ae \
+ rmd160 070693d9c82aaa44f1bd9cd9dfffa7643393b6de
-worksrcdir pexpect-${version}
+worksrcdir ${real_name}-${version}
-post-destroot {
- xinstall -m 644 -W ${worksrcpath} README \
- ${destroot}${prefix}/share/doc/${name}
-}
+universal_variant no
-universal_variant no
+python.versions 24 25 26 27
-livecheck.version Release ${version}
+if {$subport != $name} {
+ post-destroot {
+ set docdir ${destroot}${prefix}/share/doc/${subport}
+ xinstall -d ${docdir}
+ xinstall -m 644 -W ${worksrcpath} README \
+ ${docdir}
+ }
+ livecheck.type none
+} else {
+ livecheck.regex {pexpect Release (\d+(?:\.\d+)*) released}
+}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120205/c659c913/attachment-0001.html>
More information about the macports-changes
mailing list