diff options
Diffstat (limited to 'dev-util')
| -rw-r--r-- | dev-util/diffoscope/Manifest | 1 | ||||
| -rw-r--r-- | dev-util/diffoscope/diffoscope-195.ebuild | 110 | ||||
| -rw-r--r-- | dev-util/git-delta/Manifest | 1 | ||||
| -rw-r--r-- | dev-util/git-delta/git-delta-0.11.1.ebuild | 192 | ||||
| -rw-r--r-- | dev-util/strace/strace-5.14-r1.ebuild | 2 |
5 files changed, 305 insertions, 1 deletions
diff --git a/dev-util/diffoscope/Manifest b/dev-util/diffoscope/Manifest index 332332ea03f6..982d6f2abd03 100644 --- a/dev-util/diffoscope/Manifest +++ b/dev-util/diffoscope/Manifest @@ -1,2 +1,3 @@ DIST diffoscope-190.tar.gz 2704083 BLAKE2B a2a0313f87fdb9c20b0dc696a1aea570857dd7005e0f69dc2dd139bca86a4b5711f98862b60f4d1a581bf3e0dfd38ef3be96991b96862584f289f1eb80415480 SHA512 646380d52730cf2efef57e3fa2995c7b2d5958d75597a59a24027bca1fc35c5b59dd96352faac9b7bd1d5bc053064f11760877651d52099f6b1ca0b3ad65d63c DIST diffoscope-194.tar.gz 2704634 BLAKE2B ca080f07ab23d48cd772302f47fff67c38ca3106d2fd96de37b9112aa316ec095acb07062316abf60ac3457de99b6e3f69adef166ab4b24943dff9e8a127f99f SHA512 cfdd30ea12326ca08f200a78fd77b5b681bbe31cd292fa22fcab294a64717a06f431bcc8c3def7c75f9fb554108e48b8043bc3901d5e57a2be3cc38d20a303e5 +DIST diffoscope-195.tar.gz 2704638 BLAKE2B 7d8caeaaf5d844c85254f017e49544e016ea16c4876623c0eae18c78389195f91ba567c1197ea9d1ccf326a92483be11a189afdd96a334fa8e0f766a7e78fafd SHA512 619517ce1900ba5e3e642ca758767aacf8bb3b58e288710cdb425500e6074135a5d2147a34214b284b94eacb781e790f638c57e1489492eae8c4bd557fce8a4e diff --git a/dev-util/diffoscope/diffoscope-195.ebuild b/dev-util/diffoscope/diffoscope-195.ebuild new file mode 100644 index 000000000000..c3a480f06545 --- /dev/null +++ b/dev-util/diffoscope/diffoscope-195.ebuild @@ -0,0 +1,110 @@ +# Copyright 2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{6,7,8,9,10} ) +PYTHON_REQ_USE="ncurses" + +inherit distutils-r1 + +DESCRIPTION="Will try to get to the bottom of what makes files or directories different" +HOMEPAGE="https://diffoscope.org/ https://pypi.org/project/diffoscope/" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +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 )" + +# pull in optional tools for tests: +# img2txt: bug #797688 +# docx2txt: bug #797688 +BDEPEND="test? ( + app-text/docx2txt + media-libs/libcaca + virtual/imagemagick-tools[jpeg] + )" +RDEPEND="dev-python/python-magic[${PYTHON_USEDEP}] + dev-python/libarchive-c[${PYTHON_USEDEP}] + dev-python/distro[${PYTHON_USEDEP}] + acl? ( sys-apps/acl ) + binutils? ( sys-devel/binutils ) + bzip2? ( app-arch/bzip2 ) + libcaca? ( media-libs/libcaca ) + colord? ( x11-misc/colord ) + cpio? ( app-arch/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? ( sys-devel/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/PyPDF2[${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? ( net-misc/openssh ) + tar? ( app-arch/tar ) + tcpdump? ( net-analyzer/tcpdump ) + zip? ( app-arch/unzip ) + zlib? ( app-arch/gzip ) + zstd? ( app-arch/zstd ) +" +# Presence if filemagic's magic.py breaks imports +# of dev-python/python-magic: https://bugs.gentoo.org/716482 +RDEPEND+=" !dev-python/filemagic" + +distutils_enable_tests pytest + +python_test() { + local exclude=( + # 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 + + # needs triage + tests/comparators/test_rlib.py::test_item3_deflate_llvm_bitcode + + # 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 + ) + epytest ${exclude[@]/#/--deselect } +} diff --git a/dev-util/git-delta/Manifest b/dev-util/git-delta/Manifest index bead0cfffc81..18ae5546004b 100644 --- a/dev-util/git-delta/Manifest +++ b/dev-util/git-delta/Manifest @@ -42,6 +42,7 @@ DIST getrandom-0.1.16.crate 25077 BLAKE2B 0cbe96c27e78100c181a064e5fe524efa9a7a2 DIST getrandom-0.2.3.crate 26261 BLAKE2B 3e52a87b9355f850e07e5080c20e1ab3acfa927bae28c63bb8bfd6a773ad77be96d3ba770c344631cc0f2d9a95aac920790173168b102e25f50480ee96663569 SHA512 e6da64ed529cb0fc000b613f75187ed6b20f716e721d8a02ac2ae39c507fb9f6189ebb66b522d28584eff1e7e9efc274cad6bfe43f464f58053701e1d51c603d DIST git-delta-0.10.2.tar.gz 1157178 BLAKE2B 768a3320f238de483abf1b4d5360e368edd85c0e0e7367059ec787decfb16886471d66e38723d715a4de3c360063bae113b781cf40f7eaa8c1bfb300c4f251cb SHA512 9cc5d69d9ccfdd49a35646fd23aec0f12369c6f0342b3c77e98eac28120418d8e8e4b7652a869d82bf0a2fcbc110951aff99325288b9eaeff4b97746a065b548 DIST git-delta-0.10.3.tar.gz 1163639 BLAKE2B ef902e86bca4d496a75e49e0acd0791c08dbd0f6c196b7a362c6e3e9767ebf7fafb010d33c6513899618532c93af8bebe76918d64361b3c710165555b7320e25 SHA512 5383db953728e08e463e93a4da8750089ff6f7aac4df9fd564b81fd002844739834c826459702e4ec019359e696f47e6bddce85fa7bf02fc104f8a7359a3632b +DIST git-delta-0.11.1.tar.gz 1194323 BLAKE2B 97abc0044476625c1967071e5d5812eb1f7ecc3b1ec4a779c4c1ddeb0c157ebccade35446a1436a6842d72899f23ee51ff186852923bc0127f6618921673c649 SHA512 fdcecd155335122db6a1171817687e2f07aadbc5b52ff50eb064dc2b6cc921b2635efe27d52e8786935a3f6abf9429247ffb438cce8364fd928e8277cb89fb39 DIST git-delta-0.8.3.tar.gz 1069452 BLAKE2B a27fe07538acfd6346bc12f2e4ad03396737e268ce4653b25c908fbcc7bb47fe2ed76550dc431ab80bf9ab86746d4cd9b551ea68a47e603ae9fe99aa935df7bf SHA512 8cda4255c878be8dc4dc841dc1778f992c7b01c7a56965babfff9cd0dd085b751e79ffb87450d50d78fd094f2ab851f468c0e88ca4e2f0becf6ebbc122ce602d DIST git-delta-0.9.2.tar.gz 1126468 BLAKE2B 46ed5598965553f6c9df28863efd0304deecedc41970701fe46d8698494cdfd371bc463845586b9e3a1150034a36abde403d6eb5185c79bf65d918418690beea SHA512 14557103e0a5edf1c307c5036dc092fbab119952d2eef95709e3a363d913ae11e3d8fb7bf16e7dd26bd36e8a7d51c49e70edb002fce8f00b428c7ee330d49d01 DIST git2-0.13.20.crate 190365 BLAKE2B c4f3420f19cdfb420576bc8c38dc45d1c7f3b74b5a2d23c85154dec35916d3d588c86aaa50eca52b427e5d044a07ede7cd1445ef1ba53ce08c70ff39f7ac56bc SHA512 2c0a9cf3391f4ea5eaa48c8fcc08a1cf27b877cc4960332bfdbb95620f9b161f720c35f87bf98e3771749a01444bf8e2337e6d8fc1a34962d4b041473115293f diff --git a/dev-util/git-delta/git-delta-0.11.1.ebuild b/dev-util/git-delta/git-delta-0.11.1.ebuild new file mode 100644 index 000000000000..508f89a40667 --- /dev/null +++ b/dev-util/git-delta/git-delta-0.11.1.ebuild @@ -0,0 +1,192 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +CRATES=" + adler-0.2.3 + aho-corasick-0.7.15 + ansi_colours-1.0.4 + ansi_term-0.11.0 + ansi_term-0.12.1 + approx-0.5.0 + arrayvec-0.5.2 + atty-0.2.14 + autocfg-1.0.1 + base64-0.13.0 + bincode-1.3.1 + bitflags-1.3.2 + box_drawing-0.1.2 + bstr-0.2.15 + bytelines-2.2.2 + byteorder-1.3.4 + cc-1.0.66 + cfg-if-0.1.10 + cfg-if-1.0.0 + chrono-0.4.19 + chrono-humanize-0.2.1 + clap-2.33.3 + console-0.15.0 + core-foundation-sys-0.8.3 + crc32fast-1.2.1 + ctrlc-3.2.1 + dirs-3.0.2 + dirs-next-2.0.0 + dirs-sys-0.3.6 + dirs-sys-next-0.1.1 + doc-comment-0.3.3 + either-1.6.1 + encode_unicode-0.3.6 + error-chain-0.12.4 + find-crate-0.6.3 + flate2-1.0.19 + fnv-1.0.7 + form_urlencoded-1.0.0 + getrandom-0.1.16 + getrandom-0.2.3 + git2-0.13.23 + globset-0.4.8 + grep-cli-0.1.6 + hashbrown-0.8.2 + heck-0.3.2 + hermit-abi-0.1.17 + idna-0.2.0 + indexmap-1.5.2 + itertools-0.10.1 + itoa-0.4.7 + jobserver-0.1.21 + lazy_static-1.4.0 + lazycell-1.3.0 + libc-0.2.103 + libgit2-sys-0.12.24+1.3.0 + libz-sys-1.1.2 + line-wrap-0.1.1 + linked-hash-map-0.5.3 + log-0.4.11 + matches-0.1.8 + memchr-2.3.4 + memoffset-0.6.4 + miniz_oxide-0.4.3 + nix-0.23.0 + ntapi-0.3.6 + num-integer-0.1.44 + num-traits-0.2.14 + once_cell-1.8.0 + onig-6.1.1 + onig_sys-69.6.0 + palette-0.6.0 + palette_derive-0.6.0 + pathdiff-0.2.1 + percent-encoding-2.1.0 + phf-0.9.0 + phf_generator-0.9.1 + phf_macros-0.9.0 + phf_shared-0.9.0 + pkg-config-0.3.19 + plist-1.0.1 + ppv-lite86-0.2.15 + proc-macro-error-1.0.4 + proc-macro-error-attr-1.0.4 + proc-macro-hack-0.5.19 + proc-macro2-1.0.24 + quote-1.0.8 + rand-0.8.4 + rand_chacha-0.3.1 + rand_core-0.6.3 + rand_hc-0.3.1 + redox_syscall-0.1.57 + redox_syscall-0.2.10 + redox_users-0.3.5 + redox_users-0.4.0 + regex-1.4.6 + regex-automata-0.1.10 + regex-syntax-0.6.22 + ryu-1.0.5 + safemem-0.3.3 + same-file-1.0.6 + serde-1.0.118 + serde_derive-1.0.118 + serde_json-1.0.70 + shell-words-1.0.0 + siphasher-0.3.7 + smol_str-0.1.21 + strsim-0.8.0 + structopt-0.3.25 + structopt-derive-0.4.18 + syn-1.0.57 + syntect-4.6.0 + sysinfo-0.19.2 + termcolor-1.1.2 + terminal_size-0.1.15 + textwrap-0.11.0 + time-0.1.44 + tinyvec-1.1.0 + tinyvec_macros-0.1.0 + toml-0.5.8 + unicode-bidi-0.3.4 + unicode-normalization-0.1.16 + unicode-segmentation-1.8.0 + unicode-width-0.1.9 + unicode-xid-0.2.1 + url-2.2.0 + utf8parse-0.2.0 + vcpkg-0.2.11 + vec_map-0.8.2 + version_check-0.9.2 + vte-0.10.1 + vte_generate_state_changes-0.1.1 + walkdir-2.3.1 + wasi-0.9.0+wasi-snapshot-preview1 + wasi-0.10.0+wasi-snapshot-preview1 + winapi-0.3.9 + winapi-i686-pc-windows-gnu-0.4.0 + winapi-util-0.1.5 + winapi-x86_64-pc-windows-gnu-0.4.0 + xdg-2.4.0 + xml-rs-0.8.3 + yaml-rust-0.4.5 +" + +inherit bash-completion-r1 cargo + +DESCRIPTION="A syntax-highlighting pager for git" +HOMEPAGE="https://github.com/dandavison/delta" +SRC_URI="https://github.com/dandavison/delta/archive/${PV}.tar.gz -> ${P}.tar.gz" +SRC_URI+=" $(cargo_crate_uris ${CRATES})" +S="${WORKDIR}/${P/git-/}" + +LICENSE="0BSD Apache-2.0 Apache-2.0-with-LLVM-exceptions Boost-1.0 LGPL-3+ MIT Unlicense ZLIB" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64" + +BDEPEND="virtual/pkgconfig" +DEPEND=" + dev-libs/libgit2:= + dev-libs/oniguruma:= +" +RDEPEND=" + ${DEPEND} + !app-text/delta +" + +QA_FLAGS_IGNORED="usr/bin/delta" + +src_configure() { + # Some crates will auto-build and statically link C libraries(!) + # Tracker bug #709568 + export RUSTONIG_SYSTEM_LIBONIG=1 + export LIBGIT2_SYS_USE_PKG_CONFIG=1 + export PKG_CONFIG_ALLOW_CROSS=1 +} + +src_install() { + cargo_src_install + + # No man page (yet?) + + # Completions + newbashcomp "${S}/etc/completion/completion.bash" delta + + insinto /usr/share/zsh/site-functions + newins "${S}/etc/completion/completion.zsh" _delta +} diff --git a/dev-util/strace/strace-5.14-r1.ebuild b/dev-util/strace/strace-5.14-r1.ebuild index 035be39c8354..fe576b5396b6 100644 --- a/dev-util/strace/strace-5.14-r1.ebuild +++ b/dev-util/strace/strace-5.14-r1.ebuild @@ -10,7 +10,7 @@ if [[ ${PV} == "9999" ]] ; then inherit git-r3 else SRC_URI="https://github.com/${PN}/${PN}/releases/download/v${PV}/${P}.tar.xz" - KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" + KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc ~x86 ~amd64-linux ~x86-linux" fi DESCRIPTION="A useful diagnostic, instructional, and debugging tool" |
