From b77ac729cd36828cb42e1639b53944671061d7ee Mon Sep 17 00:00:00 2001 From: Alessandro Barbieri Date: Mon, 21 Dec 2020 09:35:06 +0100 Subject: [PATCH] app-shells/fish-command-timer: new package Package-Manager: Portage-3.0.12, Repoman-3.0.2 Signed-off-by: Alessandro Barbieri --- app-shells/fish-command-timer/Manifest | 1 + .../fish-command-timer-0.1.3.ebuild | 23 +++++++++++++++++++ app-shells/fish-command-timer/metadata.xml | 13 +++++++++++ 3 files changed, 37 insertions(+) create mode 100644 app-shells/fish-command-timer/Manifest create mode 100644 app-shells/fish-command-timer/fish-command-timer-0.1.3.ebuild create mode 100644 app-shells/fish-command-timer/metadata.xml diff --git a/app-shells/fish-command-timer/Manifest b/app-shells/fish-command-timer/Manifest new file mode 100644 index 0000000000..bc47b81c9c --- /dev/null +++ b/app-shells/fish-command-timer/Manifest @@ -0,0 +1 @@ +DIST fish-command-timer-0.1.3.tar.gz 7084 BLAKE2B 2d99b2cdc937cd529dd4bf946efd14c704ab90a8bd8d2082493e2da8cb480d8b23cfa47c9e43a1ee736b45560fb78d1dcb3c9c3a79d650b9438ec68c44ce089a SHA512 245ead84b136d02b3316b8508c9f797a9faaa2b5c669787c49e4e41c773312dccbdfde64c3a16be6c7e97433c731c7d3a1413c33d4a86206008b8cce764e129b diff --git a/app-shells/fish-command-timer/fish-command-timer-0.1.3.ebuild b/app-shells/fish-command-timer/fish-command-timer-0.1.3.ebuild new file mode 100644 index 0000000000..e4d49772bb --- /dev/null +++ b/app-shells/fish-command-timer/fish-command-timer-0.1.3.ebuild @@ -0,0 +1,23 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="7" + +DESCRIPTION="Fish shell extension for printing execution time for each command" +HOMEPAGE="https://github.com/jichu4n/fish-command-timer" +SRC_URI="https://github.com/jichu4n/fish-command-timer/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64" +DEPEND="" +RDEPEND=">=app-shells/fish-2.2" + +DOCS=( README.md ) + +src_install() { + dodir "/usr/share/fish/vendor_conf.d" + insinto "/usr/share/fish/vendor_conf.d" + doins "conf.d/fish_command_timer.fish" + einstalldocs +} diff --git a/app-shells/fish-command-timer/metadata.xml b/app-shells/fish-command-timer/metadata.xml new file mode 100644 index 0000000000..2628966bf2 --- /dev/null +++ b/app-shells/fish-command-timer/metadata.xml @@ -0,0 +1,13 @@ + + + + + lssndrbarbieri@gmail.com + Alessandro Barbieri + + + jichu4n/fish-command-timer + + After the execution of each command line, the script prints out the total execution time (up to millisecond precision), followed by the current time. + +