public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/diffoscope/
Date: Fri, 07 Mar 2025 01:53:46 +0000 (UTC)	[thread overview]
Message-ID: <1741312381.1e9ef60c8054fef1f0cf0a24567737a78623dd82.sam@gentoo> (raw)

commit:     1e9ef60c8054fef1f0cf0a24567737a78623dd82
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Mar  7 01:53:01 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Mar  7 01:53:01 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1e9ef60c

dev-util/diffoscope: add 289

Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-util/diffoscope/Manifest              |   1 +
 dev-util/diffoscope/diffoscope-289.ebuild | 140 ++++++++++++++++++++++++++++++
 2 files changed, 141 insertions(+)

diff --git a/dev-util/diffoscope/Manifest b/dev-util/diffoscope/Manifest
index b64c2a8a3d49..75fb59717ffe 100644
--- a/dev-util/diffoscope/Manifest
+++ b/dev-util/diffoscope/Manifest
@@ -2,3 +2,4 @@ DIST diffoscope-284.tar.bz2 3149578 BLAKE2B 4969e394a32d076101d59c0ca730d4e3515e
 DIST diffoscope-285.tar.bz2 3151919 BLAKE2B ad7c20368f8d3747b8b092d8761d6596809e39ee6ba09115e15f3b6c32da7e3cc590eed5628fb07cfc1fcf2f3b56ee7a4c3fd920c413e7f9e7a0522dfc6c721c SHA512 4b2eb41ddfee687408377185fb0ff5e88d6956c09a4dfceceb7c136596a3b00192be949c141f16f47e90f58da2f9ee1f51cd020f688e1bd6048462f357f14a03
 DIST diffoscope-286.tar.bz2 3155046 BLAKE2B 20676f44d6722962aed53351c006a538d2ac1d20bb2f38edc6f4bbf0e09d28de80d72045db3f9c1ed95c3b3156f40f995962a8510e8c01e0c21900df9a335489 SHA512 42d47801f0dc6cf66f3261639040dd82c5fde73656ab1a33dad325383e4bc6351d03c7509661172c946f554136ea23bf9b6787ba736138461690e507097dc133
 DIST diffoscope-288.tar.bz2 3157674 BLAKE2B 546cf9cca9ca1f81470cfa347517054cc00a5195eb90b3aa72b6fdfde23e1385d4264f6c2c3b3c462a8ef4547fc136c6c758e240423deecb0689721057786bac SHA512 c93849f6bfa7173981b783e68114dfda44938629d5152ce67751b341ce3153c9dbc188dbf95c6d3bc69bfc3d303ab081db70ac37c5e30def3b364351ffd9d88b
+DIST diffoscope-289.tar.bz2 3157044 BLAKE2B bd7c705098857251883a4506d483e23c24c845ecc624e7487afc111e01a8aee710862abf0ea1638c9c2455812d4cf6a2f491e63bfa6389d4dc9ff053a30de30b SHA512 e47538aed4136ef0891d569a0723c45d294757592762f20281fe6061aa52a4f926f49e7e491cb0a746f6f60bc14834762d1de968879db49b8a9a3b0e01a1ffc6

diff --git a/dev-util/diffoscope/diffoscope-289.ebuild b/dev-util/diffoscope/diffoscope-289.ebuild
new file mode 100644
index 000000000000..6f5fc7ca5b80
--- /dev/null
+++ b/dev-util/diffoscope/diffoscope-289.ebuild
@@ -0,0 +1,140 @@
+# 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/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
+}


             reply	other threads:[~2025-03-07  1:53 UTC|newest]

Thread overview: 270+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-03-07  1:53 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-02-09  4:32 [gentoo-commits] repo/gentoo:master commit in: dev-util/diffoscope/ 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=1741312381.1e9ef60c8054fef1f0cf0a24567737a78623dd82.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