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 70F3B158020 for ; Sun, 30 Oct 2022 12:32:43 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 85EF2E0882; Sun, 30 Oct 2022 12:32:42 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 713C1E0882 for ; Sun, 30 Oct 2022 12:32:42 +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 53D66340A3B for ; Sun, 30 Oct 2022 12:32:41 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 709F5629 for ; Sun, 30 Oct 2022 12:32:39 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1667133145.5cc950a3a9d3ca757dd1e38bfff8318ffa798826.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pyproj/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/pyproj/pyproj-3.4.0.ebuild X-VCS-Directories: dev-python/pyproj/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 5cc950a3a9d3ca757dd1e38bfff8318ffa798826 X-VCS-Branch: master Date: Sun, 30 Oct 2022 12:32:39 +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: 6d8247ab-0330-461b-9961-f9bbf307ff88 X-Archives-Hash: dfa83aba256759a16e2e5fab942310b0 commit: 5cc950a3a9d3ca757dd1e38bfff8318ffa798826 Author: Sam James gentoo org> AuthorDate: Sun Oct 30 12:32:25 2022 +0000 Commit: Sam James gentoo org> CommitDate: Sun Oct 30 12:32:25 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5cc950a3 dev-python/pyproj: fix build w/ lld (respect libdir) Closes: https://bugs.gentoo.org/730316 Signed-off-by: Sam James gentoo.org> dev-python/pyproj/pyproj-3.4.0.ebuild | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/dev-python/pyproj/pyproj-3.4.0.ebuild b/dev-python/pyproj/pyproj-3.4.0.ebuild index bffdc509c1a8..c0065b0c9ead 100644 --- a/dev-python/pyproj/pyproj-3.4.0.ebuild +++ b/dev-python/pyproj/pyproj-3.4.0.ebuild @@ -47,6 +47,13 @@ distutils_enable_sphinx docs \ dev-python/furo distutils_enable_tests pytest +src_configure() { + # Avoid greedily trying -L/usr/lib, etc + # https://github.com/pyproj4/pyproj/blob/main/setup.py#L76 + export PROJ_LIBDIR="${ESYSROOT}/usr/$(get_libdir)" + export PROJ_INCDIR="${ESYSROOT}/usr/include" +} + python_test() { rm -rf pyproj || die epytest -m "not network" test