source: trunk/dports/python/py-pyfits/Portfile @ 105844

Last change on this file since 105844 was 105844, checked in by aronnax@…, 7 years ago

py-pyfits: upgrade to 3.1.2, add Python 3.3 subport

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.6 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 105844 2013-05-07 21:49:05Z aronnax@macports.org $
3
4PortSystem          1.0
5PortGroup           python 1.0
6PortGroup           select 1.0
7
8set realname        pyfits
9
10name                py-${realname}
11version             3.1.2
12categories-append   science
13license             BSD
14platforms           darwin
15maintainers         aronnax openmaintainer
16
17python.versions     25 26 27 31 32 33
18
19description         Python interface to FITS formatted files
20
21long_description    PyFITS provides an interface to FITS formatted files \
22                    under Python. It is useful both for interactive data \
23                    analysis and for writing analysis scripts in Python \
24                    using FITS files as either input or output. PyFITS is \
25                    a development project of the Science Software Branch \
26                    at the Space Telescope Science Institute.
27
28homepage            http://www.stsci.edu/resources/software_hardware/${realname}
29master_sites        http://pypi.python.org/packages/source/[string index ${realname} 0]/${realname}
30distname            ${realname}-${version}
31
32checksums           md5     fc849bf9b8d79235356d3fd1096757c1 \
33                    sha1    442dd89e62d68d91c1bc0a0ee4364cab794c52e8 \
34                    rmd160  c80064d9b6f077bc6aae6f551c111b3503e50f58
35
36if {$subport != $name} {
37    depends_lib-append  port:py${python.version}-numpy
38
39    livecheck.type  none
40} else {
41    livecheck.type      regex
42    livecheck.url       ${homepage}/Download
43    livecheck.regex     ${realname}-(\[0-9.\]+)\\.
44}
Note: See TracBrowser for help on using the repository browser.