mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-16 14:29:05 -07:00
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:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user