[134194] trunk/dports/python/py-obspy

petr at macports.org petr at macports.org
Thu Mar 19 17:06:18 PDT 2015


Revision: 134194
          https://trac.macports.org/changeset/134194
Author:   petr at macports.org
Date:     2015-03-19 17:06:18 -0700 (Thu, 19 Mar 2015)
Log Message:
-----------
py-obspy: update to 0.10.0

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

Removed Paths:
-------------
    trunk/dports/python/py-obspy/files/

Modified: trunk/dports/python/py-obspy/Portfile
===================================================================
--- trunk/dports/python/py-obspy/Portfile	2015-03-19 23:43:13 UTC (rev 134193)
+++ trunk/dports/python/py-obspy/Portfile	2015-03-20 00:06:18 UTC (rev 134194)
@@ -10,7 +10,7 @@
 name                py-obspy
 conflicts           ${name}-devel
 
-version             0.9.2
+version             0.10.0
 categories-append   science
 platforms           darwin
 license             LGPL-3
@@ -32,87 +32,31 @@
 distname            ${_name}-${version}
 master_sites        https://pypi.python.org/packages/source/${_n}/${_name}/
 
-checksums           md5     932ba9db2187882391bc32e659e3978b \
-                    rmd160  701999f3bbd71eb5d116b6575b9599342f6b4c72 \
-                    sha256  9c5be30398fbe620ce467d676b04996468fa7d85160e3d65e8eb39d724435f92
+checksums           md5     936f8c68c3cea64943f3037a17517924 \
+                    rmd160  3e44d3699dd5c25c4fa982cbcec109fe6c3df61b \
+                    sha256  597a2e5b4082ae7b8178c4f8d7de2d02e2fe000f8cd3515f252ffce57bf86241
 
-python.versions     27
+python.versions     27 34
 
 if {${name} ne ${subport}} {
-    depends_build-append    port:py${python.version}-numpy
     # Note: setuptools required only for developers
+    depends_build-append    port:py${python.version}-numpy \
+                            port:help2man
 
-    depends_lib-append      port:py${python.version}-numpy \
+    depends_lib-append      port:py${python.version}-future \
+                            port:py${python.version}-numpy \
                             port:py${python.version}-scipy \
                             port:py${python.version}-lxml \
                             port:py${python.version}-sqlalchemy \
                             port:py${python.version}-matplotlib
 
-    # suds alternative dependency: suds or suds-jurko
-    depends_lib-append      path:${python.pkgd}/suds:py${python.version}-suds-jurko
-
     # Note: Required for post-installation testing only
     depends_run-append      port:py${python.version}-flake8 \
-                            port:py${python.version}-nose \
-                            port:py${python.version}-mock
+                            port:py${python.version}-nose
 
-    # py-scipy is not universal
+    # py-numpy & py-scipy are not universal
     universal_variant       no
 
-    # Note: temporary workaround for numpy.distutils behaviour
-    patchfiles              patch-setup.py.diff
-
-    # Check if and how to use compiler portgroup ...
-    #
-    set gcc_versions {4.3 4.4 4.5 4.6 4.7 4.8 4.9}
-    set default_fortran_variant +gcc48
-
-    foreach ver ${gcc_versions} {
-        set ver_no_dot [join [split ${ver} "."] ""]
-
-        set variant_line {variant gcc${ver_no_dot} description "build with gfortran from gcc${ver_no_dot}"}
-
-        foreach over ${gcc_versions} {
-            if {${ver} == ${over}} {
-                continue
-            }
-
-            set over_no_dot [join [split ${over} "."] ""]
-            append variant_line " conflicts gcc${over_no_dot}"
-        }
-        append variant_line { {}}
-
-        eval $variant_line
-
-        if {[variant_isset gcc${ver_no_dot}]} {
-            if {${default_fortran_variant} != "+gcc${ver_no_dot}"} {
-                set default_fortran_variant ""
-            }
-        }
-    }
-
-    if {${default_fortran_variant} != ""} {
-        default_variants-append "${default_fortran_variant}"
-    }
-
-    foreach ver ${gcc_versions} {
-        set ver_no_dot [join [split ${ver} "."] ""]
-
-        if {[variant_isset gcc${ver_no_dot}]} {
-            depends_lib-append path:lib/libgcc/libgcc_s.1.dylib:libgcc
-            depends_build-append port:gcc${ver_no_dot}
-
-            configure.fc  ${prefix}/bin/gfortran-mp-${ver}
-            configure.f77 ${prefix}/bin/gfortran-mp-${ver}
-            configure.f90 ${prefix}/bin/gfortran-mp-${ver}
-
-            # `setup.py install` tests for Fortran compiler
-            destroot.env-append FC=${configure.fc}
-            destroot.env-append F77=${configure.f77}
-            destroot.env-append F90=${configure.f90}
-        }
-    }
-
     livecheck.type  none
 } else {
     livecheck.type  regex
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150319/7e1d9906/attachment-0001.html>


More information about the macports-changes mailing list