Revision
107353
Author
jmr@macports.org
Date
2013-06-25 20:19:23 -0700 (Tue, 25 Jun 2013)

Log Message

py-pyvttbl: fix setuptools dep type, disable livecheck in subports

Modified Paths

Diff

Modified: trunk/dports/python/py-pyvttbl/Portfile (107352 => 107353)


--- trunk/dports/python/py-pyvttbl/Portfile	2013-06-26 03:12:44 UTC (rev 107352)
+++ trunk/dports/python/py-pyvttbl/Portfile	2013-06-26 03:19:23 UTC (rev 107353)
@@ -27,15 +27,15 @@
 checksums           rmd160  829647af0ab5665d3bc9f7e853948d35cb62b78e \
                     sha256  f7e9255ec9b3180eb5fa4c5c877ca9ae52e814a91a0acacb9f4b6ce94a9002b9
 
-use_zip             yes
-
 if {$subport != $name} {
-    depends_lib-append  port:py${python.version}-setuptools \
-                        port:py${python.version}-numpy \
+    use_zip             yes
+    depends_build       port:py${python.version}-setuptools
+    depends_lib-append  port:py${python.version}-numpy \
                         port:py${python.version}-scipy \
                         port:py${python.version}-matplotlib
+    livecheck.type      none
+} else {
+    livecheck.type      regex
+    livecheck.url       ${master_sites}
+    livecheck.regex     "pyvttbl-(\\d+(?:\\.\\d+)*)${extract.suffix}"
 }
-
-livecheck.type      regex
-livecheck.url       ${master_sites}
-livecheck.regex     "pyvttbl-(\\d+(?:\\.\\d+)*)${extract.suffix}"