diff options
author | Jean-Marie LEMETAYER <jean-marie.lemetayer@savoirfairelinux.com> | 2020-01-24 18:08:04 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-01-27 16:48:10 +0000 |
commit | bd184ea6ff09f9d5b47ac1b3d1140bc34aa420f2 (patch) | |
tree | 0afd98a67f2a697cd23cfe098f6bacc81b0d3666 /bitbake/lib/bb/tests/cow.py | |
parent | bdcd68f092bcd803f08524c30c99e2a082462fd1 (diff) | |
download | poky-bd184ea6ff09f9d5b47ac1b3d1140bc34aa420f2.tar.gz |
bitbake: utils: add is_semver function
This function checks if a string is a semantic version:
https://semver.org/spec/v2.0.0.html
The npm fetcher needs this function to validate its version parameter.
(Bitbake rev: 61ac4e825fa7afbb76282030586abc9ee4ac215c)
Signed-off-by: Jean-Marie LEMETAYER <jean-marie.lemetayer@savoirfairelinux.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/tests/cow.py')
0 files changed, 0 insertions, 0 deletions