<div dir="ltr">On 1 February 2018 at 11:32, Böszörményi Zoltán <span dir="ltr">&lt;<a href="mailto:zboszor@pr.hu" target="_blank">zboszor@pr.hu</a>&gt;</span> wrote:<br><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex">Of course, this package should not be confused with the old<br>
3D library from Voodoo Graphics.<br></blockquote><div><br></div><div>I&#39;m pretty sure that this conflict is unlikely to cause problems in the real world. :)</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex">The node modules that are built with the help of &quot;inherit npm&quot;<br>
may want to use a &quot;node-&quot; prefix in their names but it would not<br>
work as is because npm.bbclass is using ${PN}.<br>
<br>
I have a patch against npm.bbclass that I am testing at the moment<br>
but it may be necessary to talk about this issue in general.<br></blockquote><div><br></div><div>Yes, that&#39;s definitely the best solution.  For reference, pypi.bbclass does this:</div><div><br></div><div><div>def pypi_package(d):</div><div>    bpn = d.getVar(&#39;BPN&#39;)</div><div>    if bpn.startswith(&#39;python-&#39;):</div><div>        return bpn[7:]</div><div>    elif bpn.startswith(&#39;python3-&#39;):</div><div>        return bpn[8:]</div><div>    return bpn</div></div><div><br></div><div>PYPI_PACKAGE ?= &quot;${@pypi_package(d)}&quot;<br></div><div><br></div><div>Ross</div></div></div></div>