# -*- 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 @petrrr} openmaintainer
description pyasdf is a Python API to read and write seismological \
pyasdf is an API to read and write Adaptable Seismic Data Format (ASDF) \
files, a format based on HDF5. The packages utilizes the data structures \
of ObsPy to allow the construction of modern and efficient workflows.
homepage https://seismicdata.github.io/pyasdf/
distname ${_name}-${version}
master_sites pypi:${_n}/${_name}/
checksums md5 bc7c3a2b053e4ef4eacb4ad4f6aafb9e \
rmd160 ce03ae560873afeda43aa88838b70ce19255b3b9 \
sha256 ba36127e94ae24772ddfb7c9465b85dea8cb6660d39813744cb50175b421f302
if {${name} ne ${subport}} {
depends_build-append port:py${python.version}-setuptools
depends_lib-append port:py${python.version}-dill \
port:py${python.version}-obspy \
port:py${python.version}-h5py \
port:py${python.version}-numpy \
port:py${python.version}-colorama \
port:py${python.version}-prov \
port:py${python.version}-pytest \
port:py${python.version}-flake8
# deactivate py-asdf-devel
set port_c py${python.version}-asdf-devel
if {![catch {set installed [lindex [registry_active ${port_c}] 0]}]} {
registry_deactivate_composite ${port_c} "" [list ports_nodepcheck 1]
livecheck.url https://pypi.python.org/pypi/${_name}/json
livecheck.regex "\"${_name}-(\[.\\d\]+)\\${extract.suffix}\""