From: Tim Orling Date: Sat, 9 May 2020 21:23:12 +0000 (-0700) Subject: pypi.bbclass: use new pypi UPSTREAM_CHECK_URI X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~11154 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=308206a1d2dad33ba70a1461e7e101eaea0e1675;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 --- 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+[\.\-_]*)+)/"