1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-25 04:43:33 +00:00

The obspy.taup package contains Python wrappers for iaspei-tau - a travel

time library by Arthur Snoke (http://www.iris.edu/pub/programs/iaspei-tau/).
The library iaspei-tau is written in Fortran and interfaced via Python ctypes.

WWW: http://www.obspy.org/
This commit is contained in:
Wen Heping 2012-01-16 06:55:05 +00:00
parent 9c28373665
commit a193a68008
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=289312
6 changed files with 104 additions and 0 deletions

View File

@ -159,6 +159,7 @@
SUBDIR += py-obspy.iris
SUBDIR += py-obspy.mseed
SUBDIR += py-obspy.signal
SUBDIR += py-obspy.taup
SUBDIR += py-obspy.wav
SUBDIR += py-obspy.xseed
SUBDIR += py-openbabel

View File

@ -0,0 +1,26 @@
# New ports collection makefile for: py-obspy.taup
# Date created: Jan 11, 2012
# Whom: Wen Heping <wenheping@gmail.com>
#
# $FreeBSD$
#
PORTNAME= obspy.taup
PORTVERSION= 0.5.1
CATEGORIES= science python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= wen@FreeBSD.org
COMMENT= Travel time calculation tool for ObsPy
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}obspy-core>0:${PORTSDIR}/science/py-obspy-core
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}obspy-core>0:${PORTSDIR}/science/py-obspy-core
USE_ZIP= yes
USE_FORTRAN= yes
USE_PYTHON= yes
USE_PYDISTUTILS= easy_install
PYEASYINSTALL_ARCHDEP= yes
.include <bsd.port.mk>

View File

@ -0,0 +1,2 @@
SHA256 (obspy.taup-0.5.1.zip) = c952f2d32ecd7a77cd5c9880860fa12d0cf6c1432435a17f496d86ea62f27562
SIZE (obspy.taup-0.5.1.zip) = 546579

View File

@ -0,0 +1,11 @@
--- setup.py.orig 2012-01-16 08:34:50.000000000 +0800
+++ setup.py 2012-01-16 08:35:13.000000000 +0800
@@ -53,7 +53,7 @@
# Monkey patch UnixCCompiler for Unix, Linux and MacOS
UnixCCompiler.src_extensions.append(".f")
def _compile(self, obj, src, *args, **kwargs): #@UnusedVariable
- self.compiler_so = ["gfortran"]
+ self.compiler_so = [os.environ.get("F77")]
cc_args = ['-c', '-fno-underscoring']
if sys.platform == 'darwin':
self.compiler_so = _darwin_compiler_fixup(self.compiler_so,

View File

@ -0,0 +1,5 @@
The obspy.taup package contains Python wrappers for iaspei-tau - a travel
time library by Arthur Snoke (http://www.iris.edu/pub/programs/iaspei-tau/).
The library iaspei-tau is written in Fortran and interfaced via Python ctypes.
WWW: http://www.obspy.org/

View File

@ -0,0 +1,59 @@
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/PKG-INFO
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/SOURCES.txt
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/dependency_links.txt
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/namespace_packages.txt
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/native_libs.txt
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/not-zip-safe
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/requires.txt
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/top_level.txt
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/obspy/__init__.py
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/obspy/__init__.pyc
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/obspy/__init__.pyo
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/obspy/taup
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/obspy/taup/LICENSE.txt
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/obspy/taup/README.txt
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/obspy/taup/VERSION.txt
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/obspy/taup/__init__.py
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/obspy/taup/__init__.pyc
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/obspy/taup/__init__.pyo
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/obspy/taup/lib
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/obspy/taup/lib/libtaup.py
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/obspy/taup/lib/libtaup.pyc
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/obspy/taup/lib/libtaup.pyo
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/obspy/taup/lib/libtaup.so
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/obspy/taup/src
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/obspy/taup/src/emdlv.f
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/obspy/taup/src/iaspei-tau.tgz
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/obspy/taup/src/libtau.f
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/obspy/taup/src/ttimes_subrout.f
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/obspy/taup/src/ttlim.inc
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/obspy/taup/tables
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/obspy/taup/tables/ak135.hed
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/obspy/taup/tables/ak135.tbl
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/obspy/taup/tables/iasp91.hed
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/obspy/taup/tables/iasp91.tbl
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/obspy/taup/taup.py
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/obspy/taup/taup.pyc
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/obspy/taup/taup.pyo
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/obspy/taup/tests
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/obspy/taup/tests/__init__.py
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/obspy/taup/tests/__init__.pyc
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/obspy/taup/tests/__init__.pyo
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/obspy/taup/tests/data
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/obspy/taup/tests/data/sample_ttimes_ak135.lst
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/obspy/taup/tests/data/sample_ttimes_iasp91.lst
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/obspy/taup/tests/test_taup.py
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/obspy/taup/tests/test_taup.pyc
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/obspy/taup/tests/test_taup.pyo
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/obspy/taup/util.py
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/obspy/taup/util.pyc
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/obspy/taup/util.pyo
@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/obspy/taup/tests/data
@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/obspy/taup/tests
@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/obspy/taup/tables
@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/obspy/taup/src
@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/obspy/taup/lib
@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/obspy/taup
@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/obspy
@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO
@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%