mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-31 21:18:09 -07:00
dev-lang/ghc is a fast-moving target without much of stable API across major GHC releases. This makes stabilization process a fragile process. The change moves all haskell revdeps to pure ~arch. There are not many outside dev-haskell/*: - app-emulation/ganeti - app-text/pandoc - dev-util/bustle - dev-util/shellcheck - dev-vcs/darcs - x11-wm/xmonad/xmonad Existing stable haskell users are recommended to keyword used packages and all of dev-haskell/* to ease upgrades. Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
47 lines
1.3 KiB
Bash
47 lines
1.3 KiB
Bash
# Copyright 1999-2019 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=5
|
|
|
|
# ebuild generated by hackport 0.4.4.9999
|
|
|
|
CABAL_FEATURES="bin lib profile haddock hoogle hscolour"
|
|
inherit haskell-cabal
|
|
|
|
DESCRIPTION="Framework for running and organising tests, with HUnit and QuickCheck support"
|
|
HOMEPAGE="https://batterseapower.github.io/test-framework/"
|
|
SRC_URI="https://hackage.haskell.org/package/${P}/${P}.tar.gz"
|
|
|
|
LICENSE="BSD"
|
|
SLOT="0/${PV}"
|
|
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
|
|
IUSE="test"
|
|
RESTRICT="test" # tests are missing
|
|
|
|
RDEPEND=">=dev-haskell/ansi-terminal-0.4.0:=[profile?]
|
|
>=dev-haskell/ansi-wl-pprint-0.5.1:=[profile?]
|
|
>=dev-haskell/hostname-1.0:=[profile?]
|
|
>=dev-haskell/old-locale-1.0:=[profile?]
|
|
>=dev-haskell/random-1.0:=[profile?]
|
|
>=dev-haskell/regex-posix-0.72:=[profile?]
|
|
>=dev-haskell/xml-1.3.5:=[profile?]
|
|
>=dev-lang/ghc-7.4.1:=
|
|
"
|
|
DEPEND="${RDEPEND}
|
|
>=dev-haskell/cabal-1.6
|
|
test? ( >=dev-haskell/hunit-1.2:=[profile?]
|
|
>=dev-haskell/libxml-0.1.1:=[profile?]
|
|
>=dev-haskell/quickcheck-2.3:2=[profile?] <dev-haskell/quickcheck-2.9:2=[profile?] )
|
|
"
|
|
|
|
src_prepare() {
|
|
cabal_chdeps \
|
|
'QuickCheck >= 2.3 && < 2.5' 'QuickCheck >= 2.3 && < 2.9' \
|
|
'time >= 1.1.2 && < 1.6' 'time >= 1.1.2'
|
|
}
|
|
|
|
src_configure() {
|
|
haskell-cabal_src_configure \
|
|
$(cabal_flag test tests)
|
|
}
|