summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Smith <matthew@gentoo.org>2023-11-21 20:36:12 +0000
committerMatthew Smith <matthew@gentoo.org>2023-11-21 20:50:54 +0000
commitf942d44cb56bd3a2716cb4b96709d068f71931bc (patch)
tree7ea4e238bb139e0c370b4af363dd497b7abb8271
parentflag-o-matic.eclass: allow -mfix-r5900 errata flag for MIPS (diff)
downloadgentoo-f942d44cb56bd3a2716cb4b96709d068f71931bc.tar.gz
gentoo-f942d44cb56bd3a2716cb4b96709d068f71931bc.tar.bz2
gentoo-f942d44cb56bd3a2716cb4b96709d068f71931bc.zip
app-emacs/haskell-mode: require ghc for tests
Signed-off-by: Matthew Smith <matthew@gentoo.org>
-rw-r--r--app-emacs/haskell-mode/Manifest1
-rw-r--r--app-emacs/haskell-mode/haskell-mode-9999.ebuild5
2 files changed, 5 insertions, 1 deletions
diff --git a/app-emacs/haskell-mode/Manifest b/app-emacs/haskell-mode/Manifest
index 37c3d8cc42ab..cc35205b6a78 100644
--- a/app-emacs/haskell-mode/Manifest
+++ b/app-emacs/haskell-mode/Manifest
@@ -1 +1,2 @@
DIST haskell-mode-17.4.tar.gz 1149313 BLAKE2B b30e2051448ba749b0d0b1872f824e8624c4f7d15447a94e61a69898c097ed51f289c3d0f581acffe244178e6b406466ff622e50a395be500a807ef787f92f09 SHA512 95296f9937019a9735388fde918a609aafedaeeede55f85729ddbc0b26d91dd9d39841c6aa727cdf0ebc69161b1367ce5ca895bf9a23c0b4fde8dfa49ef66b04
+DIST haskell-mode-17.5.tar.gz 1149634 BLAKE2B c07db9cccf24847cdf6833c8e71782d0e377c7b29908aa409a7b8061372d6c76937cf1ed36e891bd296d0eb213c880a90b98d7fe75636da1b1943fe8740c420c SHA512 e31e22c017957e86149d2a17d3e5519d3cee23ce0f57c4e83e251192cb589f725402f6b3956d048798ced83bedeca3ac39d52f0e0617de874145a25d5b9ab651
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="