<pre style='margin:0'>
Clemens Lang (neverpanic) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/fbfa973b2522436a5565f07bc1130c43a86ca033">https://github.com/macports/macports-ports/commit/fbfa973b2522436a5565f07bc1130c43a86ca033</a></p>
<pre style="white-space: pre; background: #F8F8F8">The following commit(s) were added to refs/heads/master by this push:
<span style='display:block; white-space:pre;color:#404040;'> new fbfa973 bitbucket portgroup: Fix subport behavior
</span>fbfa973 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit fbfa973b2522436a5565f07bc1130c43a86ca033
</span>Author: Clemens Lang <cal@macports.org>
AuthorDate: Mon Dec 4 21:22:56 2017 +0100
<span style='display:block; white-space:pre;color:#404040;'> bitbucket portgroup: Fix subport behavior
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> The same problem that affected the github portgroup also exists in the
</span><span style='display:block; white-space:pre;color:#404040;'> bitbucket portgroup. Fix it with a siliar patch.
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> See: https://trac.macports.org/ticket/40831
</span><span style='display:block; white-space:pre;color:#404040;'> Closes: https://trac.macports.org/ticket/55467
</span>---
_resources/port1.0/group/bitbucket-1.0.tcl | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/_resources/port1.0/group/bitbucket-1.0.tcl b/_resources/port1.0/group/bitbucket-1.0.tcl
</span><span style='display:block; white-space:pre;color:#808080;'>index 69f80a9..fe3e65e 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/_resources/port1.0/group/bitbucket-1.0.tcl
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/_resources/port1.0/group/bitbucket-1.0.tcl
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -76,14 +76,16 @@ proc bitbucket.livecheck_regex {} {
</span> }
proc bitbucket.setup {bb_author bb_project bb_version {bb_tag_prefix ""}} {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- global bitbucket.author bitbucket.homepage bitbucket.master_sites bitbucket.project bitbucket.tag_prefix bitbucket.version extract.suffix
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ global bitbucket.author bitbucket.homepage bitbucket.master_sites bitbucket.project bitbucket.tag_prefix bitbucket.version extract.suffix PortInfo
</span>
bitbucket.author ${bb_author}
bitbucket.project ${bb_project}
bitbucket.version ${bb_version}
bitbucket.tag_prefix ${bb_tag_prefix}
<span style='display:block; white-space:pre;background:#ffe0e0;'>- name ${bitbucket.project}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {!([info exists PortInfo(name)] && (${PortInfo(name)} ne ${bitbucket.project}))} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ name ${bitbucket.project}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span> version ${bitbucket.version}
homepage ${bitbucket.homepage}
hg.url ${bitbucket.homepage}
</pre><pre style='margin:0'>
</pre>