package/python-web2py: fix CPE_ID_VERSION

Remove the prepended 'v' coming from the git version to correctly match
with vulnerability such as [1].

[1] https://nvd.nist.gov/vuln/detail/CVE-2023-45158

Signed-off-by: Thomas Perale <thomas.perale@mind.be>
Signed-off-by: Julien Olivain <ju.o@free.fr>
(cherry picked from commit b7266597bc)
Signed-off-by: Thomas Perale <thomas.perale@mind.be>
This commit is contained in:
Thomas Perale
2026-07-06 12:03:01 +02:00
parent ce1c0d2609
commit d7909644fe

View File

@@ -4,7 +4,8 @@
#
################################################################################
PYTHON_WEB2PY_VERSION = v3.1.1
PYTHON_WEB2PY_VERSION_UPSTREAM = 3.1.1
PYTHON_WEB2PY_VERSION = v$(PYTHON_WEB2PY_VERSION_UPSTREAM)
PYTHON_WEB2PY_SITE = https://github.com/web2py/web2py.git
PYTHON_WEB2PY_SITE_METHOD = git
PYTHON_WEB2PY_GIT_SUBMODULES = YES
@@ -12,6 +13,7 @@ PYTHON_WEB2PY_LICENSE = LGPL-3.0
PYTHON_WEB2PY_LICENSE_FILES = LICENSE.web2py.txt
PYTHON_WEB2PY_CPE_ID_VENDOR = web2py
PYTHON_WEB2PY_CPE_ID_PRODUCT = web2py
PYTHON_WEB2PY_CPE_ID_VERSION = $(PYTHON_WEB2PY_VERSION_UPSTREAM)
PYTHON_WEB2PY_DEPENDENCIES = host-python3 python3 \
host-python-pydal host-python-yatl