]> code.ossystems Code Review - openembedded-core.git/commit
pypi.bbclass: mind package suffix on version check
authorKonrad Weihmann <kweihmann@outlook.com>
Sat, 8 Aug 2020 14:51:49 +0000 (07:51 -0700)
committerAnuj Mittal <anuj.mittal@intel.com>
Mon, 10 Aug 2020 00:51:23 +0000 (08:51 +0800)
commit13b145b9551884534f1dd2446eccfc55abc25f38
treedd657e216444777f3c413693f13642c77f54f228
parent74e22d0d2b61d0014f408972725469bb7a024622
pypi.bbclass: mind package suffix on version check

Some pypi packages do have suffixes like dev, or a0 or b1.
When doing a version check on these, the version will get falsely
identified as major release versions.
Add a terminating slash to rule out those false positives

Signed-off-by: Konrad Weihmann <kweihmann@outlook.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
(cherry picked from commit 0603f6d9f2abfa67b99b1bc39228f6aa16a0370d)
[Yocto bug #13990]
Signed-off-by: Armin Kuster <akuster808@gmail.com>
meta/classes/pypi.bbclass