app-admin/haskell-updater: Refresh live ebuild

Closes: https://github.com/gentoo/gentoo/pull/37577
Signed-off-by: hololeap <hololeap@protonmail.com>
Signed-off-by: Mark Wright <gienah@gentoo.org>
This commit is contained in:
hololeap
2024-07-15 22:17:35 -06:00
committed by Mark Wright
parent 4bfe5318e0
commit e8bfd9fdd6

View File

@@ -1,9 +1,9 @@
# Copyright 1999-2023 Gentoo Authors
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
# ebuild generated by hackport 0.8.0.0.9999
# ebuild generated by hackport 0.8.5.1.9999
#hackport: flags: +pedantic
CABAL_FEATURES="nocabaldep"
@@ -15,12 +15,17 @@ EGIT_REPO_URI="https://github.com/gentoo-haskell/haskell-updater.git"
LICENSE="GPL-3+"
SLOT="0"
KEYWORDS=""
# Need a lower version for portage to get --keep-going
RDEPEND="|| ( >=sys-apps/portage-2.1.6
sys-apps/pkgcore )"
DEPEND=">=dev-lang/ghc-6.12.1"
# Need a lower version for portage to get --reinstall-atoms
RDEPEND="
|| (
>=sys-apps/portage-2.1.10
sys-apps/pkgcore
)
"
DEPEND="
>=dev-lang/ghc-9.0.2:=
"
src_prepare() {
default
@@ -37,14 +42,17 @@ src_prepare() {
}
src_configure() {
haskell-cabal_src_configure \
--flag=pedantic \
--bindir="${EPREFIX}/usr/sbin" \
local config_flags=(
--flag=pedantic
--bindir="${EPREFIX}/usr/sbin"
--constraint="Cabal == $(cabal-version)"
)
cabal_src_configure "${config_flags[@]}"
}
src_install() {
cabal_src_install
dodoc TODO
dodoc CHANGELOG.md README.md TODO
}