poky/scripts/lib/checklayer
Adrian Freihofer 605ef6f5a2 scripts: python 3.12 regex
All the regexes throw a warning like this:

WARNING: scripts/lib/recipetool/create_buildsys.py:140:
      SyntaxWarning: invalid escape sequence '\s'
      proj_re = re.compile('project\s*\(([^)]*)\)', re.IGNORECASE)

Python 3 interprets string literals as Unicode strings, and therefore
\s is treated as an escaped Unicode character which is not correct.
Declaring the RegEx pattern as a raw string instead of unicode is
required for Python 3.

(From OE-Core rev: 24b0ba00d4f0b4d9834f7693ecb6032dfc534a80)

Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-02-13 13:51:41 +00:00
..
cases checklayer: check for patch file upstream status 2023-02-24 17:05:24 +00:00
__init__.py scripts: python 3.12 regex 2024-02-13 13:51:41 +00:00
case.py meta/lib+scripts: Convert to SPDX license headers 2019-05-09 16:31:55 +01:00
context.py meta/lib+scripts: Convert to SPDX license headers 2019-05-09 16:31:55 +01:00