# -*- 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$ PortSystem 1.0 PortGroup python 1.0 name py-aplpy version 0.9.9 revision 1 maintainers robitaille stsci.edu:mperrin categories-append science description The Astronomical Plotting Library in Python long_description APLpy (the Astronomical Plotting Library in Python) is a \ Python module aimed at producing publication-quality plots \ of astronomical imaging data in FITS format. The module \ uses Matplotlib, a powerful and interactive plotting \ package. It is capable of creating output files in several \ graphical formats, including EPS, PDF, PS, PNG, and SVG. platforms darwin license MIT homepage http://aplpy.github.com/ master_sites https://pypi.python.org/packages/source/A/APLpy/ distname APLpy-${version} checksums md5 10d247bdf42f920bc9ca01368a5e13b8 \ sha1 399d1212ffc9cbb9016299aacebca2f7c02fd0a7 \ rmd160 2d2008afa9846aa1dbb2b0fabfce5c83eee1fb0f python.versions 26 27 31 32 33 python.default_version 27 if {$subport != $name} { depends_run-append port:py${python.version}-numpy \ port:py${python.version}-matplotlib \ port:py${python.version}-astropy variant rgb description {Include support for RGB images} { if {${python.version} >= 31} { depends_run-append port:py${python.version}-Pillow } else { depends_run-append port:py${python.version}-pil } } variant avm description {Include support for AVM meta-data} { depends_run-append port:py${python.version}-pyavm } if {${python.version} <= 27} { variant ds9 description {Include support for DS9 region files} { depends_run-append port:py${python.version}-pyregion } } variant montage description {Deprecated variant - Montage and montage-wrapper should be installed manually} { } if {${python.version} <= 27} { default_variants +rgb +avm +ds9 } else { default_variants +rgb +avm } }