diff options
author | Julien Roy <julien@jroy.ca> | 2024-03-20 07:43:30 -0400 |
---|---|---|
committer | Julien Roy <julien@jroy.ca> | 2024-03-20 07:43:30 -0400 |
commit | 2870371aaf263af66bd8232e93b685fdefb96502 (patch) | |
tree | 3c9f54ff29b0be4ca4785ac4ceed98814288979e /app-containers | |
parent | dev-libs/libsignal-ffi: add missing BDEPEND (diff) | |
download | guru-2870371aaf263af66bd8232e93b685fdefb96502.tar.gz guru-2870371aaf263af66bd8232e93b685fdefb96502.tar.bz2 guru-2870371aaf263af66bd8232e93b685fdefb96502.zip |
app-containers/pods: drop clippy/lint test
Closes: https://bugs.gentoo.org/927324
Signed-off-by: Julien Roy <julien@jroy.ca>
Diffstat (limited to 'app-containers')
-rw-r--r-- | app-containers/pods/files/disable-clippy-test-2.1.0.patch | 25 | ||||
-rw-r--r-- | app-containers/pods/pods-2.1.0_pre20240215-r3.ebuild | 4 |
2 files changed, 29 insertions, 0 deletions
diff --git a/app-containers/pods/files/disable-clippy-test-2.1.0.patch b/app-containers/pods/files/disable-clippy-test-2.1.0.patch new file mode 100644 index 000000000..913c1d9ce --- /dev/null +++ b/app-containers/pods/files/disable-clippy-test-2.1.0.patch @@ -0,0 +1,25 @@ +diff --git a/src/meson.build b/src/meson.build +index 776f6c1e..83c7db3c 100644 +--- a/src/meson.build ++++ b/src/meson.build +@@ -65,20 +65,3 @@ cargo = find_program('cargo', required: true) + cargo_target_dir = meson.project_build_root() / 'target' + cargo_home = meson.project_build_root() / 'cargo-home' + manifest_path = meson.project_source_root() / 'Cargo.toml' +-test ( +- 'clippy', +- cargo, +- args: [ +- 'clippy', +- '--manifest-path=@0@'.format(manifest_path), +- '--target-dir=@0@'.format(cargo_target_dir), +- '--', +- '-D', +- 'warnings', +- ], +- env: [ +- 'CARGO_HOME=@0@'.format(cargo_home), +- 'PATH=/app/bin:/usr/bin:/usr/lib/sdk/llvm16/bin:/usr/lib/sdk/rust-stable/bin', +- ], +- timeout: 300, # Give cargo more time +-) diff --git a/app-containers/pods/pods-2.1.0_pre20240215-r3.ebuild b/app-containers/pods/pods-2.1.0_pre20240215-r3.ebuild index bceadfe44..36eef2ebf 100644 --- a/app-containers/pods/pods-2.1.0_pre20240215-r3.ebuild +++ b/app-containers/pods/pods-2.1.0_pre20240215-r3.ebuild @@ -361,6 +361,10 @@ BDEPEND=" # Rust QA_FLAGS_IGNORED="usr/bin/${PN}" +PATCHES=( + "${FILESDIR}"/disable-clippy-test-2.1.0.patch +) + src_configure() { meson_src_configure ln -s "${CARGO_HOME}" "${BUILD_DIR}/cargo-home" || die |