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 0227015807A for ; Sun, 6 Oct 2024 19:53:36 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 238ADE29AC; Sun, 6 Oct 2024 19:53:35 +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 073E5E29AC for ; Sun, 6 Oct 2024 19:53:35 +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 1B700343156 for ; Sun, 6 Oct 2024 19:53:34 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 3E2482191 for ; Sun, 6 Oct 2024 19:53:31 +0000 (UTC) From: "Maciej Barć" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Maciej Barć" Message-ID: <1728244291.6a7569efbb173ff46ab0666c4aaa2019e35ffcb7.xgqt@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-emacs/rg/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-emacs/rg/rg-2.3.0.ebuild X-VCS-Directories: app-emacs/rg/ X-VCS-Committer: xgqt X-VCS-Committer-Name: Maciej Barć X-VCS-Revision: 6a7569efbb173ff46ab0666c4aaa2019e35ffcb7 X-VCS-Branch: master Date: Sun, 6 Oct 2024 19:53:31 +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: bc02aff7-ef9e-4d3c-8d24-e7653a075531 X-Archives-Hash: 84a3694bb5e5e0818130e99a329f925f commit: 6a7569efbb173ff46ab0666c4aaa2019e35ffcb7 Author: Maciej Barć gentoo org> AuthorDate: Sun Oct 6 18:36:53 2024 +0000 Commit: Maciej Barć gentoo org> CommitDate: Sun Oct 6 19:51:31 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6a7569ef app-emacs/rg: minor tweaks Signed-off-by: Maciej Barć gentoo.org> app-emacs/rg/rg-2.3.0.ebuild | 33 ++++++++++++++++++++------------- 1 file changed, 20 insertions(+), 13 deletions(-) diff --git a/app-emacs/rg/rg-2.3.0.ebuild b/app-emacs/rg/rg-2.3.0.ebuild index e3cadd443056..9d3045be9e02 100644 --- a/app-emacs/rg/rg-2.3.0.ebuild +++ b/app-emacs/rg/rg-2.3.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -8,15 +8,21 @@ inherit elisp DESCRIPTION="GNU Emacs search tool based on ripgrep" HOMEPAGE="https://rgel.readthedocs.io/ https://github.com/dajva/rg.el/" -SRC_URI="https://github.com/dajva/rg.el/archive/${PV}.tar.gz - -> ${P}.tar.gz" -S="${WORKDIR}"/rg.el-${PV} + +if [[ "${PV}" == *9999* ]] ; then + inherit git-r3 + + EGIT_REPO_URI="https://github.com/dajva/rg.el.git" +else + SRC_URI="https://github.com/dajva/rg.el/archive/${PV}.tar.gz + -> ${P}.tar.gz" + S="${WORKDIR}/rg.el-${PV}" + + KEYWORDS="~amd64 ~x86" +fi LICENSE="GPL-3+" SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="test" -RESTRICT="!test? ( test )" COMMON_DEPEND=" app-emacs/transient @@ -29,25 +35,26 @@ RDEPEND=" BDEPEND=" ${COMMON_DEPEND} test? ( - app-emacs/ert-runner app-emacs/s app-emacs/undercover ) " +ELISP_REMOVE=" + test/rg.el-test.el + test/rg-isearch.el-test.el +" + DOCS=( README.md ) -ELISP_REMOVE="test/rg.el-test.el test/rg-isearch.el-test.el" SITEFILE="50${PN}-gentoo.el" +elisp-enable-tests ert-runner test + src_compile() { elisp_src_compile elisp-make-autoload-file } -src_test() { - ert-runner -L . -L test --reporter ert+duration --script test || die -} - src_install() { elisp_src_install doinfo rgel.info