From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id B801515808B for ; Sun, 27 Feb 2022 10:23:36 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 9AA2FE0924; Sun, 27 Feb 2022 10:23:35 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 7F170E092D for ; Sun, 27 Feb 2022 10:23:35 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 97622343350 for ; Sun, 27 Feb 2022 10:23:34 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id CAF972F9 for ; Sun, 27 Feb 2022 10:23:32 +0000 (UTC) From: "Matthew Smith" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Matthew Smith" Message-ID: <1645957374.471b11bf9e7c46a24a1a1af0c00c4f7b2fcb26d0.matthew@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-emacs/haskell-mode/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-emacs/haskell-mode/Manifest app-emacs/haskell-mode/haskell-mode-17.2.ebuild X-VCS-Directories: app-emacs/haskell-mode/ X-VCS-Committer: matthew X-VCS-Committer-Name: Matthew Smith X-VCS-Revision: 471b11bf9e7c46a24a1a1af0c00c4f7b2fcb26d0 X-VCS-Branch: master Date: Sun, 27 Feb 2022 10:23:32 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: de0b64b2-7282-45b1-9365-a00b45b18d2f X-Archives-Hash: 172f50f64bbbdb3bb48caed5ab44ccde commit: 471b11bf9e7c46a24a1a1af0c00c4f7b2fcb26d0 Author: Matthew Smith gentoo org> AuthorDate: Sun Feb 27 10:08:49 2022 +0000 Commit: Matthew Smith gentoo org> CommitDate: Sun Feb 27 10:22:54 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=471b11bf app-emacs/haskell-mode: add 17.2 Signed-off-by: Matthew Smith gentoo.org> app-emacs/haskell-mode/Manifest | 1 + app-emacs/haskell-mode/haskell-mode-17.2.ebuild | 47 +++++++++++++++++++++++++ 2 files changed, 48 insertions(+) diff --git a/app-emacs/haskell-mode/Manifest b/app-emacs/haskell-mode/Manifest index 16d821f595a6..9729a5175ed5 100644 --- a/app-emacs/haskell-mode/Manifest +++ b/app-emacs/haskell-mode/Manifest @@ -1 +1,2 @@ DIST haskell-mode-16.1.tar.gz 1192866 BLAKE2B 5a53075be5ea1246f2aa61d1004fb282d6c5e182497f7660336cf89634bde3b6455997286a4e7e599bf044a9d5c47384f44addb1ab6f53a257c749a93849992e SHA512 28654499ee521032be1ae6edfd338cab6022d7fdd4ff34e720ffe249801d4b442484cce4f5fc3461aa5145918f66f4b69df774b60cceb408220fc0533386cc56 +DIST haskell-mode-17.2.tar.gz 1144963 BLAKE2B 79005da9ac5a36f0dee0586aaee42d2db64711b56633d9e22b250044863383a332c6ce19c90d8c4d41dccc881eeeacc48cb75f705fd56d5af4ea678899f784d5 SHA512 3ef7052948d02d89150b3cd80e252b0dea2ebd9c485a6e7272c474906f282247b62f4ad4f639074326af908630cedbfa507f9b3b52f44a1579e7edce5e44e588 diff --git a/app-emacs/haskell-mode/haskell-mode-17.2.ebuild b/app-emacs/haskell-mode/haskell-mode-17.2.ebuild new file mode 100644 index 000000000000..f06ccd080f88 --- /dev/null +++ b/app-emacs/haskell-mode/haskell-mode-17.2.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +NEED_EMACS=25 + +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" +SRC_URI="https://github.com/haskell/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-3+ FDL-1.2+" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~sparc ~x86" + +BDEPEND="sys-apps/texinfo" + +SITEFILE="50${PN}-gentoo.el" +ELISP_TEXINFO="doc/haskell-mode.texi" +DOCS="NEWS README.md" + +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 + + eapply_user +} + +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 +}