Diff haskell-mode-17.4 with a haskell-mode-9999
| /usr/portage/app-emacs/haskell-mode/haskell-mode-9999.ebuild 2026-02-19 11:18:07.327981591 +0300 | ||
|---|---|---|
| 1 |
# Copyright 1999-2024 Gentoo Authors |
|
| 1 |
# Copyright 1999-2026 Gentoo Authors |
|
| 2 | 2 |
# Distributed under the terms of the GNU General Public License v2 |
| 3 | 3 | |
| 4 | 4 |
EAPI=8 |
| ... | ... | |
| 9 | 9 |
HOMEPAGE="https://haskell.github.io/haskell-mode/ |
| 10 | 10 |
https://www.haskell.org/haskellwiki/Emacs#Haskell-mode" |
| 11 | 11 | |
| 12 |
if [[ ${PV} == *9999* ]] ; then
|
|
| 12 |
if [[ "${PV}" == *9999* ]] ; then
|
|
| 13 | 13 |
inherit git-r3 |
| 14 |
EGIT_REPO_URI="https://github.com/haskell/${PN}.git"
|
|
| 14 | ||
| 15 |
EGIT_REPO_URI="https://github.com/haskell/${PN}"
|
|
| 15 | 16 |
else |
| 16 | 17 |
SRC_URI="https://github.com/haskell/${PN}/archive/v${PV}.tar.gz
|
| 17 | 18 |
-> ${P}.tar.gz"
|
| 18 |
KEYWORDS="amd64 ppc ~sparc x86" |
|
| 19 | ||
| 20 |
KEYWORDS="~amd64 ~arm64 ~x86" |
|
| 19 | 21 |
fi |
| 20 | 22 | |
| 21 | 23 |
LICENSE="GPL-3+ FDL-1.2+" |
| 22 | 24 |
SLOT="0" |
| 23 | 25 | |
| 24 |
BDEPEND="sys-apps/texinfo" |
|
| 25 | ||
| 26 | 26 |
ELISP_REMOVE=" |
| 27 |
tests/haskell-cabal-tests.el |
|
| 28 | 27 |
tests/haskell-customize-tests.el |
| 29 |
tests/haskell-lexeme-tests.el |
|
| 28 |
tests/haskell-exec-tests.el |
|
| 29 |
tests/haskell-mode-tests.el |
|
| 30 | 30 |
tests/inferior-haskell-tests.el |
| 31 | 31 |
" |
| 32 | 32 | |
| ... | ... | |
| 50 | 50 |
} |
| 51 | 51 | |
| 52 | 52 |
src_test() {
|
| 53 |
emake check-ert |
|
| 53 |
local test_file="" |
|
| 54 |
for test_file in ./tests/?*-tests.el; do |
|
| 55 |
elisp-test-ert tests -l haskell -l "${test_file}"
|
|
| 56 |
done |
|
| 54 | 57 |
} |
| 55 | 58 | |
| 56 | 59 |
src_install() {
|
| 57 | 60 |
elisp_src_install |
| 58 | 61 | |
| 59 |
insinto "${SITEETC}"/${PN}
|
|
| 60 |
doins logo.svg |
|
| 62 |
insinto "${SITEETC}/${PN}"
|
|
| 63 |
doins ./logo.svg |
|
| 61 | 64 |
} |