From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/ctags/
Date: Mon, 29 Aug 2022 22:24:13 +0000 (UTC) [thread overview]
Message-ID: <1661811846.48778eda9e9a68b56c26b391f6d34a49a4c682da.sam@gentoo> (raw)
commit: 48778eda9e9a68b56c26b391f6d34a49a4c682da
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Aug 29 22:24:00 2022 +0000
Commit: Sam James <sam <AT> gentoo <DOT> 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 <sam <AT> 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
next reply other threads:[~2022-08-29 22:24 UTC|newest]
Thread overview: 82+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-08-29 22:24 Sam James [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-07-14 9:06 [gentoo-commits] repo/gentoo:master commit in: dev-util/ctags/ Sam James
2025-07-14 9:06 Sam James
2025-06-08 8:59 Sam James
2025-06-08 6:47 Sam James
2025-06-08 6:35 Sam James
2025-01-18 7:11 Arthur Zamarin
2025-01-13 17:51 Sam James
2025-01-13 17:51 Sam James
2025-01-13 17:51 Sam James
2025-01-13 17:51 Sam James
2025-01-13 17:51 Sam James
2025-01-13 17:51 Sam James
2025-01-13 13:45 Sam James
2025-01-13 13:45 Sam James
2024-06-14 1:50 Sam James
2024-06-12 6:02 Sam James
2024-06-12 6:02 Sam James
2024-06-12 5:31 Arthur Zamarin
2024-06-12 5:31 Arthur Zamarin
2024-06-12 5:14 Sam James
2024-06-12 5:14 Sam James
2024-06-12 4:26 Sam James
2024-06-06 0:45 Sam James
2023-12-25 17:26 Sam James
2023-12-09 13:18 Sam James
2023-12-09 13:18 Sam James
2023-04-28 1:38 Sam James
2022-09-23 0:59 Sam James
2022-09-23 0:42 Sam James
2022-08-30 8:48 Jakov Smolić
2022-08-30 8:48 Jakov Smolić
2022-08-30 4:54 Arthur Zamarin
2022-08-30 4:54 Arthur Zamarin
2022-08-30 4:54 Arthur Zamarin
2022-08-30 4:54 Arthur Zamarin
2022-08-29 22:18 Sam James
2022-08-29 22:17 Sam James
2022-06-10 18:08 Matt Turner
2022-05-10 0:44 WANG Xuerui
2021-10-17 2:04 Sam James
2021-10-17 2:02 Sam James
2021-07-19 23:14 Marek Szuba
2021-03-26 15:32 Sam James
2021-03-26 14:35 Sam James
2020-12-27 16:38 Fabian Groffen
2019-08-02 0:11 Aaron Bauman
2019-06-04 19:01 Agostino Sarubbo
2019-06-03 15:00 Agostino Sarubbo
2019-05-02 6:39 Matt Turner
2019-04-22 7:26 Michał Górny
2019-04-20 18:10 Mikle Kolyada
2019-04-09 2:36 Aaron Bauman
2019-04-07 21:53 Mikle Kolyada
2019-04-07 21:41 Mikle Kolyada
2019-04-05 19:03 Sergei Trofimovich
2019-04-02 9:09 Mikle Kolyada
2019-03-31 18:20 Patrice Clement
2018-06-03 18:32 Mikle Kolyada
2017-09-05 9:45 Tim Harder
2017-09-05 9:45 Tim Harder
2017-08-07 21:27 Patrice Clement
2017-08-07 5:35 Lars Wendler
2017-07-20 22:04 Patrice Clement
2017-06-06 17:48 Patrice Clement
2017-02-05 16:49 Markus Meier
2017-01-22 15:46 Tobias Klausmann
2017-01-16 10:15 Agostino Sarubbo
2017-01-15 21:03 Jeroen Roovers
2017-01-14 3:27 Aaron Bauman
2017-01-11 13:32 Agostino Sarubbo
2016-12-24 10:26 Agostino Sarubbo
2016-12-22 9:34 Agostino Sarubbo
2016-12-20 9:44 Agostino Sarubbo
2016-12-19 15:12 Agostino Sarubbo
2016-12-19 14:35 Agostino Sarubbo
2016-12-18 15:44 Agostino Sarubbo
2016-12-14 9:14 Tobias Klausmann
2016-11-02 7:13 Tim Harder
2016-06-25 14:50 Fabian Groffen
2016-06-25 14:50 Fabian Groffen
2015-11-03 12:49 Michał Górny
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1661811846.48778eda9e9a68b56c26b391f6d34a49a4c682da.sam@gentoo \
--to=sam@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox