[126303] trunk/dports/science/uhd/Portfile

michaelld at macports.org michaelld at macports.org
Tue Oct 7 09:19:02 PDT 2014


Revision: 126303
          https://trac.macports.org/changeset/126303
Author:   michaelld at macports.org
Date:     2014-10-07 09:19:02 -0700 (Tue, 07 Oct 2014)
Log Message:
-----------
uhd:
+ update release to 3.7.3;
+ assign devel to use the "maint" branch, since it represents "release + bugfixes";
+ update devel to e10df19c (20141006);
+ fix livecheck for both release and devel.

Modified Paths:
--------------
    trunk/dports/science/uhd/Portfile

Modified: trunk/dports/science/uhd/Portfile
===================================================================
--- trunk/dports/science/uhd/Portfile	2014-10-07 13:14:54 UTC (rev 126302)
+++ trunk/dports/science/uhd/Portfile	2014-10-07 16:19:02 UTC (rev 126303)
@@ -16,7 +16,7 @@
 
 dist_subdir         uhd
 set branch          3.7
-set patch           2
+set patch           3
 set base_version    [join "${branch} ${patch}" .]
 set devel_version   [join "${branch} [expr {${patch} + 1}]" .]
 
@@ -25,27 +25,35 @@
     long_description ${description}: \
 Provides the release version, which is typically updated every month or so.
 
-    github.setup    EttusResearch uhd \
-        release_00[join [split ${base_version} "."] "_00"]
+    github.setup    EttusResearch uhd 00[join [split ${base_version} "."] "_00"] release_
     version         ${base_version}
     conflicts       uhd-devel
-    checksums       rmd160 f0c7c81c010698d3c5b11c5460c8757d0739a6a2 \
-                    sha256 d14d3924b962e2ba1d488f28fa2e3846c2c3c57cf2530e17fda957e91431f790
+    checksums       rmd160 a355c46091c32847bc0fc164b0749beb308d4ac5 \
+                    sha256 030660a40a202dfabc3144897fe80cd5cd3eac7b2c29e5fc44a0457490d1030c
 
+    # overload the github livecheck regex to look for versions that
+    # are just numbers and '_', no letters (e.g., "3.7.3_rc2").
+
+    livecheck.regex archive/[join ${github.tag_prefix} ""](\[0-9_\]+)${extract.suffix}
+
 }
 
 subport uhd-devel {
 
     long_description ${description}: \
-Provides the GIT master version, which is typically updated every few days to week.
+Provides the GIT maint version, which is typically updated every few days to week.
 
-    github.setup    EttusResearch uhd c581a9122062f3addd90eff93fdd6f59a7a350fd
-    version         ${devel_version}_20140930
+    github.setup    EttusResearch uhd e10df19c89d21ce860a36bb071b4a26b2f067460
+    version         ${devel_version}_20141006
     name            uhd-devel
     conflicts       uhd
-    checksums       rmd160 c3e4e1d9b206abf9de44f4bc29a64435361d75f5 \
-                    sha256 b920f3f7a2ed3a2bd5e177f7f5774b4fa008e8a8f86384c52df797065584b795
+    checksums       rmd160 42243c0fefa2531f3f1da90969d7b2fb700babf4 \
+                    sha256 c171210ea37b739d41af3189130ef34c2cfb37bbaa9095559796a23e12ddde16
 
+    # overload the github livecheck URL with the correct branch
+
+    livecheck.url   ${github.homepage}/commits/maint.atom
+
 }
 
 depends_lib-append	 port:boost port:ncurses
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20141007/dc426b80/attachment.html>


More information about the macports-changes mailing list