[107767] trunk/dports/python/py-rbtools/Portfile

jmr at macports.org jmr at macports.org
Fri Jul 5 04:21:17 PDT 2013


Revision: 107767
          https://trac.macports.org/changeset/107767
Author:   jmr at macports.org
Date:     2013-07-05 04:21:17 -0700 (Fri, 05 Jul 2013)
Log Message:
-----------
py-rbtools: update to 0.4.3, mark noarch, disable livecheck in subports

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

Modified: trunk/dports/python/py-rbtools/Portfile
===================================================================
--- trunk/dports/python/py-rbtools/Portfile	2013-07-05 10:58:46 UTC (rev 107766)
+++ trunk/dports/python/py-rbtools/Portfile	2013-07-05 11:21:17 UTC (rev 107767)
@@ -5,12 +5,13 @@
 
 name            py-rbtools
 set cap_name    RBTools
-version         0.4.2
+version         0.4.3
 python.versions 24 25 26 27
 set branch      [join [lrange [split ${version} .] 0 1] .] 
 categories-append     devel
 maintainers     nomaintainer
 platforms       darwin
+supported_archs noarch
 license         MIT
 description     Tools for Review Board integration
 
@@ -24,20 +25,17 @@
 master_sites        http://downloads.reviewboard.org/releases/${cap_name}/${branch}
 distname            ${cap_name}-${version}
 
-livecheck.type      regex
-livecheck.url       http://downloads.reviewboard.org/releases/RBTools/0.4/
-livecheck.regex     "RBTools-(0\\.\\d+?(\\.\\d+))\\.tar\\.gz"
+checksums           rmd160 fc6b3e470ca7142ecb1165d02e1a04d0daca2be3 \
+                    sha256 7c35271b7d65e8ab72ae1a10b0c65e8dbf718f31391fff44034f0bc4262a0917
 
-checksums           rmd160  62a4726422557bd5d594ffd7add2bcac70fa92bf \
-                    sha256  5e429f882c7dff316911ff54ea98d16ab35fd9101d0a38f64cdbc6cc90cfe5d2
-
 if {$subport != $name} {
     depends_lib-append      port:py${python.version}-setuptools
+    if {${python.version} <= 25} {
+        depends_lib-append      port:py${python.version}-simplejson
+    }
+    livecheck.type      none
+} else {
+    livecheck.type      regex
+    livecheck.url       [lindex $master_sites 0]
+    livecheck.regex     "RBTools-(0\\.\\d+?(\\.\\d+))\\.tar\\.gz"
 }
-
-subport py24-rbtools {
-    depends_lib-append      port:py${python.version}-simplejson
-}
-subport py25-rbtools {
-    depends_lib-append      port:py${python.version}-simplejson
-}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130705/3709e1a0/attachment.html>


More information about the macports-changes mailing list