diff options
author | Tim Orling <timothy.t.orling@linux.intel.com> | 2020-05-09 14:23:12 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-05-12 15:20:42 +0100 |
commit | e063a3924aa0f97357a1b150a8f03e5a2821afe6 (patch) | |
tree | 095b307c739794d85ce284993c75fe4d163ebd69 /meta/classes | |
parent | 158f5db602e378bbb9157f59811bfb799c362c11 (diff) | |
download | poky-e063a3924aa0f97357a1b150a8f03e5a2821afe6.tar.gz |
pypi.bbclass: use new pypi UPSTREAM_CHECK_URI
Upstream https://pypi.python.org/pypi/${PYPI_PACKAGE}/
redirects to https://pypi.org/project/${PYPI_PACKAGE}/
(From OE-Core rev: 308206a1d2dad33ba70a1461e7e101eaea0e1675)
Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes')
-rw-r--r-- | meta/classes/pypi.bbclass | 2 |
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" | |||
22 | SRC_URI += "${PYPI_SRC_URI}" | 22 | SRC_URI += "${PYPI_SRC_URI}" |
23 | S = "${WORKDIR}/${PYPI_PACKAGE}-${PV}" | 23 | S = "${WORKDIR}/${PYPI_PACKAGE}-${PV}" |
24 | 24 | ||
25 | UPSTREAM_CHECK_URI ?= "https://pypi.python.org/pypi/${PYPI_PACKAGE}/" | 25 | UPSTREAM_CHECK_URI ?= "https://pypi.org/project/${PYPI_PACKAGE}/" |
26 | UPSTREAM_CHECK_REGEX ?= "/${PYPI_PACKAGE}/(?P<pver>(\d+[\.\-_]*)+)/" | 26 | UPSTREAM_CHECK_REGEX ?= "/${PYPI_PACKAGE}/(?P<pver>(\d+[\.\-_]*)+)/" |