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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 48F79138334 for ; Thu, 10 Jan 2019 21:21:41 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3F516E094B; Thu, 10 Jan 2019 21:21:40 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 1BD09E094B for ; Thu, 10 Jan 2019 21:21:40 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id A5F3B335D07 for ; Thu, 10 Jan 2019 21:21:37 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id ABFA950C for ; Thu, 10 Jan 2019 21:21:35 +0000 (UTC) From: "James Le Cuirot" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "James Le Cuirot" Message-ID: <1547155193.3bd7fe4f2163a9e4d1edf99a84881b3cd66c8ba9.chewi@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/cffi/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/cffi/cffi-1.11.5.ebuild X-VCS-Directories: dev-python/cffi/ X-VCS-Committer: chewi X-VCS-Committer-Name: James Le Cuirot X-VCS-Revision: 3bd7fe4f2163a9e4d1edf99a84881b3cd66c8ba9 X-VCS-Branch: master Date: Thu, 10 Jan 2019 21:21:35 +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: 4503bb52-880a-4de3-9d97-254adadbaf29 X-Archives-Hash: 77fc978ee49bf5108b0b444cd83540c3 commit: 3bd7fe4f2163a9e4d1edf99a84881b3cd66c8ba9 Author: James Le Cuirot gentoo org> AuthorDate: Sun Sep 9 13:27:51 2018 +0000 Commit: James Le Cuirot gentoo org> CommitDate: Thu Jan 10 21:19:53 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3bd7fe4f dev-python/cffi: Fix cross-compiling of 1.11.5 We need to tell it the right pkg-config. Signed-off-by: James Le Cuirot gentoo.org> Package-Manager: Portage-2.3.49, Repoman-2.3.10 dev-python/cffi/cffi-1.11.5.ebuild | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/dev-python/cffi/cffi-1.11.5.ebuild b/dev-python/cffi/cffi-1.11.5.ebuild index 9cd44285b9c..20a17f5c3fc 100644 --- a/dev-python/cffi/cffi-1.11.5.ebuild +++ b/dev-python/cffi/cffi-1.11.5.ebuild @@ -7,7 +7,7 @@ EAPI=6 # pypy bundles a modified version of cffi. Use python_gen_cond_dep instead. PYTHON_COMPAT=( python2_7 python3_{4,5,6,7} ) -inherit distutils-r1 +inherit distutils-r1 toolchain-funcs DESCRIPTION="Foreign Function Interface for Python calling C code" HOMEPAGE="https://cffi.readthedocs.io/ https://pypi.org/project/cffi/" @@ -29,6 +29,10 @@ DEPEND="${RDEPEND} # Avoid race on _configtest.c (distutils/command/config.py:_gen_temp_sourcefile) DISTUTILS_IN_SOURCE_BUILD=1 +src_configure() { + tc-export PKG_CONFIG +} + python_compile_all() { use doc && emake -C doc html }