summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTim Orling <timothy.t.orling@linux.intel.com>2020-05-09 14:23:12 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-05-12 15:19:56 +0100
commit308206a1d2dad33ba70a1461e7e101eaea0e1675 (patch)
treeeed73b73f96831b907f74095167c76f2addaa8ca
parent21e3b2226597fce9ae9328cf4bdbb4cdba3aa711 (diff)
downloadopenembedded-core-contrib-308206a1d2dad33ba70a1461e7e101eaea0e1675.tar.gz
openembedded-core-contrib-308206a1d2dad33ba70a1461e7e101eaea0e1675.tar.bz2
openembedded-core-contrib-308206a1d2dad33ba70a1461e7e101eaea0e1675.zip
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 <timothy.t.orling@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/classes/pypi.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/pypi.bbclass b/meta/classes/pypi.bbclass
index ffa8aa3ff4..87b4c85fc0 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<pver>(\d+[\.\-_]*)+)/"