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

Last change on this file was 143293, checked in by petr@…, 20 months ago

various py26 subports: retire subports to resolve #41145, add py35 where appropriate

  • 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; truncate-lines: t; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:et:sw=4:ts=4:sts=4
2# $Id: Portfile 143293 2015-12-09 22:52:33Z ryandesign@macports.org $
3
4PortSystem              1.0
5PortGroup               python 1.0
6
7name                    py-astlib
8version                 0.8.0
9categories              python science
10platforms               darwin
11maintainers             aronnax openmaintainer
12license                 LGPL-2.1
13description             python modules for research astronomers
14long_description \
15    astLib is a set of python modules that provides some tools for research \
16    astronomers. It can be used for simple plots, statistics, common \
17    calculations, coordinate conversions, and manipulating FITS images with \
18    World Coordinate System (WCS) information.
19
20homepage                http://astlib.sourceforge.net
21master_sites            sourceforge:astlib
22distname                astLib-${version}
23checksums               md5     50871e614a04cded84bcfcc555dc9121 \
24                        sha1    cbd999f87773002e471bd165927c2ee124a5515f \
25                        rmd160  e4a82b9e86c9e5ea7f8f8bf9b3b1a35d4183a86e
26
27python.versions         27 34 35
28
29if {${name} ne ${subport}} {
30
31    depends_lib-append  port:py${python.version}-setuptools \
32                        path:${python.pkgd}/pyfits:py${python.version}-astropy \
33                        port:py${python.version}-numpy \
34                        port:py${python.version}-scipy \
35                        port:py${python.version}-matplotlib \
36                        path:${python.pkgd}/PIL:py${python.version}-Pillow
37
38}
39
40if {${name} eq ${subport}} {
41    # Some version numbers were assigned out of order
42    livecheck.regex     {/astlib/0.15/|/astlib/0.17/|/astlib/0.17.1/|/astlib/([a-zA-Z0-9.]+\.[a-zA-Z0-9.]+)/}
43} else {
44    livecheck.type      none
45}
Note: See TracBrowser for help on using the repository browser.