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

petr at macports.org petr at macports.org
Tue Jun 24 10:53:06 PDT 2014


Revision: 121385
          https://trac.macports.org/changeset/121385
Author:   petr at macports.org
Date:     2014-06-24 10:53:06 -0700 (Tue, 24 Jun 2014)
Log Message:
-----------
py-obspy @0.9.0: update to @0.9.2 and modified to allow py-suds-jurko as alternative dependency

Modified Paths:
--------------
    trunk/dports/python/py-obspy/Portfile
    trunk/dports/python/py-obspy/files/patch-setup.py.diff

Modified: trunk/dports/python/py-obspy/Portfile
===================================================================
--- trunk/dports/python/py-obspy/Portfile	2014-06-24 17:18:42 UTC (rev 121384)
+++ trunk/dports/python/py-obspy/Portfile	2014-06-24 17:53:06 UTC (rev 121385)
@@ -8,7 +8,7 @@
 set _n              [string index ${_name} 0]
 
 name                py-obspy
-version             0.9.0
+version             0.9.2
 categories-append   science
 platforms           darwin
 license             LGPL-3
@@ -31,9 +31,9 @@
 distname            ${_name}-${version}
 master_sites        https://pypi.python.org/packages/source/${_n}/${_name}/
 
-checksums           md5     f720f675e66e8b2b6518e41b9ab9ada4 \
-                    rmd160  b58932bc76e1bd21a2280d78aa868c767e3491b1 \
-                    sha256  91367c7d1b63a4289b4a0ee84d49978d7523776da10629aa40a3aab197fad5e7
+checksums           md5     932ba9db2187882391bc32e659e3978b \
+                    rmd160  701999f3bbd71eb5d116b6575b9599342f6b4c72 \
+                    sha256  9c5be30398fbe620ce467d676b04996468fa7d85160e3d65e8eb39d724435f92
 
 python.versions     26 27
 
@@ -44,10 +44,12 @@
     depends_lib-append      port:py${python.version}-numpy \
                             port:py${python.version}-scipy \
                             port:py${python.version}-lxml \
-                            port:py${python.version}-suds \
                             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 \

Modified: trunk/dports/python/py-obspy/files/patch-setup.py.diff
===================================================================
--- trunk/dports/python/py-obspy/files/patch-setup.py.diff	2014-06-24 17:18:42 UTC (rev 121384)
+++ trunk/dports/python/py-obspy/files/patch-setup.py.diff	2014-06-24 17:53:06 UTC (rev 121385)
@@ -1,6 +1,22 @@
 --- setup.orig.py
 +++ setup.py
-@@ -434,7 +434,10 @@
+@@ -86,13 +86,13 @@
+     'seismograms', 'signal', 'slink', 'spectrogram', 'StationXML', 'taper',
+     'taup', 'travel time', 'trigger', 'VERCE', 'WAV', 'waveform', 'WaveServer',
+     'WaveServerV', 'WebDC', 'web service', 'Winston', 'XML-SEED', 'XSEED']
++# 2014-02-27, petr -- remove suds to allow suds and suds-jurko
+ INSTALL_REQUIRES = [
+     'numpy>1.0.0',
+     'scipy',
+     'matplotlib',
+     'lxml',
+-    'sqlalchemy',
+-    'suds>=0.4.0']
++    'sqlalchemy']
+ EXTRAS_REQUIRE = {
+     'tests': ['flake8>=2',
+               'nose',
+@@ -433,7 +433,10 @@
      libname = _get_lib_name("tau")
      files = glob.glob(os.path.join(path, "*.f"))
      # compiler specific options
@@ -12,7 +28,7 @@
      # XXX: The build subdirectory is difficult to determine if installed
      # via pypi or other means. I could not find a reliable way of doing it.
      new_interface_path = os.path.join("build", libname + os.extsep + "pyf")
-@@ -452,6 +455,20 @@
+@@ -451,6 +454,20 @@
      # gfortran the option -lgcov is required
      if os.environ.get('OBSPY_C_COVERAGE', ""):
          kwargs['libraries'].append('gcov')
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140624/577e44f5/attachment-0001.html>


More information about the macports-changes mailing list