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