# -*- 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 89547 2012-02-01 21:38:13Z robitaille@macports.org $

PortSystem          1.0
PortGroup           python 1.0

name                py-pywcs
version             1.10-4.7
revision            1
maintainers         robitaille stsci.edu:mperrin

categories-append   science
description         pywcs is a set of routines for handling the FITS WCS standard
long_description    pywcs is a set of routines for handling the FITS World \
                    Coordinate System (WCS) standard. It is a thin wrapper \
                    around the high- and mid-level interfaces of WCSLIB.

platforms           darwin

homepage            https://trac6.assembla.com/astrolib
master_sites        http://stsdas.stsci.edu/astrolib/
distname            pywcs-${version}
checksums           md5  8f7b2b48a0ee6e775ff2c9c17a4e3985 \
                    sha1  bfe50e01325e071aaa24b7927b743cebf3512a32 \
                    rmd160  d8faac156537244dbd46b904c23aa9beddc518a0

python.versions     25 26 27
python.default_version 27

if {$subport != $name} {
    depends_run-append  port:py${python.version}-numpy \
                        port:py${python.version}-pyfits
}