[152540] trunk/dports/python/py-magpy/Portfile

mojca at macports.org mojca at macports.org
Sun Sep 11 23:44:34 PDT 2016


Revision: 152540
          https://trac.macports.org/changeset/152540
Author:   mojca at macports.org
Date:     2016-09-11 23:44:33 -0700 (Sun, 11 Sep 2016)
Log Message:
-----------
py-magpy: fix dependencies for python 3 (closes #52220)

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

Modified: trunk/dports/python/py-magpy/Portfile
===================================================================
--- trunk/dports/python/py-magpy/Portfile	2016-09-12 06:30:03 UTC (rev 152539)
+++ trunk/dports/python/py-magpy/Portfile	2016-09-12 06:44:33 UTC (rev 152540)
@@ -8,7 +8,7 @@
 github.setup        geomagpy magpy 511d1f2
 name                py-magpy
 version             0.3.1
-revision            1
+revision            2
 platforms           darwin
 license             GPL-3
 maintainers         mojca openmaintainer
@@ -32,10 +32,13 @@
                     port:py${python.version}-pexpect
     # optional
     depends_run-append \
-                    port:py${python.version}-mysql \
+                    port:py${python.version}-pymysql \
                     port:py${python.version}-matplotlib \
-                    port:py${python.version}-scipy \
+                    port:py${python.version}-scipy
+    if {${python.version} == 27} {
+        depends_run-append \
                     port:py${python.version}-wxpython-3.0
+    }
 
     patchfiles      patch-magpy-gui-dialogclaes.py.diff
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160911/078b7b33/attachment.html>


More information about the macports-changes mailing list