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 04F5D138334 for ; Wed, 16 Oct 2019 05:22:42 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A2692E091A; Wed, 16 Oct 2019 05:22:37 +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 8A579E091A for ; Wed, 16 Oct 2019 05:22:37 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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 458DE34BE81 for ; Wed, 16 Oct 2019 05:22:36 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id BA9A488F for ; Wed, 16 Oct 2019 05:22:31 +0000 (UTC) From: "Joonas Niilola" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Joonas Niilola" Message-ID: <1571203320.28454deb31bada0afb7ddb7c1ca228301725905f.juippis@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/libcharon/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-libs/libcharon/libcharon-4.3.0.ebuild X-VCS-Directories: dev-libs/libcharon/ X-VCS-Committer: juippis X-VCS-Committer-Name: Joonas Niilola X-VCS-Revision: 28454deb31bada0afb7ddb7c1ca228301725905f X-VCS-Branch: master Date: Wed, 16 Oct 2019 05:22:31 +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: a1e26236-9b9f-4448-8094-69ace81f710c X-Archives-Hash: a87eebd7be5f1f7a2611a544838c7232 commit: 28454deb31bada0afb7ddb7c1ca228301725905f Author: Michael Perlov gmail com> AuthorDate: Sat Sep 28 23:36:32 2019 +0000 Commit: Joonas Niilola gentoo org> CommitDate: Wed Oct 16 05:22:00 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=28454deb dev-libs/libcharon: use current python version Package-Manager: Portage-2.3.76, Repoman-2.3.17 Signed-off-by: Michael Perlov gmail.com> Closes: https://github.com/gentoo/gentoo/pull/13073 Signed-off-by: Joonas Niilola gentoo.org> dev-libs/libcharon/libcharon-4.3.0.ebuild | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/dev-libs/libcharon/libcharon-4.3.0.ebuild b/dev-libs/libcharon/libcharon-4.3.0.ebuild index b8424b88bd2..19d4856e435 100644 --- a/dev-libs/libcharon/libcharon-4.3.0.ebuild +++ b/dev-libs/libcharon/libcharon-4.3.0.ebuild @@ -21,3 +21,10 @@ REQUIRED_USE="${PYTHON_REQUIRED_USE}" RDEPEND="${PYTHON_DEPS}" S="${WORKDIR}/${MY_PN}-${PV}" + +src_prepare() { + # Use current python version, not the latest installed + sed -i "s/find_package(Python3 3.4 REQUIRED/find_package(Python3 ${EPYTHON##python} EXACT REQUIRED/g" CMakeLists.txt || die + + cmake-utils_src_prepare +}