Сравнение polymode-0.2.2_p20220322 с polymode-0.2.2_p20260505

/usr/portage/app-emacs/polymode/polymode-0.2.2_p20260505.ebuild 2026-05-16 19:17:04.601065912 +0300
1
# Copyright 1999-2023 Gentoo Authors
1
# Copyright 1999-2026 Gentoo Authors
2 2
# Distributed under the terms of the GNU General Public License v2
3 3

  
4
EAPI=8
5

  
6
COMMIT=2094c92403fe395dfb2b8b2521da1012a966e9ab
4
EAPI=9
7 5

  
8 6
inherit elisp
9 7

  
10 8
DESCRIPTION="Framework for Multiple Major Modes in Emacs"
11 9
HOMEPAGE="https://github.com/polymode/polymode/"
12
SRC_URI="https://github.com/polymode/${PN}/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
13
S="${WORKDIR}"/${PN}-${COMMIT}
10

  
11
if [[ "${PV}" == *9999* ]] ; then
12
	inherit git-r3
13

  
14
	EGIT_REPO_URI="https://github.com/polymode/${PN}"
15
else
16
	[[ "${PV}" == *20260505 ]] && COMMIT="8cb72fa5dcc0d98746c680043dc121edc7621e3a"
17

  
18
	SRC_URI="https://github.com/polymode/${PN}/archive/${COMMIT}.tar.gz
19
		-> ${P}.gh.tar.gz"
20
	S="${WORKDIR}/${PN}-${COMMIT}"
21

  
22
	KEYWORDS="~amd64 ~x86"
23
fi
14 24

  
15 25
LICENSE="GPL-3+"
16
KEYWORDS="~amd64 ~x86"
17 26
SLOT="0"
18 27

  
19
DOCS=( readme.md )
20 28
# The "compat-tests" downloads resources from network and "define-tests" fails
21
ELISP_REMOVE="tests/compat-tests.el tests/define-tests.el"
29
ELISP_REMOVE="
30
	tests/compat-tests.el
31
	tests/define-tests.el
32
"
33

  
34
DOCS=( readme.md )
22 35
SITEFILE="50${PN}-gentoo.el"
23 36

  
24
src_test() {
25
	${EMACS} ${EMACSFLAGS} -L . --load targets/test.el
26
}
37
elisp-enable-tests ert tests
27 38

  
28 39
src_install() {
29 40
	elisp_src_install
Спасибо!