commit:     5401e5fb860810b3d48376363e947473187502d6
Author:     Florian Schmaus <flow <AT> gentoo <DOT> org>
AuthorDate: Fri Feb 18 12:42:57 2022 +0000
Commit:     Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Fri Feb 18 12:42:57 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5401e5fb

dev-util/FlameGraph: initial import

Signed-off-by: Florian Schmaus <flow <AT> gentoo.org>

 dev-util/FlameGraph/FlameGraph-1.0.ebuild  | 32 ++++++++++++++++++++++++++++++
 dev-util/FlameGraph/FlameGraph-9999.ebuild | 32 ++++++++++++++++++++++++++++++
 dev-util/FlameGraph/Manifest               |  1 +
 dev-util/FlameGraph/metadata.xml           |  8 ++++++++
 4 files changed, 73 insertions(+)

diff --git a/dev-util/FlameGraph/FlameGraph-1.0.ebuild 
b/dev-util/FlameGraph/FlameGraph-1.0.ebuild
new file mode 100644
index 000000000000..dbf96c39df4e
--- /dev/null
+++ b/dev-util/FlameGraph/FlameGraph-1.0.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DESCRIPTION="Visualization of hierarchical data, especially pofiled 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
+       SRC_URI="https://github.com/brendangregg/${PN}/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
+       KEYWORDS="~amd64 ~x86"
+fi
+
+LICENSE="CDDL"
+SLOT="0"
+
+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/FlameGraph-9999.ebuild 
b/dev-util/FlameGraph/FlameGraph-9999.ebuild
new file mode 100644
index 000000000000..dbf96c39df4e
--- /dev/null
+++ b/dev-util/FlameGraph/FlameGraph-9999.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DESCRIPTION="Visualization of hierarchical data, especially pofiled 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
+       SRC_URI="https://github.com/brendangregg/${PN}/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
+       KEYWORDS="~amd64 ~x86"
+fi
+
+LICENSE="CDDL"
+SLOT="0"
+
+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
new file mode 100644
index 000000000000..e9fbf9de7925
--- /dev/null
+++ b/dev-util/FlameGraph/Manifest
@@ -0,0 +1 @@
+DIST FlameGraph-1.0.tar.gz 1049627 BLAKE2B 
4ac6669de754d5c17cd783a2f4aca956f48ef5f2d02740ee63c10629b940df70ea4ea66b8ea5ebbe3c1da5ca74987383ffd700409ce469ad43eedcb72d2e8a3c
 SHA512 
0ae27fd14f76f0db7873a50079efb2bc4fd77ee6550700746b51eeee6813fbebb233d35d744e1b397734da9f89b25c4c0de3567f283cf1218ee7baee46e1b8e8

diff --git a/dev-util/FlameGraph/metadata.xml b/dev-util/FlameGraph/metadata.xml
new file mode 100644
index 000000000000..87a759d410cf
--- /dev/null
+++ b/dev-util/FlameGraph/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd";>
+<pkgmetadata>
+       <maintainer type="person">
+               <name>Florian Schmaus</name>
+               <email>[email protected]</email>
+       </maintainer>
+</pkgmetadata>

Reply via email to