dev-haskell/spdx - 1.0.0.3 (nest)

Search

Package Information

Description:
SPDX license expression language
Homepage:
https://github.com/phadej/spdx
License:
BSD

Ebuild Details

Version EAPI Keywords Slot
1.0.0.3 8 ~amd64 ~x86 0/1.0.0.3
View Raw Ebuild
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite"

inherit haskell-cabal

DESCRIPTION="SPDX license expression language"
HOMEPAGE="https://github.com/phadej/spdx"

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

CDEPEND="dev-haskell/cabal:="
RDEPEND="${CDEPEND}
	dev-lang/ghc:="
DEPEND="${RDEPEND}"
BDEPEND="${CDEPEND}
	test? ( dev-haskell/base-compat:=[profile?]
		dev-haskell/tasty:=[profile?]
		dev-haskell/tasty-quickcheck:=[profile?] )"

DOCS=( {CHANGELOG,README}.md )

CABAL_CHDEPS=(
	'base-compat       ^>=0.10.5 || ^>=0.11.1 || ^>=0.12.1' 'base-compat >=0.12.1'
)

src_prepare() {
	haskell-cabal_src_prepare
	sed -i '/license-file/d' spdx.cabal || die "sed failed"
}

Dependencies

DEPEND

dev-haskell/cabal:=
	dev-lang/ghc:=

RDEPEND

dev-haskell/cabal:=
	dev-lang/ghc:=

BDEPEND

dev-haskell/cabal:=
	test? ( dev-haskell/base-compat:=[profile?]
		dev-haskell/tasty:=[profile?]
		dev-haskell/tasty-quickcheck:=[profile?] )