dev-python/yappi: Remove old

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2022-06-22 13:58:05 +02:00
parent bdf4ec2b95
commit f0c256d2d4
3 changed files with 0 additions and 49 deletions

View File

@@ -1,2 +1 @@
DIST yappi-1.3.3.gh.tar.gz 936700 BLAKE2B 45e974949dfeaf6487dd76ef13a1b7f4456e805e50d85d089a366c5dc4ac852ccc117224ce5f17affa1f1ba1950a86b6f666cbc8e76edf51bf21cf2f527b877f SHA512 5634b8af997a082031ad1ec12eb83498949f1a56be3a324137d118f55ee51758af8c129da30138fa54f165eafed1572fb2289476e6d0cd838a884ee9118fd8da
DIST yappi-1.3.5.gh.tar.gz 936884 BLAKE2B a33ea0c506b3e0d05e141b01ebf4af158c6c794c0c504e52c19c00295f105cfff8a6aa8964ce07e13b87cd60164adfd1107da2c286e17dc0d779e7f9e916fbf8 SHA512 2fc243522414626ed6327b3f6b26c4001f01e288700df62cef81e73cf4077af238836b100167df3c4cfb4e0091d4de14385d349b9821759401cc3666e6fe94e9

View File

@@ -1,12 +0,0 @@
diff -ur a/tests/test_functionality.py b/tests/test_functionality.py
--- a/tests/test_functionality.py 2020-04-27 12:57:09.000000000 -0700
+++ b/tests/test_functionality.py 2020-10-30 18:08:35.619553108 -0700
@@ -338,7 +338,7 @@
fsa = utils.find_stat_by_name(stats, "a")
self.assertEqual(fsa.module, os.path.basename(fsa.module))
- @unittest.skipIf(os.name == "nt", "do not run on Windows")
+ @unittest.skip("does not like ebuild environment")
def test_run_as_script(self):
import re
p = subprocess.Popen(

View File

@@ -1,36 +0,0 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python3_{8..10} )
inherit distutils-r1
# no tags on github, no tests on pypi
COMMIT_HASH="8bf7a650066f104f59c3cae4a189ec15e7d51c8c"
DESCRIPTION="Yet Another Python Profiler"
HOMEPAGE="https://pypi.org/project/yappi/ https://github.com/sumerc/yappi"
SRC_URI="
https://github.com/sumerc/yappi/archive/${COMMIT_HASH}.tar.gz
-> ${P}.gh.tar.gz
"
S="${WORKDIR}/${PN}-${COMMIT_HASH}"
LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64 ~arm ~arm64 ~riscv x86"
BDEPEND="test? ( dev-python/gevent[${PYTHON_USEDEP}] )"
distutils_enable_tests unittest
PATCHES=(
"${FILESDIR}/yappi-1.2.5-warnings.patch"
"${FILESDIR}/yappi-1.3.0-tests.patch"
)
python_prepare_all() {
cp tests/utils.py "${S}" || die
distutils-r1_python_prepare_all
}