dev-lang/opa - 0.61.0 (cova)

Search

Package Information

Description:
The Open Policy Agent is an open source, general-purpose policy engine
Homepage:
https://www.openpolicyagent.org/
License:
Apache-2.0

Ebuild Details

Version EAPI Keywords Slot
0.61.0 8 ~amd64 0
View Raw Ebuild
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
#
# Completely experimental ebuild
# right now it does the bare minimum
# Will complete it as time permits

EAPI=8
inherit go-module bash-completion-r1

IUSE="vanilla"

DESCRIPTION="The Open Policy Agent is an open source, general-purpose policy engine"
HOMEPAGE="https://www.openpolicyagent.org/"

SRC_URI="https://github.com/open-policy-agent/opa/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64"

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

src_compile() {
	if use vanilla; then
		GOFLAGS=""
		CGO_LDFLAGS=""
	fi
	make build
	mv opa_linux_amd64 opa
}

src_install() {
	dobin opa
}

USE Flags

Manifest for 0.61.0

Type File Size Source URLs
DIST opa-0.61.0.tar.gz 108912025 bytes https://github.com/open-policy-agent/opa/archive/refs/tags/v0.61.0.tar.gz