Diff flycheck-32_p20230305 with a flycheck-32_p20230305-r1

/usr/portage/app-emacs/flycheck/flycheck-32_p20230305-r1.ebuild 2023-10-09 14:52:28.688368330 +0300
3 3

  
4 4
EAPI=8
5 5

  
6
inherit elisp
6
inherit edo elisp
7 7

  
8 8
DESCRIPTION="Modern on-the-fly syntax checking extension for GNU Emacs"
9 9
HOMEPAGE="https://www.flycheck.org/
......
22 22
		SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz
23 23
			-> ${P}.tar.gz"
24 24
	fi
25
	KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x64-macos"
25
	KEYWORDS="amd64 ~arm arm64 ~ppc64 ~riscv ~sparc ~x86"
26 26
fi
27 27

  
28 28
LICENSE="GPL-3+"
29 29
SLOT="0"
30
RESTRICT="test" # TODO: wire up now that cask and ert-runner are packaged
31

  
32
RDEPEND=">=app-emacs/dash-2.12.1
33
	>=app-emacs/pkg-info-0.4"
30
IUSE="test"
31
# Tests fail for now, need more investigation
32
RESTRICT="!test? ( test ) test"
33

  
34
RDEPEND="
35
	>=app-emacs/dash-2.12.1
36
	>=app-emacs/pkg-info-0.4
37
"
38
BDEPEND="
39
	test? (
40
		app-emacs/buttercup
41
		app-emacs/shut-up
42
	)
43
"
34 44

  
35 45
SITEFILE="50${PN}-gentoo-r1.el"
36 46
DOCS=( README.md )
37
ELISP_REMOVE="flycheck-buttercup.el flycheck-ert.el"
38 47

  
39 48
src_compile() {
40 49
	elisp_src_compile
41 50
	elisp-make-autoload-file
42 51
}
52

  
53
src_test() {
54
	# Flycheck will skip test cases which require a "checker" or emacs package that is not installed.
55
	edo ${EMACS} \
56
		${EMACSFLAGS} \
57
		-L . \
58
		--load "${S}"/test/flycheck-test.el \
59
		--load "${S}"/test/run.el \
60
		-f 'flycheck-run-tests-main'
61
}
62

  
63
src_install() {
64
	# Remove unneeded test related files.
65
	rm flycheck-buttercup.el* flycheck-ert.el* || die
66
	elisp_src_install
67
}
Thank you!