commit:     03be8ce1d8f96b5ac88262b9b3d989fdf32b0959
Author:     Sebastian Pipping <sping <AT> gentoo <DOT> org>
AuthorDate: Mon Aug 28 22:04:55 2017 +0000
Commit:     Sebastian Pipping <sping <AT> gentoo <DOT> org>
CommitDate: Mon Aug 28 22:12:13 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=03be8ce1

dev-util/gprof2dot: 2016.10.13

.. with distutils-r1 and EAPI 6.
Also fix license, and re-version 0_p20130517 as 2013.05.17.

Package-Manager: Portage-2.3.8, Repoman-2.3.3

 dev-util/gprof2dot/Manifest                        |  1 +
 ...20130517.ebuild => gprof2dot-2013.05.17.ebuild} | 10 +++++++---
 dev-util/gprof2dot/gprof2dot-2016.10.13.ebuild     | 22 ++++++++++++++++++++++
 3 files changed, 30 insertions(+), 3 deletions(-)

diff --git a/dev-util/gprof2dot/Manifest b/dev-util/gprof2dot/Manifest
index f5e3cfc4d54..447566552a5 100644
--- a/dev-util/gprof2dot/Manifest
+++ b/dev-util/gprof2dot/Manifest
@@ -1 +1,2 @@
 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

diff --git a/dev-util/gprof2dot/gprof2dot-0_p20130517.ebuild 
b/dev-util/gprof2dot/gprof2dot-2013.05.17.ebuild
similarity index 83%
rename from dev-util/gprof2dot/gprof2dot-0_p20130517.ebuild
rename to dev-util/gprof2dot/gprof2dot-2013.05.17.ebuild
index 4579692ec84..8edb2a36308 100644
--- a/dev-util/gprof2dot/gprof2dot-0_p20130517.ebuild
+++ b/dev-util/gprof2dot/gprof2dot-2013.05.17.ebuild
@@ -8,11 +8,13 @@ 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/${P}.tar.xz";
+SRC_URI="http://www.hartwork.org/public/${MY_P}.tar.xz";
 
-LICENSE="GPL-3"
+LICENSE="LGPL-3+"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
 IUSE=""
@@ -21,8 +23,10 @@ REQUIRED_USE="${PYTHON_REQUIRED_USE}"
 RDEPEND="${PYTHON_DEPS}"
 DEPEND="${RDEPEND}"
 
+S="${WORKDIR}"/${MY_P}
+
 src_prepare() {
-       epatch "${FILESDIR}"/${P}-py3-xrange.patch
+       epatch "${FILESDIR}"/${MY_P}-py3-xrange.patch
 }
 
 _make_call_script() {

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 00000000000..c58ed8ea47f
--- /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}"

Reply via email to