Gentoo Archives: gentoo-commits

From: "Sebastian Pipping (sping)" <sping@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-util/gprof2dot: ChangeLog gprof2dot-0_p20130517.ebuild
Date: Sun, 19 May 2013 21:01:56
Message-Id: 20130519210149.C22BC2171D@flycatcher.gentoo.org
1 sping 13/05/19 21:01:49
2
3 Modified: ChangeLog
4 Added: gprof2dot-0_p20130517.ebuild
5 Log:
6 dev-util/gprof2dot: 0_p20130517
7
8 (Portage version: 2.1.11.62/cvs/Linux x86_64, signed Manifest commit with key 0x401A1600)
9
10 Revision Changes Path
11 1.5 dev-util/gprof2dot/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/gprof2dot/ChangeLog?rev=1.5&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/gprof2dot/ChangeLog?rev=1.5&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/gprof2dot/ChangeLog?r1=1.4&r2=1.5
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-util/gprof2dot/ChangeLog,v
20 retrieving revision 1.4
21 retrieving revision 1.5
22 diff -u -r1.4 -r1.5
23 --- ChangeLog 15 Mar 2012 20:16:55 -0000 1.4
24 +++ ChangeLog 19 May 2013 21:01:48 -0000 1.5
25 @@ -1,6 +1,13 @@
26 # ChangeLog for dev-util/gprof2dot
27 -# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-util/gprof2dot/ChangeLog,v 1.4 2012/03/15 20:16:55 sping Exp $
29 +# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
30 +# $Header: /var/cvsroot/gentoo-x86/dev-util/gprof2dot/ChangeLog,v 1.5 2013/05/19 21:01:48 sping Exp $
31 +
32 +*gprof2dot-0_p20130517 (19 May 2013)
33 +
34 + 19 May 2013; Sebastian Pipping <sping@g.o>
35 + +gprof2dot-0_p20130517.ebuild:
36 + Update snapshot to Git HEAD of today. Python 3.x now supported upstream,
37 + migrate to python-r1, fix/allow "import gprof2dot"
38
39 15 Mar 2012; Sebastian Pipping <sping@g.o>
40 gprof2dot-0_p20100216.ebuild, +files/gprof2dot-0_p20100216-python3.patch:
41
42
43
44 1.1 dev-util/gprof2dot/gprof2dot-0_p20130517.ebuild
45
46 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/gprof2dot/gprof2dot-0_p20130517.ebuild?rev=1.1&view=markup
47 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/gprof2dot/gprof2dot-0_p20130517.ebuild?rev=1.1&content-type=text/plain
48
49 Index: gprof2dot-0_p20130517.ebuild
50 ===================================================================
51 # Copyright 1999-2013 Gentoo Foundation
52 # Distributed under the terms of the GNU General Public License v2
53 # $Header: /var/cvsroot/gentoo-x86/dev-util/gprof2dot/gprof2dot-0_p20130517.ebuild,v 1.1 2013/05/19 21:01:49 sping Exp $
54
55 EAPI="5"
56
57 PYTHON_COMPAT=( python{2_6,2_7,3_1,3_2,3_3} )
58 PYTHON_REQ_USE='xml'
59
60 inherit eutils python-r1 python-utils-r1
61
62 DESCRIPTION="Converts profiling output to dot graphs"
63 HOMEPAGE="http://code.google.com/p/jrfonseca/wiki/Gprof2Dot"
64 SRC_URI="http://www.hartwork.org/public/${P}.tar.xz"
65
66 LICENSE="GPL-3"
67 SLOT="0"
68 KEYWORDS="~amd64 ~x86"
69 IUSE=""
70
71 DEPEND=""
72 RDEPEND=""
73
74 _make_call_script() {
75 cat <<-EOF >"${D}/$1"
76 #! /usr/bin/env python
77 from gprof2dot import Main
78 Main().main()
79 EOF
80
81 fperms a+x "$1" || die
82 }
83
84 src_install() {
85 abi_specific_install() {
86 insinto "$(python_get_sitedir)"
87 doins ${PN}.py || die
88 python_optimize || die
89 }
90 python_parallel_foreach_impl abi_specific_install
91
92 dodir /usr/bin || die
93 _make_call_script /usr/bin/${PN} || die
94 python_replicate_script "${D}"/usr/bin/${PN} || die
95 }