summaryrefslogtreecommitdiff
path: root/dev-util/shellcheck/shellcheck-0.9.0-r2.ebuild
blob: 5667e7fc6f6424aefa637d98f78f03784ad1076e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

# ebuild generated by hackport 0.8.4.0.9999

CABAL_HACKAGE_REVISION=1
CABAL_PN="ShellCheck"

CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite"
inherit haskell-cabal

DESCRIPTION="Shell script analysis tool"
HOMEPAGE="https://www.shellcheck.net/"

LICENSE="GPL-3"
SLOT="0/${PV}"
KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86"

# hololeap (2023-09-10)
# 1 test fails
# === prop_checkOverwrittenExitCode8 from src/ShellCheck/Analytics.hs:4927 ===
# *** Failed! Exception: '(Array.!): undefined array element' (after 1 test):
RESTRICT="test"

CABAL_CHDEPS=(

# hololeap (2023-09-02)
# This is from the upstream git repo
# See: <https://github.com/koalaman/shellcheck/pull/2749#issuecomment-1703896093>
	'fgl                  >= 5.7.0 && < 5.8.1.0'
		'fgl (>= 5.7.0 && < 5.8.1.0) || (>= 5.8.1.1 && < 5.9)'
)

RDEPEND="
	>=dev-haskell/aeson-1.4.0:=[profile?] <dev-haskell/aeson-2.2:=[profile?]
	>=dev-haskell/diff-0.4.0:=[profile?] <dev-haskell/diff-0.5:=[profile?]
	>=dev-haskell/parsec-3.1.14:=[profile?] <dev-haskell/parsec-3.2:=[profile?]
	>=dev-haskell/quickcheck-2.14.2:=[profile?] <dev-haskell/quickcheck-2.15:=[profile?]
	>=dev-haskell/regex-tdfa-1.2.0:=[profile?] <dev-haskell/regex-tdfa-1.4:=[profile?]
	>=dev-lang/ghc-8.10.6:=
	|| (
		( >=dev-haskell/fgl-5.7.0 <dev-haskell/fgl-5.8.1.0 )
		( >=dev-haskell/fgl-5.8.1.1 <dev-haskell/fgl-5.9 )
	)
	dev-haskell/fgl:=[profile?]
"
DEPEND="${RDEPEND}
	>=dev-haskell/cabal-3.2.1.0
"