commit: b77ac729cd36828cb42e1639b53944671061d7ee Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com> AuthorDate: Mon Dec 21 08:35:06 2020 +0000 Commit: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net> CommitDate: Mon Dec 21 09:42:46 2020 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=b77ac729
app-shells/fish-command-timer: new package Package-Manager: Portage-3.0.12, Repoman-3.0.2 Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com> 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(+) diff --git a/app-shells/fish-command-timer/Manifest b/app-shells/fish-command-timer/Manifest new file mode 100644 index 00000000..bc47b81c --- /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 00000000..e4d49772 --- /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 00000000..2628966b --- /dev/null +++ b/app-shells/fish-command-timer/metadata.xml @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>[email protected]</email> + <name>Alessandro Barbieri</name> + </maintainer> + <upstream> + <remote-id type="github">jichu4n/fish-command-timer</remote-id> + </upstream> + <longdescription lang="en">After the execution of each command line, the script prints out the total execution time (up to millisecond precision), followed by the current time. + </longdescription> +</pkgmetadata>
