Gentoo Archives: gentoo-commits

From: Sebastian Pipping <sping@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/gprof2dot/
Date: Mon, 28 Aug 2017 22:12:43
Message-Id: 1503958333.03be8ce1d8f96b5ac88262b9b3d989fdf32b0959.sping@gentoo
1 commit: 03be8ce1d8f96b5ac88262b9b3d989fdf32b0959
2 Author: Sebastian Pipping <sping <AT> gentoo <DOT> org>
3 AuthorDate: Mon Aug 28 22:04:55 2017 +0000
4 Commit: Sebastian Pipping <sping <AT> gentoo <DOT> org>
5 CommitDate: Mon Aug 28 22:12:13 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=03be8ce1
7
8 dev-util/gprof2dot: 2016.10.13
9
10 .. with distutils-r1 and EAPI 6.
11 Also fix license, and re-version 0_p20130517 as 2013.05.17.
12
13 Package-Manager: Portage-2.3.8, Repoman-2.3.3
14
15 dev-util/gprof2dot/Manifest | 1 +
16 ...20130517.ebuild => gprof2dot-2013.05.17.ebuild} | 10 +++++++---
17 dev-util/gprof2dot/gprof2dot-2016.10.13.ebuild | 22 ++++++++++++++++++++++
18 3 files changed, 30 insertions(+), 3 deletions(-)
19
20 diff --git a/dev-util/gprof2dot/Manifest b/dev-util/gprof2dot/Manifest
21 index f5e3cfc4d54..447566552a5 100644
22 --- a/dev-util/gprof2dot/Manifest
23 +++ b/dev-util/gprof2dot/Manifest
24 @@ -1 +1,2 @@
25 DIST gprof2dot-0_p20130517.tar.xz 1080464 SHA256 d491a8048a7ebc169557393ee517ede3c3958696e5257fbe3698bfbab6218691 SHA512 1907cb889d1776723ca944d588fa4185afdeee11cc85ec40c03832568d91612bab708160c69036fc45fef05bca62c5bc8f6ef19cbb45c6bfd1952dda94c54a4b WHIRLPOOL 1f04729faf6fa47921c3b953d4a38db598d9905a35d198ff7680e778f214e5ec54026840de7a8bcfaf351fdceadd3d0ba3865dbbe95cbc28704b6cab9670b2d7
26 +DIST gprof2dot-2016.10.13.tar.gz 22264 SHA256 48c1e168c28b8a8eb23bf30fda78fe2ef218269a41505341ec27c27083e47cf4 SHA512 0568f1afb4e5c9da9e6c3c58d9a3613c90110c338c573e2c088a99f1db4d076a287d1209a132b86334a01404701d6ca0d9b0553e7ce850278956ea79acc2c388 WHIRLPOOL d0bf7fb9a9757da46d9b758ba6f1c5f85356d0c6428a019de3665685feec960ebdca842372e736d9519e18ec662926fee6632c8b881a347c11517b66d5650e72
27
28 diff --git a/dev-util/gprof2dot/gprof2dot-0_p20130517.ebuild b/dev-util/gprof2dot/gprof2dot-2013.05.17.ebuild
29 similarity index 83%
30 rename from dev-util/gprof2dot/gprof2dot-0_p20130517.ebuild
31 rename to dev-util/gprof2dot/gprof2dot-2013.05.17.ebuild
32 index 4579692ec84..8edb2a36308 100644
33 --- a/dev-util/gprof2dot/gprof2dot-0_p20130517.ebuild
34 +++ b/dev-util/gprof2dot/gprof2dot-2013.05.17.ebuild
35 @@ -8,11 +8,13 @@ PYTHON_REQ_USE='xml'
36
37 inherit eutils python-r1
38
39 +MY_PV=0_p${PV//./}
40 +MY_P=${PN}-${MY_PV}
41 DESCRIPTION="Converts profiling output to dot graphs"
42 HOMEPAGE="https://github.com/jrfonseca/gprof2dot"
43 -SRC_URI="http://www.hartwork.org/public/${P}.tar.xz"
44 +SRC_URI="http://www.hartwork.org/public/${MY_P}.tar.xz"
45
46 -LICENSE="GPL-3"
47 +LICENSE="LGPL-3+"
48 SLOT="0"
49 KEYWORDS="~amd64 ~x86"
50 IUSE=""
51 @@ -21,8 +23,10 @@ REQUIRED_USE="${PYTHON_REQUIRED_USE}"
52 RDEPEND="${PYTHON_DEPS}"
53 DEPEND="${RDEPEND}"
54
55 +S="${WORKDIR}"/${MY_P}
56 +
57 src_prepare() {
58 - epatch "${FILESDIR}"/${P}-py3-xrange.patch
59 + epatch "${FILESDIR}"/${MY_P}-py3-xrange.patch
60 }
61
62 _make_call_script() {
63
64 diff --git a/dev-util/gprof2dot/gprof2dot-2016.10.13.ebuild b/dev-util/gprof2dot/gprof2dot-2016.10.13.ebuild
65 new file mode 100644
66 index 00000000000..c58ed8ea47f
67 --- /dev/null
68 +++ b/dev-util/gprof2dot/gprof2dot-2016.10.13.ebuild
69 @@ -0,0 +1,22 @@
70 +# Copyright 1999-2017 Gentoo Foundation
71 +# Distributed under the terms of the GNU General Public License v2
72 +
73 +EAPI="6"
74 +
75 +PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} )
76 +PYTHON_REQ_USE='xml'
77 +
78 +inherit distutils-r1
79 +
80 +DESCRIPTION="Converts profiling output to dot graphs"
81 +HOMEPAGE="https://github.com/jrfonseca/gprof2dot"
82 +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
83 +
84 +LICENSE="LGPL-3+"
85 +SLOT="0"
86 +KEYWORDS="~amd64 ~x86"
87 +IUSE=""
88 +REQUIRED_USE="${PYTHON_REQUIRED_USE}"
89 +
90 +RDEPEND="${PYTHON_DEPS}"
91 +DEPEND="${RDEPEND}"