]> code.ossystems Code Review - openembedded-core.git/commit
pypi.bbclass: mind package suffix on version check
authorKonrad Weihmann <kweihmann@outlook.com>
Sat, 9 May 2020 20:32:44 +0000 (22:32 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 12 May 2020 14:19:56 +0000 (15:19 +0100)
commit21e3b2226597fce9ae9328cf4bdbb4cdba3aa711
tree4218c2596c45ae3b0fe0d8233c720e08da4507b1
parent8cf74d626d562aa83acf0b05597b85392e4943c5
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>
meta/classes/pypi.bbclass