From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/diffoscope/
Date: Sun, 11 May 2025 02:01:44 +0000 (UTC) [thread overview]
Message-ID: <1746928857.6d1ac9a2add3de92b2cbe9a53b25219b9c9b125c.sam@gentoo> (raw)
commit: 6d1ac9a2add3de92b2cbe9a53b25219b9c9b125c
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun May 11 02:00:57 2025 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun May 11 02:00:57 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6d1ac9a2
dev-util/diffoscope: add 295
Bug: https://bugs.gentoo.org/955814
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-util/diffoscope/Manifest | 1 +
dev-util/diffoscope/diffoscope-295.ebuild | 143 ++++++++++++++++++++++++++++++
2 files changed, 144 insertions(+)
diff --git a/dev-util/diffoscope/Manifest b/dev-util/diffoscope/Manifest
index 70cd7a56ef80..2a9fb9a6cce3 100644
--- a/dev-util/diffoscope/Manifest
+++ b/dev-util/diffoscope/Manifest
@@ -1,3 +1,4 @@
DIST diffoscope-289.tar.bz2 3157044 BLAKE2B bd7c705098857251883a4506d483e23c24c845ecc624e7487afc111e01a8aee710862abf0ea1638c9c2455812d4cf6a2f491e63bfa6389d4dc9ff053a30de30b SHA512 e47538aed4136ef0891d569a0723c45d294757592762f20281fe6061aa52a4f926f49e7e491cb0a746f6f60bc14834762d1de968879db49b8a9a3b0e01a1ffc6
DIST diffoscope-293.tar.bz2 3157506 BLAKE2B eb52326fafb8a1c8642170828f4cee10ad055c4dc586a28648806c748e2368d3fffc7a5be088be0c4792b8daf81199f4aefbf0e573cc6bc1a16068c70a697f81 SHA512 39e0d8895207d6cb108cb2483508bfded7fa55aa15dfff6bf5d293e149a9359cdf5159d3657f0f584da98889375f65ae26b0a87d6f62938cfcbd438d29d83b30
DIST diffoscope-294.tar.bz2 3156736 BLAKE2B bbf02bcc9741c8f481123cd844c0762609fcdcc415a0610af239a61dea6950dbf4de7e4ac9229c973f97c433c1e42c9bcf16d7e3626c76d9baa55386fd3c353d SHA512 6333edd3143760302156da80672bdabdf2f9f3d4fe9e5d7f5d7d070c34069ed00b0aec44aa6e9104f1880b647219778be410fdb7e34a3a90fdb823f21d6d2ad1
+DIST diffoscope-295.tar.bz2 3156923 BLAKE2B 7b23518fe41889644854c82e1fe5ae40e23a59bf8231f4030db0ce8a5ecf1c29078b710711150aeecef783def366a3a35ef96ffe2d91b05e7ffe1bf1b43e9f01 SHA512 4b93c17bb98f764ca44b1662b10883b4cfc4559e0acfa676d9ef341f3e9482a87ad2b0f2aa74fccd6a35461d6bebb37457fec335af980ee8cb55a426a282a33b
diff --git a/dev-util/diffoscope/diffoscope-295.ebuild b/dev-util/diffoscope/diffoscope-295.ebuild
new file mode 100644
index 000000000000..aa51ba3236f0
--- /dev/null
+++ b/dev-util/diffoscope/diffoscope-295.ebuild
@@ -0,0 +1,143 @@
+# Copyright 2022-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{10..13} )
+PYTHON_REQ_USE="ncurses"
+inherit distutils-r1 toolchain-funcs
+
+DESCRIPTION="Will try to get to the bottom of what makes files or directories different"
+HOMEPAGE="https://diffoscope.org/ https://pypi.org/project/diffoscope/"
+# We could use pypi, but upstream provide distribution tarballs, so let's use those.
+# TODO: verify-sig
+SRC_URI="https://diffoscope.org/archive/${P}.tar.bz2"
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
+IUSE="acl binutils bzip2 libcaca colord cpio +diff docx dtc e2fsprogs file
+find gettext gif gpg haskell hdf5 hex imagemagick iso java llvm lzma
+mono opendocument pascal pdf postscript R rpm sqlite squashfs
+ssh tar test tcpdump zip zlib zstd"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+ || (
+ dev-python/python-magic[${PYTHON_USEDEP}]
+ sys-apps/file[python,${PYTHON_USEDEP}]
+ )
+ dev-python/libarchive-c[${PYTHON_USEDEP}]
+ dev-python/distro[${PYTHON_USEDEP}]
+ dev-python/python-tlsh[${PYTHON_USEDEP}]
+ acl? ( sys-apps/acl )
+ binutils? ( sys-devel/binutils )
+ bzip2? ( app-arch/bzip2 )
+ libcaca? ( media-libs/libcaca )
+ colord? ( x11-misc/colord )
+ cpio? ( app-alternatives/cpio )
+ diff? ( sys-apps/diffutils )
+ docx? ( app-text/docx2txt )
+ dtc? ( sys-apps/dtc )
+ e2fsprogs? ( sys-fs/e2fsprogs )
+ file? ( sys-apps/file )
+ find? ( sys-apps/findutils )
+ gettext? ( sys-devel/gettext )
+ gif? ( media-libs/giflib )
+ gpg? ( app-crypt/gnupg )
+ haskell? ( dev-lang/ghc )
+ hdf5? ( sci-libs/hdf5 )
+ hex? ( app-editors/vim-core )
+ imagemagick? ( media-gfx/imagemagick )
+ iso? ( app-cdr/cdrtools )
+ java? ( virtual/jdk )
+ llvm? ( llvm-core/llvm )
+ lzma? ( app-arch/xz-utils )
+ mono? ( dev-lang/mono )
+ opendocument? ( app-text/odt2txt )
+ pascal? ( dev-lang/fpc )
+ pdf? (
+ app-text/pdftk
+ app-text/poppler
+ dev-python/pypdf[${PYTHON_USEDEP}]
+ )
+ postscript? ( app-text/ghostscript-gpl )
+ R? ( dev-lang/R )
+ rpm? ( app-arch/rpm )
+ sqlite? ( dev-db/sqlite:3 )
+ squashfs? ( sys-fs/squashfs-tools )
+ ssh? ( virtual/openssh )
+ tar? ( app-arch/tar )
+ tcpdump? ( net-analyzer/tcpdump )
+ zip? ( app-arch/unzip )
+ zlib? ( app-arch/gzip )
+ zstd? ( app-arch/zstd )
+"
+
+# pull in optional tools for tests:
+# img2txt: bug #797688
+# docx2txt: bug #797688
+BDEPEND="
+ test? (
+ || (
+ >=app-arch/7zip-24.09[symlink(+)]
+ app-arch/p7zip
+ )
+ app-text/docx2txt
+ app-text/html2text
+ media-libs/libcaca
+ virtual/imagemagick-tools[jpeg]
+ )
+"
+
+EPYTEST_DESELECT=(
+ # Test seems to use different tarball
+ tests/test_presenters.py::test_text_proper_indentation
+
+ # Needs triage
+ tests/comparators/test_binary.py::test_with_compare_details_and_tool_not_found
+ tests/comparators/test_rlib.py::test_item3_deflate_llvm_bitcode
+ tests/comparators/test_gif.py::test_has_visuals
+
+ # img2txt based failures, bug #797688
+ tests/comparators/test_ico_image.py::test_diff
+ tests/comparators/test_ico_image.py::test_diff_meta
+ tests/comparators/test_ico_image.py::test_diff_meta2
+ tests/comparators/test_ico_image.py::test_has_visuals
+ tests/comparators/test_jpeg_image.py::test_diff
+ tests/comparators/test_jpeg_image.py::test_compare_non_existing
+ tests/comparators/test_jpeg_image.py::test_diff_meta
+ tests/comparators/test_jpeg_image.py::test_has_visuals
+
+ # docx2txt based falures, bug #797688
+ tests/comparators/test_docx.py::test_diff
+
+ # Formatting
+ tests/test_source.py::test_code_is_black_clean
+
+ # Fails on ZFS
+ tests/test_main.py::test_non_unicode_filename
+
+ # Fails on (unreleased) LLVM 16 with minor difference
+ #tests/comparators/test_macho.py::test_llvm_diff
+ #tests/comparators/test_elf.py::test_libmix_differences
+)
+
+distutils_enable_tests pytest
+
+src_test() {
+ case $(tc-get-ptr-size) in
+ 4)
+ EPYTEST_IGNORE+=(
+ # Needs fixing in Perl itself (bug #934443)
+ tests/comparators/test_epub.py
+ tests/comparators/test_zip.py
+ )
+ ;;
+ *)
+ ;;
+ esac
+
+ distutils-r1_src_test
+}
next reply other threads:[~2025-05-11 2:01 UTC|newest]
Thread overview: 280+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-05-11 2:01 Sam James [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-05-01 14:25 [gentoo-commits] repo/gentoo:master commit in: dev-util/diffoscope/ Sam James
2025-05-01 7:37 Sam James
2025-05-01 7:09 Sam James
2025-04-14 23:06 Sam James
2025-04-14 23:06 Sam James
2025-04-07 8:49 Sam James
2025-03-31 21:51 Sam James
2025-03-14 5:17 Sam James
2025-03-13 4:04 Sam James
2025-03-07 1:53 Sam James
2025-02-09 4:32 Sam James
2025-01-25 17:46 Sam James
2025-01-22 7:10 Sam James
2025-01-20 4:32 Sam James
2025-01-12 14:10 Sam James
2025-01-03 2:42 Sam James
2024-12-07 2:33 Sam James
2024-12-07 1:30 Sam James
2024-11-23 21:54 Sam James
2024-11-23 21:54 Sam James
2024-11-14 4:59 Jakov Smolić
2024-10-29 2:45 Sam James
2024-10-24 5:40 Arthur Zamarin
2024-10-11 2:27 Sam James
2024-10-08 18:38 Sam James
2024-10-08 18:38 Sam James
2024-09-02 6:16 Sam James
2024-08-29 6:34 Jakov Smolić
2024-08-27 1:35 Sam James
2024-07-08 9:36 Sam James
2024-06-17 6:09 Sam James
2024-06-08 7:12 Sam James
2024-06-01 2:38 Sam James
2024-06-01 2:04 Sam James
2024-05-11 20:59 Sam James
2024-05-11 20:59 Sam James
2024-04-19 12:24 Sam James
2024-04-17 22:01 Sam James
2024-04-15 6:27 Sam James
2024-04-15 6:27 Sam James
2024-04-08 16:34 Sam James
2024-04-04 2:26 Sam James
2024-03-23 20:56 Sam James
2024-03-23 20:56 Sam James
2024-03-10 1:59 Sam James
2024-03-01 23:21 Sam James
2024-02-29 4:06 Sam James
2024-02-29 4:06 Sam James
2024-02-29 4:06 Sam James
2024-02-18 9:22 Sam James
2024-02-02 1:18 Sam James
2023-12-25 19:30 Arthur Zamarin
2023-12-14 8:32 Sam James
2023-11-24 21:53 Sam James
2023-10-13 15:11 Sam James
2023-10-13 15:11 Sam James
2023-09-09 7:01 Sam James
2023-09-02 10:56 Sam James
2023-08-06 11:28 Sam James
2023-08-06 11:28 Sam James
2023-08-05 1:29 Sam James
2023-08-01 7:28 Sam James
2023-07-23 23:55 Sam James
2023-07-20 2:26 Sam James
2023-07-20 2:26 Sam James
2023-07-13 10:08 Sam James
2023-07-13 10:00 Sam James
2023-07-13 10:00 Sam James
2023-07-10 19:31 Arthur Zamarin
2023-06-24 6:43 Sam James
2023-06-24 5:02 Sam James
2023-06-24 5:02 Sam James
2023-05-06 8:28 Sam James
2023-04-25 1:57 Sam James
2023-03-31 21:28 Sam James
2023-03-31 21:28 Sam James
2023-03-19 6:07 Sam James
2023-03-07 15:45 Sam James
2023-03-04 11:17 Arthur Zamarin
2023-03-04 7:39 Sam James
2023-03-04 7:18 Sam James
2023-02-22 11:17 Sam James
2023-02-12 6:22 Sam James
2023-02-12 6:22 Sam James
2023-02-12 6:22 Sam James
2023-02-03 12:20 Sam James
2023-02-03 12:20 Sam James
2023-01-21 4:54 Sam James
2023-01-14 23:22 Sam James
2023-01-06 12:11 Sam James
2023-01-01 2:45 Sam James
2023-01-01 2:45 Sam James
2022-12-31 12:10 Arthur Zamarin
2022-12-26 12:22 Sam James
2022-12-26 12:22 Sam James
2022-12-23 8:21 Sam James
2022-12-23 8:03 Sam James
2022-12-10 4:35 Sam James
2022-12-03 17:44 Arthur Zamarin
2022-12-03 17:35 Arthur Zamarin
2022-12-03 11:58 Sam James
2022-12-02 3:43 Sam James
2022-12-02 3:43 Sam James
2022-11-18 5:41 Sam James
2022-11-18 5:41 Sam James
2022-11-10 7:48 Sam James
2022-10-08 12:54 Sam James
2022-10-08 12:54 Sam James
2022-10-02 6:21 Agostino Sarubbo
2022-10-02 6:17 Agostino Sarubbo
2022-10-02 2:45 Sam James
2022-10-02 2:43 Sam James
2022-09-25 4:32 Sam James
2022-08-30 22:22 Sam James
2022-08-30 22:22 Sam James
2022-08-26 8:35 Sam James
2022-08-03 22:55 Sam James
2022-07-27 4:16 Sam James
2022-07-27 4:16 Sam James
2022-07-26 4:26 Sam James
2022-07-14 4:36 Sam James
2022-07-02 21:50 Sam James
2022-07-02 21:50 Sam James
2022-06-24 9:11 Arthur Zamarin
2022-06-14 5:58 Jakov Smolić
2022-06-12 8:32 Agostino Sarubbo
2022-06-10 10:15 Agostino Sarubbo
2022-06-10 7:51 Sam James
2022-06-10 7:51 Sam James
2022-06-08 7:44 Jakov Smolić
2022-06-07 20:52 Sam James
2022-05-28 5:59 Sam James
2022-05-14 1:38 Sam James
2022-05-03 2:28 Sam James
2022-04-22 0:20 Sam James
2022-04-14 19:36 Jakov Smolić
2022-04-01 3:53 Sam James
2022-03-26 21:21 Sam James
2022-03-14 12:26 Sam James
2022-03-09 15:34 Sam James
2022-02-26 18:52 Sam James
2022-02-26 9:17 Agostino Sarubbo
2022-02-25 19:31 Sam James
2022-02-20 23:33 Sam James
2022-02-20 5:51 Sam James
2022-02-13 3:39 Sam James
2022-02-10 10:28 Sam James
2022-02-10 7:50 Sam James
2022-01-29 10:04 Jakov Smolić
2022-01-29 10:04 Jakov Smolić
2022-01-29 6:15 Sam James
2022-01-26 4:33 Sam James
2022-01-14 16:25 Sam James
2022-01-14 16:25 Sam James
2022-01-08 6:11 Sam James
2022-01-02 0:04 Sam James
2022-01-02 0:04 Sam James
2022-01-01 4:29 Sam James
2022-01-01 4:29 Sam James
2021-12-18 8:08 Sam James
2021-12-11 6:04 Sam James
2021-12-07 7:47 Sam James
2021-11-29 1:03 Sam James
2021-11-29 1:03 Sam James
2021-11-20 8:38 Sam James
2021-11-14 6:26 Sam James
2021-11-14 6:26 Sam James
2021-11-12 20:43 Jakov Smolić
2021-11-11 8:36 Jakov Smolić
2021-11-06 3:07 Sam James
2021-10-29 19:10 Sam James
2021-10-24 1:58 Sam James
2021-10-10 15:38 Agostino Sarubbo
2021-10-10 15:33 Agostino Sarubbo
2021-10-09 6:29 Sam James
2021-10-09 6:29 Sam James
2021-10-04 1:26 Sam James
2021-10-02 5:23 Sam James
2021-09-21 20:44 Sam James
2021-09-18 3:01 Sam James
2021-09-18 3:01 Sam James
2021-09-18 2:30 Sam James
2021-09-13 6:57 Agostino Sarubbo
2021-09-11 5:44 Sam James
2021-08-27 23:20 Sam James
2021-08-22 3:29 Sam James
2021-08-11 1:01 Sam James
2021-08-11 1:01 Sam James
2021-08-06 20:59 Sam James
2021-07-31 4:06 Sam James
2021-07-25 3:23 Sam James
2021-07-25 1:10 Sam James
2021-07-18 6:35 Agostino Sarubbo
2021-07-18 6:33 Agostino Sarubbo
2021-07-17 4:16 Sam James
2021-07-02 7:22 Sam James
2021-07-02 7:17 Sergei Trofimovich
2021-06-23 7:56 Sergei Trofimovich
2021-06-23 7:50 Sergei Trofimovich
2021-06-23 6:55 Sergei Trofimovich
2021-06-12 15:10 Sergei Trofimovich
2021-06-12 14:38 Sergei Trofimovich
2021-06-12 10:07 Sergei Trofimovich
2021-06-05 10:50 Sergei Trofimovich
2021-06-05 10:50 Sergei Trofimovich
2021-05-29 17:54 Sergei Trofimovich
2021-05-29 17:54 Sergei Trofimovich
2021-05-16 13:34 Sergei Trofimovich
2021-05-09 11:53 Sergei Trofimovich
2021-05-08 18:01 Sergei Trofimovich
2021-04-02 9:54 Sergei Trofimovich
2021-03-25 20:31 Sergei Trofimovich
2021-03-23 8:54 Sergei Trofimovich
2021-03-13 14:48 Sergei Trofimovich
2021-03-06 10:13 Sergei Trofimovich
2021-02-27 21:26 Sergei Trofimovich
2021-02-26 10:25 Sergei Trofimovich
2021-02-21 12:56 Sergei Trofimovich
2021-02-18 20:11 Sergei Trofimovich
2021-02-06 18:27 Sergei Trofimovich
2021-01-31 19:00 Sergei Trofimovich
2021-01-28 8:09 Sergei Trofimovich
2021-01-23 11:28 Sergei Trofimovich
2021-01-15 8:20 Sergei Trofimovich
2021-01-15 8:20 Sergei Trofimovich
2021-01-09 11:43 Sergei Trofimovich
2020-12-18 9:54 Sergei Trofimovich
2020-12-18 9:00 Michał Górny
2020-12-12 22:09 Sergei Trofimovich
2020-11-28 11:53 Sergei Trofimovich
2020-11-27 20:03 Sergei Trofimovich
2020-11-02 10:21 Sergei Trofimovich
2020-10-26 23:31 Sergei Trofimovich
2020-08-10 22:01 Sergei Trofimovich
2020-08-10 22:01 Sergei Trofimovich
2020-08-07 22:19 Sergei Trofimovich
2020-08-01 15:35 Sergei Trofimovich
2020-07-31 22:45 Sergei Trofimovich
2020-07-25 9:18 Sergei Trofimovich
2020-07-24 20:28 Sergei Trofimovich
2020-07-19 8:17 Sergei Trofimovich
2020-07-19 8:17 Sergei Trofimovich
2020-07-11 12:58 Sergei Trofimovich
2020-07-10 20:55 Sergei Trofimovich
2020-07-05 10:56 Sergei Trofimovich
2020-07-03 16:54 Sergei Trofimovich
2020-06-28 22:43 Sergei Trofimovich
2020-06-26 21:29 Sergei Trofimovich
2020-06-20 19:49 Sergei Trofimovich
2020-06-19 20:52 Sergei Trofimovich
2020-06-11 21:15 Sergei Trofimovich
2020-06-11 21:15 Sergei Trofimovich
2020-05-30 20:30 Sergei Trofimovich
2020-05-29 22:13 Sergei Trofimovich
2020-05-24 11:17 Sergei Trofimovich
2020-05-15 22:07 Sergei Trofimovich
2020-05-02 17:51 Sergei Trofimovich
2020-04-27 21:01 Sergei Trofimovich
2020-04-22 21:43 Sergei Trofimovich
2020-04-22 21:43 Sergei Trofimovich
2020-04-17 17:50 Sergei Trofimovich
2020-04-17 17:50 Sergei Trofimovich
2020-04-15 23:21 Sergei Trofimovich
2020-04-15 23:21 Sergei Trofimovich
2020-04-12 16:01 Sergei Trofimovich
2020-04-04 19:55 Sergei Trofimovich
2020-03-31 20:37 Sergei Trofimovich
2020-03-31 20:32 Sergei Trofimovich
2020-02-29 7:39 Sergei Trofimovich
2020-02-29 7:39 Sergei Trofimovich
2020-02-29 6:01 Andrey Grozin
2019-11-09 11:57 Sergei Trofimovich
2019-11-01 8:34 Sergei Trofimovich
2017-12-16 6:02 Andrey Grozin
2017-12-16 6:00 Andrey Grozin
2017-10-25 8:43 Andrey Grozin
2017-10-24 11:42 Andrey Grozin
2017-03-09 14:51 Andrey Grozin
2017-03-02 18:08 Andrey Grozin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1746928857.6d1ac9a2add3de92b2cbe9a53b25219b9c9b125c.sam@gentoo \
--to=sam@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox