diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-util/gprof2dot |
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-util/gprof2dot')
-rw-r--r-- | dev-util/gprof2dot/Manifest | 10 | ||||
-rw-r--r-- | dev-util/gprof2dot/files/gprof2dot-0_p20130517-py3-xrange.patch | 10 | ||||
-rw-r--r-- | dev-util/gprof2dot/gprof2dot-2013.05.17.ebuild | 54 | ||||
-rw-r--r-- | dev-util/gprof2dot/gprof2dot-2016.10.13.ebuild | 22 | ||||
-rw-r--r-- | dev-util/gprof2dot/gprof2dot-2017.09.19.ebuild | 26 | ||||
-rw-r--r-- | dev-util/gprof2dot/metadata.xml | 11 |
6 files changed, 133 insertions, 0 deletions
diff --git a/dev-util/gprof2dot/Manifest b/dev-util/gprof2dot/Manifest new file mode 100644 index 000000000000..f77f0edfe7c1 --- /dev/null +++ b/dev-util/gprof2dot/Manifest @@ -0,0 +1,10 @@ +AUX gprof2dot-0_p20130517-py3-xrange.patch 431 SHA256 d200854f170b82ebbc740a140e3b30a9aeeb0fa1c2eb3f7973b920ce6abe152e SHA512 d855f0c0736f984360c48dc5a26e50502ae06e8b3450624e3e67efbf6659e67891cc78e4419aeaad8a85b2a94c09090f2b6cd04048913b1c971be8d874c50bfe WHIRLPOOL 9292577720571812fb056cdcbca40971cad4f328526951e534a853e6db51b6ce47c5366aabb05331696b3351d220832a062d1b1ca8a38fe297b565ccb74bf8ce +DIST gprof2dot-0_p20130517.tar.xz 1080464 SHA256 d491a8048a7ebc169557393ee517ede3c3958696e5257fbe3698bfbab6218691 SHA512 1907cb889d1776723ca944d588fa4185afdeee11cc85ec40c03832568d91612bab708160c69036fc45fef05bca62c5bc8f6ef19cbb45c6bfd1952dda94c54a4b WHIRLPOOL 1f04729faf6fa47921c3b953d4a38db598d9905a35d198ff7680e778f214e5ec54026840de7a8bcfaf351fdceadd3d0ba3865dbbe95cbc28704b6cab9670b2d7 +DIST gprof2dot-2016.10.13.tar.gz 22264 SHA256 48c1e168c28b8a8eb23bf30fda78fe2ef218269a41505341ec27c27083e47cf4 SHA512 0568f1afb4e5c9da9e6c3c58d9a3613c90110c338c573e2c088a99f1db4d076a287d1209a132b86334a01404701d6ca0d9b0553e7ce850278956ea79acc2c388 WHIRLPOOL d0bf7fb9a9757da46d9b758ba6f1c5f85356d0c6428a019de3665685feec960ebdca842372e736d9519e18ec662926fee6632c8b881a347c11517b66d5650e72 +DIST gprof2dot-2017.9.19.tar.gz 23558 SHA256 cebc7aa2782fd813ead415ea1fae3409524343485eadc7fb60ef5bd1e810309e SHA512 652b38c6cbee47795d866a539e69ff4b2e67e221c8c082c6ecf480a15c24fe6d77e80b7daa5d24e76d27a4ff90836f80e716cb4d51d48d41aea5f661e3ac3598 WHIRLPOOL 962feea0b5a070419032f8ef66d1b65a5a6fcd9e3e9e642a7e8d0a2953d40c4e1821814bbe701160e1d4f74528813150fe9efa32bae19379921fd71827293370 +EBUILD gprof2dot-2013.05.17.ebuild 1118 SHA256 78ab8290027f9ed9315d78145aed66654007750934bf404787a555663ac81cf3 SHA512 6ed2fa61539c3a8c94f343e469655c96e451018143ec359f8de595b6aa34caa874bd4c5c4ad0c2c5284cb2d6455be8c15193a52caf2b4d4534d0fd80a2197e2e WHIRLPOOL 31f434603860205124dfa561c02bc693b1a37d11d946554b915ff72707c4ac22f229115aa9cb42223f81244cc94d9c242aadf8f00d4ad04eb732ecc365c9aee7 +EBUILD gprof2dot-2016.10.13.ebuild 503 SHA256 d4778c2290da91fa02ae9fc5a435f7d69205048175f418fe89ba8a5afb95d612 SHA512 758aef8a94cf85b61ac47528b39fd6de3efee4d27aa433531355dc7a52386957e48dbc34fb287afb99dbc2fbcf443f2cd1e764b065095f5e2ec3b61ea49b4d02 WHIRLPOOL f7a1e8ac15b4814aaf1e61d8db6f232e087d80999a84c1406f81c9d238bfcd518f1d87d2833766b00a06039c3446d6619d6e2f79d6989fe751894f01fd885bea +EBUILD gprof2dot-2017.09.19.ebuild 566 SHA256 6cfc0adb93872e09dca65ce10852ad1b89a12f3073975f41b30f8c7963be17d2 SHA512 3ae1aa53ca9f696d8b7640b87b212adb54a94c650e8a76f35fe3839dfcc2e2525ec3e4c4a2dcf02300d5e5a35f81f218d822461a960d73655c5c9064e2247453 WHIRLPOOL 65f233ccb6958bd4e9adf14945612bb9485605a8c634f30156f89a8663c0212ec68431270af59fbe3fbeebeff7227475f8abbda66b1c21ac519751e495a89643 +MISC ChangeLog 3511 SHA256 f2465fe1265e6bdad10c64b1f4d8c1233a5ad24b9fb3fa0f3db9cc796f9436fa SHA512 a8329287e0d11a1bdaf88baed76a0555296bb2ce66df104617adda85e3ee8cf7d8d35dc5a5c40ec4b34054f2c39ecc219d6b3bbe2de918cb9638ce6a730961af WHIRLPOOL e45e8c6b8bb771c1f5b1fcb96077e27f8257c07a0a346e6b6ee31393f004fbb26ecf7f4ff042aa8a7bab54325153af46b2b4facc3b157dc264557c92e4ea35e3 +MISC ChangeLog-2015 1930 SHA256 8b0a0a061cba7f8dc22444fa5a95dc03027a6854039b7d48b1da88b97a1cb432 SHA512 0e4a3a52cea01b744ce81230b8502e37c8adb2bb63644d1de78dbf36e3986e0efd18848d378993adb6dd681d2350f452d15d209bd4e8bc37821e141f1d94036f WHIRLPOOL b12c15729a3f56cf92e598246aed879d08db1a578cb2afcff4d37a49dacc02284255c97571a0184063eaaef51b9126fef6f3a5a9e7b2feb15bb98f3f55db93fe +MISC metadata.xml 333 SHA256 e014c69c9cba17c763a60ccae8fe77be7dec45ea9285c6654c77fcaad0dc59e2 SHA512 503d8f740b27ef37b79be92c4652c60f49087634451e0d418da990c7b1f9c911aca461f2578e66e3e09f7db0588e57e304949a04b279fe782ead8222e1324a28 WHIRLPOOL 39f6786b9597599b5f9d85bbbed563ce2ee4d9718e5c8e344f28c751c1132c5c018b5a5b679bcda12a7f53d1a457eed4ab7bc495c217bb21d75e3ddd53387d4c 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> |