Ticket #41122: patch.Portfile.diff

File patch.Portfile.diff, 3.2 KB (added by petrrr, 11 years ago)

fix and some other changes

  • ports/python/py-obspy/Portfile

    diff --git a/ports/python/py-obspy/Portfile b/ports/python/py-obspy/Portfile
    index ee9e944..64a9f17 100644
    a b license LGPL-3 
    1515
    1616description         Python framework for processing seismological data
    1717
    18 long_description    ObsPy is an open-source project dedicated to provide a Python \
    19                     framework for processing seismological data. It provides \
    20                     support for file formats and signal processing routines \
    21                     which allow the manipulation, analysis and visualization \
    22                     of seismological time series. The goal of the ObsPy project is \
    23                     to facilitate rapid application development for seismology.
     18long_description    \
     19    ObsPy is an open-source project dedicated to provide a Python framework \
     20    for processing seismological data. It provides support for file formats \
     21    and signal processing routines which allow the manipulation, analysis \
     22    and visualization of seismological time series. The goal of the ObsPy \
     23    project is to facilitate rapid application development for seismology.
    2424
    2525homepage            http://obspy.org/
    2626
    2727use_zip             yes
    2828distname            obspy-${version}
    29 master_sites        http://pypi.python.org/packages/source/o/obspy
     29master_sites        https://pypi.python.org/packages/source/o/obspy/
    3030
    3131checksums           md5     9da79d3a0604d433085ad4dc0e430100 \
    3232                    rmd160  4a5b6e486304cd4e0a96d94ddc8bf88eb0a6f574 \
    3333                    sha256  6e9e0a5c0e673ae41d64ca265d4abdadf2b83a60ff27c516a8dbb0e2b38965cf
    3434
     35livecheck.type      regex
     36livecheck.url       ${master_sites}
     37livecheck.regex     ">obspy-(\\d+\\.\\d+\\.\\d+)\\.zip<"
     38
    3539python.versions     26 27
    3640
    3741if {${subport} != ${name}} {
    if {${subport} != ${name}} { 
    8892            configure.fc  ${prefix}/bin/gfortran-mp-${ver}
    8993            configure.f77 ${prefix}/bin/gfortran-mp-${ver}
    9094            configure.f90 ${prefix}/bin/gfortran-mp-${ver}
     95
     96            # TEMP: revise for 0.9.x
     97            configure.cc  ${prefix}/bin/gcc-mp-${ver}
    9198        }
    9299    }
    93100}
  • ports/python/py-obspy/files/patch-setup.py.diff

    diff --git a/ports/python/py-obspy/files/patch-setup.py.diff b/ports/python/py-obspy/files/patch-setup.py.diff
    index f5bdc86..d9b6b16 100644
    a b  
    11--- setup.orig.py       2013-06-28 18:07:26.000000000 +0200
    2 +++ setup.py    2013-07-08 11:48:13.000000000 +0200
     2+++ setup.py    2013-11-06 21:41:15.000000000 +0100
    33@@ -27,7 +27,6 @@
    44 from distutils.unixccompiler import UnixCCompiler
    55 from setuptools import find_packages, setup
     
    1919         cc_args = ['-c', '-fno-underscoring']
    2020         cc_args.append('-fPIC')
    2121         try:
    22 @@ -621,7 +620,6 @@
    23      taupargs = []
    24  
    25      lib = MyExtension(lib_name,
    26 -                      libraries=['gfortran'],
    27                        extra_link_args=extra_link_args,
    28                        sources=[src + 'emdlv.f', src + 'libtau.f',
    29                                 src + 'ttimes_subrout.f'])
    30 @@ -629,8 +627,6 @@
     22@@ -629,8 +628,6 @@
    3123 
    3224 
    3325 def setupPackage(gfortran=True, ccompiler=True):