You've already forked macports-ports
mirror of
https://github.com/encounter/macports-ports.git
synced 2026-03-30 11:29:27 -07:00
53 lines
1.8 KiB
Tcl
53 lines
1.8 KiB
Tcl
# -*- 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
|
|
|
|
PortSystem 1.0
|
|
PortGroup python 1.0
|
|
|
|
name py-atpy
|
|
version 0.9.7
|
|
revision 2
|
|
maintainers nomaintainer
|
|
|
|
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 rmd160 a2c76ef4ac595d0f9cbfb0a21d3bf1bf98b088cf \
|
|
sha256 4286bb0e4de30df16d6ffd14eb92e4bd47cba2b486834ca95db512c830d0693c \
|
|
size 663163
|
|
|
|
python.versions 35 36
|
|
|
|
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
|
|
}
|
|
}
|
|
}
|