Files
poky/meta/recipes-support/diffoscope/diffoscope_265.bb
Wang Mingyu 929f60bdcc diffoscope: upgrade 260 -> 265
Changelog:
==========
* Ensure that tests with ">=" version constraints actually print the
  corresponding tool name.
* Prevent odt2txt tests from always being skipped due to an impossibly new
  version requirement.
* Avoid nested parens-in-parens when printing "skipping" messages
  in the testsuite.
* Don't crash on invalid zipfiles, even if we encounter 'badness'
  halfway through the file.
* Fix a crash when there are (invalid) duplicate entries in .zip files.
* Add note when there are duplicate entries in ZIP files.
* Add an external tool reference for GNU Guix for zipdetails.
* Add support for the zipdetails(1) tool included in the Perl distribution.
* Don't use parenthesis within test "skipping" messages; PyTest adds its own
  parenthesis, so we were ending up with double nested parens.
* Fix the .epub tests after supporting zipdetails(1).
* Update copyright years and debian/tests/control.
* Fix MozillaZipContainer's monkeypatch after Python's zipfile module changed
  to detect potentially insecure overlapping entries within .zip files.
* Factor out Python version checking in test_zip.py.
* Also skip some zip tests under 3.10.14 as well; a potential regression may
  have been backported to the 3.10.x series. The underlying cause is still to
  be investigated.
* Don't crash if we encounter an .rdb file without an equivalent .rdx file.
* In addition, don't identify Redis database dumps (etc.) as GNU R database
  files based simply on their filename.

(From OE-Core rev: f22945ba9b4835e52809bedc4e3be73a91aafe07)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-04-25 10:06:02 +01:00

44 lines
1.4 KiB
BlitzBasic

SUMMARY = "in-depth comparison of files, archives, and directories"
DESCRIPTION = "Tries to get to the bottom of what makes files or directories \
different. It will recursively unpack archives of many kinds and transform \
various binary formats into more human-readable form to compare them. \
It can compare two tarballs, ISO images, or PDF just as easily."
HOMEPAGE = "https://diffoscope.org/"
BUGTRACKER = "https://salsa.debian.org/reproducible-builds/diffoscope/-/issues"
LICENSE = "GPL-3.0-or-later"
LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
PYPI_PACKAGE = "diffoscope"
inherit pypi setuptools3
SRC_URI[sha256sum] = "7bdcbd7fc5bc4c821bf6ab5ffbbeb265103b04e6908ea4bb12144d7e5ca002ff"
RDEPENDS:${PN} += "\
binutils \
python3-curses \
python3-difflib \
python3-fcntl \
python3-json \
python3-libarchive-c \
python3-magic \
python3-multiprocessing \
python3-pprint \
python3-rpm \
squashfs-tools \
vim \
"
# Dependencies don't build for musl
COMPATIBLE_HOST:libc-musl = 'null'
do_install:append:class-native() {
create_wrapper ${D}${bindir}/diffoscope \
MAGIC=${STAGING_DIR_NATIVE}${datadir_native}/misc/magic.mgc \
RPM_CONFIGDIR=${STAGING_LIBDIR_NATIVE}/rpm \
LD_LIBRARY_PATH=${STAGING_LIBDIR_NATIVE} \
RPM_ETCCONFIGDIR=${STAGING_DIR_NATIVE}
}
BBCLASSEXTEND = "native"