On Mon, 17 Feb 2025 at 21:32, Tom Geelen <t.f.g.gee...@gmail.com> wrote:
> If I adjust > the UPSTREAM_CHECK_REGEX to: > > UPSTREAM_CHECK_REGEX = > "${PYPI_PACKAGE}-(?P<pver>(\d+[\.\-_]*)+).(tar\.gz|tgz|zip|tar\.bz2)" > > It finds a match perfectly. There is some logic in pypi.bbclass that aim to help with such tweaks. I suggest you review that class. In particular, I think only UPSTREAM_CHECK_PYPI_PACKAGE needs to be set, not the whole regex. > One last question: in the upgrade-helper.conf file. What is expected > in the 'layerdir' variable? A relative path? The documentation is a > bit lacking there. I don't remember because I don't use it. upgrade-helper.py is the ground source of truth for it, so read that :) Alex
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#64827): https://lists.yoctoproject.org/g/yocto/message/64827 Mute This Topic: https://lists.yoctoproject.org/mt/111236531/21656 Group Owner: yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-