# -*- 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
# $Id: Portfile 101451 2013-01-11 04:25:04Z ryandesign@macports.org $

PortSystem          1.0

name                py-obspy-core
version             0.8.3
categories          python science
platforms           darwin
maintainers         bo.ingv.it:Peter.Danecek openmaintainer
license             LGPL-3

description         Python framework for processing seismological data

long_description    ObsPy is an open-source project dedicated to provide a Python \
                    framework for processing seismological data. It provides \
                    parsers for common file formats and seismological signal \
                    processing routines which allow the manipulation of \
                    seismological time series. The goal of the ObsPy project is \
                    to facilitate rapid application development for seismology. \
                    \
                    This port installs the ObsPy package obspy.core. It contains \
                    common classes and methods like UTCDateTime, Stats, Stream \
                    and Trace  well as methods for reading and writing \
                    seismograms which are required by other ObsPy packages.

homepage            http://www.obspy.org/

archive_sites
distfiles

if {${name} == ${subport}} {
    replaced_by py-obspy
}

subport py25-obspy-core {
    # The new py-obspy does not support python25
    replaced_by py27-obspy
}

subport py26-obspy-core {
    replaced_by py26-obspy
}

subport py27-obspy-core {
    replaced_by py27-obspy
}

pre-configure {
    ui_error "${name} has been renamed to ${replaced_by}. Please install ${replaced_by} instead."
    return -code error "obsolete port"
}

livecheck.type      none
