commit: 2dfc37990253050325b7ec6f35af4c4694b35431
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun Apr 20 05:44:27 2025 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Apr 20 05:52:30 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2dfc3799
dev-python/aiohttp: Fix cythonization
Upstream added `tools` directory to the source distribution, so our
check no longer triggered. Use `.install-cython` file instead.
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/aiohttp/aiohttp-3.11.17.ebuild | 9 +++------
1 file changed, 3 insertions(+), 6 deletions(-)
diff --git a/dev-python/aiohttp/aiohttp-3.11.17.ebuild
b/dev-python/aiohttp/aiohttp-3.11.17.ebuild
index 2c0d281aa753..77309be17d23 100644
--- a/dev-python/aiohttp/aiohttp-3.11.17.ebuild
+++ b/dev-python/aiohttp/aiohttp-3.11.17.ebuild
@@ -71,13 +71,10 @@ src_prepare() {
}
python_configure() {
- if [[ ! -d tools && ${EPYTHON} != pypy3 ]] && use native-extensions
+ # check for .install-cython, so that we do this only once
+ if [[ ! -f .install-cython && ${EPYTHON} != pypy3 ]] &&
+ use native-extensions
then
- # workaround missing files
- mkdir tools || die
- > requirements/cython.txt || die
- > tools/gen.py || die
- chmod +x tools/gen.py || die
# force rehashing first
emake requirements/.hash/cython.txt.hash
> .update-pip || die