[89520] trunk/dports/python

robitaille at macports.org robitaille at macports.org
Wed Feb 1 08:43:26 PST 2012


Revision: 89520
          http://trac.macports.org/changeset/89520
Author:   robitaille at macports.org
Date:     2012-02-01 08:43:25 -0800 (Wed, 01 Feb 2012)
Log Message:
-----------
py-atpy: updated to unified port format

Modified Paths:
--------------
    trunk/dports/python/py-atpy/Portfile

Added Paths:
-----------
    trunk/dports/python/py-atpy/

Removed Paths:
-------------
    trunk/dports/python/py25-atpy/
    trunk/dports/python/py26-atpy/
    trunk/dports/python/py27-atpy/

Modified: trunk/dports/python/py-atpy/Portfile
===================================================================
--- trunk/dports/python/py27-atpy/Portfile	2012-02-01 16:22:54 UTC (rev 89515)
+++ trunk/dports/python/py-atpy/Portfile	2012-02-01 16:43:25 UTC (rev 89520)
@@ -1,12 +1,12 @@
 # -*- 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
 # $Id$
 
-PortSystem 1.0
-PortGroup python27 1.0
+PortSystem          1.0
+PortGroup           python 1.0
 
-name                py27-atpy
+name                py-atpy
 version             0.9.5.3
-revision            1
+revision            2
 maintainers         robitaille
 
 categories-append   science
@@ -23,31 +23,34 @@
 homepage            http://atpy.github.com/
 master_sites        http://cloud.github.com/downloads/atpy/atpy/
 distname            ATpy-${version}
-checksums           md5  396f95233006777ea0fedffe70d1b870 \
-                    sha1  04f44f35b4ea9c465604b74313e20b4e60ebdcb3 \
+checksums           md5     396f95233006777ea0fedffe70d1b870 \
+                    sha1    04f44f35b4ea9c465604b74313e20b4e60ebdcb3 \
                     rmd160  74949b2a1eb1fee98c753dbcb61ab3fda55ac75c
 
-depends_run-append  port:py27-numpy
+python.versions     25 26 27
+python.default_version 27
 
+depends_run-append  port:py${python.version}-numpy
+
 variant fits description {Include support for FITS tables} {
-    depends_run-append  port:py27-pyfits
+    depends_run-append  port:py${python.version}-pyfits
 }
 
 variant hdf5 description {Include support for HDF5 tables} {
-    depends_run-append  port:py27-h5py
+    depends_run-append  port:py${python.version}-h5py
 }
 
 variant vo description {Include support for VO tables} {
-    depends_run-append  port:py27-vo
+    depends_run-append  port:py${python.version}-vo
 }
 
 variant ascii description {Include support for ASCII tables} {
-    depends_run-append  port:py27-asciitable
+    depends_run-append  port:py${python.version}-asciitable
 }
 
 variant sql description {Include support for SQL databases} {
-    depends_run-append  port:py27-mysql \
-                        port:py27-pygresql
+    depends_run-append  port:py${python.version}-mysql \
+                        port:py${python.version}-pygresql
 }
 
 variant all requires fits hdf5 vo ascii sql description {Include support for all input/output types (FITS, HDF5, VO, ASCII, and SQL)} {}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120201/ff052c49/attachment.html>


More information about the macports-changes mailing list