# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

# ebuild generated by hackport 0.7.1.1.9999

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

DESCRIPTION="SPDX license expression language, Extras"
HOMEPAGE="https://github.com/phadej/spdx"
SRC_URI="https://hackage.haskell.org/package/${P}/${P}.tar.gz"

LICENSE="BSD"
SLOT="0/${PV}"
KEYWORDS="~amd64 ~x86"

RESTRICT=test # tests fail

RDEPEND=">=dev-lang/ghc-8.4.3:=
	>=dev-haskell/cabal-2.4.0.1:=[profile?] <dev-haskell/cabal-3.7:=[profile?]
"
DEPEND="${RDEPEND}
	>=dev-haskell/cabal-2.2.0.1
	test? ( >=dev-haskell/tasty-1.1.0.4 <dev-haskell/tasty-1.5
		>=dev-haskell/tasty-quickcheck-0.10 <dev-haskell/tasty-quickcheck-0.11
		|| ( ( >=dev-haskell/base-compat-0.10.5 <dev-haskell/base-compat-0.11 )
			|| ( ( >=dev-haskell/base-compat-0.11.1 <dev-haskell/base-compat-0.12 )
				( >=dev-haskell/base-compat-0.12.1 <dev-haskell/base-compat-0.13 ) ) ) )
"