diff options
author | Trevor Gamblin <tgamblin@baylibre.com> | 2024-05-21 14:26:43 -0400 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2024-05-29 20:58:49 +0100 |
commit | e35c8d53fb64a17027f59591f8b681390701a2aa (patch) | |
tree | 09fbdf074c51e664b2533e945993ccf9f20ca8d3 /documentation | |
parent | 66aac2588d7b28b28694af48eac6d9b368098ba2 (diff) | |
download | poky-e35c8d53fb64a17027f59591f8b681390701a2aa.tar.gz |
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>
Diffstat (limited to 'documentation')
-rw-r--r-- | documentation/ref-manual/variables.rst | 13 |
1 files changed, 13 insertions, 0 deletions
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. | |||
6844 | explicitly if that will not match the package name (e.g. where the | 6844 | explicitly if that will not match the package name (e.g. where the |
6845 | package name has a prefix, underscores, uppercase letters etc.) | 6845 | package name has a prefix, underscores, uppercase letters etc.) |
6846 | 6846 | ||
6847 | :term:`PYPI_PACKAGE_EXT` | ||
6848 | When inheriting the :ref:`ref-classes-pypi` class, specifies the | ||
6849 | file extension to use when fetching a package from `PyPI | ||
6850 | <https://pypi.org/>`__. Default is ``tar.gz``. | ||
6851 | |||
6852 | :term:`PYPI_SRC_URI` | ||
6853 | When inheriting the :ref:`ref-classes-pypi` class, specifies the | ||
6854 | full `pythonhosted <https://files.pythonhosted.org/>`__ URI for | ||
6855 | fetching the package to be built. The default value is constructed | ||
6856 | based upon :term:`PYPI_PACKAGE`, :term:`PYPI_PACKAGE_EXT`, and | ||
6857 | :term:`PV`. Most recipes will not need to set this variable unless | ||
6858 | they are building an unstable (i.e. development) version. | ||
6859 | |||
6847 | :term:`PYTHON_ABI` | 6860 | :term:`PYTHON_ABI` |
6848 | When used by recipes that inherit the :ref:`ref-classes-setuptools3` | 6861 | When used by recipes that inherit the :ref:`ref-classes-setuptools3` |
6849 | class, denotes the Application Binary Interface (ABI) currently in use | 6862 | class, denotes the Application Binary Interface (ABI) currently in use |