From e35c8d53fb64a17027f59591f8b681390701a2aa Mon Sep 17 00:00:00 2001 From: Trevor Gamblin Date: Tue, 21 May 2024 14:26:43 -0400 Subject: [PATCH] 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 Reviewed-by: Michael Opdenacker Signed-off-by: Richard Purdie --- documentation/ref-manual/variables.rst | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/documentation/ref-manual/variables.rst b/documentation/ref-manual/variables.rst index 6b5b5c0762..546c674699 100644 --- a/documentation/ref-manual/variables.rst +++ b/documentation/ref-manual/variables.rst @@ -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 + `__. Default is ``tar.gz``. + + :term:`PYPI_SRC_URI` + When inheriting the :ref:`ref-classes-pypi` class, specifies the + full `pythonhosted `__ 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