Revision
107349
Author
jmr@macports.org
Date
2013-06-25 19:42:59 -0700 (Tue, 25 Jun 2013)

Log Message

py-pylibmc: remove unused setuptools dep, disable livecheck in subports

Modified Paths

Diff

Modified: trunk/dports/python/py-pylibmc/Portfile (107348 => 107349)


--- trunk/dports/python/py-pylibmc/Portfile	2013-06-26 02:34:42 UTC (rev 107348)
+++ trunk/dports/python/py-pylibmc/Portfile	2013-06-26 02:42:59 UTC (rev 107349)
@@ -25,11 +25,9 @@
                     sha256  0157c72ce8b6aeefe52c77be5e1d059481b58127e0f9d2d6c216f6b1c68da6dc
 
 python.versions     25 26 27
-python.default_version  27
 
 if {$subport != $name} {
-    depends_lib-append  port:libmemcached \
-                        port:py${python.version}-setuptools
+    depends_lib-append  port:libmemcached
 
     if {${os.platform} == "darwin" && ${os.major} <= 10} {
         patchfiles-append patch-pylibmcmodule.c.diff
@@ -37,8 +35,10 @@
 
     build.target        build_ext
     build.args          --with-libmemcached=${prefix}
+
+    livecheck.type      none
+} else {
+    livecheck.type      regex
+    livecheck.url       ${master_sites}
+    livecheck.regex     pylibmc-(\\d+(?:\\.\\d+)*)${extract.suffix}
 }
-
-livecheck.type      regex
-livecheck.url       ${master_sites}
-livecheck.regex     pylibmc-(\\d+(?:\\.\\d+)*)${extract.suffix}