diff options
author | Paul Barker <paul@pbarker.dev> | 2021-08-10 12:03:50 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-08-13 14:44:01 +0100 |
commit | 9659f5a51a2d094b45b52136feac4402d501b4f2 (patch) | |
tree | fbe98d3085d79ef78ddc55acf4e749f9e85814ac /meta/classes/kernel-fitimage.bbclass | |
parent | 9822232b4abd811bb9c8562f98c0aefc748340a0 (diff) | |
download | openembedded-core-9659f5a51a2d094b45b52136feac4402d501b4f2.tar.gz |
pypi: Allow override of PyPI archive name
Some packages on PyPI don't follow the usual expectations for archive
naming. For example, the archive for asyncio-mqtt 0.10.0 is named
asyncio_mqtt-0.10.0.tar.gz (with an underscore instead of the dash used
in the package name).
To handle these edge cases a new PYPI_ARCHIVE_NAME variable is
introduced. By default this is set to the expected archive name based on
the PyPI package name, version and extension but it can be set to a
different value if needed in a recipe which inherits the pypi class.
Signed-off-by: Paul Barker <paul@pbarker.dev>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/kernel-fitimage.bbclass')
0 files changed, 0 insertions, 0 deletions