dev-haskell/semver - 0.4.0.1 (nest)

Search

Package Information

Description:
Representation, manipulation, and serialisation of Semantic Versions
Homepage:
https://github.com/brendanhay/semver
License:
MPL-2.0

Ebuild Details

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

EAPI=8

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

inherit haskell-cabal

DESCRIPTION="Representation, manipulation, and serialisation of Semantic Versions"
HOMEPAGE="https://github.com/brendanhay/semver"

LICENSE="MPL-2.0"
SLOT="0/${PV}"
KEYWORDS="~amd64 ~x86"
RESTRICT="test" # no tests

RDEPEND="dev-haskell/attoparsec:=[profile?]
	dev-haskell/hashable:=[profile?]
	dev-haskell/text:=[profile?]
	dev-lang/ghc:="
DEPEND="${RDEPEND}"
BDEPEND="dev-haskell/cabal:=
	test? ( dev-haskell/tasty:=[profile?]
		dev-haskell/tasty-hunit:=[profile?] )"

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

Dependencies

DEPEND

dev-haskell/attoparsec:=[profile?]
	dev-haskell/hashable:=[profile?]
	dev-haskell/text:=[profile?]
	dev-lang/ghc:=

RDEPEND

dev-haskell/attoparsec:=[profile?]
	dev-haskell/hashable:=[profile?]
	dev-haskell/text:=[profile?]
	dev-lang/ghc:=

BDEPEND

dev-haskell/cabal:=
	test? ( dev-haskell/tasty:=[profile?]
		dev-haskell/tasty-hunit:=[profile?] )