[37127] trunk/dports/python/py25-mechanize/Portfile
landonf at macports.org
landonf at macports.org
Tue May 27 01:10:33 PDT 2008
Revision: 37127
http://trac.macosforge.org/projects/macports/changeset/37127
Author: landonf at macports.org
Date: 2008-05-27 01:10:31 -0700 (Tue, 27 May 2008)
Log Message:
-----------
Add missing python 2.5 port (based on the 2.4 port, looks like it was meant to be here but never made it)
Added Paths:
-----------
trunk/dports/python/py25-mechanize/Portfile
Added: trunk/dports/python/py25-mechanize/Portfile
===================================================================
--- trunk/dports/python/py25-mechanize/Portfile (rev 0)
+++ trunk/dports/python/py25-mechanize/Portfile 2008-05-27 08:10:31 UTC (rev 37127)
@@ -0,0 +1,34 @@
+# -*- 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: Portfile 36361 2008-04-28 08:36:41Z akira at macports.org $
+
+PortSystem 1.0
+PortGroup python25 1.0
+
+name py25-mechanize
+version 0.1.7b
+categories python www
+platforms darwin
+maintainers openmaintainer akira
+description Stateful programmatic web browsing
+long_description Stateful programmatic web browsing, after Andy \
+ Lester's Perl module WWW::Mechanize.
+
+homepage http://wwwsearch.sourceforge.net/mechanize
+master_sites ${homepage}/src
+distname mechanize-${version}
+checksums md5 7d431ccec4e64063c7378ce3be53ea34
+
+depends_lib-append port:py25-clientform
+
+test.run yes
+test.cmd ${python.bin}
+test.target test.py
+
+post-destroot {
+ foreach f [glob -directory ${worksrcpath}/ *.txt *.html] {
+ copy $f ${destroot}${prefix}/share/doc/${name}/[file tail $f]
+ }
+ foreach f [glob -directory ${worksrcpath}/examples *] {
+ copy $f ${destroot}${prefix}/share/doc/${name}/examples/[file tail $f]
+ }
+}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080527/7a399e81/attachment.htm
More information about the macports-changes
mailing list