Diff fsharp-mode-1.10_p20211229 with a fsharp-mode-2.0

/usr/portage/app-emacs/fsharp-mode/fsharp-mode-2.0.ebuild 2023-10-09 14:52:28.688368330 +0300
1
# Copyright 2022-2023 Gentoo Authors
1
# Copyright 1999-2023 Gentoo Authors
2 2
# Distributed under the terms of the GNU General Public License v2
3 3

  
4 4
EAPI=8
5 5

  
6
COMMIT=b3aa4c53fc9e98648b25ad036e657632ae2fe192
7

  
8 6
inherit elisp
9 7

  
10 8
DESCRIPTION="Support for the F# programming language"
11 9
HOMEPAGE="https://github.com/fsharp/emacs-fsharp-mode/"
12
SRC_URI="https://github.com/fsharp/emacs-${PN}/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
13
S="${WORKDIR}"/emacs-${PN}-${COMMIT}
10
SRC_URI="https://github.com/fsharp/emacs-${PN}/archive/${PV}.tar.gz
11
			-> ${P}.tar.gz"
12
S="${WORKDIR}"/emacs-${P}
14 13

  
15 14
LICENSE="Apache-2.0"
16 15
SLOT="0"
17 16
KEYWORDS="~amd64 ~x86"
18
IUSE="test"
19
RESTRICT="!test? ( test )"
20

  
21
RDEPEND="app-emacs/s"
22
BDEPEND="
23
	${RDEPEND}
24
	test? ( app-emacs/buttercup )
25
"
26 17

  
27 18
DOCS=( CHANGELOG.md README.org )
28 19
ELISP_REMOVE="eglot-fsharp.el test/integration-tests.el"
29 20
SITEFILE="50${PN}-gentoo.el"
30 21

  
31
src_test() {
32
	buttercup -L . -L test --traceback full || die
33
}
22
elisp-enable-tests buttercup test
Thank you!