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

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

py-pyfits: stealth update, fixes #39511

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.7 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 107245 2013-06-24 03:46:33Z 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
12revision            1
13categories-append   science
14license             BSD
15platforms           darwin
16maintainers         aronnax openmaintainer
17
18# FIXME: Stealth update. Remove this line after the next upstream release.
19dist_subdir         ${name}/${version}_1
20
21python.versions     25 26 27 31 32 33
22
23description         Python interface to FITS formatted files
24
25long_description    PyFITS provides an interface to FITS formatted files \
26                    under Python. It is useful both for interactive data \
27                    analysis and for writing analysis scripts in Python \
28                    using FITS files as either input or output. PyFITS is \
29                    a development project of the Science Software Branch \
30                    at the Space Telescope Science Institute.
31
32homepage            http://www.stsci.edu/resources/software_hardware/${realname}
33master_sites        http://pypi.python.org/packages/source/[string index ${realname} 0]/${realname}
34distname            ${realname}-${version}
35
36checksums           md5     d0f1dce1719170b0c9777bbb15bbd8b3 \
37                    sha1    feec80bbd210ec86242c88f86a6acb32a062f7a2 \
38                    rmd160  5230b2b8db4eebcba9e883e30877b2cd52718261
39
40if {$subport != $name} {
41    depends_lib-append  port:py${python.version}-numpy
42
43    livecheck.type  none
44} else {
45    livecheck.type      regex
46    livecheck.url       ${homepage}/Download
47    livecheck.regex     ${realname}-(\[0-9.\]+)\\.
48}
Note: See TracBrowser for help on using the repository browser.