From 3df39554f9c741a4bbaf7eb491148d6407892498 Mon Sep 17 00:00:00 2001 From: Florian Schmaus Date: Wed, 30 Nov 2022 10:37:51 +0100 Subject: dev-util/FlameGraph: add 1.0_p20220918 Signed-off-by: Florian Schmaus --- .../FlameGraph/FlameGraph-1.0_p20220918.ebuild | 35 ++++++++++++++++++++++ dev-util/FlameGraph/Manifest | 1 + 2 files changed, 36 insertions(+) create mode 100644 dev-util/FlameGraph/FlameGraph-1.0_p20220918.ebuild (limited to 'dev-util/FlameGraph') diff --git a/dev-util/FlameGraph/FlameGraph-1.0_p20220918.ebuild b/dev-util/FlameGraph/FlameGraph-1.0_p20220918.ebuild new file mode 100644 index 000000000000..88f035e99fd0 --- /dev/null +++ b/dev-util/FlameGraph/FlameGraph-1.0_p20220918.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DESCRIPTION="Visualization of hierarchical data, especially profiled stack traces" +HOMEPAGE="https://www.brendangregg.com/flamegraphs.html https://github.com/brendangregg/FlameGraph" + +if [[ ${PV} == "9999" ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/brendangregg/FlameGraph.git" +else + COMMIT_ID="d9fcc272b6a08c3e3e5b7919040f0ab5f8952d65" + SRC_URI="https://github.com/brendangregg/FlameGraph/archive/${COMMIT_ID}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~x86" +fi + +LICENSE="CDDL" +SLOT="0" + +S="${WORKDIR}/${PN}-${COMMIT_ID}" + +RDEPEND=" + dev-lang/perl + virtual/awk +" + +src_test() { + ./test.sh || die +} + +src_install() { + dobin *.pl *.awk + dodoc README.md +} diff --git a/dev-util/FlameGraph/Manifest b/dev-util/FlameGraph/Manifest index 681eee3ee057..c77239d3e729 100644 --- a/dev-util/FlameGraph/Manifest +++ b/dev-util/FlameGraph/Manifest @@ -1,2 +1,3 @@ DIST FlameGraph-1.0.tar.gz 1049627 BLAKE2B 4ac6669de754d5c17cd783a2f4aca956f48ef5f2d02740ee63c10629b940df70ea4ea66b8ea5ebbe3c1da5ca74987383ffd700409ce469ad43eedcb72d2e8a3c SHA512 0ae27fd14f76f0db7873a50079efb2bc4fd77ee6550700746b51eeee6813fbebb233d35d744e1b397734da9f89b25c4c0de3567f283cf1218ee7baee46e1b8e8 DIST FlameGraph-1.0_p20210830.tar.gz 1057405 BLAKE2B 75669be86ace6e6ccb30bd3883c77aef9a3b6e9c1d5d62e4d22f4090d9934a37fa083fe7783e4514f5439448c7d39d3f1c3b839170ac523e44a3bca71597463b SHA512 16769c1e3e907f0b53fd544a55eb3f580a2f1af55dd22b594d6aac9f4ffa881a2cdc6ddfc3599a6479eb127c1d3aefe0052dff1932553a2bdc377aa6f995f26c +DIST FlameGraph-1.0_p20220918.tar.gz 1061640 BLAKE2B 6d4b96a21eec5c5706e108f3e4314d75a38df8bf64e96d84caaf90c7021cff58384a42df65d6def555c1a242f44d347cd82ab2f3eea5c2cebb5f42f86e6e38cc SHA512 97d57a33f4759c122ec09fe421288b31cbd227c1d81b771c76379f33cd62e1e44f5ebbd1510483df18cf355cd3ddcfc44a7a47f9ae54f30ecdae34e776dc87f1 -- cgit v1.2.3-65-gdbad