dev-util/gprof2dot: 2016.10.13
authorSebastian Pipping <sping@gentoo.org>
Mon, 28 Aug 2017 22:04:55 +0000 (00:04 +0200)
committerSebastian Pipping <sping@gentoo.org>
Mon, 28 Aug 2017 22:12:13 +0000 (00:12 +0200)
.. 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
dev-util/gprof2dot/gprof2dot-2013.05.17.ebuild [moved from dev-util/gprof2dot/gprof2dot-0_p20130517.ebuild with 83% similarity]
dev-util/gprof2dot/gprof2dot-2016.10.13.ebuild [new file with mode: 0644]

index f5e3cfc4d54be2fe31ec1f2d868c8b7d4bf6fd81..447566552a56040fbad06aa74836bf86b10a920e 100644 (file)
@@ -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
similarity index 83%
rename from dev-util/gprof2dot/gprof2dot-0_p20130517.ebuild
rename to dev-util/gprof2dot/gprof2dot-2013.05.17.ebuild
index 4579692ec843d6c12e6670739ed9640087aef6fb..8edb2a36308e40dd34de9510e9e76465a985b2eb 100644 (file)
@@ -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 (file)
index 0000000..c58ed8e
--- /dev/null
@@ -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}"