dev-util/hare-update - 9999 (guru)

Search

Install

Install this version:

emerge -a =dev-util/hare-update-9999

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =dev-util/hare-update-9999

Or alternatively:

emerge --autounmask-write -a =dev-util/hare-update-9999

Package Information

Description:
assist in upgrading a codebase to a newer Hare release
Homepage:
https://sr.ht/~sircmpwn/hare-update
License:
EUPL-1.2

Ebuild Details

Version EAPI Keywords Slot
9999 8 ~amd64 ~arm64 ~riscv 0
View Raw Ebuild
# Copyright 2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit toolchain-funcs

if [[ "${PV}" = "9999" ]]; then
	inherit git-r3
	EGIT_REPO_URI="https://git.sr.ht/~sircmpwn/hare-update"
	DEPEND="dev-lang/hare:="
else
	SRC_URI="https://git.sr.ht/~sircmpwn/hare-update/archive/${PV}.tar.gz -> ${P}.tar.gz"
	KEYWORDS="~amd64 ~arm64 ~riscv"
	DEPEND="~dev-lang/hare-$(ver_cut 1-3):="
fi

DESCRIPTION="assist in upgrading a codebase to a newer Hare release"
HOMEPAGE="https://sr.ht/~sircmpwn/hare-update"
LICENSE="EUPL-1.2"
SLOT="0"

# binaries are hare-built
QA_FLAGS_IGNORED="usr/bin/.*"

src_prepare() {
	default

	sed -i "s;^PREFIX=.*;PREFIX=${EPREFIX}/usr;" Makefile || die
}

src_configure() {
	tc-export AS LD CC AR
}

Inherited Eclasses

Dependencies

DEPEND

~dev-lang/hare-$(ver_cut 1-3):=