summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Eggleton <paul.eggleton@microsoft.com>2022-10-07 10:54:51 +1300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-10-19 17:32:57 +0100
commitf4d633a7c28d2cee849bd8c6a2a130285ed125e7 (patch)
treedd07f5ffcbe98b7134712c3346f2022198bdd76a
parentaf3beeecfbce858669065f2e9b67db597e922c15 (diff)
downloadpoky-f4d633a7c28d2cee849bd8c6a2a130285ed125e7.tar.gz
ref-manual: update pypi documentation for CVE_PRODUCT default in 4.1
In 4.1 the pypi class has been updated to set a default CVE_PRODUCT value. (From yocto-docs rev: e4b25d6790c3966bad3c63818729c1baaf2b3ca9) Signed-off-by: Paul Eggleton <paul.eggleton@microsoft.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--documentation/ref-manual/classes.rst3
-rw-r--r--documentation/ref-manual/variables.rst4
2 files changed, 5 insertions, 2 deletions
diff --git a/documentation/ref-manual/classes.rst b/documentation/ref-manual/classes.rst
index f6f341e104..6462a86dad 100644
--- a/documentation/ref-manual/classes.rst
+++ b/documentation/ref-manual/classes.rst
@@ -2018,7 +2018,8 @@ some cases you may need to set it manually in the recipe by setting
2018:term:`PYPI_PACKAGE`. 2018:term:`PYPI_PACKAGE`.
2019 2019
2020Variables set by the ``pypi`` class include :term:`SRC_URI`, :term:`SECTION`, 2020Variables set by the ``pypi`` class include :term:`SRC_URI`, :term:`SECTION`,
2021:term:`HOMEPAGE`, :term:`UPSTREAM_CHECK_URI`, and :term:`UPSTREAM_CHECK_REGEX`. 2021:term:`HOMEPAGE`, :term:`UPSTREAM_CHECK_URI`, :term:`UPSTREAM_CHECK_REGEX`
2022and :term:`CVE_PRODUCT`.
2022 2023
2023.. _ref-classes-python_flit_core: 2024.. _ref-classes-python_flit_core:
2024 2025
diff --git a/documentation/ref-manual/variables.rst b/documentation/ref-manual/variables.rst
index 2685c61219..f2d6f7f9f4 100644
--- a/documentation/ref-manual/variables.rst
+++ b/documentation/ref-manual/variables.rst
@@ -1474,7 +1474,9 @@ system and gives an overview of their function and contents.
1474 In a recipe, defines the name used to match the recipe name 1474 In a recipe, defines the name used to match the recipe name
1475 against the name in the upstream `NIST CVE database <https://nvd.nist.gov/>`__. 1475 against the name in the upstream `NIST CVE database <https://nvd.nist.gov/>`__.
1476 1476
1477 The default is ${:term:`BPN`}. If it does not match the name in the NIST CVE 1477 The default is ${:term:`BPN`} (except for recipes that inherit the
1478 :ref:`pypi <ref-classes-pypi>` class where it is set based upon
1479 :term:`PYPI_PACKAGE`). If it does not match the name in the NIST CVE
1478 database or matches with multiple entries in the database, the default 1480 database or matches with multiple entries in the database, the default
1479 value needs to be changed. 1481 value needs to be changed.
1480 1482