diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-11-04 22:13:37 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-11-04 22:13:37 +0000 |
commit | 39ca6159b9ac903dc56818918d9f97bc831f0955 (patch) | |
tree | e9b34845be7f96bc244fd239f6dd8090096ce703 /dev-python/yappi/yappi-1.4.0.ebuild | |
parent | bc968d15e7f24968eb69567c7f2fca470fdedacd (diff) |
gentoo auto-resync : 04:11:2023 - 22:13:37
Diffstat (limited to 'dev-python/yappi/yappi-1.4.0.ebuild')
-rw-r--r-- | dev-python/yappi/yappi-1.4.0.ebuild | 9 |
1 files changed, 8 insertions, 1 deletions
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 |