mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-23 23:27:12 -08:00
app-emacs/haskell-mode: bump to 17.5_p20260206
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
This commit is contained in:
@@ -1,2 +1,3 @@
|
||||
DIST haskell-mode-17.4.tar.gz 1149313 BLAKE2B b30e2051448ba749b0d0b1872f824e8624c4f7d15447a94e61a69898c097ed51f289c3d0f581acffe244178e6b406466ff622e50a395be500a807ef787f92f09 SHA512 95296f9937019a9735388fde918a609aafedaeeede55f85729ddbc0b26d91dd9d39841c6aa727cdf0ebc69161b1367ce5ca895bf9a23c0b4fde8dfa49ef66b04
|
||||
DIST haskell-mode-17.5.tar.gz 1149634 BLAKE2B c07db9cccf24847cdf6833c8e71782d0e377c7b29908aa409a7b8061372d6c76937cf1ed36e891bd296d0eb213c880a90b98d7fe75636da1b1943fe8740c420c SHA512 e31e22c017957e86149d2a17d3e5519d3cee23ce0f57c4e83e251192cb589f725402f6b3956d048798ced83bedeca3ac39d52f0e0617de874145a25d5b9ab651
|
||||
DIST haskell-mode-17.5_p20260206.tar.gz 1150889 BLAKE2B b5275091bc80774a5f62bc8ae15ef9b2fa55a8c167a776d55a08a9f1501533a4f28bc7447d7e2f02ed18224b97003f33da1ac63a8195d73540e938ba0b8ef0c6 SHA512 282671f3c6e45e75879612b3b303509a60f3a311526d57cbe587a0b5d4d5780372eeaeaf81acafadd612e7de2799d37dfeb91d1f477982ec4858affb199ebeda
|
||||
|
||||
@@ -0,0 +1,67 @@
|
||||
# Copyright 1999-2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
[[ ${PV} == *p20260206 ]] && COMMIT=2dd755a5fa11577a9388af88f385d2a8e18f7a8d
|
||||
|
||||
inherit elisp
|
||||
|
||||
DESCRIPTION="Mode for editing (and running) Haskell programs in Emacs"
|
||||
HOMEPAGE="https://haskell.github.io/haskell-mode/
|
||||
https://www.haskell.org/haskellwiki/Emacs#Haskell-mode"
|
||||
|
||||
if [[ "${PV}" == *9999* ]] ; then
|
||||
inherit git-r3
|
||||
|
||||
EGIT_REPO_URI="https://github.com/haskell/${PN}"
|
||||
else
|
||||
SRC_URI="https://github.com/haskell/${PN}/archive/${COMMIT}.tar.gz
|
||||
-> ${P}.tar.gz"
|
||||
S="${WORKDIR}/${PN}-${COMMIT}"
|
||||
|
||||
KEYWORDS="~amd64 ~arm64 ~x86"
|
||||
fi
|
||||
|
||||
LICENSE="GPL-3+ FDL-1.2+"
|
||||
SLOT="0"
|
||||
|
||||
ELISP_REMOVE="
|
||||
tests/haskell-customize-tests.el
|
||||
tests/haskell-exec-tests.el
|
||||
tests/haskell-mode-tests.el
|
||||
tests/inferior-haskell-tests.el
|
||||
"
|
||||
|
||||
DOCS=( NEWS README.md )
|
||||
ELISP_TEXINFO="doc/${PN}.texi"
|
||||
SITEFILE="50${PN}-gentoo.el"
|
||||
|
||||
src_prepare() {
|
||||
# We install the logo in SITEETC, not in SITELISP
|
||||
# https://github.com/haskell/haskell-mode/issues/102
|
||||
sed -i -e "/defconst haskell-process-logo/{n;" \
|
||||
-e "s:(.*\"\\(.*\\)\".*):\"${SITEETC}/${PN}/\\1\":}" \
|
||||
haskell-process.el || die
|
||||
|
||||
elisp_src_prepare
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
elisp_src_compile
|
||||
elisp-make-autoload-file haskell-site-file.el
|
||||
}
|
||||
|
||||
src_test() {
|
||||
local test_file=""
|
||||
for test_file in ./tests/?*-tests.el; do
|
||||
elisp-test-ert tests -l haskell -l "${test_file}"
|
||||
done
|
||||
}
|
||||
|
||||
src_install() {
|
||||
elisp_src_install
|
||||
|
||||
insinto "${SITEETC}/${PN}"
|
||||
doins ./logo.svg
|
||||
}
|
||||
Reference in New Issue
Block a user