public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Maciej Barć" <xgqt@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-emacs/haskell-mode/
Date: Wed,  2 Aug 2023 14:11:33 +0000 (UTC)	[thread overview]
Message-ID: <1690985490.f095cc205c7941b6338107fd6295db446e61a051.xgqt@gentoo> (raw)

commit:     f095cc205c7941b6338107fd6295db446e61a051
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Wed Aug  2 11:42:08 2023 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Wed Aug  2 14:11:30 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f095cc20

app-emacs/haskell-mode: bump to 17.3

Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>

 app-emacs/haskell-mode/Manifest                 |  1 +
 app-emacs/haskell-mode/haskell-mode-17.3.ebuild | 60 +++++++++++++++++++++++++
 2 files changed, 61 insertions(+)

diff --git a/app-emacs/haskell-mode/Manifest b/app-emacs/haskell-mode/Manifest
index c7f50ebaae34..6d58e6a63013 100644
--- a/app-emacs/haskell-mode/Manifest
+++ b/app-emacs/haskell-mode/Manifest
@@ -1,2 +1,3 @@
 DIST haskell-mode-17.2.tar.gz 1144963 BLAKE2B 79005da9ac5a36f0dee0586aaee42d2db64711b56633d9e22b250044863383a332c6ce19c90d8c4d41dccc881eeeacc48cb75f705fd56d5af4ea678899f784d5 SHA512 3ef7052948d02d89150b3cd80e252b0dea2ebd9c485a6e7272c474906f282247b62f4ad4f639074326af908630cedbfa507f9b3b52f44a1579e7edce5e44e588
 DIST haskell-mode-17.2_p20230616.tar.gz 1149636 BLAKE2B 80bc038c475729b2e31e111e773f2de1b6c61717859f01f8a1ff8f8f5589973bee96cdd65eb4e5508e0572770486fc4a03d1deb44cc5f2d84a9676ef6db244e3 SHA512 4cdfecd169adc1d913c7cebcbcb19ce94eec0eb89bbdccab9a5e5e0c4eaab989615cb1c78e96bf5968cc506f19dc6eb37d9206f811d68b58cd87ac973f229b19
+DIST haskell-mode-17.3.tar.gz 1149597 BLAKE2B 6cb39102f031d6b6e387a7f7f2419105a8b3d9f10ab5974aa1e56ca587367290253cd9ee823c9ed87fdd0490c02bfdad2c279acc84ebed2adb7a14ca3905a521 SHA512 94d11652a6dab958de94cb5e1525e3888a7463a7328110cfb39b983874f71655c30e3a05eb20f0456b71e2678a7e09f1a389fdee78d493cf08fed2a10fbcc34e

diff --git a/app-emacs/haskell-mode/haskell-mode-17.3.ebuild b/app-emacs/haskell-mode/haskell-mode-17.3.ebuild
new file mode 100644
index 000000000000..015e5777a278
--- /dev/null
+++ b/app-emacs/haskell-mode/haskell-mode-17.3.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+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}.git"
+else
+	SRC_URI="https://github.com/haskell/${PN}/archive/v${PV}.tar.gz
+		-> ${P}.tar.gz"
+	KEYWORDS="~amd64 ~ppc ~sparc ~x86"
+fi
+
+LICENSE="GPL-3+ FDL-1.2+"
+SLOT="0"
+
+BDEPEND="sys-apps/texinfo"
+
+ELISP_REMOVE="
+	tests/haskell-cabal-tests.el
+	tests/haskell-customize-tests.el
+	tests/haskell-lexeme-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() {
+	emake check-ert
+}
+
+src_install() {
+	elisp_src_install
+
+	insinto "${SITEETC}"/${PN}
+	doins logo.svg
+}


             reply	other threads:[~2023-08-02 14:11 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-08-02 14:11 Maciej Barć [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-02-01 10:10 [gentoo-commits] repo/gentoo:master commit in: app-emacs/haskell-mode/ Maciej Barć
2024-01-14 17:54 Arthur Zamarin
2023-11-21 20:51 Matthew Smith
2023-11-21 20:51 Matthew Smith
2023-11-13 12:38 Maciej Barć
2023-11-13 12:38 Maciej Barć
2023-10-01 18:07 Arthur Zamarin
2023-09-17 12:24 Arthur Zamarin
2023-08-07 11:31 Maciej Barć
2023-08-07 11:31 Maciej Barć
2023-08-02 14:11 Maciej Barć
2023-08-02 14:11 Maciej Barć
2023-07-23 15:58 Arthur Zamarin
2023-06-21 21:38 Maciej Barć
2022-07-21  7:31 Ulrich Müller
2022-04-01 12:23 Arthur Zamarin
2022-02-27 10:23 Matthew Smith
2019-10-17 13:19 Ulrich Müller
2019-10-17 11:49 Agostino Sarubbo
2019-10-17 10:32 Agostino Sarubbo
2019-10-17 10:25 Agostino Sarubbo
2018-06-02  6:01 Hans de Graaff
2017-07-01 12:11 Ulrich Müller

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1690985490.f095cc205c7941b6338107fd6295db446e61a051.xgqt@gentoo \
    --to=xgqt@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox