app-admin/rain - 9999 (nest)

Search

Install

Install this version:

emerge -a =app-admin/rain-9999

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

autounmask =app-admin/rain-9999

Or alternatively:

emerge --autounmask-write -a =app-admin/rain-9999

Package Information

Description:
A development workflow tool for working with AWS CloudFormation
Homepage:
https://github.com/aws-cloudformation/rain
License:
Apache-2.0

Ebuild Details

Version EAPI Keywords Slot
9999 8 0
View Raw Ebuild
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit edo git-r3 go-module shell-completion

DESCRIPTION="A development workflow tool for working with AWS CloudFormation"
HOMEPAGE="https://github.com/aws-cloudformation/rain"
EGIT_REPO_URI="https://github.com/aws-cloudformation/${PN}.git"

LICENSE="Apache-2.0"
SLOT="0"

BDEPEND=">=dev-lang/go-1.26.2"

src_unpack() {
	git-r3_src_unpack
	go-module_live_vendor
}

src_compile() {
	ego build ./cmd/rain
	local completion
	for completion in bash fish zsh ; do
		edo ./rain completion ${completion} > rain.${completion}
	done
}

src_test() {
	ego test -work ./...
}

src_install() {
	einstalldocs
	dobin rain

	newbashcomp rain.bash rain
	newfishcomp rain.fish rain
	newzshcomp rain.zsh _rain
}

Inherited Eclasses

edo

Dependencies

BDEPEND

>=dev-lang/go-1.26.2