From f4d633a7c28d2cee849bd8c6a2a130285ed125e7 Mon Sep 17 00:00:00 2001 From: Paul Eggleton Date: Fri, 7 Oct 2022 10:54:51 +1300 Subject: 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 Signed-off-by: Richard Purdie --- documentation/ref-manual/classes.rst | 3 ++- documentation/ref-manual/variables.rst | 4 +++- 2 files changed, 5 insertions(+), 2 deletions(-) (limited to 'documentation') 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 :term:`PYPI_PACKAGE`. Variables set by the ``pypi`` class include :term:`SRC_URI`, :term:`SECTION`, -:term:`HOMEPAGE`, :term:`UPSTREAM_CHECK_URI`, and :term:`UPSTREAM_CHECK_REGEX`. +:term:`HOMEPAGE`, :term:`UPSTREAM_CHECK_URI`, :term:`UPSTREAM_CHECK_REGEX` +and :term:`CVE_PRODUCT`. .. _ref-classes-python_flit_core: 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. In a recipe, defines the name used to match the recipe name against the name in the upstream `NIST CVE database `__. - The default is ${:term:`BPN`}. If it does not match the name in the NIST CVE + The default is ${:term:`BPN`} (except for recipes that inherit the + :ref:`pypi ` class where it is set based upon + :term:`PYPI_PACKAGE`). If it does not match the name in the NIST CVE database or matches with multiple entries in the database, the default value needs to be changed. -- cgit v1.2.3-54-g00ecf