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

Last change on this file was 130182, checked in by larryv@…, 3 years ago

py-astrolibcoords: Add Python 2.7 subport

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.3 KB
Line 
1# $Id: Portfile 130182 2014-12-28 15:21:58Z ryandesign@macports.org $
2
3PortSystem              1.0
4PortGroup               python 1.0
5
6set realname            coords
7name                    py-astrolib${realname}
8version                 0.37
9categories-append       devel science
10license                 BSD
11platforms               darwin
12maintainers             stsci.edu:mperrin openmaintainer
13
14description             A library for manipulation of astronomical coordinates, \
15                        such as working with catalogs, preparing proposals, and \
16                        preparing for observing runs.
17
18long_description        ${description}
19
20homepage                http://www.scipy.org/AstroLibCoordsHome
21master_sites            http://stsdas.stsci.edu/astrolib/
22distname                ${realname}-${version}
23
24checksums               sha1    8de4563e2d2b43d9c1b308f6dad0dd702e795a1a \
25                        rmd160  bb273716fd4bd3f5df7558f5cdb19dde732ee5c3
26
27python.versions         26 27
28
29if {${name} ne ${subport}} {
30    depends_build-append    port:py${python.version}-setuptools
31
32    depends_lib-append      port:py${python.version}-numpy
33
34    livecheck.type          none
35} else {
36    livecheck.type          regex
37    livecheck.url           [lindex ${master_sites} 0]
38    livecheck.regex         ${realname}-(\[0-9.\]+).tar.gz
39}
Note: See TracBrowser for help on using the repository browser.