summaryrefslogtreecommitdiffstats
path: root/scripts/lib/checklayer/context.py
diff options
context:
space:
mode:
authorTim Orling <ticotimo@gmail.com>2022-02-24 20:03:31 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-02-25 15:43:53 +0000
commit49168f5d557780dfcfac997f3092923ffa747215 (patch)
tree6e169621975b28733d7e91e270dc982e69a05597 /scripts/lib/checklayer/context.py
parent4668db81755c56eba592b7f180e8882dd6835f0c (diff)
downloadpoky-49168f5d557780dfcfac997f3092923ffa747215.tar.gz
pip_install_wheel: improved wheel filename guess
Rather than only use PYPI_PACKAGE as a guess, fall back on PN for cases where a recipe does not inherit pypi. Wheels can only have alphanumeric characters in the 'distribution' name [1]. Any other characters are replaced with an underscore. Provide a function to replace dash with underscore. [1] https://www.python.org/dev/peps/pep-0491/#escaping-and-unicode (From OE-Core rev: 9fc8e55892374f1e63b4c995fe1a5539c42d24e0) Signed-off-by: Tim Orling <tim.orling@konsulko.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/checklayer/context.py')
0 files changed, 0 insertions, 0 deletions