# -*- 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-atpy version 0.9.7 revision 2 maintainers robitaille categories-append science description ATpy: Astronomical Tables in Python long_description ATpy is a Python module aimed at seamlessly reading, \ creating, manipulating, and writing tables of astronomical \ data. To date, the following formats are supported: ASCII, \ FITS, VO, HDF5, and IPAC tables, and SQLite, MySQL, and \ PostgreSQL databases. platforms darwin license MIT homepage http://atpy.readthedocs.org/ master_sites pypi:A/ATpy/ distname ATpy-${version} checksums md5 2306195fcefff7c1e4d36ae92a894ff2 \ sha1 93525db0a36770b7cbbafefa6041fc80aac51c61 \ rmd160 a2c76ef4ac595d0f9cbfb0a21d3bf1bf98b088cf python.versions 26 27 34 if {${name} ne ${subport}} { depends_run-append port:py${python.version}-numpy \ port:py${python.version}-astropy variant hdf5 description {Include support for HDF5 tables} { depends_run-append port:py${python.version}-h5py } variant vo description {Include support for VO cone search} { depends_run-append port:py${python.version}-vo } # NOTE: py-mysql and py-pygresql don't have Python 3 subports if {${python.version} <= 27} { variant sql description {Include support for SQL databases} { depends_run-append port:py${python.version}-mysql \ port:py${python.version}-pygresql } } }