<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class="">Please consider using the new "pypi" fetch group and livecheck type. For example:</div><div class=""><br class=""></div><div class=""><a href="http://trac.macports.org/browser/trunk/dports/python/py-vcversioner/Portfile?rev=137886" class="">http://trac.macports.org/browser/trunk/dports/python/py-vcversioner/Portfile?rev=137886</a></div><div class=""><br class=""></div><div class="">Also, you should use Tcl's "file attributes" command instead of shelling out to "chmod".</div><div class=""><br class=""></div><div class="">vq</div><br class=""><div><blockquote type="cite" class=""><div class="">On Jun 22, 2015, at 2:15 PM, <a href="mailto:mojca@macports.org" class="">mojca@macports.org</a> wrote:</div><br class="Apple-interchange-newline"><div class=""><div id="msg" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><dl class="meta" style="font-family: verdana, arial, helvetica, sans-serif; font-size: 10pt; border: 1px solid rgb(0, 0, 102); background-color: rgb(51, 102, 153); padding: 6px; color: rgb(255, 255, 255); background-position: initial initial; background-repeat: initial initial;"><dt style="font-family: verdana, arial, helvetica, sans-serif; font-size: 10pt; float: left; width: 6em; font-weight: bold;" class="">Revision</dt><dd class=""><a href="https://trac.macports.org/changeset/137886" style="font-weight: bold; color: rgb(204, 204, 102);" class="">137886</a></dd><dt style="font-family: verdana, arial, helvetica, sans-serif; font-size: 10pt; float: left; width: 6em; font-weight: bold;" class="">Author</dt><dd class=""><a href="mailto:mojca@macports.org" style="font-weight: bold; color: rgb(204, 204, 102);" class="">mojca@macports.org</a></dd><dt style="font-family: verdana, arial, helvetica, sans-serif; font-size: 10pt; float: left; width: 6em; font-weight: bold;" class="">Date</dt><dd class="">2015-06-22 11:15:47 -0700 (Mon, 22 Jun 2015)</dd></dl><h3 style="font-family: verdana, arial, helvetica, sans-serif; font-size: 10pt; font-weight: bold;" class="">Log Message</h3><pre style="overflow: auto; background-color: rgb(255, 255, 204); border: 1px solid rgb(255, 170, 0); padding: 6px; background-position: initial initial; background-repeat: initial initial;" class="">mojca/geomagpy: preliminary package</pre><h3 style="font-family: verdana, arial, helvetica, sans-serif; font-size: 10pt; font-weight: bold;" class="">Added Paths</h3><ul style="font-family: verdana, arial, helvetica, sans-serif; font-size: 10pt;" class=""><li style="font-family: verdana, arial, helvetica, sans-serif; font-size: 10pt;" class="">users/mojca/ports/python/py-GeomagPy/</li><li style="font-family: verdana, arial, helvetica, sans-serif; font-size: 10pt;" class=""><a href="x-msg://31/#usersmojcaportspythonpyGeomagPyPortfile" class="">users/mojca/ports/python/py-GeomagPy/Portfile</a></li><li style="font-family: verdana, arial, helvetica, sans-serif; font-size: 10pt;" class="">users/mojca/ports/python/py-GeomagPy/files/</li><li style="font-family: verdana, arial, helvetica, sans-serif; font-size: 10pt;" class=""><a href="x-msg://31/#usersmojcaportspythonpyGeomagPyfilespatchguixmagpypydiff" class="">users/mojca/ports/python/py-GeomagPy/files/patch-gui-xmagpy.py.diff</a></li><li style="font-family: verdana, arial, helvetica, sans-serif; font-size: 10pt;" class=""><a href="x-msg://31/#usersmojcaportspythonpyGeomagPyfilespatchsetuppydiff" class="">users/mojca/ports/python/py-GeomagPy/files/patch-setup.py.diff</a></li></ul></div><div id="patch" style="width: 995px; font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><h3 style="font-family: verdana, arial, helvetica, sans-serif; font-size: 10pt; font-weight: bold;" class="">Diff</h3><a id="usersmojcaportspythonpyGeomagPyPortfile" class=""></a><div class="addfile" style="border: 1px solid rgb(204, 204, 204); margin: 10px 0px;"><h4 style="font-family: verdana, arial, helvetica, sans-serif; font-size: 10pt; padding: 8px; background-color: rgb(51, 102, 153); color: rgb(255, 255, 255); margin: 0px; background-position: initial initial; background-repeat: initial initial;" class="">Added: users/mojca/ports/python/py-GeomagPy/Portfile (0 =&gt; 137886)</h4><pre class="diff" style="padding: 0px 0px 10px; line-height: 1.2em; margin: 0px; width: 993px; background-color: rgb(238, 238, 238); overflow: auto; background-position: initial initial; background-repeat: initial initial;"><span style="display: block; padding: 0px 10px;" class="">
<span class="info" style="color: rgb(136, 136, 136); background-color: rgb(255, 255, 255); display: block; padding: 0px 10px; background-position: initial initial; background-repeat: initial initial;">--- users/mojca/ports/python/py-GeomagPy/Portfile                                (rev 0)
+++ users/mojca/ports/python/py-GeomagPy/Portfile        2015-06-22 18:15:47 UTC (rev 137886)
</span><span class="lines" style="display: block; padding: 0px 10px; color: rgb(136, 136, 136); background-color: rgb(255, 255, 255); background-position: initial initial; background-repeat: initial initial;">@@ -0,0 +1,56 @@
</span><ins style="background-color: rgb(221, 255, 221); text-decoration: none; display: block; padding: 0px 10px; background-position: initial initial; background-repeat: initial initial;" class="">+# -*- 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           python 1.0
+
+name                py-GeomagPy
+version             0.1.328
+platforms           darwin
+license             GPL-3
+maintainers         mojca openmaintainer
+
+description         Geomagnetic analysis tools.
+long_description    ${description}
+
+homepage            <a href="http://pypi.python.org/pypi/GeomagPy/" class="">http://pypi.python.org/pypi/GeomagPy/</a>
+master_sites        <a href="https://pypi.python.org/packages/source/G/GeomagPy" class="">https://pypi.python.org/packages/source/G/GeomagPy</a>
+distname            GeomagPy-0.1.328
+
+checksums           rmd160  c43f289f3a3bb6285427f5c6c2e0a54e4195ade3 \
+                    sha256  1863f3b9ce17390342e1f4f3bb2bba42f38c702e3ebd19425af5334459bc17e4
+
+python.versions     27 34
+
+# TODO:
+# - provide a separate +gui option that is enabled by default
+# - spacepy might be missing
+if {${name} ne ${subport}} {
+    # TODO: mysql
+    depends_build-append \
+                    port:py${python.version}-setuptools
+    depends_run-append \
+                    port:py${python.version}-numpy \
+                    port:py${python.version}-scipy \
+                    port:py${python.version}-netcdf4 \
+                    port:py${python.version}-pexpect \
+                    port:py${python.version}-wxpython-3.0
+
+    patchfiles      patch-gui-xmagpy.py.diff \
+                    patch-setup.py.diff
+
+    post-patch {
+        reinplace "s|/usr/bin/env python|${python.bin}|" ${worksrcpath}/magpy/gui/xmagpy.py
+        system "chmod +x ${worksrcpath}/magpy/gui/xmagpy.py"
+        delete ${worksrcpath}/bin/example.py
+    }
+
+    post-destroot {
+        ln -s ${python.pkgd}/magpy/gui/xmagpy.py ${destroot}${prefix}/bin/xmagpy-${python.branch}
+    }
+
+    livecheck.type      none
+} else {
+    livecheck.type      regex
+    livecheck.url       ${master_sites}
+}
</ins><span class="cx" style="display: block; padding: 0px 10px;">Property changes on: users/mojca/ports/python/py-GeomagPy/Portfile
</span><span class="cx" style="display: block; padding: 0px 10px;">___________________________________________________________________
</span></span></pre></div><a id="svnkeywords" class=""></a><div class="addfile" style="border: 1px solid rgb(204, 204, 204); margin: 10px 0px;"><h4 style="font-family: verdana, arial, helvetica, sans-serif; font-size: 10pt; padding: 8px; background-color: rgb(51, 102, 153); color: rgb(255, 255, 255); margin: 0px; background-position: initial initial; background-repeat: initial initial;" class="">Added: svn:keywords</h4></div><a id="svneolstyle" class=""></a><div class="addfile" style="border: 1px solid rgb(204, 204, 204); margin: 10px 0px;"><h4 style="font-family: verdana, arial, helvetica, sans-serif; font-size: 10pt; padding: 8px; background-color: rgb(51, 102, 153); color: rgb(255, 255, 255); margin: 0px; background-position: initial initial; background-repeat: initial initial;" class="">Added: svn:eol-style</h4></div><a id="usersmojcaportspythonpyGeomagPyfilespatchguixmagpypydiff" class=""></a><div class="addfile" style="border: 1px solid rgb(204, 204, 204); margin: 10px 0px;"><h4 style="font-family: verdana, arial, helvetica, sans-serif; font-size: 10pt; padding: 8px; background-color: rgb(51, 102, 153); color: rgb(255, 255, 255); margin: 0px; background-position: initial initial; background-repeat: initial initial;" class="">Added: users/mojca/ports/python/py-GeomagPy/files/patch-gui-xmagpy.py.diff (0 =&gt; 137886)</h4><pre class="diff" style="padding: 0px 0px 10px; line-height: 1.2em; margin: 0px; width: 993px; background-color: rgb(238, 238, 238); overflow: auto; background-position: initial initial; background-repeat: initial initial;"><span style="display: block; padding: 0px 10px;" class="">
<span class="info" style="color: rgb(136, 136, 136); background-color: rgb(255, 255, 255); display: block; padding: 0px 10px; background-position: initial initial; background-repeat: initial initial;">--- users/mojca/ports/python/py-GeomagPy/files/patch-gui-xmagpy.py.diff                                (rev 0)
+++ users/mojca/ports/python/py-GeomagPy/files/patch-gui-xmagpy.py.diff        2015-06-22 18:15:47 UTC (rev 137886)
</span><span class="lines" style="display: block; padding: 0px 10px; color: rgb(136, 136, 136); background-color: rgb(255, 255, 255); background-position: initial initial; background-repeat: initial initial;">@@ -0,0 +1,30 @@
</span><ins style="background-color: rgb(221, 255, 221); text-decoration: none; display: block; padding: 0px 10px; background-position: initial initial; background-repeat: initial initial;" class="">+--- magpy/gui/xmagpy.py.orig
++++ magpy/gui/xmagpy.py
+@@ -1,25 +1,7 @@
+-import sys
+-from socket import gethostname
++#! /usr/bin/env python

+-try:
+-    from magpy.gui.magpy_gui import *
+-except:
++from magpy.gui.magpy_gui import *

+-    planet = gethostname()
+-    leonplanets = ['Earth', 'uranus', 'saturn']
+-
+-    if planet == 'zagll1':
+-        magpypath = '/home/rachel/Software/MagPyDev/magpy/trunk/src/'
+-    elif planet in leonplanets:
+-        magpypath = '/home/leon/Software/magpy/trunk/src/'
+-    elif planet == 'Venus':
+-        magpypath = '/home/leon/Software/magpy/'
+-    else:
+-        magpypath = '/home/leon/Software/magpy/trunk/src/'
+-
+-    sys.path.append(magpypath)
+-    from magpy.gui.magpy_gui import *
+-  
+ app = wx.App(redirect=False)
+ frame = MainFrame(None,-1,"")
+ frame.Show()
</ins></span></pre></div><a id="usersmojcaportspythonpyGeomagPyfilespatchsetuppydiff" class=""></a><div class="addfile" style="border: 1px solid rgb(204, 204, 204); margin: 10px 0px;"><h4 style="font-family: verdana, arial, helvetica, sans-serif; font-size: 10pt; padding: 8px; background-color: rgb(51, 102, 153); color: rgb(255, 255, 255); margin: 0px; background-position: initial initial; background-repeat: initial initial;" class="">Added: users/mojca/ports/python/py-GeomagPy/files/patch-setup.py.diff (0 =&gt; 137886)</h4><pre class="diff" style="padding: 0px 0px 10px; line-height: 1.2em; margin: 0px; width: 993px; background-color: rgb(238, 238, 238); overflow: auto; background-position: initial initial; background-repeat: initial initial;"><span style="display: block; padding: 0px 10px;" class="">
<span class="info" style="color: rgb(136, 136, 136); background-color: rgb(255, 255, 255); display: block; padding: 0px 10px; background-position: initial initial; background-repeat: initial initial;">--- users/mojca/ports/python/py-GeomagPy/files/patch-setup.py.diff                                (rev 0)
+++ users/mojca/ports/python/py-GeomagPy/files/patch-setup.py.diff        2015-06-22 18:15:47 UTC (rev 137886)
</span><span class="lines" style="display: block; padding: 0px 10px; color: rgb(136, 136, 136); background-color: rgb(255, 255, 255); background-position: initial initial; background-repeat: initial initial;">@@ -0,0 +1,11 @@
</span><ins style="background-color: rgb(221, 255, 221); text-decoration: none; display: block; padding: 0px 10px; background-position: initial initial; background-repeat: initial initial;" class="">+--- setup.py.orig
++++ setup.py
+@@ -11,7 +11,7 @@ setup(
+     author='R. Leonhardt, R. Bailey',
+     <a href="mailto:author_email='roman.leonhardt@zamg.ac.at" class="">author_email='roman.leonhardt@zamg.ac.at</a>',
+     packages=['magpy', 'magpy.opt', 'magpy.examples', 'magpy.lib', 'magpy.acquisition', 'magpy.collector', 'magpy.gui'],
+-    scripts=['bin/example.py'],
++    scripts=[],
+     url='<a href="http://pypi.python.org/pypi/GeomagPy/'" class="">http://pypi.python.org/pypi/GeomagPy/'</a>,
+     license='LICENSE.txt',
+     description='Geomagnetic analysis tools.',
</ins></span></pre></div></div><span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">_______________________________________________</span><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">macports-changes mailing list</span><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><a href="mailto:macports-changes@lists.macosforge.org" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">macports-changes@lists.macosforge.org</a><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><a href="https://lists.macosforge.org/mailman/listinfo/macports-changes" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">https://lists.macosforge.org/mailman/listinfo/macports-changes</a></div></blockquote></div><br class=""></body></html>