ref-manual: variables: document PYPI_PACKAGE_EXT, PYPI_SRC_URI

These are variables that some Python recipes are starting to use, but
there is no documentation for them currently in the reference manual.

(From yocto-docs rev: 78cde86cc31f238b8b31569ac9df2eeb15ef5e33)

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Trevor Gamblin
2024-05-21 14:26:43 -04:00
committed by Richard Purdie
parent 66aac2588d
commit e35c8d53fb

View File

@@ -6844,6 +6844,19 @@ system and gives an overview of their function and contents.
explicitly if that will not match the package name (e.g. where the
package name has a prefix, underscores, uppercase letters etc.)
:term:`PYPI_PACKAGE_EXT`
When inheriting the :ref:`ref-classes-pypi` class, specifies the
file extension to use when fetching a package from `PyPI
<https://pypi.org/>`__. Default is ``tar.gz``.
:term:`PYPI_SRC_URI`
When inheriting the :ref:`ref-classes-pypi` class, specifies the
full `pythonhosted <https://files.pythonhosted.org/>`__ URI for
fetching the package to be built. The default value is constructed
based upon :term:`PYPI_PACKAGE`, :term:`PYPI_PACKAGE_EXT`, and
:term:`PV`. Most recipes will not need to set this variable unless
they are building an unstable (i.e. development) version.
:term:`PYTHON_ABI`
When used by recipes that inherit the :ref:`ref-classes-setuptools3`
class, denotes the Application Binary Interface (ABI) currently in use