[89518] trunk/dports/python

robitaille at macports.org robitaille at macports.org
Wed Feb 1 08:39:34 PST 2012


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

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

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

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

Modified: trunk/dports/python/py-aplpy/Portfile
===================================================================
--- trunk/dports/python/py25-aplpy/Portfile	2012-02-01 16:22:54 UTC (rev 89515)
+++ trunk/dports/python/py-aplpy/Portfile	2012-02-01 16:39:34 UTC (rev 89518)
@@ -1,10 +1,10 @@
 # -*- 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 python25 1.0
+PortSystem          1.0
+PortGroup           python 1.0
 
-name                py25-aplpy
+name                py-aplpy
 version             0.9.6
 maintainers         robitaille stsci.edu:mperrin
 
@@ -23,29 +23,32 @@
 homepage            http://aplpy.github.com/
 master_sites        http://cloud.github.com/downloads/aplpy/aplpy/
 distname            APLpy-${version}
-checksums           md5  bfd8e61ea1139dcc3d8bdf94eee03df3 \
-                    sha1  c5f8b182b63fc4009935b1d5ee7defcea6d0c1b5 \
+checksums           md5     bfd8e61ea1139dcc3d8bdf94eee03df3 \
+                    sha1    c5f8b182b63fc4009935b1d5ee7defcea6d0c1b5 \
                     rmd160  bf94fd7e35f8a0b10780a9f357f1a5dde2576f7e
 
-depends_run-append  port:py25-numpy \
-                    port:py25-pyfits \
-                    port:py25-pywcs \
-                    port:py25-matplotlib \
+python.versions     25 26 27
+python.default_version 27
 
+depends_run-append  port:py${python.version}-numpy \
+                    port:py${python.version}-pyfits \
+                    port:py${python.version}-pywcs \
+                    port:py${python.version}-matplotlib \
+
 variant rgb description {Include support for RGB images} {
-    depends_run-append  port:py25-pil
+    depends_run-append  port:py${python.version}-pil
 }
 
 variant avm description {Include support for AVM meta-data} {
-    depends_run-append  port:py25-pyavm
+    depends_run-append  port:py${python.version}-pyavm
 }
 
 variant ds9 description {Include support for DS9 region files} {
-    depends_run-append  port:py25-pyregion
+    depends_run-append  port:py${python.version}-pyregion
 }
 
 variant montage description {Include support for Montage reprojection} {
-    depends_run-append  port:py25-montage
+    depends_run-append  port:py${python.version}-montage
 }
 
 default_variants    +rgb +avm +ds9
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120201/1cf5baa2/attachment.html>


More information about the macports-changes mailing list