diff options
author | Florian Schmaus <flow@gentoo.org> | 2022-12-19 12:03:12 +0100 |
---|---|---|
committer | Florian Schmaus <flow@gentoo.org> | 2022-12-19 12:04:50 +0100 |
commit | c5d7989ea0877dd8dcbd184296bdf2a6b2e5bcf9 (patch) | |
tree | f485b7f7f6b1e76c2ae9fed1983ae7cc85abae01 /sys-process/below | |
parent | Update below to 0.6.3 (diff) | |
download | gentoo-c5d7989ea0877dd8dcbd184296bdf2a6b2e5bcf9.tar.gz gentoo-c5d7989ea0877dd8dcbd184296bdf2a6b2e5bcf9.tar.bz2 gentoo-c5d7989ea0877dd8dcbd184296bdf2a6b2e5bcf9.zip |
sys-process/below: remove unecessary code format and patch
The code format is unnecessary and the patch only addresses an "unused
result" warning.
Also add an empty line between ebuild phase functions.
Signed-off-by: Florian Schmaus <flow@gentoo.org>
Diffstat (limited to 'sys-process/below')
-rw-r--r-- | sys-process/below/below-0.6.3.ebuild | 9 | ||||
-rw-r--r-- | sys-process/below/files/0.6.3-format.patch | 14 |
2 files changed, 1 insertions, 22 deletions
diff --git a/sys-process/below/below-0.6.3.ebuild b/sys-process/below/below-0.6.3.ebuild index e6f2e9acc557..57109bfb4efc 100644 --- a/sys-process/below/below-0.6.3.ebuild +++ b/sys-process/below/below-0.6.3.ebuild @@ -262,14 +262,6 @@ DEPEND=" QA_FLAGS_IGNORED="usr/bin/below" -PATCHES=( - "${FILESDIR}/${PV}-format.patch" -) - -src_compile() { - cargo fmt --all -v --message-format human - cargo_src_compile -} src_test() { local skip=( --skip disable_disk_stat @@ -280,6 +272,7 @@ src_test() { ) cargo_src_test --workspace below -- "${skip[@]}" } + src_install() { cargo_src_install --path below diff --git a/sys-process/below/files/0.6.3-format.patch b/sys-process/below/files/0.6.3-format.patch deleted file mode 100644 index 42dc4c8483fd..000000000000 --- a/sys-process/below/files/0.6.3-format.patch +++ /dev/null @@ -1,14 +0,0 @@ -diff --git a/below/view/src/lib.rs b/below/view/src/lib.rs -index e9889fad..6f064a2e 100644 ---- a/below/view/src/lib.rs -+++ b/below/view/src/lib.rs -@@ -225,7 +225,8 @@ pub fn set_active_screen(c: &mut Cursive, name: &str) { - .get_mut() - .screen_mut() - .unwrap() -- .take_focus(cursive::direction::Direction::none()); -+ .take_focus(cursive::direction::Direction::none()) -+ .ok(); - }, - ) - .expect("failed to find main_view_screens"); |