[130250] trunk/dports/python/py-atpy/Portfile

larryv at macports.org larryv at macports.org
Mon Dec 29 14:45:44 PST 2014


Revision: 130250
          https://trac.macports.org/changeset/130250
Author:   larryv at macports.org
Date:     2014-12-29 14:45:43 -0800 (Mon, 29 Dec 2014)
Log Message:
-----------
py{33,34}-atpy: Remove `sql` variant

py-mysql and py-pygresql don't have Python 3 subports.

Also remove the unnecessary `all` variant.

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

Modified: trunk/dports/python/py-atpy/Portfile
===================================================================
--- trunk/dports/python/py-atpy/Portfile	2014-12-29 22:45:41 UTC (rev 130249)
+++ trunk/dports/python/py-atpy/Portfile	2014-12-29 22:45:43 UTC (rev 130250)
@@ -42,11 +42,11 @@
         depends_run-append  port:py${python.version}-vo
     }
 
-    variant sql description {Include support for SQL databases} {
-        depends_run-append  port:py${python.version}-mysql \
-                            port:py${python.version}-pygresql
+    # NOTE: py-mysql and py-pygresql don't have Python 3 subports
+    if {${python.version} <= 27} {
+        variant sql description {Include support for SQL databases} {
+            depends_run-append  port:py${python.version}-mysql \
+                                port:py${python.version}-pygresql
+        }
     }
-
-    variant all requires hdf5 vo sql description {Include support for all input/output types (HDF5, VO, and SQL)} {}
-
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20141229/e634ab27/attachment.html>


More information about the macports-changes mailing list