From c089690f57155cc62c3b22a9af9527ec927b16e3 Mon Sep 17 00:00:00 2001 From: Derek Straka Date: Mon, 16 Dec 2024 15:55:14 +0000 Subject: python3-*: Update recipes to correctly check the upstream packages With the upstream check migrated to the simple repo API, a number of the recipes required updates to: 1. Remove outdated UPSTREAM_CHECK_REGEX checks 2. Add recipe specific UPSTREAM_CHECK_PYPI_PACKAGE definitions for packages that use '_', CamelCase, or other deviations from PEP625 in the source archive Signed-off-by: Derek Straka Signed-off-by: Khem Raj --- meta-python/recipes-devtools/python/python3-django.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'meta-python/recipes-devtools/python/python3-django.inc') diff --git a/meta-python/recipes-devtools/python/python3-django.inc b/meta-python/recipes-devtools/python/python3-django.inc index d9ab3fd21f..6ff9192cac 100644 --- a/meta-python/recipes-devtools/python/python3-django.inc +++ b/meta-python/recipes-devtools/python/python3-django.inc @@ -4,9 +4,9 @@ LICENSE = "BSD-3-Clause" LIC_FILES_CHKSUM = "file://LICENSE;md5=f09eb47206614a4954c51db8a94840fa" PYPI_PACKAGE = "Django" -inherit pypi +UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" -UPSTREAM_CHECK_REGEX = "(?P\d+(\.\d+)+)/" +inherit pypi FILES:${PN} += "${datadir}/django" -- cgit v1.2.3-54-g00ecf