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 61B3C15807A for ; Sun, 6 Oct 2024 19:53:38 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6FC73E29B8; Sun, 6 Oct 2024 19:53:36 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.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 5C34AE29B8 for ; Sun, 6 Oct 2024 19:53:36 +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 A716634313E for ; Sun, 6 Oct 2024 19:53:35 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D92302532 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: <1728244294.58ab7166698ac11d85524a9f28b48a13f072d774.xgqt@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-emacs/shut-up/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-emacs/shut-up/shut-up-0.3.3.ebuild X-VCS-Directories: app-emacs/shut-up/ X-VCS-Committer: xgqt X-VCS-Committer-Name: Maciej Barć X-VCS-Revision: 58ab7166698ac11d85524a9f28b48a13f072d774 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: db8ed876-2c58-445b-8e68-a6e80163fd8c X-Archives-Hash: debf7623067eca679f91b2e2327046a6 commit: 58ab7166698ac11d85524a9f28b48a13f072d774 Author: Maciej Barć gentoo org> AuthorDate: Sun Oct 6 18:58:20 2024 +0000 Commit: Maciej Barć gentoo org> CommitDate: Sun Oct 6 19:51:34 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=58ab7166 app-emacs/shut-up: minor tweaks Signed-off-by: Maciej Barć gentoo.org> app-emacs/shut-up/shut-up-0.3.3.ebuild | 20 +++++++++++++------- 1 file changed, 13 insertions(+), 7 deletions(-) diff --git a/app-emacs/shut-up/shut-up-0.3.3.ebuild b/app-emacs/shut-up/shut-up-0.3.3.ebuild index 2ec39fef42d5..6765c6368ed6 100644 --- a/app-emacs/shut-up/shut-up-0.3.3.ebuild +++ b/app-emacs/shut-up/shut-up-0.3.3.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 @@ -7,11 +7,20 @@ inherit elisp DESCRIPTION="Reduce Emacs output of messages" HOMEPAGE="https://github.com/cask/shut-up/" -SRC_URI="https://github.com/cask/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +if [[ "${PV}" == *9999* ]] ; then + inherit git-r3 + + EGIT_REPO_URI="https://github.com/cask/${PN}.git" +else + SRC_URI="https://github.com/cask/${PN}/archive/v${PV}.tar.gz + -> ${P}.tar.gz" + + KEYWORDS="~alpha amd64 ~arm arm64 ~ppc64 ~riscv ~sparc ~x86" +fi LICENSE="GPL-3+" SLOT="0" -KEYWORDS="~alpha amd64 ~arm arm64 ~ppc64 ~riscv ~sparc ~x86" IUSE="test" RESTRICT="!test? ( test )" @@ -25,7 +34,4 @@ BDEPEND=" DOCS=( README.md ) SITEFILE="50${PN}-gentoo.el" -src_test() { - ${EMACS} ${EMACSFLAGS} -L . -L test -l test/${PN}-test.el \ - -f ert-run-tests-batch-and-exit || die "tests failed" -} +elisp-enable-tests ert test