Note that this is applied after Konrad’s UPSTREAM_CHECK_REGEX patch https://patchwork.openembedded.org/patch/172442/ <https://patchwork.openembedded.org/patch/172442/>
> On May 9, 2020, at 2:23 PM, Tim Orling <[email protected]> > wrote: > > Upstream https://pypi.python.org/pypi/${PYPI_PACKAGE}/ > redirects to https://pypi.org/project/${PYPI_PACKAGE}/ > > Signed-off-by: Tim Orling <[email protected]> > --- > meta/classes/pypi.bbclass | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > 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<pver>(\d+[\.\-_]*)+)/" > -- > 2.24.0 > >
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#138088): https://lists.openembedded.org/g/openembedded-core/message/138088 Mute This Topic: https://lists.openembedded.org/mt/74104439/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
