1 |
commit: 60047253ea7ce05914974b10084a57da5d3d45bc |
2 |
Author: Sam James <sam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Mar 19 06:00:34 2023 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Mar 19 06:00:34 2023 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=60047253 |
7 |
|
8 |
dev-util/diffoscope: add 239 |
9 |
|
10 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
11 |
|
12 |
dev-util/diffoscope/Manifest | 1 + |
13 |
dev-util/diffoscope/diffoscope-239.ebuild | 120 ++++++++++++++++++++++++++++++ |
14 |
2 files changed, 121 insertions(+) |
15 |
|
16 |
diff --git a/dev-util/diffoscope/Manifest b/dev-util/diffoscope/Manifest |
17 |
index 8118a8cca231..a6b5fbc57cc0 100644 |
18 |
--- a/dev-util/diffoscope/Manifest |
19 |
+++ b/dev-util/diffoscope/Manifest |
20 |
@@ -1,2 +1,3 @@ |
21 |
DIST diffoscope-229.tar.gz 3164192 BLAKE2B bee9fa1561ddcfde98cfa44cd6d66a28c636dbc7f3ec1f4895e91dfd3b66c039b68d53be0528b94c112552069886c3c81de4d9b9bc9038d183afdc9fdde6ddb9 SHA512 825c9c33f3088ba082ea3b998594445987558ee62b8b1fbfcded9b72a739faaa73908f8753b8772b3b1a8a43dbcfd52978265a18bdd92605defcd174884ccb23 |
22 |
DIST diffoscope-238.tar.gz 3287285 BLAKE2B d745c0b279ce6e29cbe9c6655c48d2fb4c8d230c5d4931048be83b4d97f6b45bff5424409b559988c2efba2dcbb80778c97e3f726174ae154c479ec24b557c34 SHA512 8600a3a29f7d4a80f0a0b37e6277e46e377c6f056cf111356f80723f0e4a309e9bae087643019fe1c46f99430b35389083e1156911fa8d3375993b550342b25f |
23 |
+DIST diffoscope-239.tar.gz 3167714 BLAKE2B 8d03039ba434422c7ec02a9d1d50977811e3ad15a0cf7a6eeeeec5642b94032f0eb5737a2232789421a00a4b6df2550ffaafc8a15201b62e2796d8168300bca5 SHA512 0a8c9286385748adbdc0a42dbdbba7201571cadf05690a7c2e67238026211ccea5d1b8c3bb9d11dad711fae267f3b7701145551453e901ea677f4433fd408730 |
24 |
|
25 |
diff --git a/dev-util/diffoscope/diffoscope-239.ebuild b/dev-util/diffoscope/diffoscope-239.ebuild |
26 |
new file mode 100644 |
27 |
index 000000000000..d598e5340b57 |
28 |
--- /dev/null |
29 |
+++ b/dev-util/diffoscope/diffoscope-239.ebuild |
30 |
@@ -0,0 +1,120 @@ |
31 |
+# Copyright 2022-2023 Gentoo Authors |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=8 |
35 |
+ |
36 |
+DISTUTILS_USE_PEP517=setuptools |
37 |
+PYTHON_COMPAT=( python3_{9..11} ) |
38 |
+PYTHON_REQ_USE="ncurses" |
39 |
+inherit distutils-r1 pypi |
40 |
+ |
41 |
+DESCRIPTION="Will try to get to the bottom of what makes files or directories different" |
42 |
+HOMEPAGE="https://diffoscope.org/ https://pypi.org/project/diffoscope/" |
43 |
+ |
44 |
+LICENSE="GPL-3+" |
45 |
+SLOT="0" |
46 |
+KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~ppc64 ~x86" |
47 |
+IUSE="acl binutils bzip2 libcaca colord cpio +diff docx dtc e2fsprogs file |
48 |
+find gettext gif gpg haskell hdf5 hex imagemagick iso java llvm lzma |
49 |
+mono opendocument pascal pdf postscript R rpm sqlite squashfs |
50 |
+ssh tar test tcpdump zip zlib zstd" |
51 |
+RESTRICT="!test? ( test )" |
52 |
+ |
53 |
+RDEPEND=" |
54 |
+ dev-python/python-magic[${PYTHON_USEDEP}] |
55 |
+ dev-python/libarchive-c[${PYTHON_USEDEP}] |
56 |
+ dev-python/distro[${PYTHON_USEDEP}] |
57 |
+ dev-python/tlsh[${PYTHON_USEDEP}] |
58 |
+ acl? ( sys-apps/acl ) |
59 |
+ binutils? ( sys-devel/binutils ) |
60 |
+ bzip2? ( app-arch/bzip2 ) |
61 |
+ libcaca? ( media-libs/libcaca ) |
62 |
+ colord? ( x11-misc/colord ) |
63 |
+ cpio? ( app-arch/cpio ) |
64 |
+ diff? ( sys-apps/diffutils ) |
65 |
+ docx? ( app-text/docx2txt ) |
66 |
+ dtc? ( sys-apps/dtc ) |
67 |
+ e2fsprogs? ( sys-fs/e2fsprogs ) |
68 |
+ file? ( sys-apps/file ) |
69 |
+ find? ( sys-apps/findutils ) |
70 |
+ gettext? ( sys-devel/gettext ) |
71 |
+ gif? ( media-libs/giflib ) |
72 |
+ gpg? ( app-crypt/gnupg ) |
73 |
+ haskell? ( dev-lang/ghc ) |
74 |
+ hdf5? ( sci-libs/hdf5 ) |
75 |
+ hex? ( app-editors/vim-core ) |
76 |
+ imagemagick? ( media-gfx/imagemagick ) |
77 |
+ iso? ( app-cdr/cdrtools ) |
78 |
+ java? ( virtual/jdk ) |
79 |
+ llvm? ( sys-devel/llvm ) |
80 |
+ lzma? ( app-arch/xz-utils ) |
81 |
+ mono? ( dev-lang/mono ) |
82 |
+ opendocument? ( app-text/odt2txt ) |
83 |
+ pascal? ( dev-lang/fpc ) |
84 |
+ pdf? ( |
85 |
+ app-text/pdftk |
86 |
+ app-text/poppler |
87 |
+ dev-python/pypdf[${PYTHON_USEDEP}] |
88 |
+ ) |
89 |
+ postscript? ( app-text/ghostscript-gpl ) |
90 |
+ R? ( dev-lang/R ) |
91 |
+ rpm? ( app-arch/rpm ) |
92 |
+ sqlite? ( dev-db/sqlite:3 ) |
93 |
+ squashfs? ( sys-fs/squashfs-tools ) |
94 |
+ ssh? ( net-misc/openssh ) |
95 |
+ tar? ( app-arch/tar ) |
96 |
+ tcpdump? ( net-analyzer/tcpdump ) |
97 |
+ zip? ( app-arch/unzip ) |
98 |
+ zlib? ( app-arch/gzip ) |
99 |
+ zstd? ( app-arch/zstd ) |
100 |
+" |
101 |
+# Presence of filemagic's magic.py breaks imports |
102 |
+# of dev-python/python-magic: bug #716482 |
103 |
+RDEPEND+=" !dev-python/filemagic" |
104 |
+ |
105 |
+# pull in optional tools for tests: |
106 |
+# img2txt: bug #797688 |
107 |
+# docx2txt: bug #797688 |
108 |
+BDEPEND=" |
109 |
+ test? ( |
110 |
+ app-text/docx2txt |
111 |
+ app-text/html2text |
112 |
+ media-libs/libcaca |
113 |
+ virtual/imagemagick-tools[jpeg] |
114 |
+ ) |
115 |
+" |
116 |
+ |
117 |
+EPYTEST_DESELECT=( |
118 |
+ # Test seems to use different tarball |
119 |
+ tests/test_presenters.py::test_text_proper_indentation |
120 |
+ |
121 |
+ # Needs triage |
122 |
+ tests/comparators/test_binary.py::test_with_compare_details_and_tool_not_found |
123 |
+ tests/comparators/test_rlib.py::test_item3_deflate_llvm_bitcode |
124 |
+ tests/comparators/test_gif.py::test_has_visuals |
125 |
+ |
126 |
+ # img2txt based failures, bug #797688 |
127 |
+ tests/comparators/test_ico_image.py::test_diff |
128 |
+ tests/comparators/test_ico_image.py::test_diff_meta |
129 |
+ tests/comparators/test_ico_image.py::test_diff_meta2 |
130 |
+ tests/comparators/test_ico_image.py::test_has_visuals |
131 |
+ tests/comparators/test_jpeg_image.py::test_diff |
132 |
+ tests/comparators/test_jpeg_image.py::test_compare_non_existing |
133 |
+ tests/comparators/test_jpeg_image.py::test_diff_meta |
134 |
+ tests/comparators/test_jpeg_image.py::test_has_visuals |
135 |
+ |
136 |
+ # docx2txt based falures, bug #797688 |
137 |
+ tests/comparators/test_docx.py::test_diff |
138 |
+ |
139 |
+ # Formatting |
140 |
+ tests/test_source.py::test_code_is_black_clean |
141 |
+ |
142 |
+ # Fails on ZFS |
143 |
+ tests/test_main.py::test_non_unicode_filename |
144 |
+ |
145 |
+ # Fails on (unreleased) LLVM 16 with minor difference |
146 |
+ tests/comparators/test_macho.py::test_llvm_diff |
147 |
+ tests/comparators/test_elf.py::test_libmix_differences |
148 |
+) |
149 |
+ |
150 |
+distutils_enable_tests pytest |