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) server-digest SHA256) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 11D0A158003 for ; Thu, 3 Nov 2022 20:59:57 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3E83BE09C9; Thu, 3 Nov 2022 20:59:56 +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 1C108E09C9 for ; Thu, 3 Nov 2022 20:59:56 +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 1CE63340DCD for ; Thu, 3 Nov 2022 20:59:55 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 52C9575 for ; Thu, 3 Nov 2022 20:59:53 +0000 (UTC) From: "Patrick McLean" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Patrick McLean" Message-ID: <1667509188.c7a8cf1d75e09370f5b7c35fffc115d63a3bbbae.chutzpah@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-libs/libnvme/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-libs/libnvme/libnvme-1.2-r1.ebuild sys-libs/libnvme/libnvme-1.2.ebuild X-VCS-Directories: sys-libs/libnvme/ X-VCS-Committer: chutzpah X-VCS-Committer-Name: Patrick McLean X-VCS-Revision: c7a8cf1d75e09370f5b7c35fffc115d63a3bbbae X-VCS-Branch: master Date: Thu, 3 Nov 2022 20:59:53 +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: 764bf3a3-5980-436b-b0b2-25695875d392 X-Archives-Hash: 90f0a371f5e027189ed80bff07965e33 commit: c7a8cf1d75e09370f5b7c35fffc115d63a3bbbae Author: Patrick McLean gentoo org> AuthorDate: Thu Nov 3 20:59:05 2022 +0000 Commit: Patrick McLean gentoo org> CommitDate: Thu Nov 3 20:59:48 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c7a8cf1d sys-libs/libnvme: Revbump, fix python deps (bug #878935), swig dep Closes: https://bugs.gentoo.org/878935 Signed-off-by: Patrick McLean gentoo.org> .../libnvme/{libnvme-1.2.ebuild => libnvme-1.2-r1.ebuild} | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/sys-libs/libnvme/libnvme-1.2.ebuild b/sys-libs/libnvme/libnvme-1.2-r1.ebuild similarity index 88% rename from sys-libs/libnvme/libnvme-1.2.ebuild rename to sys-libs/libnvme/libnvme-1.2-r1.ebuild index ab243c0836c3..afe0173da916 100644 --- a/sys-libs/libnvme/libnvme-1.2.ebuild +++ b/sys-libs/libnvme/libnvme-1.2-r1.ebuild @@ -23,6 +23,10 @@ DEPEND=" " RDEPEND="${DEPEND}" +BDEPEND=" + dev-lang/swig +" + REQUIRED_USE=" python? ( ${PYTHON_REQUIRED_USE} ) " @@ -44,14 +48,16 @@ python_compile() { src_compile() { meson_src_compile - python_copy_sources - use python && python_foreach_impl python_compile + if use python; then + python_copy_sources + python_foreach_impl python_compile + fi } python_install() { meson_src_install - python_optimize + use python && python_optimize } src_install() {