source: trunk/dports/python/py-atpy/Portfile

Last change on this file was 148976, checked in by raimue@…, 16 months ago

Mass update of python ports for master_sites pypi

The pypi hosting site changed the naming scheme for new uploads. While old URLs
continue to work, this possibly breaks updates as master_sites would need to be
changed. This patch updates all previously hardcoded references to
pypi.python.org to the pypi: mirror sites, which was already updated to check
at both the old and new location. See #51391.

Overriding maintainers as this is a mass update of ports.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.8 KB
Line 
1# -*- 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
2# $Id: Portfile 148976 2016-05-24 07:48:05Z ryandesign@macports.org $
3
4PortSystem          1.0
5PortGroup           python 1.0
6
7name                py-atpy
8version             0.9.7
9revision            2
10maintainers         robitaille
11
12categories-append   science
13description         ATpy: Astronomical Tables in Python
14long_description    ATpy is a Python module aimed at seamlessly reading, \
15                    creating, manipulating, and writing tables of astronomical \
16                    data. To date, the following formats are supported: ASCII, \
17                    FITS, VO, HDF5, and IPAC tables, and SQLite, MySQL, and \
18                    PostgreSQL databases.
19
20platforms           darwin
21license             MIT
22
23homepage            http://atpy.readthedocs.org/
24master_sites        pypi:A/ATpy/
25distname            ATpy-${version}
26checksums           md5     2306195fcefff7c1e4d36ae92a894ff2 \
27                    sha1    93525db0a36770b7cbbafefa6041fc80aac51c61 \
28                    rmd160  a2c76ef4ac595d0f9cbfb0a21d3bf1bf98b088cf
29
30python.versions     26 27 34
31
32if {${name} ne ${subport}} {
33
34    depends_run-append  port:py${python.version}-numpy \
35                        port:py${python.version}-astropy
36
37    variant hdf5 description {Include support for HDF5 tables} {
38        depends_run-append  port:py${python.version}-h5py
39    }
40
41    variant vo description {Include support for VO cone search} {
42        depends_run-append  port:py${python.version}-vo
43    }
44
45    # NOTE: py-mysql and py-pygresql don't have Python 3 subports
46    if {${python.version} <= 27} {
47        variant sql description {Include support for SQL databases} {
48            depends_run-append  port:py${python.version}-mysql \
49                                port:py${python.version}-pygresql
50        }
51    }
52}
Note: See TracBrowser for help on using the repository browser.