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 28C7B15864F for ; Fri, 24 Mar 2023 05:48:28 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2FA37E08F0; Fri, 24 Mar 2023 05:48:27 +0000 (UTC) Received: from smtp.gentoo.org (mail.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) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 1761AE08F0 for ; Fri, 24 Mar 2023 05:48:27 +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 2723D340CAA for ; Fri, 24 Mar 2023 05:48:26 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A9DA9921 for ; Fri, 24 Mar 2023 05:48:24 +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: <1679636896.3391d7461d906b7e623db8cd040a675498265395.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-emacs/flycheck/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-emacs/flycheck/flycheck-32_p20230305-r1.ebuild X-VCS-Directories: app-emacs/flycheck/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 3391d7461d906b7e623db8cd040a675498265395 X-VCS-Branch: master Date: Fri, 24 Mar 2023 05:48:24 +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: 4c875ba6-182a-4f2e-a68c-693c663f6cc2 X-Archives-Hash: 1cbfe743e8e3ce3bb7c2d0ccc6d8f3be commit: 3391d7461d906b7e623db8cd040a675498265395 Author: Sam James gentoo org> AuthorDate: Fri Mar 24 05:47:24 2023 +0000 Commit: Sam James gentoo org> CommitDate: Fri Mar 24 05:48:16 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3391d746 app-emacs/flycheck: add missing die, fix test deps, restrict tests for now Tests are wired up but need more investigation re failures. Signed-off-by: Sam James gentoo.org> app-emacs/flycheck/flycheck-32_p20230305-r1.ebuild | 37 +++++++++++++--------- 1 file changed, 22 insertions(+), 15 deletions(-) diff --git a/app-emacs/flycheck/flycheck-32_p20230305-r1.ebuild b/app-emacs/flycheck/flycheck-32_p20230305-r1.ebuild index bf2097a746a0..48c9974331ef 100644 --- a/app-emacs/flycheck/flycheck-32_p20230305-r1.ebuild +++ b/app-emacs/flycheck/flycheck-32_p20230305-r1.ebuild @@ -5,31 +5,43 @@ EAPI=8 NEED_EMACS="24.3" -inherit elisp +inherit edo elisp +COMMIT="5f2ef177cb21ae8b73714575802beef04abd0f5e" DESCRIPTION="Modern on-the-fly syntax checking extension for GNU Emacs" HOMEPAGE="https://www.flycheck.org/" -COMMIT="5f2ef177cb21ae8b73714575802beef04abd0f5e" SRC_URI="https://github.com/flycheck/flycheck/archive/${COMMIT}.tar.gz -> ${P}.tar.gz" S="${WORKDIR}/${PN}-${COMMIT}" -IUSE="test" LICENSE="GPL-3+" SLOT="0" KEYWORDS="~amd64" +IUSE="test" +# Tests fail for now, need more investigation +RESTRICT="!test? ( test ) test" -RDEPEND=">=app-emacs/dash-2.12.1 +RDEPEND=" + >=app-emacs/dash-2.12.1 >=app-emacs/pkg-info-0.4 - test? ( app-emacs/shut-up - app-emacs/buttercup )" +" +BDEPEND=" + test? ( + app-emacs/buttercup + app-emacs/shut-up + ) +" SITEFILE="50${PN}-gentoo-r1.el" DOCS=( README.md ) -RESTRICT="!test? ( test )" -# Flycheck will skip test cases which require a "checker" or emacs package that is not installed. +src_compile() { + elisp_src_compile + elisp-make-autoload-file +} + src_test() { - ${EMACS} \ + # Flycheck will skip test cases which require a "checker" or emacs package that is not installed. + edo ${EMACS} \ ${EMACSFLAGS} \ -L . \ --load "${S}"/test/flycheck-test.el \ @@ -37,13 +49,8 @@ src_test() { -f 'flycheck-run-tests-main' } -src_compile() { - elisp_src_compile - elisp-make-autoload-file -} - -# Remove unneeded test related files. src_install() { + # Remove unneeded test related files. rm flycheck-buttercup.el* flycheck-ert.el* || die elisp_src_install }