Skip to contentSkip to conversation

pypi.bbclass: use new pypi UPSTREAM_CHECK_URI

PATCH Tim Orling 1 participant 1 message May 9, 2020 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

Tim Orling

author
#1 lore raw

Note that this is applied after Konrad’s UPSTREAM_CHECK_REGEX patch
https://patchwork.openembedded.org/patch/172442/ <https://patchwork.openembedded.org/patch/172442/>

Quoted 25 lines · Tim Orling

Upstream https://pypi.python.org/pypi/${PYPI_PACKAGE}/
redirects to https://pypi.org/project/${PYPI_PACKAGE}/

---
meta/classes/pypi.bbclass | 2 +-

1 file changed, 1 insertion(+), 1 deletion(-)
meta/classes/pypi.bbclass +0 -0
index ffa8aa3ff44..87b4c85fc09 100644
@@ -22,5 +22,5 @@ SECTION = "devel/python"

SRC_URI += "${PYPI_SRC_URI}"
S = "${WORKDIR}/${PYPI_PACKAGE}-${PV}"

meta/classes/pypi.bbclass +1 -1
-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+[\.\-_]*)+)/"

Signature · 1 line
2.24.0