# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
set _n [string index ${_name} 0]
categories-append science
maintainers petr openmaintainer
description Python framework for processing seismological data
ObsPy is an open-source project dedicated to provide a Python framework \
for processing seismological data. It provides support for file formats \
and signal processing routines which allow the manipulation, analysis \
and visualization of seismological time series. The goal of the ObsPy \
project is to facilitate rapid application development for seismology.
homepage http://www.obspy.org/
distname ${_name}-${version}
master_sites https://pypi.python.org/packages/source/${_n}/${_name}/
checksums md5 7a77c6b96143e6758c38fed0775d2b16 \
rmd160 17d7cfd97472fc1fce34fe36b90f98da6c3d2c0b \
sha256 9af1b349204a1447a1ceac9b1844295297bb40217c98d8e01b62d51e6ceda609
if {${name} ne ${subport}} {
# Note: setuptools required only for developers
depends_build-append port:py${python.version}-numpy
depends_lib-append port:py${python.version}-future \
port:py${python.version}-lxml \
port:py${python.version}-matplotlib \
port:py${python.version}-numpy \
port:py${python.version}-scipy \
port:py${python.version}-setuptools \
port:py${python.version}-sqlalchemy
# Note: Required for post-installation testing only
depends_run-append port:py${python.version}-flake8
# Python 3.3+: mock is available as unittest.mock
if { ${python.version} < 33 } {
depends_run-append port:py${python.version}-mock
# py-numpy & py-scipy are not universal