commit:     c5d7989ea0877dd8dcbd184296bdf2a6b2e5bcf9
Author:     Florian Schmaus <flow <AT> gentoo <DOT> org>
AuthorDate: Mon Dec 19 11:03:12 2022 +0000
Commit:     Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Mon Dec 19 11:04:50 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c5d7989e

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 <AT> gentoo.org>

 sys-process/below/below-0.6.3.ebuild       |  9 +--------
 sys-process/below/files/0.6.3-format.patch | 14 --------------
 2 files changed, 1 insertion(+), 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");

Reply via email to