summaryrefslogtreecommitdiff
path: root/app-emacs/haskell-mode
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-08-02 16:50:29 +0100
committerV3n3RiX <venerix@koprulu.sector>2023-08-02 16:50:29 +0100
commit1f6d51a43dbfcb87ef81da70c688d354560e846a (patch)
tree0a298c9f420161e29e935ba44206262169475726 /app-emacs/haskell-mode
parenta308b9d4bf7fb28a64aec9444316a00068c164f6 (diff)
gentoo auto-resync : 02:08:2023 - 16:50:29
Diffstat (limited to 'app-emacs/haskell-mode')
-rw-r--r--app-emacs/haskell-mode/Manifest5
-rw-r--r--app-emacs/haskell-mode/haskell-mode-17.3.ebuild60
-rw-r--r--app-emacs/haskell-mode/haskell-mode-9999.ebuild60
-rw-r--r--app-emacs/haskell-mode/metadata.xml1
4 files changed, 125 insertions, 1 deletions
diff --git a/app-emacs/haskell-mode/Manifest b/app-emacs/haskell-mode/Manifest
index f978f31d88d0..107360c6d14d 100644
--- a/app-emacs/haskell-mode/Manifest
+++ b/app-emacs/haskell-mode/Manifest
@@ -1,6 +1,9 @@
AUX 50haskell-mode-gentoo.el 44 BLAKE2B 1587be01b819c8d788bc8b9c3e9481885b2be3ceda43336f8d8728f245c961cb49aa6b1245558ce4d25ed28fcfc310c4fa95f992335ca75b6cdff90e33f18af0 SHA512 3a4dc946f9f5b5e7dfed41d19b8e576f3d164d81049b7bcad08791803116104f0450634569ee60a65f78e42b2153b925062b05f31cf8b5477160a73eadbfcf2a
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
EBUILD haskell-mode-17.2.ebuild 1044 BLAKE2B 127435561dc7208bf9548ff08dd1666972bf209746b4cd0b463b1ab3f0a5e2f40035562c29c6eee894b860821dbeb6bcc5bd82cf43ac4bb15fc5f07bf984aab8 SHA512 5f174d53adb3895a5187c219cb7ad1b29df40101520c2b37c6a2e5b0a4941c7ede6e337b26f22f1a76559fa09d5329a1c3698476e59c4d13c8ead92e208c4bc4
EBUILD haskell-mode-17.2_p20230616.ebuild 1308 BLAKE2B bb021024511a3d2df57dd9d9943e28278a8b5ef608dc5c771435752195cdbdcb942820768710b44f6d757d3cedc6d73034b138b3504566f2d1c64f36da9a6a1c SHA512 ad23b1f9d7fafc0cfe7287b55f65ef3178642b8af93754e4ba39aad5171358a49edde90d814ad24dfa027eee2fb14606447a7e300f104989c61b2162bfa0fbd1
-MISC metadata.xml 366 BLAKE2B cc208c49f0e807a36dc4bbf4b21b88bc5dfa1754e5885304880e931d126571047ff450c385b8b3fed092e077a4972e29fba5a02cccf40a6d842aed541c9a3b37 SHA512 1066f85973ea2837adc30049494b216804196c9b87e0d705c7aadeb9a98ce5650a4a29658b8255405f62c416162ae99847ad2a5baff80fe6e691156336ccc098
+EBUILD haskell-mode-17.3.ebuild 1278 BLAKE2B 9f8700b26e782054c2dacf75329b88f8c382da5bd792e07a096e220ba07eaa651f2fb712839e91a2241c709d11deba1a0aaf7a9141bf8e7c0e3d6c04134cfb72 SHA512 8dbc1fe05fa5f201c6a5d878619a05e16d5bb33dbc8eefe0c21cc4bcb2ae6eda73b7ff9e944efaf866e73eb24e08c0b72939c63804107fd9b6a50596c56e1b92
+EBUILD haskell-mode-9999.ebuild 1278 BLAKE2B 9f8700b26e782054c2dacf75329b88f8c382da5bd792e07a096e220ba07eaa651f2fb712839e91a2241c709d11deba1a0aaf7a9141bf8e7c0e3d6c04134cfb72 SHA512 8dbc1fe05fa5f201c6a5d878619a05e16d5bb33dbc8eefe0c21cc4bcb2ae6eda73b7ff9e944efaf866e73eb24e08c0b72939c63804107fd9b6a50596c56e1b92
+MISC metadata.xml 435 BLAKE2B e26af32c9bc1dc33f2c5b965c3d44ddae9e9a7a38333706e9b2fed22378a0cefdbd4676b6c9b6d66750f232b46fdc05dd5bd1997dbe5b4d1361690607605108f SHA512 cdb49aca769484b149543aab98abacaabc93e4c3f932b79e8fa71acd305126608b8f9bbd1e966183482985eec3e2cff20dacee529170904273f774ac51957dde
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
+}
diff --git a/app-emacs/haskell-mode/haskell-mode-9999.ebuild b/app-emacs/haskell-mode/haskell-mode-9999.ebuild
new file mode 100644
index 000000000000..015e5777a278
--- /dev/null
+++ b/app-emacs/haskell-mode/haskell-mode-9999.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
+}
diff --git a/app-emacs/haskell-mode/metadata.xml b/app-emacs/haskell-mode/metadata.xml
index 6d8183cffbaa..33266996e71e 100644
--- a/app-emacs/haskell-mode/metadata.xml
+++ b/app-emacs/haskell-mode/metadata.xml
@@ -7,6 +7,7 @@
</maintainer>
<stabilize-allarches/>
<upstream>
+ <bugs-to>https://github.com/haskell/haskell-mode/issues/</bugs-to>
<remote-id type="github">haskell/haskell-mode</remote-id>
</upstream>
</pkgmetadata>