<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><br class=""><div><br class=""><blockquote type="cite" class=""><div class="">On Mar 7, 2018, at 11:56 PM, Ryan Schmidt <<a href="mailto:ryandesign@macports.org" class="">ryandesign@macports.org</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div class=""><br class="">On Mar 2, 2018, at 01:58, Ken wrote:<br class=""><br class=""><blockquote type="cite" class="">+github.setup            jmmv atf 0.21<br class="">+<br class="">+# github.tarball_from downloads or releases does not set the mastersite correctly<br class="">+master_sites            <a href="https://github.com/jmmv/atf/releases/download/${name}-${version}/" class="">https://github.com/jmmv/atf/releases/download/${name}-${version}/</a><br class=""></blockquote><br class="">It does if you set the tag prefix. See:<br class=""><br class=""><a href="https://github.com/macports/macports-ports/commit/c998339ff1ecd76f4e428efe8725083451f570f1" class="">https://github.com/macports/macports-ports/commit/c998339ff1ecd76f4e428efe8725083451f570f1</a><br class=""><br class=""></div></div></blockquote></div><br class=""><div class="">That tag prefix doesn’t do quite what I thought it did, clearly. I thought it was needed to change the name of the distfile, which is somehow already set right. But indeed, adding the tag changes the full distfile URL from this</div><div class=""><br class=""></div><div class=""><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><a href="https://github.com/jmmv/atf/releases/download/0.21/atf-0.21.tar.gz" class="">https://github.com/jmmv/atf/releases/download/0.21/atf-0.21.tar.gz</a></span></div></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><br class=""></span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">to </span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><br class=""></span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><a href="https://github.com/jmmv/atf/releases/download/atf-0.21/atf-0.21.tar.gz" class="">https://github.com/jmmv/atf/releases/download/atf-0.21/atf-0.21.tar.gz</a></span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><br class=""></span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><br class=""></span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><div style="font-family: Helvetica; font-size: 12px;" class="">I guess in future I can use `port distfiles PORTNAME` more often to try to debug what is going wrong….</div><div style="font-family: Helvetica; font-size: 12px;" class=""><br class=""></div><div style="font-family: Helvetica; font-size: 12px;" class="">K</div></span></div></body></html>