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 97D2B159C9B for ; Wed, 14 Aug 2024 05:20:00 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 928882BC02C; Wed, 14 Aug 2024 05:19:58 +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 752362BC02C for ; Wed, 14 Aug 2024 05:19:58 +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 78E20343025 for ; Wed, 14 Aug 2024 05:19:57 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A8FFC1EEA for ; Wed, 14 Aug 2024 05:19:55 +0000 (UTC) From: "Eli Schwartz" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Eli Schwartz" Message-ID: <1723612543.99aac9e15f746e89cd8b17f88a9294b45401f149.eschwartz@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-lang/yap/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-lang/yap/yap-7.0.1.ebuild dev-lang/yap/yap-7.1.0.ebuild X-VCS-Directories: dev-lang/yap/ X-VCS-Committer: eschwartz X-VCS-Committer-Name: Eli Schwartz X-VCS-Revision: 99aac9e15f746e89cd8b17f88a9294b45401f149 X-VCS-Branch: master Date: Wed, 14 Aug 2024 05:19:55 +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: 111acda2-8148-485c-a405-35bb31c707a6 X-Archives-Hash: 81fe28bb6c301c97b8b14560e56cd46a commit: 99aac9e15f746e89cd8b17f88a9294b45401f149 Author: Eli Schwartz gentoo org> AuthorDate: Wed Aug 14 04:29:02 2024 +0000 Commit: Eli Schwartz gentoo org> CommitDate: Wed Aug 14 05:15:43 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=99aac9e1 dev-lang/yap: do not require python_setup to run if not USE=python We don't need to check for a python impl, since python itself is optional. This is especially relevant given that it hasn't been migrated to python 3.12, so by default there is no available implementation selected, and python support is also NOT built by default, so this change makes it build by default. Signed-off-by: Eli Schwartz gentoo.org> dev-lang/yap/yap-7.0.1.ebuild | 4 ++++ dev-lang/yap/yap-7.1.0.ebuild | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/dev-lang/yap/yap-7.0.1.ebuild b/dev-lang/yap/yap-7.0.1.ebuild index 1912376a3191..0960279f31d5 100644 --- a/dev-lang/yap/yap-7.0.1.ebuild +++ b/dev-lang/yap/yap-7.0.1.ebuild @@ -47,6 +47,10 @@ DEPEND="${RDEPEND} java? ( dev-lang/swig ) python? ( dev-lang/swig )" +pkg_setup() { + use python && python-single-r1_pkg_setup +} + src_unpack() { default mv "${WORKDIR}"/yap-${PV_COMMIT} "${WORKDIR}"/${P} || die diff --git a/dev-lang/yap/yap-7.1.0.ebuild b/dev-lang/yap/yap-7.1.0.ebuild index 9d4b5db24e13..6e867c989e20 100644 --- a/dev-lang/yap/yap-7.1.0.ebuild +++ b/dev-lang/yap/yap-7.1.0.ebuild @@ -47,6 +47,10 @@ DEPEND="${RDEPEND} java? ( dev-lang/swig ) python? ( >=dev-lang/swig-4.0.0 )" +pkg_setup() { + use python && python-single-r1_pkg_setup +} + src_unpack() { default mv "${WORKDIR}"/yap-${PV_COMMIT} "${WORKDIR}"/${P} || die