Diff treemacs-3.0-r1 with a treemacs-3.1

/usr/portage/app-emacs/treemacs/treemacs-3.1.ebuild 2023-10-09 14:52:28.716368331 +0300
7 7
DISTUTILS_USE_PEP517=no
8 8
PYTHON_COMPAT=( python3_{9..11} )
9 9

  
10
inherit elisp distutils-r1
10
inherit distutils-r1 elisp
11 11

  
12 12
DESCRIPTION="Tree style project file explorer"
13 13
HOMEPAGE="https://github.com/Alexander-Miller/treemacs/"
......
17 17
LICENSE="GPL-3+"
18 18
KEYWORDS="~amd64"
19 19
SLOT="0"
20
IUSE="test"
21
RESTRICT="!test? ( test )"
22 20

  
23 21
RDEPEND="
24 22
	app-emacs/ace-window
......
29 27
	app-emacs/pfuture
30 28
	app-emacs/s
31 29
"
32
BDEPEND="
33
	${RDEPEND}
34
	test? ( app-emacs/buttercup )
35
"
30
BDEPEND="${RDEPEND}"
36 31

  
37 32
BYTECOMPFLAGS="-L . -L src/elisp"
38 33
PATCHES=(
39 34
	"${FILESDIR}"/${PN}-2.9.5-tests.patch
40 35
	"${FILESDIR}"/${PN}-async-scripts.patch
41 36
	"${FILESDIR}"/${PN}-icons-icon-directory.patch
42
	"${FILESDIR}"/${P}-tests.patch
43 37
)
44 38

  
45 39
DOCS=( Changelog.org Extensions.org README.org screenshots )
46 40
SITEFILE="50${PN}-gentoo.el"
47 41

  
42
elisp-enable-tests buttercup test
43

  
48 44
src_prepare() {
49 45
	distutils-r1_src_prepare
50 46

  
......
63 59
	elisp-compile src/elisp/*.el
64 60
}
65 61

  
66
src_test() {
67
	buttercup ${BYTECOMPFLAGS} -L test --traceback full || die "tests failed"
68
}
69

  
70 62
src_install() {
71 63
	elisp-install ${PN} src/elisp/*.el{,c}
72 64
	elisp-site-file-install "${FILESDIR}/${SITEFILE}"
Thank you!