aboutsummaryrefslogtreecommitdiff
blob: 06ae5a36139fea5df6510b0f3de6ad9ef489b8d4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

GOLANG_PKG_IMPORTPATH="github.com/dmacvicar"
GOLANG_PKG_ARCHIVEPREFIX="v"
GOLANG_PKG_VERSION="$(ver_cut 1-3)"

inherit golang-single

EGO_SRC="${GOLANG_PKG_IMPORTPATH}/${PN}"
EGO_PN=${EGO_SRC}/...
EGIT_COMMIT="${GOLANG_PKG_ARCHIVEPREFIX}${GOLANG_PKG_VERSION}"
SRC_URI="https://${EGO_SRC}/archive/${GOLANG_PKG_ARCHIVEPREFIX}${GOLANG_PKG_VERSION}.tar.gz -> ${P}.tar.gz"

DESCRIPTION="Terraform provider to provision infrastructure with Linux's KVM using libvirt"
HOMEPAGE="https://github.com/dmacvicar/terraform-provider-libvirt"

LICENSE="Apache 2.0"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE=""

RESTRICT="network-sandbox"

RDEPEND="app-emulation/libvirt-glib
	dev-lang/go
	app-cdr/cdrtools
	app-admin/terraform"

DOCS=(
	README.md
	examples/
)