* [gentoo-commits] repo/gentoo:master commit in: dev-util/cargo-tarpaulin/files/, dev-util/cargo-tarpaulin/
@ 2023-02-01 0:12 99% Patrick McLean
0 siblings, 0 replies; 1+ results
From: Patrick McLean @ 2023-02-01 0:12 UTC (permalink / raw
To: gentoo-commits
commit: 1510865c4ef3b401385af0479177ea92752ba07c
Author: Patrick McLean <chutzpah <AT> gentoo <DOT> org>
AuthorDate: Wed Feb 1 00:12:20 2023 +0000
Commit: Patrick McLean <chutzpah <AT> gentoo <DOT> org>
CommitDate: Wed Feb 1 00:12:20 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1510865c
dev-util/cargo-tarpaulin: add 0.25.0
Signed-off-by: Patrick McLean <chutzpah <AT> gentoo.org>
dev-util/cargo-tarpaulin/Manifest | 2 +
.../cargo-tarpaulin/cargo-tarpaulin-0.25.0.ebuild | 203 +++++++++++++++++++++
.../files/cargo-tarpaulin-0.25.0-tests.patch | 13 ++
3 files changed, 218 insertions(+)
diff --git a/dev-util/cargo-tarpaulin/Manifest b/dev-util/cargo-tarpaulin/Manifest
index d7d7fa3a0bde..70a17033a32e 100644
--- a/dev-util/cargo-tarpaulin/Manifest
+++ b/dev-util/cargo-tarpaulin/Manifest
@@ -14,6 +14,7 @@ DIST camino-1.1.1.crate 30737 BLAKE2B f2403e2f3c4c66f14c298faf582d5ce4f3071be62e
DIST cargo-platform-0.1.2.crate 11645 BLAKE2B 7770acb90e299f71c60bbadceaf894a3100916b7f7458f9c949b683b39157d3e1ec17d850f16dfb04017b01d7734d41872d48cf9f4e1ea7414439cd7031c2330 SHA512 c716bf3a4e0942160dbf7be114d1621e1fccc23511e7b0a2b99852b99a851910bfcf8640c2d0d0a03d5a324e1a59fb5d4264ca81bca24e3f1a1ca653bdf2956f
DIST cargo-tarpaulin-0.22.0.gh.tar.gz 198774 BLAKE2B 778f81b23290d86bab91f1fc7791aaa1d7667d41225ef086a8e316c35c47545461db538a88a3ddc2de892ee2aa3b427c56a5c0624210c21bb7bea101429fab5a SHA512 5dd528e29a821ed026f9044100576468bc4c97d424d9f41b06c65210550f27a194bc25adeb0b56ba66fdbb6e5e4b5c1ea2b777a8251b833a595ae12a1d81a753
DIST cargo-tarpaulin-0.24.0.gh.tar.gz 201826 BLAKE2B 501441f8faf35b4e74ec1bfbed330cffbd3faad2e096d64927d6cebb57d3c39bc81318f4fbbb9e5009a915b77b3173d7a91c1b71adefbcf0fe8010493cd69e9b SHA512 4d96ca39889ea3794db491c7baefdc83d5820fdc6cddc8ae5ea2652194adf5300f9b86cf0e55e8468f2e258984f1be448f77469a8d246ffc68cf2a0917d7c7d7
+DIST cargo-tarpaulin-0.25.0.gh.tar.gz 204488 BLAKE2B e24b191ecc4068ed4f2ec7870fad04d62432bdc34c3058f43c4bf7d6dff468d86b9890f12555b6d00c5d765d2564ed0971bd37f975d77949a3819e32501a578e SHA512 0454183b134185ab8b9fd7e3c04e9c503a76c25ca8cb64caf4740830433ff84bf065ec095b9776c532c8b336af10b1599f1886d903ee1e2491205cb46ddf2296
DIST cargo_metadata-0.15.0.crate 17634 BLAKE2B cb6dceaaaf4f4a4bd339b429c4e45730ee018f947a560a468682bd4e9a09949a625b96f713d5b2270a6609622c1992def8145850a7d82619cc5120c3be304f5d SHA512 cbeddbccc8f7578b34976ead3076c8db66d20d5681affa81ed583ad8c84ebb5d6a3b8a40e3c42fd1667aacc9d0829f928e210f3f451e636a2b5732cae17cae1b
DIST cargo_metadata-0.15.2.crate 18528 BLAKE2B cb80318d0cf7316fa57badcaa0502737232b28bc9efd17a71ef1afa8e1b61a597d7f36d6ecfb41a2859360ed7ed7c7ffa86b9184400c4646d3196fb895cf3e94 SHA512 f663676ac3e2182d67d1047164eddd24d1006f61f378003abb1d5f53f9dfee672202d33a530cac1bb749955edd142ca78169dc3412d78c8fe98d6121c4303fd3
DIST cc-1.0.73.crate 57880 BLAKE2B be8d7a25a54afdd759844e76aec61526fc2bd5ca09480e6cdd3bdcf27e5f9d3a88dc16cbcbf54cd021470a7cc521e1ad468116c112bbd30752bac0d5486939ac SHA512 980f012b90c6410144f6de4995048337e09214f19603076db6d4edb88e9ef9ac9e8c6e25569f66c2be3a47e99298f5886dafc102e1a9122316179aa26bc1c985
@@ -56,6 +57,7 @@ DIST itoa-1.0.3.crate 10481 BLAKE2B aa516e8b2fdea4e4e1260a0783fb7aa2672c1bccdf51
DIST jobserver-0.1.24.crate 21303 BLAKE2B 571e6f18f09d56d8281d2b2d206647666dc6e9ebb0a1fa48f707d3cdf603880b78ac6a2ec2239658a220e70924ed1612dc19ad90fcef883f21972a1df4f67d57 SHA512 0feade0f1f0a458bdbcedafce8fc39f44adeb56772ea94a59f16f038a743f506db1405a7c8deae65a6a5c1695bfb363c19aeea1c82c41c7f4d1101469f32e42e
DIST js-sys-0.3.59.crate 78849 BLAKE2B 2dd42294717ddf922f4d329b3da1acefe1e34c5d9c735132752bab183ea186a879a8218d201238146c20374e724f9219d2c28dca8c530105a18eca81ba86fe39 SHA512 317a0cbce8ccad741dfac48a09e326460bda68a58225bd8d2eb50ff50a7355016c399660e996b328bdbb77d12bc5107d4c2908b11441183f3b3d2f45eedbfd00
DIST lazy_static-1.4.0.crate 10443 BLAKE2B 25b2e61bbac48f0dcbc79c81d7bf01f2403d8269ecb6be3ea6147bd00f7a588df15a91f44dfc18ada19b21faa71de4637c7d493a8628cbecd0e547d74e616a23 SHA512 e124c0521ec7c950f3c4a066821918da7a9c6e711115d98009ae7c351928fdddead852e7596fea5937a9c30e4e4ce8eee7099b20248b5d6e3b2494b6a6d88cb8
+DIST lcov-0.8.1.crate 19922 BLAKE2B b799d836e90823d26349063c3ad513e297491bfb3be7140e1356ae20285a173c2dbaada337b4504833ff800fd1e1d9bd658ddf1af68f606cd965066e7355c5b3 SHA512 741e4e034749a22eabbdd7e382d12ae01394539604abbcaf7c92f5f543c07ccfab26c8dde318d90bd56588b4441acba265949cc14e1c3e68c17b67d66d0bb356
DIST leb128-0.2.5.crate 11843 BLAKE2B e1e298486eaa14ee39b574adf8b628500d07239d32ea69830dceb0b08e43cda39a6704dcc69478c4c92eb3469582f97a051854d6fd9bfddd1059d5a718951974 SHA512 ef07318c1da0e130e601595256abc964e8fc9c5733cd93ca09203bd4869daaca0d92b5103481376723b20da57ef320723250125da59f9b39f8533a01bce93780
DIST libc-0.2.132.crate 595317 BLAKE2B 1b1ae80e034d94468befcafd4bae4c41f29424cbf3770b827dd1d7099cd2364db62cf2e7343da5010e230a47fbd91d320b162f7b54fa3955fd195b6976c3fb45 SHA512 48340dd173ed4d487f6504f4c32cb3c13dac8ad4da95469c8dd79386a7564d258a9ca42ccf1b174154717bafc1d3551b87c8fe35f7e4e062c8e33da9259fec50
DIST libc-0.2.137.crate 606185 BLAKE2B 6724b7ddc2460fef1d0f20efee8726162d904b92987f9de2d3dda06c9cd49124c9fa43a9b39e84d78c03d217ed8ffd30e0dc55a4eb31970413d56fd58ea00adb SHA512 1ef979dc59a7ec4aad7229ec5b40be0ec9a8496c7a2177d325db62f3eab00d72c8d2277d517c0093e0750de12fbb4e45b67133604afeef9153b8e1d4aa0baac4
diff --git a/dev-util/cargo-tarpaulin/cargo-tarpaulin-0.25.0.ebuild b/dev-util/cargo-tarpaulin/cargo-tarpaulin-0.25.0.ebuild
new file mode 100644
index 000000000000..9caeacbbe8e3
--- /dev/null
+++ b/dev-util/cargo-tarpaulin/cargo-tarpaulin-0.25.0.ebuild
@@ -0,0 +1,203 @@
+# Copyright 2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+# Auto-Generated by cargo-ebuild 0.5.4
+
+EAPI=8
+
+CRATES="
+ adler-1.0.2
+ adler32-1.2.0
+ aho-corasick-0.7.18
+ android_system_properties-0.1.4
+ ansi_term-0.12.1
+ anyhow-1.0.65
+ atty-0.2.14
+ autocfg-1.1.0
+ bitflags-1.3.2
+ bumpalo-3.12.0
+ byteorder-1.4.3
+ camino-1.1.1
+ cargo-platform-0.1.2
+ cargo_metadata-0.15.2
+ cc-1.0.73
+ cfg-if-1.0.0
+ chrono-0.4.23
+ clap-2.34.0
+ core-foundation-sys-0.8.3
+ coveralls-api-0.5.0
+ crc32fast-1.3.2
+ curl-0.4.44
+ curl-sys-0.4.56+curl-7.83.1
+ deflate-0.8.6
+ errno-0.2.8
+ errno-dragonfly-0.1.2
+ fallible-iterator-0.2.0
+ fastrand-1.8.0
+ flate2-1.0.24
+ fnv-1.0.7
+ form_urlencoded-1.0.1
+ gimli-0.27.1
+ git2-0.16.1
+ glob-0.3.1
+ gzip-header-0.3.0
+ hashbrown-0.11.2
+ hermit-abi-0.1.19
+ hermit-abi-0.2.6
+ hex-0.4.3
+ humantime-2.1.0
+ humantime-serde-1.1.1
+ iana-time-zone-0.1.46
+ idna-0.2.3
+ indexmap-1.8.2
+ instant-0.1.12
+ io-lifetimes-1.0.3
+ itoa-1.0.3
+ jobserver-0.1.24
+ js-sys-0.3.59
+ lazy_static-1.4.0
+ lcov-0.8.1
+ leb128-0.2.5
+ libc-0.2.137
+ libgit2-sys-0.14.2+1.5.1
+ libssh2-sys-0.2.23
+ libz-sys-1.1.8
+ linux-raw-sys-0.1.3
+ llvm_profparser-0.3.1
+ log-0.4.17
+ matchers-0.0.1
+ matches-0.1.9
+ md5-0.7.0
+ memchr-2.5.0
+ minimal-lexical-0.2.1
+ miniz_oxide-0.5.3
+ nix-0.26.2
+ nom-7.1.1
+ num-integer-0.1.45
+ num-traits-0.2.15
+ num_cpus-1.15.0
+ object-0.26.2
+ object-0.30.3
+ once_cell-1.13.1
+ openssl-probe-0.1.5
+ openssl-src-111.22.0+1.1.1q
+ openssl-sys-0.9.75
+ percent-encoding-2.1.0
+ pin-project-lite-0.2.9
+ pkg-config-0.3.25
+ proc-macro2-1.0.50
+ procfs-0.14.2
+ quick-error-1.2.3
+ quick-xml-0.27.1
+ quote-1.0.23
+ redox_syscall-0.2.16
+ regex-1.7.1
+ regex-automata-0.1.10
+ regex-syntax-0.6.27
+ remove_dir_all-0.5.3
+ rustc-demangle-0.1.21
+ rustc_version-0.4.0
+ rustix-0.36.4
+ rusty-fork-0.3.0
+ ryu-1.0.11
+ same-file-1.0.6
+ schannel-0.1.20
+ semver-1.0.13
+ serde-1.0.152
+ serde_derive-1.0.152
+ serde_json-1.0.91
+ sharded-slab-0.1.4
+ smallvec-1.9.0
+ socket2-0.4.4
+ stable_deref_trait-1.2.0
+ static_assertions-1.1.0
+ strsim-0.8.0
+ syn-1.0.107
+ tempfile-3.3.0
+ textwrap-0.11.0
+ thiserror-1.0.32
+ thiserror-impl-1.0.32
+ thread_local-1.1.4
+ time-0.1.44
+ tinyvec-1.6.0
+ tinyvec_macros-0.1.0
+ toml-0.5.11
+ tracing-0.1.37
+ tracing-attributes-0.1.23
+ tracing-core-0.1.30
+ tracing-log-0.1.3
+ tracing-subscriber-0.2.25
+ unicode-bidi-0.3.8
+ unicode-ident-1.0.3
+ unicode-normalization-0.1.21
+ unicode-width-0.1.9
+ url-2.2.2
+ valuable-0.1.0
+ vcpkg-0.2.15
+ vec_map-0.8.2
+ wait-timeout-0.2.0
+ walkdir-2.3.2
+ wasi-0.10.0+wasi-snapshot-preview1
+ wasm-bindgen-0.2.82
+ wasm-bindgen-backend-0.2.82
+ wasm-bindgen-macro-0.2.82
+ wasm-bindgen-macro-support-0.2.82
+ wasm-bindgen-shared-0.2.82
+ 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
+ windows-sys-0.36.1
+ windows-sys-0.42.0
+ windows_aarch64_gnullvm-0.42.0
+ windows_aarch64_msvc-0.36.1
+ windows_aarch64_msvc-0.42.0
+ windows_i686_gnu-0.36.1
+ windows_i686_gnu-0.42.0
+ windows_i686_msvc-0.36.1
+ windows_i686_msvc-0.42.0
+ windows_x86_64_gnu-0.36.1
+ windows_x86_64_gnu-0.42.0
+ windows_x86_64_gnullvm-0.42.0
+ windows_x86_64_msvc-0.36.1
+ windows_x86_64_msvc-0.42.0
+"
+
+inherit cargo
+
+DESCRIPTION="Cargo-Tarpaulin is a tool to determine code coverage achieved via tests"
+# Double check the homepage as the cargo_metadata crate
+# does not provide this value so instead repository is used
+HOMEPAGE="https://github.com/xd009642/tarpaulin"
+SRC_URI="
+ https://github.com/xd009642/tarpaulin/archive/refs/tags/${PV}.tar.gz -> ${P}.gh.tar.gz
+ $(cargo_crate_uris)
+"
+S="${WORKDIR}/${P#cargo-}"
+
+# License set may be more restrictive as OR is not respected
+# use cargo-license for a more accurate license picture
+LICENSE="0BSD Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD Boost-1.0 MIT Unicode-DFS-2016 Unlicense ZLIB"
+SLOT="0"
+KEYWORDS="~amd64"
+
+QA_FLAGS_IGNORED="/usr/bin/cargo-tarpaulin"
+
+PATCHES=(
+ # integration tests require internet access
+ "${FILESDIR}/cargo-tarpaulin-0.20.1-tests.patch"
+ # test fails when not in a git repo
+ "${FILESDIR}/cargo-tarpaulin-0.25.0-tests.patch"
+)
+
+DOCS=(
+ CHANGELOG.md
+ CONTRIBUTING.md
+ README.md
+)
+
+src_install() {
+ cargo_src_install
+
+ dodoc "${DOCS[@]}"
+}
diff --git a/dev-util/cargo-tarpaulin/files/cargo-tarpaulin-0.25.0-tests.patch b/dev-util/cargo-tarpaulin/files/cargo-tarpaulin-0.25.0-tests.patch
new file mode 100644
index 000000000000..5a456fab9a92
--- /dev/null
+++ b/dev-util/cargo-tarpaulin/files/cargo-tarpaulin-0.25.0-tests.patch
@@ -0,0 +1,13 @@
+diff --git a/src/report/coveralls.rs b/src/report/coveralls.rs
+index 5541e21..7feea1a 100644
+--- a/src/report/coveralls.rs
++++ b/src/report/coveralls.rs
+@@ -148,7 +148,7 @@ mod tests {
+ use super::*;
+ use std::process::Command;
+
+- #[test]
++ #[test] #[ignore]
+ fn git_info_correct() {
+ let manifest = Path::new(env!("CARGO_MANIFEST_DIR")).join("Cargo.toml");
+ let res = match get_git_info(&manifest) {
^ permalink raw reply related [relevance 99%]
Results 1-1 of 1 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2023-02-01 0:12 99% [gentoo-commits] repo/gentoo:master commit in: dev-util/cargo-tarpaulin/files/, dev-util/cargo-tarpaulin/ Patrick McLean
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox