From: Tim Orling Date: Sat, 8 Aug 2020 14:51:50 +0000 (-0700) Subject: pypi.bbclass: use new pypi UPSTREAM_CHECK_URI X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b535360f0bd2fb6a057b678f35da1803a31eeba6;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git pypi.bbclass: use new pypi UPSTREAM_CHECK_URI Upstream https://pypi.python.org/pypi/${PYPI_PACKAGE}/ redirects to https://pypi.org/project/${PYPI_PACKAGE}/ Signed-off-by: Tim Orling Signed-off-by: Richard Purdie Signed-off-by: Steve Sakoman (cherry picked from commit e5f3f961242d888f3f786af8f793bf1d247fdff0) [Yocto # 13990] Signed-off-by: Armin Kuster --- diff --git a/meta/classes/pypi.bbclass b/meta/classes/pypi.bbclass index ffa8aa3ff44..87b4c85fc09 100644 --- a/meta/classes/pypi.bbclass +++ b/meta/classes/pypi.bbclass @@ -22,5 +22,5 @@ SECTION = "devel/python" SRC_URI += "${PYPI_SRC_URI}" S = "${WORKDIR}/${PYPI_PACKAGE}-${PV}" -UPSTREAM_CHECK_URI ?= "https://pypi.python.org/pypi/${PYPI_PACKAGE}/" +UPSTREAM_CHECK_URI ?= "https://pypi.org/project/${PYPI_PACKAGE}/" UPSTREAM_CHECK_REGEX ?= "/${PYPI_PACKAGE}/(?P(\d+[\.\-_]*)+)/"