mirror of
git://git.yoctoproject.org/poky.git
synced 2025-07-19 21:09:03 +02:00

Copy the core components of the patchtest-oe repo into meta/lib/patchtest in oe-core. (From OE-Core rev: 257f64f4e4414b78981104aec132b067beb5a92a) Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
15 lines
446 B
Python
15 lines
446 B
Python
# subject pyparsing definition
|
|
#
|
|
# Copyright (C) 2016 Intel Corporation
|
|
#
|
|
# SPDX-License-Identifier: GPL-2.0
|
|
|
|
# NOTE:This is an oversimplified syntax of the mbox's summary
|
|
|
|
import pyparsing
|
|
import common
|
|
|
|
target = pyparsing.OneOrMore(pyparsing.Word(pyparsing.printables.replace(':','')))
|
|
summary = pyparsing.OneOrMore(pyparsing.Word(pyparsing.printables))
|
|
shortlog = common.start + target + common.colon + summary + common.end
|