[99538] trunk/dports/python

aronnax at macports.org aronnax at macports.org
Thu Nov 8 22:44:32 PST 2012


Revision: 99538
          http://trac.macports.org//changeset/99538
Author:   aronnax at macports.org
Date:     2012-11-08 22:44:32 -0800 (Thu, 08 Nov 2012)
Log Message:
-----------
py-astlib: new port for astLib, python modules for research astronomers

Added Paths:
-----------
    trunk/dports/python/py-astlib/
    trunk/dports/python/py-astlib/Portfile

Added: trunk/dports/python/py-astlib/Portfile
===================================================================
--- trunk/dports/python/py-astlib/Portfile	                        (rev 0)
+++ trunk/dports/python/py-astlib/Portfile	2012-11-09 06:44:32 UTC (rev 99538)
@@ -0,0 +1,45 @@
+# -*- 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
+# $Id$
+
+PortSystem              1.0
+PortGroup               python 1.0
+
+name                    py-astlib
+version                 0.6.1
+categories              python science
+platforms               darwin
+maintainers             aronnax
+license                 LGPL-2.1
+description             python modules for research astronomers
+long_description \
+    astLib is a set of python modules that provides some tools for research \
+    astronomers. It can be used for simple plots, statistics, common \
+    calculations, coordinate conversions, and manipulating FITS images with \
+    World Coordinate System (WCS) information.
+
+homepage                http://astlib.sourceforge.net
+master_sites            sourceforge:astlib
+distname                astLib-${version}
+checksums               sha1    b74b8d9f5bdd70aaa83cf4cfa12da596ae4c7879 \
+                        rmd160  12580b063c56645f3ad92455ad4443fdec87c3a4
+
+python.versions         25 26 27
+python.default_version  27
+
+if {${subport} != ${name}} {
+
+    depends_lib-append  port:py${python.version}-distribute \
+                        port:py${python.version}-pyfits \
+                        port:py${python.version}-numpy \
+                        port:py${python.version}-scipy \
+                        port:py${python.version}-matplotlib \
+                        port:py${python.version}-pil
+
+}
+
+if {${name} == ${subport}} {
+    # Some version numbers were assigned out of order
+    livecheck.regex     {/astlib/0.15/|/astlib/0.17/|/astlib/0.17.1/|/astlib/([a-zA-Z0-9.]+\.[a-zA-Z0-9.]+)/}
+} else {
+    livecheck.type      none
+}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20121108/e33b06fa/attachment.html>


More information about the macports-changes mailing list