summaryrefslogtreecommitdiff
path: root/dev-util/gprof2dot
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
commit8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch)
tree7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /dev-util/gprof2dot
parent30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff)
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-util/gprof2dot')
-rw-r--r--dev-util/gprof2dot/Manifest8
-rw-r--r--dev-util/gprof2dot/files/gprof2dot-0_p20130517-py3-xrange.patch10
-rw-r--r--dev-util/gprof2dot/gprof2dot-2013.05.17.ebuild54
-rw-r--r--dev-util/gprof2dot/gprof2dot-2016.10.13.ebuild22
-rw-r--r--dev-util/gprof2dot/gprof2dot-2017.09.19.ebuild26
-rw-r--r--dev-util/gprof2dot/metadata.xml11
6 files changed, 131 insertions, 0 deletions
diff --git a/dev-util/gprof2dot/Manifest b/dev-util/gprof2dot/Manifest
new file mode 100644
index 000000000000..226cd148435b
--- /dev/null
+++ b/dev-util/gprof2dot/Manifest
@@ -0,0 +1,8 @@
+AUX gprof2dot-0_p20130517-py3-xrange.patch 431 BLAKE2B 634ad067782bc67ee0dfe89af8831037ec93d905ea37debfb79640b372370375f9969b84d213a9d914b643580418b068107b4f667213189136ab35d74a47d4db SHA512 d855f0c0736f984360c48dc5a26e50502ae06e8b3450624e3e67efbf6659e67891cc78e4419aeaad8a85b2a94c09090f2b6cd04048913b1c971be8d874c50bfe
+DIST gprof2dot-0_p20130517.tar.xz 1080464 BLAKE2B 49fdcc79bc91505cc1d2b8233099766c0b305af145e8f668011429743777b965084baa713664d9fe0c0d17d2ee741b13101c5162baf07c609d1b0b7dd04de6c5 SHA512 1907cb889d1776723ca944d588fa4185afdeee11cc85ec40c03832568d91612bab708160c69036fc45fef05bca62c5bc8f6ef19cbb45c6bfd1952dda94c54a4b
+DIST gprof2dot-2016.10.13.tar.gz 22264 BLAKE2B 612cdaf8491e40223cf856104e49554675f2f83f8fc4ca9932f5b36167408ea51c2020c7c958a014b25010002230b0a6e4d5c70d6791fc445182fc61a9ff7eab SHA512 0568f1afb4e5c9da9e6c3c58d9a3613c90110c338c573e2c088a99f1db4d076a287d1209a132b86334a01404701d6ca0d9b0553e7ce850278956ea79acc2c388
+DIST gprof2dot-2017.9.19.tar.gz 23558 BLAKE2B 3de2a0e7c9731987a1382df9d67badcb19514983fa83af432bb83b5e59762c12fe865af9cb7778ccd37015992384e87b71b53211c33555039ee3f7dffc4e7c9c SHA512 652b38c6cbee47795d866a539e69ff4b2e67e221c8c082c6ecf480a15c24fe6d77e80b7daa5d24e76d27a4ff90836f80e716cb4d51d48d41aea5f661e3ac3598
+EBUILD gprof2dot-2013.05.17.ebuild 1118 BLAKE2B d5c10ab63e52f67a38ba41f308d062bc36d23296f19a32c6d91e0604de0f1f6fa4377388b1893a3aecad792adc1618fbc3f4f1690d523bcf87fb4d9b8af11771 SHA512 6ed2fa61539c3a8c94f343e469655c96e451018143ec359f8de595b6aa34caa874bd4c5c4ad0c2c5284cb2d6455be8c15193a52caf2b4d4534d0fd80a2197e2e
+EBUILD gprof2dot-2016.10.13.ebuild 503 BLAKE2B c2152ff306c97a5f5b78a15389d17318be9e98a172b1a5a01fd9189e250e0f2403fdd080565b5299796238c0ea039b56cb2852359a37ca9ea4aecf0dae121aa2 SHA512 758aef8a94cf85b61ac47528b39fd6de3efee4d27aa433531355dc7a52386957e48dbc34fb287afb99dbc2fbcf443f2cd1e764b065095f5e2ec3b61ea49b4d02
+EBUILD gprof2dot-2017.09.19.ebuild 566 BLAKE2B 362057dcfb4504c1a79af72e146b650b9746500ffc88d85ed702cff949e9ab46d4c0ac6fd23ccf45361b145cdac0e1a993ef8ca69b259411cd11fbe3e04d4645 SHA512 3ae1aa53ca9f696d8b7640b87b212adb54a94c650e8a76f35fe3839dfcc2e2525ec3e4c4a2dcf02300d5e5a35f81f218d822461a960d73655c5c9064e2247453
+MISC metadata.xml 333 BLAKE2B d1735f6673a0258eadd2d185548fba581c8613d4c8709e388bab630e81d9e835aa1fac22495b400a8db3e9895ba655e273657bd9329c9a9a8022c5bd7ada2f3e SHA512 503d8f740b27ef37b79be92c4652c60f49087634451e0d418da990c7b1f9c911aca461f2578e66e3e09f7db0588e57e304949a04b279fe782ead8222e1324a28
diff --git a/dev-util/gprof2dot/files/gprof2dot-0_p20130517-py3-xrange.patch b/dev-util/gprof2dot/files/gprof2dot-0_p20130517-py3-xrange.patch
new file mode 100644
index 000000000000..228b1d8230d7
--- /dev/null
+++ b/dev-util/gprof2dot/files/gprof2dot-0_p20130517-py3-xrange.patch
@@ -0,0 +1,10 @@
+--- gprof2dot.py 2013-05-29 19:18:46.217823810 +0300
++++ gprof2dot.py 2013-06-16 12:12:28.095478734 +0300
+@@ -39,6 +39,7 @@
+ def compat_keys(x): return list(x.keys()) # keys() is a generator in Python 3
+ basestring = str # No class basestring in Python 3
+ unichr = chr # No unichr in Python 3
++ xrange = range # No xrange in Python 3
+ else:
+ PYTHON_3 = False
+ def compat_iteritems(x): return x.iteritems()
diff --git a/dev-util/gprof2dot/gprof2dot-2013.05.17.ebuild b/dev-util/gprof2dot/gprof2dot-2013.05.17.ebuild
new file mode 100644
index 000000000000..8edb2a36308e
--- /dev/null
+++ b/dev-util/gprof2dot/gprof2dot-2013.05.17.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="5"
+
+PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} )
+PYTHON_REQ_USE='xml'
+
+inherit eutils python-r1
+
+MY_PV=0_p${PV//./}
+MY_P=${PN}-${MY_PV}
+DESCRIPTION="Converts profiling output to dot graphs"
+HOMEPAGE="https://github.com/jrfonseca/gprof2dot"
+SRC_URI="http://www.hartwork.org/public/${MY_P}.tar.xz"
+
+LICENSE="LGPL-3+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+RDEPEND="${PYTHON_DEPS}"
+DEPEND="${RDEPEND}"
+
+S="${WORKDIR}"/${MY_P}
+
+src_prepare() {
+ epatch "${FILESDIR}"/${MY_P}-py3-xrange.patch
+}
+
+_make_call_script() {
+ cat <<-EOF >"${ED}/$1"
+ #! /usr/bin/env python
+ from gprof2dot import Main
+ Main().main()
+ EOF
+
+ fperms a+x "$1" || die
+}
+
+src_install() {
+ abi_specific_install() {
+ local sitedir="$(python_get_sitedir)"
+ insinto ${sitedir#"${EPREFIX}"}
+ doins ${PN}.py || die
+ python_optimize || die
+ }
+ python_foreach_impl abi_specific_install
+
+ dodir /usr/bin || die
+ _make_call_script /usr/bin/${PN} || die
+ python_replicate_script "${ED}"/usr/bin/${PN} || die
+}
diff --git a/dev-util/gprof2dot/gprof2dot-2016.10.13.ebuild b/dev-util/gprof2dot/gprof2dot-2016.10.13.ebuild
new file mode 100644
index 000000000000..c58ed8ea47fa
--- /dev/null
+++ b/dev-util/gprof2dot/gprof2dot-2016.10.13.ebuild
@@ -0,0 +1,22 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+
+PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} )
+PYTHON_REQ_USE='xml'
+
+inherit distutils-r1
+
+DESCRIPTION="Converts profiling output to dot graphs"
+HOMEPAGE="https://github.com/jrfonseca/gprof2dot"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="LGPL-3+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+RDEPEND="${PYTHON_DEPS}"
+DEPEND="${RDEPEND}"
diff --git a/dev-util/gprof2dot/gprof2dot-2017.09.19.ebuild b/dev-util/gprof2dot/gprof2dot-2017.09.19.ebuild
new file mode 100644
index 000000000000..b113da87a395
--- /dev/null
+++ b/dev-util/gprof2dot/gprof2dot-2017.09.19.ebuild
@@ -0,0 +1,26 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+
+PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} )
+PYTHON_REQ_USE='xml'
+
+inherit distutils-r1
+
+MY_PV=${PV//.0/.}
+MY_P=${PN}-${MY_PV}
+DESCRIPTION="Converts profiling output to dot graphs"
+HOMEPAGE="https://github.com/jrfonseca/gprof2dot"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${MY_P}.tar.gz"
+
+LICENSE="LGPL-3+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+RDEPEND="${PYTHON_DEPS}"
+DEPEND="${RDEPEND}"
+
+S=${WORKDIR}/${MY_P}
diff --git a/dev-util/gprof2dot/metadata.xml b/dev-util/gprof2dot/metadata.xml
new file mode 100644
index 000000000000..8edef79c17e5
--- /dev/null
+++ b/dev-util/gprof2dot/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>sping@gentoo.org</email>
+ <name>Sebastian Pipping</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">jrfonseca/gprof2dot</remote-id>
+ </upstream>
+</pkgmetadata>