From 39ca6159b9ac903dc56818918d9f97bc831f0955 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 4 Nov 2023 22:13:37 +0000 Subject: gentoo auto-resync : 04:11:2023 - 22:13:37 --- dev-python/yappi/Manifest | 2 +- dev-python/yappi/yappi-1.4.0.ebuild | 9 ++++++++- 2 files changed, 9 insertions(+), 2 deletions(-) (limited to 'dev-python/yappi') diff --git a/dev-python/yappi/Manifest b/dev-python/yappi/Manifest index f1eacd0eb819..407db5a33882 100644 --- a/dev-python/yappi/Manifest +++ b/dev-python/yappi/Manifest @@ -1,4 +1,4 @@ AUX yappi-1.2.5-warnings.patch 483 BLAKE2B e084ebde1a6769ace82ed1d1b878f656ffd283678acf474af866f26951231a823a930323c1d7fbdb06c01b4b06b98522ba1bfb427973261627cb9967949d8b8a SHA512 81dde3661720814ca89fb3cd20786601ae7a5362a288c7f9ebbafd4095006b863dfa3c544821b917d9abb8a2532b08d415440a21f19e14e3a67c517064f1ab61 DIST yappi-1.4.0.gh.tar.gz 938290 BLAKE2B 98a9c82d101e64f70f589b51ee461e1967c0fada75ab98e0de8f0446254e7ad73e25b842c85464953b9f81fc54d2007151dfc91e4176068a7cb320176c8828d2 SHA512 c557c67cfce29db1a526a2d385af28cd241eae46a653e9b4f7308a6f52ff1ede49b9211af09889c63eae3eeb38d55813a8026161b1184fccf4db4add8a022541 -EBUILD yappi-1.4.0.ebuild 635 BLAKE2B 0356ac500994234fbfeefc992a96bc04e62af42cddf8a1158aacda49ab22208e0a381d7e696b310279941b79723f32588dd52ba680a2f5b2be0d472ee2c13d0a SHA512 948a0ecf11c56dff5e77e77095a8d8de623094c2a18c06da46bcd071cef3715278b4586458cd5606e1cb6e4467d27932a221668381c50a437c2ba942945f757a +EBUILD yappi-1.4.0.ebuild 846 BLAKE2B 5597c0beaa9ba1009caef91a8dc784b31202d18edd402c4ba0fd65fbe1695bb673efd34220379ab7245654fd00d507df23cf2ff57185e03e98ed47d0d8f1c1bf SHA512 74756e26bbe5ac98e1c8dc3638cb038554ec8384d87653994b0a761c082459932f3abfaff0a6cd9071ee7ff083b2af2c2a2773a0dc095c8aee03ecdcb3068857 MISC metadata.xml 489 BLAKE2B 243541f7de9fca044073eb0f35d32b751738c9172dc1ef15599eed56c0c8b2e9758d703e555aadfbdd4d1f96def39f88798be495d80fcbb763e0f1e0f3590822 SHA512 2eeeb6c6b73f5077584150d05e9c1d8bef00d0fb83283c6f5804ec31151f3e59d2de91ecd86508a2fc2a61aaab7e82455c633487f64a4c6dcbe5ca9229fe20ed diff --git a/dev-python/yappi/yappi-1.4.0.ebuild b/dev-python/yappi/yappi-1.4.0.ebuild index 419c6f5dda73..552b6d3f1e05 100644 --- a/dev-python/yappi/yappi-1.4.0.ebuild +++ b/dev-python/yappi/yappi-1.4.0.ebuild @@ -5,7 +5,7 @@ EAPI=8 DISTUTILS_EXT=1 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{9..11} ) +PYTHON_COMPAT=( python3_{10..12} ) inherit distutils-r1 @@ -29,6 +29,13 @@ PATCHES=( "${FILESDIR}/yappi-1.2.5-warnings.patch" ) +src_prepare() { + # using new API makes sense for versions newer than 3.11 too, sigh... + # https://github.com/sumerc/yappi/pull/148 + sed -i -e 's:== 11:>= 11:' yappi/_yappi.c || die + distutils-r1_src_prepare +} + python_test() { local -x PYTHONPATH=tests eunittest -- cgit v1.2.3