mirror of
https://git.yoctoproject.org/meta-security
synced 2026-01-13 03:20:50 +00:00
Changes:
2.7.0 (2024-05-13)
* Changed the comparison to make accurate and standard more accurate, although fast gets less accurate as a result.
* Changed usage of deprecated pkg_resources package to importlib.metadata.
* A use_replace flag was added to the XMLFormatter by Thomas Pfitzinger. It changes text replacement from delete and insert tags to a replace tag. It’s not currently accessaible thtough the CLI, the question is it is better to add a new formatter name, or an option to pass in formatter flags.
- Added option to XMLFormatter to use replace tags
- in _make_diff_tags after diffing, neighboring delete/insert diffs are joined to a replace tag
- the deleted text is added as an attribute (“old-text”)
- the inserted text is the element’s text
Refer:
https://pypi.org/project/xmldiff/2.7.0/
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
21 lines
451 B
BlitzBasic
21 lines
451 B
BlitzBasic
DESCRIPTION="Creates diffs of XML files"
|
|
LICENSE = "MIT"
|
|
LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=0d0e9e3949e163c3edd1e097b8b0ed62"
|
|
|
|
SRC_URI[sha256sum] = "c0910b1f800366dd7ec62923e5d06e8b06a1bd9120569a1c27f4f2446b9c68a2"
|
|
|
|
PYPI_PACKAGE = "xmldiff"
|
|
|
|
inherit pypi python_setuptools_build_meta
|
|
|
|
DEPENDS += " \
|
|
python3-setuptools-scm-native \
|
|
"
|
|
|
|
RDEPENDS:${PN} += " \
|
|
python3-json \
|
|
python3-email \
|
|
python3-lxml \
|
|
python3-difflib \
|
|
"
|