diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2020-04-12 03:41:30 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2020-04-12 03:41:30 +0100 |
commit | 623ee73d661e5ed8475cb264511f683407d87365 (patch) | |
tree | 993eb27c93ec7a2d2d19550300d888fc1fed9e69 /dev-python/pyprof2calltree | |
parent | ceeeb463cc1eef97fd62eaee8bf2196ba04bc384 (diff) |
gentoo Easter resync : 12.04.2020
Diffstat (limited to 'dev-python/pyprof2calltree')
-rw-r--r-- | dev-python/pyprof2calltree/Manifest | 5 | ||||
-rw-r--r-- | dev-python/pyprof2calltree/files/pyprof2calltree-1.4.0-py3-test.patch | 30 | ||||
-rw-r--r-- | dev-python/pyprof2calltree/pyprof2calltree-1.4.4.ebuild (renamed from dev-python/pyprof2calltree/pyprof2calltree-1.4.0.ebuild) | 15 |
3 files changed, 6 insertions, 44 deletions
diff --git a/dev-python/pyprof2calltree/Manifest b/dev-python/pyprof2calltree/Manifest index c1af6cc08d86..ba170c6fc81c 100644 --- a/dev-python/pyprof2calltree/Manifest +++ b/dev-python/pyprof2calltree/Manifest @@ -1,4 +1,3 @@ -AUX pyprof2calltree-1.4.0-py3-test.patch 895 BLAKE2B 23fc01e9c0657b26ebf061bb8e42b966e35bf73190d8d46c3822a04a5f4f637448307924e4e89274ba809661c330c7b4c7ea58b85d81977857fc21a724e217ed SHA512 26f55492e65f8708c0587c594ae05a4ffe2611debe1dacabfa6b959468c02ae5e3c4b8ca0a86fc8f23be1646aef83b9450468483f7f40a8f746e026dac0b70db -DIST pyprof2calltree-1.4.0.tar.gz 7784 BLAKE2B e8b9ecd857930406bb3b7f7851913a68f1e3433f3b42c262922b5d5b0fbfa692078fdad811d4ca358f7c74d14320c914cfa779ed0b9da8c4fcd7d8e021fd3319 SHA512 b1acba29cd4e5112012eeeffdac53900688a28707306ef3a8a3827f7422c35bc921d59d33db3209db923bb8640014e7d9d7d819eafbcb19e0cf7e6159537bded -EBUILD pyprof2calltree-1.4.0.ebuild 660 BLAKE2B d8793fc6d7226475967de9b68ddda684a223206dd0590bddf72ba36547041fab99f8388d9a9ed73f6e281093e18b79a1a9be0d7cdf5ed23f34dfbe5a92a53d62 SHA512 60cf12057fc50f7fee97ef0b2176e4ed5ef71734fcc94aeb52bb9c2abc32c340794aa7d91ef3437e1e12368114ac534f97463a17eb7b5b021d802e4c7aea576b +DIST pyprof2calltree-1.4.4.tar.gz 8797 BLAKE2B 0929728d3a6de1cc40e54bd4581bb4b64875a4d7f3ccef725300d40d2b3fd175d8ff462591357e32a471e5c3a4c5c51ac7e9c81c2e857050745a748bc4117d8a SHA512 7ffc228e542a568cb421394035660623415495472b5b3659a35b02c7ccccb7f578dc872d2bb1daf4fdfcd44134e1ad9b5ce3a18f49b15dd4aeb3b5f1201a28d8 +EBUILD pyprof2calltree-1.4.4.ebuild 523 BLAKE2B cefbca27835da4a18a0a61d72c1cf08fc4de8133912f9d7833aa6e5def9a9788c8f3e4eeafd589641cb1a4114347804cd78f92a1176e6db24900b958630c4057 SHA512 e8d761ea450ae48678360b9037e89d2c4b366f9a62de16a2771bea24cdfee64e7854cd6a66b31f87fc7fd5cc95c40d79483b30acfde5063a8f80e0847afdfedc MISC metadata.xml 318 BLAKE2B 9a8c3c56c2987bb1de47d374f81d25eee0aec15c00432bfd1585dadd5c57aae4ba8453739ad12dbcb8b44c54de4c5042a41da9458585387e1000ec6e97b9a267 SHA512 7a75d6efb9f11a6e1ce086cf53e5038b12815fe8110bf16c9b6e781c31cb721ec8694fb6fb0d4d131f9581cb130cecbceadf0e10b1528717cb8f4ab977514372 diff --git a/dev-python/pyprof2calltree/files/pyprof2calltree-1.4.0-py3-test.patch b/dev-python/pyprof2calltree/files/pyprof2calltree-1.4.0-py3-test.patch deleted file mode 100644 index a91818fca60c..000000000000 --- a/dev-python/pyprof2calltree/files/pyprof2calltree-1.4.0-py3-test.patch +++ /dev/null @@ -1,30 +0,0 @@ -From 582eeeaa930639ccfe9b789b057f170824edd73a Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= <mgorny@gentoo.org> -Date: Wed, 17 May 2017 20:53:29 +0200 -Subject: [PATCH] tests: Fix StringIO import for Python 3 - -Python 3 no longer provides a 'cStringIO' module. Use StringIO from 'io' -module instead. ---- - tests/test_integration.py | 5 ++++- - 1 file changed, 4 insertions(+), 1 deletion(-) - -diff --git a/tests/test_integration.py b/tests/test_integration.py -index e6f432c..cf02a4f 100644 ---- a/tests/test_integration.py -+++ b/tests/test_integration.py -@@ -3,7 +3,10 @@ import pstats - import unittest - - from .profile_code import top, expected_output --from cStringIO import StringIO -+try: -+ from cStringIO import StringIO -+except ImportError: -+ from io import StringIO - from pyprof2calltree import CalltreeConverter - - class MockTimeProfile(cProfile.Profile): --- -2.13.0 - diff --git a/dev-python/pyprof2calltree/pyprof2calltree-1.4.0.ebuild b/dev-python/pyprof2calltree/pyprof2calltree-1.4.4.ebuild index f341bae4d0e2..e4a9af870f68 100644 --- a/dev-python/pyprof2calltree/pyprof2calltree-1.4.0.ebuild +++ b/dev-python/pyprof2calltree/pyprof2calltree-1.4.4.ebuild @@ -1,8 +1,9 @@ # Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 -PYTHON_COMPAT=( python3_6 ) +EAPI=7 +PYTHON_COMPAT=( python3_{6,7,8} ) +DISTUTILS_USE_SETUPTOOLS=rdepend inherit distutils-r1 @@ -15,12 +16,4 @@ LICENSE="MIT" SLOT="0" KEYWORDS="~amd64 ~x86" -DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]" - -PATCHES=( - "${FILESDIR}"/pyprof2calltree-1.4.0-py3-test.patch -) - -python_test() { - "${PYTHON}" -m tests.test_integration || die "Tests fail with ${EPYTHON}" -} +distutils_enable_tests setup.py |