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 3ACE9158013 for ; Mon, 4 Dec 2023 08:37:13 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 24F932BC01D; Mon, 4 Dec 2023 08:37:12 +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)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id F37562BC01C for ; Mon, 4 Dec 2023 08:37:11 +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)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 120F733D3C2 for ; Mon, 4 Dec 2023 08:37:11 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 75C79AF7 for ; Mon, 4 Dec 2023 08:37:09 +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: <1701678987.f0ecfd31e7add9fe2158f3d6ca21fa9f9485216d.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-editors/vis/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-editors/vis/vis-0.8-r1.ebuild app-editors/vis/vis-9999.ebuild X-VCS-Directories: app-editors/vis/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: f0ecfd31e7add9fe2158f3d6ca21fa9f9485216d X-VCS-Branch: master Date: Mon, 4 Dec 2023 08:37:09 +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: 9548f2d3-6271-45fb-be58-07f279a77007 X-Archives-Hash: 2157eefe9a1e1a5a8dfc848ba5cc4c94 commit: f0ecfd31e7add9fe2158f3d6ca21fa9f9485216d Author: Haelwenn (lanodan) Monnier hacktivis me> AuthorDate: Sun Dec 3 01:47:15 2023 +0000 Commit: Sam James gentoo 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 hacktivis.me> Closes: https://github.com/gentoo/gentoo/pull/34104 Signed-off-by: Sam James 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 }