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 C1AFC158094 for ; Mon, 29 Aug 2022 22:24:16 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 717C9E0943; Mon, 29 Aug 2022 22:24:15 +0000 (UTC) Received: from smtp.gentoo.org (mail.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)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 56EC8E0943 for ; Mon, 29 Aug 2022 22:24:15 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 8D410340F16 for ; Mon, 29 Aug 2022 22:24:14 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 02ADFD4 for ; Mon, 29 Aug 2022 22:24:13 +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: <1661811846.48778eda9e9a68b56c26b391f6d34a49a4c682da.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/ctags/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-util/ctags/ctags-20220828.0.ebuild dev-util/ctags/ctags-99999999.ebuild X-VCS-Directories: dev-util/ctags/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 48778eda9e9a68b56c26b391f6d34a49a4c682da X-VCS-Branch: master Date: Mon, 29 Aug 2022 22:24:13 +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: e1c8da35-27b6-48aa-9a98-7535d16d4361 X-Archives-Hash: 24914ff889619ba81bdbc3eee0fd491f commit: 48778eda9e9a68b56c26b391f6d34a49a4c682da Author: Sam James gentoo org> AuthorDate: Mon Aug 29 22:24:00 2022 +0000 Commit: Sam James gentoo org> CommitDate: Mon Aug 29 22:24:06 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=48778eda dev-util/ctags: depend on Python for tests Bug: https://bugs.gentoo.org/833276 Signed-off-by: Sam James gentoo.org> dev-util/ctags/ctags-20220828.0.ebuild | 11 +++++++++-- dev-util/ctags/ctags-99999999.ebuild | 11 +++++++++-- 2 files changed, 18 insertions(+), 4 deletions(-) diff --git a/dev-util/ctags/ctags-20220828.0.ebuild b/dev-util/ctags/ctags-20220828.0.ebuild index 253499081b9c..ceadc8424f8a 100644 --- a/dev-util/ctags/ctags-20220828.0.ebuild +++ b/dev-util/ctags/ctags-20220828.0.ebuild @@ -3,7 +3,8 @@ EAPI=8 -inherit autotools +PYTHON_COMPAT=( python3_{8..11} ) +inherit autotools python-any-r1 DESCRIPTION="Exuberant Ctags creates tags files for code browsing in editors" HOMEPAGE="https://ctags.io/ https://github.com/universal-ctags/ctags" @@ -20,7 +21,8 @@ fi LICENSE="GPL-2+" SLOT="0" -IUSE="json pcre xml yaml" +IUSE="json pcre test xml yaml" +RESTRICT="!test? ( test )" DEPEND=" json? ( dev-libs/jansson:= ) @@ -32,9 +34,14 @@ RDEPEND="${DEPEND}" BDEPEND=" dev-python/docutils virtual/pkgconfig + test? ( ${PYTHON_DEPS} ) " IDEPEND="app-eselect/eselect-ctags" +pkg_setup() { + use test && python-any-r1_pkg_setup +} + src_prepare() { # Ignore check-genfile test (calls git which errors out) sed -i 's/man-test check-genfile/man-test/' makefiles/testing.mak || die diff --git a/dev-util/ctags/ctags-99999999.ebuild b/dev-util/ctags/ctags-99999999.ebuild index 253499081b9c..ceadc8424f8a 100644 --- a/dev-util/ctags/ctags-99999999.ebuild +++ b/dev-util/ctags/ctags-99999999.ebuild @@ -3,7 +3,8 @@ EAPI=8 -inherit autotools +PYTHON_COMPAT=( python3_{8..11} ) +inherit autotools python-any-r1 DESCRIPTION="Exuberant Ctags creates tags files for code browsing in editors" HOMEPAGE="https://ctags.io/ https://github.com/universal-ctags/ctags" @@ -20,7 +21,8 @@ fi LICENSE="GPL-2+" SLOT="0" -IUSE="json pcre xml yaml" +IUSE="json pcre test xml yaml" +RESTRICT="!test? ( test )" DEPEND=" json? ( dev-libs/jansson:= ) @@ -32,9 +34,14 @@ RDEPEND="${DEPEND}" BDEPEND=" dev-python/docutils virtual/pkgconfig + test? ( ${PYTHON_DEPS} ) " IDEPEND="app-eselect/eselect-ctags" +pkg_setup() { + use test && python-any-r1_pkg_setup +} + src_prepare() { # Ignore check-genfile test (calls git which errors out) sed -i 's/man-test check-genfile/man-test/' makefiles/testing.mak || die