[118862] trunk/dports/science/gnuradio/Portfile
michaelld at macports.org
michaelld at macports.org
Sun Apr 13 10:57:54 PDT 2014
Revision: 118862
https://trac.macports.org/changeset/118862
Author: michaelld at macports.org
Date: 2014-04-13 10:57:54 -0700 (Sun, 13 Apr 2014)
Log Message:
-----------
gnuradio:
+ make better use of the github PortGroup's setup options;
+ remove extraneous inclusion of the github PortGroup;
+ fix livecheck for all subports to work with the github PortGroup.
Modified Paths:
--------------
trunk/dports/science/gnuradio/Portfile
Modified: trunk/dports/science/gnuradio/Portfile
===================================================================
--- trunk/dports/science/gnuradio/Portfile 2014-04-13 16:53:15 UTC (rev 118861)
+++ trunk/dports/science/gnuradio/Portfile 2014-04-13 17:57:54 UTC (rev 118862)
@@ -23,10 +23,8 @@
if {${subport} eq ${name}} {
- github.setup gnuradio gnuradio v3.7.3
+ github.setup gnuradio gnuradio 3.7.3 v
- version 3.7.3
-
long_description ${description}: \
This port is kept up with the GNU Radio release, currently ${version}, which is typically updated every few months.
@@ -39,16 +37,17 @@
patchfiles-append \
patch-cmake-expand.release.diff
- livecheck.type none
+ # overload the github livecheck regex to look for versions that
+ # are just numbers and '.', no letters (e.g., "3.7.3git").
+ livecheck.regex archive/[join ${github.tag_prefix} ""](\[0-9\.\]+)${extract.suffix}
+
}
subport gnuradio-legacy {
- github.setup gnuradio gnuradio v3.6.5.1
+ github.setup gnuradio gnuradio 3.6.5.1 v
name gnuradio-legacy
-
- version 3.6.5.1
revision 6
long_description ${description}: \
@@ -104,8 +103,6 @@
subport gnuradio-next {
- PortGroup github 1.0
-
long_description ${description}: \
This port is kept up with the GNU Radio GIT 'next' branch, which is typically updated daily to weekly. This version of GNU Radio represents the next major release of GNU Radio, and hence its API is likely to be different than that provided by either gnuradio or gnuradio-devel. This port may or not compile or function correctly, as it represents a work in progress. If it does not work, check back in a few days. Or try deactivating the currently active gnuradio port, cleaning any current builds, and trying again.
@@ -119,6 +116,10 @@
rmd160 abb6e3daedaa4a09b7d7c1075a4633793d6a4aeb \
sha256 e72c3e7690c721cdc99351fa13a6e11538dcbfec04aa2432ec4a0c18094d19b6
+ # overload the github livecheck URL with the correct branch
+
+ livecheck.url ${github.homepage}/commits/next.atom
+
}
if {${subport} ne "gnuradio-legacy"} {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140413/7aad8aca/attachment.html>
More information about the macports-changes
mailing list