]> code.ossystems Code Review - openembedded-core.git/commitdiff
pypi.bbclass: use new pypi UPSTREAM_CHECK_URI
authorTim Orling <timothy.t.orling@linux.intel.com>
Sat, 8 Aug 2020 14:51:50 +0000 (07:51 -0700)
committerAnuj Mittal <anuj.mittal@intel.com>
Mon, 10 Aug 2020 00:51:23 +0000 (08:51 +0800)
Upstream https://pypi.python.org/pypi/${PYPI_PACKAGE}/
redirects to https://pypi.org/project/${PYPI_PACKAGE}/

Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
(cherry picked from commit e5f3f961242d888f3f786af8f793bf1d247fdff0)
[Yocto # 13990]
Signed-off-by: Armin Kuster <akuster808@gmail.com>
meta/classes/pypi.bbclass

index ffa8aa3ff44cfdeb99e286e067b82fd8a12d7a6b..87b4c85fc09b4f589fc2359a9f247a9a3aaaf648 100644 (file)
@@ -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<pver>(\d+[\.\-_]*)+)/"