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 61C8815808D for ; Tue, 19 Apr 2022 17:27:42 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 84647E0895; Tue, 19 Apr 2022 17:27:41 +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 46616E0895 for ; Tue, 19 Apr 2022 17:27:41 +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) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 3C371341B1B for ; Tue, 19 Apr 2022 17:27:40 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B4E2E3B1 for ; Tue, 19 Apr 2022 17:27:38 +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: <1650389253.433c80f67990133aaee909338786c24a25b918ef.xgqt@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-emacs/epl/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-emacs/epl/epl-0.9-r1.ebuild app-emacs/epl/epl-0.9.ebuild X-VCS-Directories: app-emacs/epl/ X-VCS-Committer: xgqt X-VCS-Committer-Name: Maciej Barć X-VCS-Revision: 433c80f67990133aaee909338786c24a25b918ef X-VCS-Branch: master Date: Tue, 19 Apr 2022 17:27:38 +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: ff59087a-bafa-4a4c-b82c-f0a990630de0 X-Archives-Hash: b002107d31510d2a752d40ad5532244b commit: 433c80f67990133aaee909338786c24a25b918ef Author: Maciej Barć gentoo org> AuthorDate: Tue Apr 19 17:25:55 2022 +0000 Commit: Maciej Barć gentoo org> CommitDate: Tue Apr 19 17:27:33 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=433c80f6 app-emacs/epl: enable tests; bump EAPI to 8; format Signed-off-by: Maciej Barć gentoo.org> app-emacs/epl/{epl-0.9.ebuild => epl-0.9-r1.ebuild} | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-) diff --git a/app-emacs/epl/epl-0.9.ebuild b/app-emacs/epl/epl-0.9-r1.ebuild similarity index 64% rename from app-emacs/epl/epl-0.9.ebuild rename to app-emacs/epl/epl-0.9-r1.ebuild index 8a13d13e32de..0b280f43e459 100644 --- a/app-emacs/epl/epl-0.9.ebuild +++ b/app-emacs/epl/epl-0.9-r1.ebuild @@ -1,9 +1,9 @@ -# Copyright 2021 Gentoo Authors +# Copyright 2021-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 -NEED_EMACS="24" +NEED_EMACS=24 inherit elisp @@ -11,10 +11,17 @@ DESCRIPTION="A convenient high-level API for package.el" HOMEPAGE="https://github.com/cask/epl" SRC_URI="https://github.com/cask/epl/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz" -LICENSE="GPL-3" +LICENSE="GPL-3+" SLOT="0" KEYWORDS="~amd64" -RESTRICT="test" # test requires cask and ert-runner which are not packaged +IUSE="test" +RESTRICT="!test? ( test )" + +BDEPEND="test? ( app-emacs/ert-runner )" -SITEFILE="50epl-gentoo.el" DOCS=( README.md ) +SITEFILE="50epl-gentoo.el" + +src_test() { + ert-runner || die +}