diff options
author | Sebastian Pipping <sping@gentoo.org> | 2013-06-16 13:29:56 +0000 |
---|---|---|
committer | Sebastian Pipping <sping@gentoo.org> | 2013-06-16 13:29:56 +0000 |
commit | 18a048f3e1903d0cf23ef988d6dd2e20c37083f2 (patch) | |
tree | dbd38239653daec148798b916c89ec73f85510be /dev-util | |
parent | Fix failed gpg signature (diff) | |
download | historical-18a048f3e1903d0cf23ef988d6dd2e20c37083f2.tar.gz historical-18a048f3e1903d0cf23ef988d6dd2e20c37083f2.tar.bz2 historical-18a048f3e1903d0cf23ef988d6dd2e20c37083f2.zip |
dev-util/gprof2dot: xrange patch (bug #473418)
Package-Manager: portage-2.1.11.62/cvs/Linux x86_64
Manifest-Sign-Key: 0x401A1600
Diffstat (limited to 'dev-util')
-rw-r--r-- | dev-util/gprof2dot/ChangeLog | 7 | ||||
-rw-r--r-- | dev-util/gprof2dot/Manifest | 11 | ||||
-rw-r--r-- | dev-util/gprof2dot/files/gprof2dot-0_p20130517-py3-xrange.patch | 10 | ||||
-rw-r--r-- | dev-util/gprof2dot/gprof2dot-0_p20130517.ebuild | 6 |
4 files changed, 27 insertions, 7 deletions
diff --git a/dev-util/gprof2dot/ChangeLog b/dev-util/gprof2dot/ChangeLog index 2e791c1472be..61dd999ec476 100644 --- a/dev-util/gprof2dot/ChangeLog +++ b/dev-util/gprof2dot/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-util/gprof2dot # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-util/gprof2dot/ChangeLog,v 1.5 2013/05/19 21:01:48 sping Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-util/gprof2dot/ChangeLog,v 1.6 2013/06/16 13:29:36 sping Exp $ + + 16 Jun 2013; Sebastian Pipping <sping@gentoo.org> + gprof2dot-0_p20130517.ebuild, +files/gprof2dot-0_p20130517-py3-xrange.patch: + Handle lack of xrange(..) in Python 3, thanks for the patch to Reinis Danne + (bug #473418) *gprof2dot-0_p20130517 (19 May 2013) diff --git a/dev-util/gprof2dot/Manifest b/dev-util/gprof2dot/Manifest index d7224ab912a6..04ce3c1bc948 100644 --- a/dev-util/gprof2dot/Manifest +++ b/dev-util/gprof2dot/Manifest @@ -2,16 +2,17 @@ Hash: SHA256 AUX gprof2dot-0_p20100216-python3.patch 20881 SHA256 1fd7f076ab9c170d9aa0c2b6c63d9b5ced1dd0c99f5e1c73c0c33d2dfe85c9da SHA512 f2c661cccf6f4d40393fd3986ffb1d2364237e1bcca7a5b20453eb6d011c9eb55ef4578362564bdfb4c26af634478bdaa1c047eaba926a404c5cd9396015cbd3 WHIRLPOOL 1977391d50fc0de94be9113e0f16f5ddd1c26cdac9300fb1bfaf8137c3660506290d344d2242e1874e965d035ca01f13794b8bb11701f44250303511c8b64fdf +AUX gprof2dot-0_p20130517-py3-xrange.patch 431 SHA256 d200854f170b82ebbc740a140e3b30a9aeeb0fa1c2eb3f7973b920ce6abe152e SHA512 d855f0c0736f984360c48dc5a26e50502ae06e8b3450624e3e67efbf6659e67891cc78e4419aeaad8a85b2a94c09090f2b6cd04048913b1c971be8d874c50bfe WHIRLPOOL 9292577720571812fb056cdcbca40971cad4f328526951e534a853e6db51b6ce47c5366aabb05331696b3351d220832a062d1b1ca8a38fe297b565ccb74bf8ce DIST gprof2dot-0_p20100216.tar.bz2 266908 SHA256 696dca5532e2f7317aca298d1e5e906108501bf005c8cb372bb41ed869be9f3b SHA512 4ca57a1f6859dd42ca57603c085d8134899465a3ef0cf1c9ff2f48f0c1e59f0633aea201f307d485e118116f27d769cc541b4fbb79853e179da3c7c3881082ff WHIRLPOOL 7e5880ba3ef770eae22ea2e94807bbecf92cb09a1b219cfdf7ed563b86c2dd321d677c547e8a5ae310bbd07bddf5c86ab5c3638400f753b5e7f7b90c91269a53 DIST gprof2dot-0_p20130517.tar.xz 1080464 SHA256 d491a8048a7ebc169557393ee517ede3c3958696e5257fbe3698bfbab6218691 SHA512 1907cb889d1776723ca944d588fa4185afdeee11cc85ec40c03832568d91612bab708160c69036fc45fef05bca62c5bc8f6ef19cbb45c6bfd1952dda94c54a4b WHIRLPOOL 1f04729faf6fa47921c3b953d4a38db598d9905a35d198ff7680e778f214e5ec54026840de7a8bcfaf351fdceadd3d0ba3865dbbe95cbc28704b6cab9670b2d7 EBUILD gprof2dot-0_p20100216.ebuild 1089 SHA256 ea2e4f8480031c6189605038ed5dbdba537e1703f4852ec9ddfed3b09e93a4b3 SHA512 9136e2b968ec2c51bed8d64a104123ee33f767de8b482e1d69adcf01b89804261cd695ccc922ad2cda532ceae202475fa9ee1c130ce20b619706bee41a323c8d WHIRLPOOL 45c4f3a13c61401128566364e4bd829b31185f35811292608315205fa55f5d61fee836a36e3e063c369d130de7d8d3268d4b7219b88d9f059cd440d32f47f4cc -EBUILD gprof2dot-0_p20130517.ebuild 1041 SHA256 5e00813a9809ce370f98d26b1e017c9ed40afe8ae7a4fa4586e9cd890ab0e2d4 SHA512 66001cd943a1ba9cf400a0d1e1dbdd851869b6668e6cf0c6f7df309e82300563c2f85ff9e630e3a806837eb37dc0a230a199c5b51caec2fac70486f9d105c383 WHIRLPOOL f78513bf80e593d56e7f7b65f298c22687648f0cdcdae9c96a6dd450d81ed73440b9edc1aa8cbce9f7bf53ec6f4e11b7dc3889e23ccdaf14b87671b36801186d -MISC ChangeLog 1082 SHA256 ca8bb84f2637e7543877418d97dff22660e69e50589bf36c518022fa6b274599 SHA512 b770e0e63a27b7e84cd65d218284c11149a0eb18f3f9af703df55e7289987f57dee5deaf3a6eddd507af3f4645773742e7e764c1ac82f12cd17068f6b1b1f3d1 WHIRLPOOL 0679c2e4969b20adb428f09d5c007c67eafd2e8c81d0364ac1de4cb2589a715d74e50e9457f404932aa5987c9d104b3cf0f347b78333fc6c5a8bc20f8a5eacce +EBUILD gprof2dot-0_p20130517.ebuild 1104 SHA256 da5ea49402c9ad573444d99fb990580e42aefc40a45c9c465a35807b779f46f4 SHA512 dcfcb24bb50ce5be22e03d33146f86a8cc80110c8c03a7682923c0cf6f919cbd8b61e46db0550944663eabaafb4f3fc6438345f827b23848350773f7ba4eb462 WHIRLPOOL 25f64d4331124885f95b923f23d8da8658a16cbfb910b04fea7a163219d2e45d24f4738240a176d7aefdbcf7eb826b7f675bebb14b32f82cd097a4ef6c97dc39 +MISC ChangeLog 1308 SHA256 bf4edf373c0c3ed24ecb6cb5b327082f9ad17e20247a260ae695047e861bf726 SHA512 7f4327a405530d02189c9b278d5ed7899b973a40aad0eb9eba6655b9fe088cfb89598502d2ad701d677d1652954acdfda8ba0edf3ca9435b0c6760da96b76ff9 WHIRLPOOL dfdefd4ee64907e7284760c39c107ffefdf1f37ce0f9351d4079166751bb32684ef4b0ba0599349e9eb58ffb77ac5f80226645d652eab136df504b1eacf5dcf5 MISC metadata.xml 235 SHA256 095e4ee6b3ae673e7ddf0d4e166a632d3384d6374c6dd86d8c401a8f5c43f7fe SHA512 52fe834d5150301a0247d32806e487fa9838f30eb94e3d6cc2f10f2b574e95a113accdd2dd4097c2033a0dfc6da06948a3ea6e13f593f038c0d0e9e13ecbfdf5 WHIRLPOOL e070f37f0eab35b3b21bba900e3d710592720cdcf57f02bd9dcc8f7af418a152c36b22022af50d40d7267b7bf041739031135d65e66c6e9b9b31597d920d4364 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) -iEYEAREIAAYFAlGZPkQACgkQsAvGakAaFgDdKQCfYlEO958xO30ilVz9Cwyj1Fr0 -IMAAn1+QPb6qe2gOV91HVvoPlJOQb9Pp -=T9b7 +iEYEAREIAAYFAlG9vewACgkQsAvGakAaFgBF5QCgqt/7009Fu9540D3b0Jqa2qBC +5ygAnRZE6nNIEyJqOG2bEfF7RtQYTXkz +=1HPn -----END PGP SIGNATURE----- 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-0_p20130517.ebuild b/dev-util/gprof2dot/gprof2dot-0_p20130517.ebuild index 72a8b3e96d2e..fee581bf5d84 100644 --- a/dev-util/gprof2dot/gprof2dot-0_p20130517.ebuild +++ b/dev-util/gprof2dot/gprof2dot-0_p20130517.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2013 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-util/gprof2dot/gprof2dot-0_p20130517.ebuild,v 1.1 2013/05/19 21:01:49 sping Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-util/gprof2dot/gprof2dot-0_p20130517.ebuild,v 1.2 2013/06/16 13:29:36 sping Exp $ EAPI="5" @@ -21,6 +21,10 @@ IUSE="" DEPEND="" RDEPEND="" +src_prepare() { + epatch "${FILESDIR}"/${P}-py3-xrange.patch +} + _make_call_script() { cat <<-EOF >"${D}/$1" #! /usr/bin/env python |