[79192] trunk/dports/python

robitaille at macports.org robitaille at macports.org
Sat Jun 4 13:11:37 PDT 2011


Revision: 79192
          http://trac.macports.org/changeset/79192
Author:   robitaille at macports.org
Date:     2011-06-04 13:11:36 -0700 (Sat, 04 Jun 2011)
Log Message:
-----------
py*-aplpy: added variants for optional dependencies

Modified Paths:
--------------
    trunk/dports/python/py25-aplpy/Portfile
    trunk/dports/python/py26-aplpy/Portfile
    trunk/dports/python/py27-aplpy/Portfile

Modified: trunk/dports/python/py25-aplpy/Portfile
===================================================================
--- trunk/dports/python/py25-aplpy/Portfile	2011-06-04 20:10:23 UTC (rev 79191)
+++ trunk/dports/python/py25-aplpy/Portfile	2011-06-04 20:11:36 UTC (rev 79192)
@@ -6,6 +6,7 @@
 
 name                py25-aplpy
 version             0.9.5
+revision            1
 maintainers         robitaille stsci.edu:mperrin
 
 categories-append   science
@@ -31,6 +32,17 @@
                     port:py25-pyfits \
                     port:py25-pywcs \
                     port:py25-matplotlib \
-                    port:py25-pil \
-                    port:py25-pyavm \
-                    port:py25-pyregion
\ No newline at end of file
+
+variant rgb description {Include support for RGB images} {
+    depends_run-append  port:py25-pil
+}
+
+variant avm description {Include support for AVM meta-data} {
+    depends_run-append  port:py25-pyavm
+}
+
+variant ds9 description {Include support for DS9 region files} {
+    depends_run-append  port:py25-pyregion
+}
+
+default_variants    +rgb +avm +ds9

Modified: trunk/dports/python/py26-aplpy/Portfile
===================================================================
--- trunk/dports/python/py26-aplpy/Portfile	2011-06-04 20:10:23 UTC (rev 79191)
+++ trunk/dports/python/py26-aplpy/Portfile	2011-06-04 20:11:36 UTC (rev 79192)
@@ -6,6 +6,7 @@
 
 name                py26-aplpy
 version             0.9.5
+revision            1
 maintainers         robitaille stsci.edu:mperrin
 
 categories-append   science
@@ -31,6 +32,17 @@
                     port:py26-pyfits \
                     port:py26-pywcs \
                     port:py26-matplotlib \
-                    port:py26-pil \
-                    port:py26-pyavm \
-                    port:py26-pyregion
\ No newline at end of file
+
+variant rgb description {Include support for RGB images} {
+    depends_run-append  port:py26-pil
+}
+
+variant avm description {Include support for AVM meta-data} {
+    depends_run-append  port:py26-pyavm
+}
+
+variant ds9 description {Include support for DS9 region files} {
+    depends_run-append  port:py26-pyregion
+}
+
+default_variants    +rgb +avm +ds9

Modified: trunk/dports/python/py27-aplpy/Portfile
===================================================================
--- trunk/dports/python/py27-aplpy/Portfile	2011-06-04 20:10:23 UTC (rev 79191)
+++ trunk/dports/python/py27-aplpy/Portfile	2011-06-04 20:11:36 UTC (rev 79192)
@@ -6,6 +6,7 @@
 
 name                py27-aplpy
 version             0.9.5
+revision            1
 maintainers         robitaille stsci.edu:mperrin
 
 categories-append   science
@@ -31,6 +32,17 @@
                     port:py27-pyfits \
                     port:py27-pywcs \
                     port:py27-matplotlib \
-                    port:py27-pil \
-                    port:py27-pyavm \
-                    port:py27-pyregion
\ No newline at end of file
+
+variant rgb description {Include support for RGB images} {
+    depends_run-append  port:py27-pil
+}
+
+variant avm description {Include support for AVM meta-data} {
+    depends_run-append  port:py27-pyavm
+}
+
+variant ds9 description {Include support for DS9 region files} {
+    depends_run-append  port:py27-pyregion
+}
+
+default_variants    +rgb +avm +ds9
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110604/52111937/attachment.html>


More information about the macports-changes mailing list