Ticket #42438: patch-py-obspy.diff
File patch-py-obspy.diff, 4.2 KB (added by petrrr, 11 years ago) |
---|
-
Portfile
old new 4 4 PortSystem 1.0 5 5 PortGroup python 1.0 6 6 7 set _name obspy 8 set _n [string index ${_name} 0] 9 7 10 name py-obspy 8 version 0.8.4 9 revision 2 11 version 0.9.0 10 12 categories-append science 11 13 platforms darwin 12 maintainers bo.ingv.it:Peter.Danecek openmaintainer13 14 14 license LGPL-3 15 15 16 maintainers bo.ingv.it:Peter.Danecek openmaintainer 17 16 18 description Python framework for processing seismological data 17 19 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. 20 long_description \ 21 This port provides a development snapshot of the ObsPy package. \ 22 ObsPy is an open-source project dedicated to provide a Python framework \ 23 for processing seismological data. It provides support for file formats \ 24 and signal processing routines which allow the manipulation, analysis \ 25 and visualization of seismological time series. The goal of the ObsPy \ 26 project is to facilitate rapid application development for seismology. 24 27 25 homepage http:// obspy.org/28 homepage http://www.obspy.org/ 26 29 27 30 use_zip yes 28 distname obspy-${version}29 master_sites https://pypi.python.org/packages/source/ o/obspy/31 distname ${_name}-${version} 32 master_sites https://pypi.python.org/packages/source/${_n}/${_name}/ 30 33 31 checksums md5 9da79d3a0604d433085ad4dc0e430100\32 rmd160 4a5b6e486304cd4e0a96d94ddc8bf88eb0a6f574\33 sha256 6e9e0a5c0e673ae41d64ca265d4abdadf2b83a60ff27c516a8dbb0e2b38965cf34 checksums md5 f720f675e66e8b2b6518e41b9ab9ada4 \ 35 rmd160 b58932bc76e1bd21a2280d78aa868c767e3491b1 \ 36 sha256 91367c7d1b63a4289b4a0ee84d49978d7523776da10629aa40a3aab197fad5e7 34 37 35 38 python.versions 26 27 36 39 37 40 if {${name} ne ${subport}} { 38 depends_build-append port:py${python.version}-setuptools 41 depends_build-append port:py${python.version}-numpy 42 # Note: setuptools required only for developers 43 39 44 depends_lib-append port:py${python.version}-numpy \ 40 45 port:py${python.version}-scipy \ 41 46 port:py${python.version}-lxml \ 42 47 port:py${python.version}-suds \ 43 port:py${python.version}-sqlalchemy 48 port:py${python.version}-sqlalchemy \ 49 port:py${python.version}-matplotlib 50 51 # Note: Required for post-installation testing only 52 depends_run-append port:py${python.version}-flake8 \ 53 port:py${python.version}-nose \ 54 port:py${python.version}-mock 44 55 45 56 # py-scipy is not universal 46 57 universal_variant no 47 58 59 # Note: temporary workaround for numpy.distutils behaviour 48 60 patchfiles patch-setup.py.diff 49 61 62 # Check if and how to use compiler portgroup ... 63 # 50 64 set gcc_versions {4.3 4.4 4.5 4.6 4.7 4.8 4.9} 51 65 set default_fortran_variant +gcc48 52 66 … … 86 100 depends_build-append port:gcc${ver_no_dot} 87 101 88 102 configure.fc ${prefix}/bin/gfortran-mp-${ver} 89 compiler.library_path ${prefix}/lib/gcc${ver_no_dot} 103 configure.f77 ${prefix}/bin/gfortran-mp-${ver} 104 configure.f90 ${prefix}/bin/gfortran-mp-${ver} 90 105 } 91 106 } 92 }93 107 94 livecheck.type regex 95 livecheck.url ${master_sites} 96 livecheck.regex ">obspy-(\\d+\\.\\d+\\.\\d+)\\.zip<" 108 livecheck.type none 109 } else { 110 livecheck.type regex 111 livecheck.url [lindex ${master_sites} 0] 112 livecheck.regex ">${_name}-(\\d+(\\.\\d+)+)\\${extract.suffix}<" 113 }