Revision
138980
Author
adfernandes@macports.org
Date
2015-07-25 21:35:24 -0700 (Sat, 25 Jul 2015)

Log Message

py-pacal: fix buildbot errors

Modified Paths

Diff

Modified: trunk/dports/python/py-pacal/Portfile (138979 => 138980)


--- trunk/dports/python/py-pacal/Portfile	2015-07-26 00:58:39 UTC (rev 138979)
+++ trunk/dports/python/py-pacal/Portfile	2015-07-26 04:35:24 UTC (rev 138980)
@@ -21,19 +21,23 @@
 checksums           rmd160  96e018864f431a8558eb75a018dbe9c10ff0178e \
                     sha256  ece7cf61448355dcb50d5566dc22fd3eb8819579e26db83abe6277bf735730f0
 
-depends_lib         port:py${python.version}-numpy \
-                    port:py${python.version}-matplotlib \
-                    port:py${python.version}-sympy \
-                    port:py${python.version}-scipy \
-                    port:py${python.version}-cython
-
 # python3 is not supported
 python.versions     27
 
-if {${name} eq ${subport}} {
+if {${name} ne ${subport}} {
+
+    depends_lib-append  port:py${python.version}-numpy \
+                        port:py${python.version}-matplotlib \
+                        port:py${python.version}-sympy \
+                        port:py${python.version}-scipy \
+                        port:py${python.version}-cython
+
+    livecheck.type  none
+
+} else {
+
     livecheck.type  regex
     livecheck.url   ${homepage}
     livecheck.regex {(?i)pacal\s+(\d+(?:\.\d+)*)\s+released}
-} else {
-    livecheck.type  none
+
 }