[107397] trunk/dports/python/py-simplejson/Portfile

jmr at macports.org jmr at macports.org
Wed Jun 26 20:50:16 PDT 2013


Revision: 107397
          https://trac.macports.org/changeset/107397
Author:   jmr at macports.org
Date:     2013-06-26 20:50:16 -0700 (Wed, 26 Jun 2013)
Log Message:
-----------
py-simplejson: remove unused setuptools dep from py25+, disable livecheck in subports

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

Modified: trunk/dports/python/py-simplejson/Portfile
===================================================================
--- trunk/dports/python/py-simplejson/Portfile	2013-06-27 03:24:13 UTC (rev 107396)
+++ trunk/dports/python/py-simplejson/Portfile	2013-06-27 03:50:16 UTC (rev 107397)
@@ -38,8 +38,6 @@
                     sha256  941a25bbb00b021dbe026b94278d9fab9f4655e11ab76eb3f022a9ee097f0478
 
 if {$name != $subport} {
-    depends_lib-append  port:py${python.version}-setuptools
-
     post-destroot {
         set docdir ${destroot}${prefix}/share/doc/${subport}
         xinstall -d ${docdir}
@@ -53,6 +51,11 @@
                 ${docdir}
         }
     }
+    livecheck.type      none
+} else {
+    livecheck.type      regex
+    livecheck.url       ${master_sites}
+    livecheck.regex     ${real_name}-(\[0-9.\]+)\\.tar\\.gz
 }
 
 subport py24-simplejson {
@@ -61,8 +64,5 @@
     distname        ${real_name}-2.1.0
     checksums       rmd160  41997ae2e309dc538deda50e056119b01afbf23d \
                     sha256  11bb12aacb646dcccc0d5a3d0e44e5662caf0e71d2f58c7ace8d2ec03cda903b
+    depends_build-append  port:py${python.version}-setuptools
 }
-
-livecheck.type      regex
-livecheck.url       ${master_sites}
-livecheck.regex     ${real_name}-(\[0-9.\]+)\\.tar\\.gz
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130626/bde271cd/attachment.html>


More information about the macports-changes mailing list