diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-11-21 23:10:38 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-11-21 23:10:38 +0000 |
commit | 51a01b0f2371b8dfc39f2747ecafd7d5f083ecb4 (patch) | |
tree | 55d5c62353eb98ea2809ea087e9fc4b215c53563 /app-emacs/haskell-mode | |
parent | 46de1a2f454a1465026d681f5dfe8db7dde5b126 (diff) |
gentoo auto-resync : 21:11:2023 - 23:10:38
Diffstat (limited to 'app-emacs/haskell-mode')
-rw-r--r-- | app-emacs/haskell-mode/Manifest | 4 | ||||
-rw-r--r-- | app-emacs/haskell-mode/haskell-mode-17.5.ebuild | 63 | ||||
-rw-r--r-- | app-emacs/haskell-mode/haskell-mode-9999.ebuild | 5 |
3 files changed, 70 insertions, 2 deletions
diff --git a/app-emacs/haskell-mode/Manifest b/app-emacs/haskell-mode/Manifest index cdcb5c58329e..514304abf87e 100644 --- a/app-emacs/haskell-mode/Manifest +++ b/app-emacs/haskell-mode/Manifest @@ -1,5 +1,7 @@ AUX 50haskell-mode-gentoo.el 44 BLAKE2B 1587be01b819c8d788bc8b9c3e9481885b2be3ceda43336f8d8728f245c961cb49aa6b1245558ce4d25ed28fcfc310c4fa95f992335ca75b6cdff90e33f18af0 SHA512 3a4dc946f9f5b5e7dfed41d19b8e576f3d164d81049b7bcad08791803116104f0450634569ee60a65f78e42b2153b925062b05f31cf8b5477160a73eadbfcf2a DIST haskell-mode-17.4.tar.gz 1149313 BLAKE2B b30e2051448ba749b0d0b1872f824e8624c4f7d15447a94e61a69898c097ed51f289c3d0f581acffe244178e6b406466ff622e50a395be500a807ef787f92f09 SHA512 95296f9937019a9735388fde918a609aafedaeeede55f85729ddbc0b26d91dd9d39841c6aa727cdf0ebc69161b1367ce5ca895bf9a23c0b4fde8dfa49ef66b04 +DIST haskell-mode-17.5.tar.gz 1149634 BLAKE2B c07db9cccf24847cdf6833c8e71782d0e377c7b29908aa409a7b8061372d6c76937cf1ed36e891bd296d0eb213c880a90b98d7fe75636da1b1943fe8740c420c SHA512 e31e22c017957e86149d2a17d3e5519d3cee23ce0f57c4e83e251192cb589f725402f6b3956d048798ced83bedeca3ac39d52f0e0617de874145a25d5b9ab651 EBUILD haskell-mode-17.4.ebuild 1275 BLAKE2B 895c87a6e6252ff92ba7110c2901a84edaaa75a565d0fb873471762257958851f4409d7612735c960343bb560d61f79fba9166d4dba3eb25913464fe1bcbd709 SHA512 934c8805b9889bf51837fa66aeda2ac117be79187f1797da923a22c9c91bd28deb42d90ad93d8727862ba746ba151e35903453794191c3971b6405d12e47058c -EBUILD haskell-mode-9999.ebuild 1278 BLAKE2B 9f8700b26e782054c2dacf75329b88f8c382da5bd792e07a096e220ba07eaa651f2fb712839e91a2241c709d11deba1a0aaf7a9141bf8e7c0e3d6c04134cfb72 SHA512 8dbc1fe05fa5f201c6a5d878619a05e16d5bb33dbc8eefe0c21cc4bcb2ae6eda73b7ff9e944efaf866e73eb24e08c0b72939c63804107fd9b6a50596c56e1b92 +EBUILD haskell-mode-17.5.ebuild 1337 BLAKE2B 6102ca4613917e978a9debe10209e1d1b14798c80fa3218461ba1ee850c7c21fcf8ac501547c092995e56e98962d5d18372fdd9e2d4f02c4dfb9eb86f229136c SHA512 c7f97ba2ab3320f0554ce9c1a3369333d3c01b385e317e4249175a92b1527c10466371d7ddff234c50c59ad8857617c889eca26ce3588f121681f6384b4256ea +EBUILD haskell-mode-9999.ebuild 1337 BLAKE2B 6102ca4613917e978a9debe10209e1d1b14798c80fa3218461ba1ee850c7c21fcf8ac501547c092995e56e98962d5d18372fdd9e2d4f02c4dfb9eb86f229136c SHA512 c7f97ba2ab3320f0554ce9c1a3369333d3c01b385e317e4249175a92b1527c10466371d7ddff234c50c59ad8857617c889eca26ce3588f121681f6384b4256ea MISC metadata.xml 435 BLAKE2B e26af32c9bc1dc33f2c5b965c3d44ddae9e9a7a38333706e9b2fed22378a0cefdbd4676b6c9b6d66750f232b46fdc05dd5bd1997dbe5b4d1361690607605108f SHA512 cdb49aca769484b149543aab98abacaabc93e4c3f932b79e8fa71acd305126608b8f9bbd1e966183482985eec3e2cff20dacee529170904273f774ac51957dde diff --git a/app-emacs/haskell-mode/haskell-mode-17.5.ebuild b/app-emacs/haskell-mode/haskell-mode-17.5.ebuild new file mode 100644 index 000000000000..3398482d5f87 --- /dev/null +++ b/app-emacs/haskell-mode/haskell-mode-17.5.ebuild @@ -0,0 +1,63 @@ +# 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 ~x86" +fi + +LICENSE="GPL-3+ FDL-1.2+" +SLOT="0" +IUSE="test" +RESTRICT="!test? ( test )" + +DEPEND="test? ( dev-lang/ghc )" +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 index 015e5777a278..3398482d5f87 100644 --- a/app-emacs/haskell-mode/haskell-mode-9999.ebuild +++ b/app-emacs/haskell-mode/haskell-mode-9999.ebuild @@ -15,12 +15,15 @@ if [[ ${PV} == *9999* ]] ; then else SRC_URI="https://github.com/haskell/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~amd64 ~ppc ~sparc ~x86" + KEYWORDS="~amd64 ~x86" fi LICENSE="GPL-3+ FDL-1.2+" SLOT="0" +IUSE="test" +RESTRICT="!test? ( test )" +DEPEND="test? ( dev-lang/ghc )" BDEPEND="sys-apps/texinfo" ELISP_REMOVE=" |