[121961] trunk/dports/math/petsc/Portfile

sean at macports.org sean at macports.org
Fri Jul 11 22:26:22 PDT 2014


Revision: 121961
          https://trac.macports.org/changeset/121961
Author:   sean at macports.org
Date:     2014-07-11 22:26:22 -0700 (Fri, 11 Jul 2014)
Log Message:
-----------
petsc-devel: fix livecheck

Modified Paths:
--------------
    trunk/dports/math/petsc/Portfile

Modified: trunk/dports/math/petsc/Portfile
===================================================================
--- trunk/dports/math/petsc/Portfile	2014-07-12 05:26:15 UTC (rev 121960)
+++ trunk/dports/math/petsc/Portfile	2014-07-12 05:26:22 UTC (rev 121961)
@@ -58,8 +58,9 @@
     checksums           rmd160  69b0d37f0ec1ecb324f9f38f31fdfbcf801275d1 \
                         sha256  0d95e3df912803ad28bed74336fcb193d493657683ba4d21cec4fcdc12ed129b
 
-    # until bitbucket can livecheck a specific branch, manually check
-    livecheck.type      none
+    livecheck.url       ${bitbucket.homepage}/commits/branch/master
+    livecheck.type      regexm
+    livecheck.regex     <a  class="hash execute" href="/petsc/petsc/commits/(\[0-9a-f\]{[string length ${bitbucket.version}]}).*"
 }
 
 notes               "Add the following line to your .bash_profile if you plan to use\
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140711/0ef0ca26/attachment-0001.html>


More information about the macports-changes mailing list