From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 2167215800A for ; Wed, 30 Aug 2023 13:23:05 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4F5132BC021; Wed, 30 Aug 2023 13:23:04 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 34C432BC021 for ; Wed, 30 Aug 2023 13:23:04 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 20D17340B27 for ; Wed, 30 Aug 2023 13:23:03 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 34DF910DD for ; Wed, 30 Aug 2023 13:23:01 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1693401776.ac1df1b75f8e3a099f64b3c5ac25e24d9cc22b3c.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/indexed-gzip/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/indexed-gzip/indexed-gzip-1.8.5-r1.ebuild X-VCS-Directories: dev-python/indexed-gzip/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: ac1df1b75f8e3a099f64b3c5ac25e24d9cc22b3c X-VCS-Branch: master Date: Wed, 30 Aug 2023 13:23:01 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 4d1b5f01-eca7-4ab1-a9a9-f856fc838379 X-Archives-Hash: 53266a92278568144881c816a2599afb commit: ac1df1b75f8e3a099f64b3c5ac25e24d9cc22b3c Author: Michał Górny gentoo org> AuthorDate: Wed Aug 30 12:07:05 2023 +0000 Commit: Michał Górny gentoo org> CommitDate: Wed Aug 30 13:22:56 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ac1df1b7 dev-python/indexed-gzip: Fix implicit dep on dev-python/numpy Signed-off-by: Michał Górny gentoo.org> dev-python/indexed-gzip/indexed-gzip-1.8.5-r1.ebuild | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/dev-python/indexed-gzip/indexed-gzip-1.8.5-r1.ebuild b/dev-python/indexed-gzip/indexed-gzip-1.8.5-r1.ebuild index 1623c5ba6d3c..f0471dab64aa 100644 --- a/dev-python/indexed-gzip/indexed-gzip-1.8.5-r1.ebuild +++ b/dev-python/indexed-gzip/indexed-gzip-1.8.5-r1.ebuild @@ -48,6 +48,14 @@ src_compile() { if use debug; then export INDEXED_GZIP_TESTING=1 fi + # Fix implicit dependency on numpy that is used to build test + # extensions. + if ! use test; then + local -x PYTHONPATH="${T}:${PYTHONPATH}" + cat >> "${T}"/numpy.py <<-EOF || die + raise ImportError("I am not here!") + EOF + fi distutils-r1_src_compile }