[90841] trunk/dports/python/py-robotframework/Portfile

jwa at macports.org jwa at macports.org
Thu Mar 15 10:46:16 PDT 2012


Revision: 90841
          https://trac.macports.org/changeset/90841
Author:   jwa at macports.org
Date:     2012-03-15 10:46:15 -0700 (Thu, 15 Mar 2012)
Log Message:
-----------
version bump to 2.7, fix livecheck, modernise checksums, drop script removed upstream

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

Modified: trunk/dports/python/py-robotframework/Portfile
===================================================================
--- trunk/dports/python/py-robotframework/Portfile	2012-03-15 16:52:56 UTC (rev 90840)
+++ trunk/dports/python/py-robotframework/Portfile	2012-03-15 17:46:15 UTC (rev 90841)
@@ -7,7 +7,7 @@
 name                py-robotframework
 set internal_name   robotframework
 
-version             2.6.3
+version             2.7
 
 categories-append   devel
 maintainers         jwa
@@ -27,16 +27,20 @@
 distname            ${internal_name}-${version}
 #use_bzip2           yes
 
-checksums           md5     00018e7c8b353a4ea662e4320915605f \
-                    sha1    5602cc43f3e8af898259efcfa5e280da09ebd67d \
-                    rmd160  14e97aa8c63ffdda9c35efe4529ef20df0567b04
+checksums           rmd160  27133327b57b360f116de503bcd088f19e1ca320 \
+                    sha256  a5a65fc55cae0dfa3ce858934a7c92d30b2e47515e59020826278d7d79abda1d
 
-post-destroot		{
-    reinplace "s;${destroot};;" ${destroot}${python.prefix}/bin/pybot
-    reinplace "s;${destroot};;" ${destroot}${python.prefix}/bin/jybot
-    reinplace "s;${destroot};;" ${destroot}${python.prefix}/bin/rebot
+if {$subport != $name} {
+    post-destroot		{
+        reinplace "s;${destroot};;" ${destroot}${python.prefix}/bin/pybot
+        reinplace "s;${destroot};;" ${destroot}${python.prefix}/bin/rebot
+    }
 }
 
-livecheck.type     regex
-livecheck.url      ${homepage}
-livecheck.regex    ${internal_name}-(2\\.\[0-9\]+\\.\[0-9\])\\.tar\\.\[bg\]z
+if {$subport == $name} {
+    livecheck.type     regex
+    livecheck.url      ${homepage}
+    livecheck.regex    ${internal_name}-(2\\.\[0-9\]+\\.\[0-9\])\\.tar\\.\[bg\]z
+} else {
+    livecheck.type	none
+}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120315/1180c96a/attachment.html>


More information about the macports-changes mailing list