From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-editors/vis/
Date: Mon, 4 Dec 2023 08:37:09 +0000 (UTC) [thread overview]
Message-ID: <1701678987.f0ecfd31e7add9fe2158f3d6ca21fa9f9485216d.sam@gentoo> (raw)
commit: f0ecfd31e7add9fe2158f3d6ca21fa9f9485216d
Author: Haelwenn (lanodan) Monnier <contact <AT> hacktivis <DOT> me>
AuthorDate: Sun Dec 3 01:47:15 2023 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Dec 4 08:36:27 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f0ecfd31
app-editors/vis: move lpeg from optfeature to RDEPEND
Also explicitly disables lpeg-static, which isn't supported in Gentoo as it
would require both USE=static-libs in lpeg and addition of pkg-config files.
Closes: https://bugs.gentoo.org/821721
Signed-off-by: Haelwenn (lanodan) Monnier <contact <AT> hacktivis.me>
Closes: https://github.com/gentoo/gentoo/pull/34104
Signed-off-by: Sam James <sam <AT> gentoo.org>
app-editors/vis/{vis-9999.ebuild => vis-0.8-r1.ebuild} | 12 ++++++++----
app-editors/vis/vis-9999.ebuild | 12 ++++++++----
2 files changed, 16 insertions(+), 8 deletions(-)
diff --git a/app-editors/vis/vis-9999.ebuild b/app-editors/vis/vis-0.8-r1.ebuild
similarity index 93%
copy from app-editors/vis/vis-9999.ebuild
copy to app-editors/vis/vis-0.8-r1.ebuild
index 34f57c01387b..09bd443398c8 100644
--- a/app-editors/vis/vis-9999.ebuild
+++ b/app-editors/vis/vis-0.8-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -6,7 +6,7 @@ EAPI=8
MY_PTV=0.5
LUA_COMPAT=( lua5-2 lua5-3 lua5-4 )
-inherit lua-single optfeature
+inherit lua-single
if [ "${PV}" == "9999" ]; then
inherit git-r3
@@ -32,7 +32,11 @@ DEPEND="dev-libs/libtermkey
lua? ( ${LUA_DEPS} )
tre? ( dev-libs/tre )"
RDEPEND="${DEPEND}
- app-eselect/eselect-vi"
+ app-eselect/eselect-vi
+ lua? (
+ $(lua_gen_cond_dep 'dev-lua/lpeg[${LUA_USEDEP}]')
+ )
+"
# lpeg: https://github.com/martanne/vis-test/issues/28
BDEPEND="test? (
$(lua_gen_cond_dep 'dev-lua/lpeg[${LUA_USEDEP}]')
@@ -71,6 +75,7 @@ src_configure() {
./configure \
--prefix="${EPREFIX}"/usr \
--docdir="${EPREFIX}"/usr/share/doc/${PF} \
+ --disable-lpeg-static \
$(use_enable lua) \
$(use_enable ncurses curses) \
$(use_enable selinux) \
@@ -88,5 +93,4 @@ pkg_postrm() {
pkg_postinst() {
update_symlinks
- optfeature "syntax highlighting support" dev-lua/lpeg
}
diff --git a/app-editors/vis/vis-9999.ebuild b/app-editors/vis/vis-9999.ebuild
index 34f57c01387b..09bd443398c8 100644
--- a/app-editors/vis/vis-9999.ebuild
+++ b/app-editors/vis/vis-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -6,7 +6,7 @@ EAPI=8
MY_PTV=0.5
LUA_COMPAT=( lua5-2 lua5-3 lua5-4 )
-inherit lua-single optfeature
+inherit lua-single
if [ "${PV}" == "9999" ]; then
inherit git-r3
@@ -32,7 +32,11 @@ DEPEND="dev-libs/libtermkey
lua? ( ${LUA_DEPS} )
tre? ( dev-libs/tre )"
RDEPEND="${DEPEND}
- app-eselect/eselect-vi"
+ app-eselect/eselect-vi
+ lua? (
+ $(lua_gen_cond_dep 'dev-lua/lpeg[${LUA_USEDEP}]')
+ )
+"
# lpeg: https://github.com/martanne/vis-test/issues/28
BDEPEND="test? (
$(lua_gen_cond_dep 'dev-lua/lpeg[${LUA_USEDEP}]')
@@ -71,6 +75,7 @@ src_configure() {
./configure \
--prefix="${EPREFIX}"/usr \
--docdir="${EPREFIX}"/usr/share/doc/${PF} \
+ --disable-lpeg-static \
$(use_enable lua) \
$(use_enable ncurses curses) \
$(use_enable selinux) \
@@ -88,5 +93,4 @@ pkg_postrm() {
pkg_postinst() {
update_symlinks
- optfeature "syntax highlighting support" dev-lua/lpeg
}
next reply other threads:[~2023-12-04 8:37 UTC|newest]
Thread overview: 63+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-12-04 8:37 Sam James [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-03-12 23:07 [gentoo-commits] repo/gentoo:master commit in: app-editors/vis/ Sam James
2025-03-12 23:07 Sam James
2025-03-12 23:07 Sam James
2025-01-21 13:53 Joonas Niilola
2025-01-21 13:53 Joonas Niilola
2025-01-21 13:53 Joonas Niilola
2025-01-21 13:53 Joonas Niilola
2025-01-21 13:53 Joonas Niilola
2025-01-21 13:53 Joonas Niilola
2025-01-21 13:53 Joonas Niilola
2024-09-19 18:34 Sam James
2024-09-19 18:34 Sam James
2024-09-19 18:34 Sam James
2024-06-02 8:44 Joonas Niilola
2024-06-02 8:44 Joonas Niilola
2024-04-04 15:05 Arthur Zamarin
2024-02-24 13:31 Joonas Niilola
2024-02-24 6:42 Joonas Niilola
2024-02-24 6:42 Joonas Niilola
2024-02-23 6:50 Sam James
2023-07-26 3:13 Sam James
2023-07-26 3:13 Sam James
2023-02-25 7:16 Arthur Zamarin
2023-02-25 5:56 Joonas Niilola
2023-02-25 5:56 Joonas Niilola
2022-11-18 8:17 Joonas Niilola
2022-11-18 8:17 Joonas Niilola
2022-09-09 6:20 Joonas Niilola
2022-09-09 6:20 Joonas Niilola
2022-09-09 6:20 Joonas Niilola
2022-09-09 6:20 Joonas Niilola
2022-09-09 6:20 Joonas Niilola
2022-08-20 11:40 Andreas Sturmlechner
2021-10-29 13:31 Yixun Lan
2021-05-16 18:56 Sam James
2021-05-15 19:20 Sam James
2021-03-02 14:54 Thomas Deutschmann
2021-02-12 16:20 Sam James
2020-12-15 7:18 Joonas Niilola
2020-12-15 7:18 Joonas Niilola
2020-12-03 13:21 Marek Szuba
2020-12-03 12:18 Marek Szuba
2020-12-03 7:59 Joonas Niilola
2020-07-05 6:49 Joonas Niilola
2020-06-07 6:34 Joonas Niilola
2020-06-06 16:36 Joonas Niilola
2020-06-06 16:36 Joonas Niilola
2020-02-11 11:56 Agostino Sarubbo
2020-02-10 8:18 Agostino Sarubbo
2020-02-10 8:16 Agostino Sarubbo
2020-01-09 5:09 Michał Górny
2018-03-26 19:22 Aaron Bauman
2018-03-26 19:22 Aaron Bauman
2018-02-09 16:37 Michał Górny
2018-02-09 16:37 Michał Górny
2018-02-09 16:37 Michał Górny
2018-02-09 16:37 Michał Górny
2018-02-09 16:37 Michał Górny
2018-02-09 16:37 Michał Górny
2018-02-09 16:37 Michał Górny
2018-02-09 16:37 Michał Górny
2017-05-07 18:33 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=1701678987.f0ecfd31e7add9fe2158f3d6ca21fa9f9485216d.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