commit:     9eb1dbcbbf85fcd5f63495c51557224ce8cee6d7
Author:     Samuel Bernardo <samuelbernardo <AT> tecnico <DOT> ulisboa <DOT> pt>
AuthorDate: Thu Feb  8 00:23:57 2018 +0000
Commit:     Samuel Bernardo <samuelbernardo.mail <AT> gmail <DOT> com>
CommitDate: Thu Feb  8 00:23:57 2018 +0000
URL:        https://gitweb.gentoo.org/repo/user/ssnb.git/commit/?id=9eb1dbcb

Update chefdk and terraform. Add terraform-provider-libvirt.

 app-admin/chefdk-omnibus/Manifest                  |   2 +
 .../chefdk-omnibus/chefdk-omnibus-2.4.17.ebuild    |  40 ++++++
 app-admin/terraform-provider-libvirt/Manifest      |   3 +
 app-admin/terraform-provider-libvirt/metadata.xml  |  14 +++
 .../terraform-provider-libvirt-0.3.ebuild          |  33 +++++
 app-admin/terraform/Manifest                       |   3 +
 app-admin/terraform/metadata.xml                   | 139 +++++++++++++++++++++
 app-admin/terraform/terraform-0.11.3.ebuild        |  42 +++++++
 8 files changed, 276 insertions(+)

diff --git a/app-admin/chefdk-omnibus/Manifest 
b/app-admin/chefdk-omnibus/Manifest
index 3944a63..eff4330 100644
--- a/app-admin/chefdk-omnibus/Manifest
+++ b/app-admin/chefdk-omnibus/Manifest
@@ -5,6 +5,7 @@ DIST chefdk_1.3.43-1_amd64.deb 104849402 SHA256 
ddc9ae7e0d9d0199c75eda39b84af800
 DIST chefdk_1.4.3-1_amd64.deb 103914920 SHA256 
df0d3945b5e508bca890ed74c5a4fa2cabdce19fbb808b6d2dfd5e2eac9adbdf SHA512 
cce2c7d466e0eaf55eb71e0d59db091d7671443e8f14c00d732df4603aab78803367a315223a93744d56f39fe477cfb772b67e513befc73fe65574b6ed058975
 WHIRLPOOL 
a3988f990624373f80cc255b3438ca206146cdc811fea6597d838714a3a1969306add00104bee1b5476f1b0a8e84e1642198fc8d0aa65b7a78785fcfa0ce086b
 DIST chefdk_1.6.1-1_amd64.deb 105970280 SHA256 
ffa2c4e1cd624b86a28a23e9ad13b6b6a7e7e651ef22b3dc55fd56427775ad1c SHA512 
3ca1366b37deef40266470c66eade36b934962518a769f97927688895dfb554cbc707660c8c2409f0890afbd452eea69de8cff45e4cebda5df1fba9d7e329bb4
 WHIRLPOOL 
6977336bf8816366501eaa601021869c2c2a52ef80b538882df1eeee0f96c6e6be95b1cf420d6133fbfc5374b7e1e32d1f132fb3adc4520c5742ddb51437d086
 DIST chefdk_2.3.4-1_amd64.deb 102667650 SHA256 
ff7124bfd4ad4b7351177df89b3986661f95e14df2dfb5b9ea6b0af247c2c07d SHA512 
9abf85bc3c73fe0e6cb5a1e90985aed1e6eae89ff970ae3ce218ed0e3074d948650bc444f1fd5085dd6f4b04cf5524ee1db583dd58715e9dc87f1ea758c19486
 WHIRLPOOL 
1d6643d0af7373043d6c716cf812f110b91c47d951ef5a33ad6aafcdfe243b53700e5f6f0e23193f2c9228cdd12bda9c925d1e9dd7b49669e45b57aeb1f6b8bb
+DIST chefdk_2.4.17-1_amd64.deb 104587308 SHA256 
15c40af26358ba6b1be23d5255b49533fd8e5421f7afbc716dcb94384b92e1b0 SHA512 
7d2fd6d192072b82edae1efc13232be29a7fd66ed83d0a4acb79014099cdf23f970afafb454700b612f31d95abe7d8bbb344c838e193d7157e39c2a520597757
 WHIRLPOOL 
8540d7f8df8df1f9a46bf517e1f9eba0de21ba4ae5bc8dbece3451cdcd20846cdbcccda8fa2f8006604ac44762cd599256188f913d9e17eebe3b18a688c76c40
 EBUILD chefdk-omnibus-0.16.28.ebuild 986 SHA256 
2eee6476fc6b2a59c67b47f316242c82e633b37094d2529e244e901e5ab59636 SHA512 
2b3d5677ba6b462346200bdfb62ac48f5fc015ec234f08dbb15df8f191c687d2d1d01d8967e29ac202201ca9dbdbae752d7990ae1d879e70edede8f9c72d16be
 WHIRLPOOL 
b1d68ccf24e55b2721b301cc36099c8f73b00bef4041327abb45b3574df2116f16cf97b6c586cac714b0fe766bc601766800c5c5a94cb0b7408ae6a6b81f417f
 EBUILD chefdk-omnibus-1.2.22.ebuild 1086 SHA256 
c8acacaa7d3cc3029e08181eef69afe6a49124cde6956855f0e94501a6a8479b SHA512 
0a43836bc675230e5e6271985bb07f6b23b78825a001157bbf431c1a749dd3120f2c444a391187e41274981b1d11ab9ae9297798b02d9851f3475c17e3003f49
 WHIRLPOOL 
e9f1c49577d369f20a66982f0f6ec63a6cf247c357a22c81fc05ce2397240f71ca16640e8be094e6c7304de52aa8d14203b4fa2540ccaa8dc32b85151579ee9d
 EBUILD chefdk-omnibus-1.3.40.ebuild 1086 SHA256 
c8acacaa7d3cc3029e08181eef69afe6a49124cde6956855f0e94501a6a8479b SHA512 
0a43836bc675230e5e6271985bb07f6b23b78825a001157bbf431c1a749dd3120f2c444a391187e41274981b1d11ab9ae9297798b02d9851f3475c17e3003f49
 WHIRLPOOL 
e9f1c49577d369f20a66982f0f6ec63a6cf247c357a22c81fc05ce2397240f71ca16640e8be094e6c7304de52aa8d14203b4fa2540ccaa8dc32b85151579ee9d
@@ -12,3 +13,4 @@ EBUILD chefdk-omnibus-1.3.43.ebuild 1086 SHA256 
c8acacaa7d3cc3029e08181eef69afe6
 EBUILD chefdk-omnibus-1.4.3.ebuild 1086 SHA256 
c8acacaa7d3cc3029e08181eef69afe6a49124cde6956855f0e94501a6a8479b SHA512 
0a43836bc675230e5e6271985bb07f6b23b78825a001157bbf431c1a749dd3120f2c444a391187e41274981b1d11ab9ae9297798b02d9851f3475c17e3003f49
 WHIRLPOOL 
e9f1c49577d369f20a66982f0f6ec63a6cf247c357a22c81fc05ce2397240f71ca16640e8be094e6c7304de52aa8d14203b4fa2540ccaa8dc32b85151579ee9d
 EBUILD chefdk-omnibus-1.6.1.ebuild 1086 SHA256 
c8acacaa7d3cc3029e08181eef69afe6a49124cde6956855f0e94501a6a8479b SHA512 
0a43836bc675230e5e6271985bb07f6b23b78825a001157bbf431c1a749dd3120f2c444a391187e41274981b1d11ab9ae9297798b02d9851f3475c17e3003f49
 WHIRLPOOL 
e9f1c49577d369f20a66982f0f6ec63a6cf247c357a22c81fc05ce2397240f71ca16640e8be094e6c7304de52aa8d14203b4fa2540ccaa8dc32b85151579ee9d
 EBUILD chefdk-omnibus-2.3.4.ebuild 1097 SHA256 
f084aaffa0bb2c2300257be25197fc48bf156e586c07ed5cb03e969d3fcbc7c4 SHA512 
34186f9e657b4b779ce39909594b302f915cc2775387b146d21d0567de4501d976a740093999555d9f2032d72393b0a31938aec04ed2e7a732b06fe4ca24a0cb
 WHIRLPOOL 
9277cf92ec4bb1f802b0c735fafa66c8c5b5202cb265fd83825c869943afa22c189c4149b8868d2d11addf3c92b27ca8b64e50bf1ee221c35596a7709f3bdb9d
+EBUILD chefdk-omnibus-2.4.17.ebuild 1097 SHA256 
f084aaffa0bb2c2300257be25197fc48bf156e586c07ed5cb03e969d3fcbc7c4 SHA512 
34186f9e657b4b779ce39909594b302f915cc2775387b146d21d0567de4501d976a740093999555d9f2032d72393b0a31938aec04ed2e7a732b06fe4ca24a0cb
 WHIRLPOOL 
9277cf92ec4bb1f802b0c735fafa66c8c5b5202cb265fd83825c869943afa22c189c4149b8868d2d11addf3c92b27ca8b64e50bf1ee221c35596a7709f3bdb9d

diff --git a/app-admin/chefdk-omnibus/chefdk-omnibus-2.4.17.ebuild 
b/app-admin/chefdk-omnibus/chefdk-omnibus-2.4.17.ebuild
new file mode 100644
index 0000000..6914866
--- /dev/null
+++ b/app-admin/chefdk-omnibus/chefdk-omnibus-2.4.17.ebuild
@@ -0,0 +1,40 @@
+# Blatently stolen from https://github.com/lxmx/gentoo-overlay
+
+EAPI="4"
+
+DESCRIPTION="Omnibus installation of ChefDK"
+HOMEPAGE="http://www.opscode.com/chefdk/install/";
+#SRC_URI="https://packages.chef.io/stable/ubuntu/12.04/chefdk_${PV}-1_amd64.deb";
+SRC_URI="https://packages.chef.io/files/stable/chefdk/${PV}/ubuntu/16.04/chefdk_${PV}-1_amd64.deb";
+
+LICENSE="Apache"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+
+DEPEND=""
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}"
+
+src_unpack() {
+  unpack ${A} ./data.tar.gz
+}
+
+src_install() {
+
+  local dest="${D}/opt"
+  mkdir -p "$dest"
+
+  # cleanup .git folders, any idea why they are in the package?
+  find "$dest" -type d -name ".git" | xargs  rm -rf
+
+  cp -pR ./opt/* "$dest"
+
+  # link executables
+  binaries="berks chef chef-apply chef-shell chef-solo chef-zero delivery 
fauxhai foodcritic kitchen knife ohai push-apply pushy-client 
pushy-service-manager rubocop cookstyle chef-client chef-vault 
print_execution_environment inspec dco"
+  for binary in $binaries; do
+    dosym "$dest/chefdk/bin/$binary" "/usr/bin/$binary" || die "Cannot link 
$binary to /usr/bin"
+  done
+
+}

diff --git a/app-admin/terraform-provider-libvirt/Manifest 
b/app-admin/terraform-provider-libvirt/Manifest
new file mode 100644
index 0000000..ef87d26
--- /dev/null
+++ b/app-admin/terraform-provider-libvirt/Manifest
@@ -0,0 +1,3 @@
+DIST terraform-provider-libvirt-0.3.tar.gz 36134363 SHA256 
968682b29ea8f9bac3a4316c3034648e2a363d95df648a55c905e96623b758d1 SHA512 
d796e79e97386fda28b17e830516f51ecee49fb89b205af14e646fc91dfcb05b609913f087c5ab4d10410da744cdeb8d7257ce8fa10af5ea6afa185da659f643
 WHIRLPOOL 
edd1a46cf88259d5b7b332399754ca5621af88698549ae85e65e6215ea2d24804292dc259d04e20005f780967681d727f2f278bb1bae78771b9e4699a6afe134
+EBUILD terraform-provider-libvirt-0.3.ebuild 641 SHA256 
0bb3225d8d8c547c17cb44bb9f2168556a1d6f7c8c9433d46a0089a65ea51a25 SHA512 
718d514cfc93962b8d755bac2f10cb0466559261f6cf81d9b8b9947bd8725c9228e8297a8dcb8b303a2eb78d658d996cac6ce87dc7a64e27aa3c91b109f5a5c8
 WHIRLPOOL 
25883f8a80ab09c28dc35e9cc0dbbf7814b58a400b4b9dc891038992ec672c09f4296d97df6aa61260e004e9f8e4428190c17e934633d4463ab70e1e11c9ce07
+MISC metadata.xml 374 SHA256 
93144e0b60f39e02828759639182ab599568b0f31b91782efa75b26f090de2ce SHA512 
1c800c0c808027f28515a0c8ec9c1299fee4db7e1081e5fa4de53aef319dc0743e38ae9e3bf75b50c80c8daf88c2c0b237252f31073914d7510c7b7728c0f880
 WHIRLPOOL 
c1145a25af8539e4893d6d43c88b7440906ae87d5b72a49e8427a09be52de13bbef62503bd8a183b70ee774fe473e44a6b1a4c029afebce966289b2a3c769211

diff --git a/app-admin/terraform-provider-libvirt/metadata.xml 
b/app-admin/terraform-provider-libvirt/metadata.xml
new file mode 100644
index 0000000..0fbe78e
--- /dev/null
+++ b/app-admin/terraform-provider-libvirt/metadata.xml
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd";>
+<pkgmetadata>
+       <maintainer type="person">
+               <email>samuelbernardo.m...@gmail.com</email>
+               <name>Samuel Bernardo</name>
+               <description></description>
+       </maintainer>
+       <use>
+               <flag name="libvirt">
+                       Builds the provider for libvirt
+               </flag>
+       </use>
+</pkgmetadata>

diff --git 
a/app-admin/terraform-provider-libvirt/terraform-provider-libvirt-0.3.ebuild 
b/app-admin/terraform-provider-libvirt/terraform-provider-libvirt-0.3.ebuild
new file mode 100644
index 0000000..66afded
--- /dev/null
+++ b/app-admin/terraform-provider-libvirt/terraform-provider-libvirt-0.3.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+GOLANG_PKG_IMPORTPATH="github.com/dmacvicar"
+GOLANG_PKG_ARCHIVEPREFIX="v"
+GOLANG_PKG_HAVE_TEST=1
+
+inherit golang-single versionator
+
+#GOLANG_PKG_VERSION="$(get_version_component_range 1-2)"
+
+DESCRIPTION="Terraform builds, changes, and combines infrastructure safely and 
efficiently"
+HOMEPAGE="http://www.terraform.io";
+
+LICENSE="Apache 2.0"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE=""
+
+RDEPEND="app-emulation/libvirt-glib
+       dev-lang/go
+       app-cdr/cdrtools"
+
+DOCS=(
+       README.md
+       examples/
+)
+
+src_install() {
+       golang-single_src_install
+}

diff --git a/app-admin/terraform/Manifest b/app-admin/terraform/Manifest
index e8cbe52..1142fd9 100644
--- a/app-admin/terraform/Manifest
+++ b/app-admin/terraform/Manifest
@@ -1,2 +1,5 @@
+DIST terraform-0.11.3.tar.gz 9820598 SHA256 
5c4ac2fef753eeb0d09a6c2772b81720719c698287d46a625cb5050815dbd63b SHA512 
983817f183181edd54a3c78260de6ee291beda2b7f8b2ee987c0ce6cf209ce09ca021fb32f1d839bb90c48d14921012ab3328d2ca160d40166e449b5af0236ba
 WHIRLPOOL 
7abf684142b4fa8950d2fa42aad0a3682d65fc53bc6b12cb54d30b69a358859e0facd2e778a415dc0b340d63e54f8c38c911148e6fc8f0cb850f95b0c861a2b5
 DIST terraform-0.9.6.tar.gz 16880898 SHA256 
2af004ee5a155317e6df0158a5d9121d15aa349202ca7d7dd8321f2d9af2218c SHA512 
63bbb018555a0b391fffb3fdb93d068d1ab368c170f84bf121b9c94f4e8fad0f6706545fbb8d8a37b8d78b03e8e1ee66e3595d369765223b511d63c7e67fa2b8
 WHIRLPOOL 
bb1ded855d8137c857c5bfa5da70cd9407b6f2c0141c3a644ca594d2e1cfdfd640ad3ec951771c177f7e8d592004ff31315c6c8ffebad05c25a33bede565be62
+EBUILD terraform-0.11.3.ebuild 925 SHA256 
da6b9872d56c00e02dfaeeaf11b96650d3858c25e52fe31fa027fb6fdac0cfd7 SHA512 
350a9f11785f0bb86664981cb2647e0b47f7b53bef3e629719105b7e88d371ce66948b7679081f2fc0b2c4dd6aa728c37d6199ade855dc98b078f7f77085bee1
 WHIRLPOOL 
fa4ca4e7d9c2459c323b8e49542b7caa77b9c05848a75a58d97adf7bde76d8cbb4549564ad9dfcf5aad8ef44411baa134806b5745457a609e190796e95adb3f9
 EBUILD terraform-0.9.6.ebuild 1921 SHA256 
156538047597c210a585f56ce85a6066a7e44cf2abec5e32a3697a367b8a1ba2 SHA512 
e0d39decd9313b3d0668b9a8782065621fa44fa148772a1c2bc6de75bde89f83aeffdbe775e46f715233a04e9be1023af79ac1d689a78e0abca0fc9df8fd93e6
 WHIRLPOOL 
a1e8d484ec64a745ff1d0da34a84019d6d8bf648c3190b772897e517a2c78cbb52b3ae2dc8eb28eff54e024fd794206046d35bc7da7f9c92a6ad42ecce86def7
+MISC metadata.xml 5113 SHA256 
c47095f05d56d07c6a255fa3665d95cd3bef368cfe4d821104d7add71c094fec SHA512 
f84bf7d76e06179f4b74ab20ef6df64b05bbc6d0eed3cfed289d5204d6bd545853a4f99c290a9ea9de1c5fa7127faca8b634eef154a35df5aaf39c2ada621453
 WHIRLPOOL 
5a87f915ecc3f78334c3e2aad0479b12b9410b83cf68f2e9e48caadc3da7da809853a06fd59bc3ca0aa3168b9c5af526f48d4cad9f60d841fa2d460403453410

diff --git a/app-admin/terraform/metadata.xml b/app-admin/terraform/metadata.xml
new file mode 100644
index 0000000..266fcd4
--- /dev/null
+++ b/app-admin/terraform/metadata.xml
@@ -0,0 +1,139 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd";>
+<pkgmetadata>
+       <maintainer type="person">
+               <email>samuelbernardo.m...@gmail.com</email>
+               <name>Samuel Bernardo</name>
+               <description>Original source from go-overlay</description>
+       </maintainer>
+       <use>
+               <flag name="fish-completion">Enable fish completion 
support</flag>
+               <flag name="atlas">
+                       Builds the provider that interacts with resources, 
configuration,
+                       artifacts, and metadata managed by Atlas 
https://atlas.hashicorp.com
+               </flag>
+               <flag name="aws">
+                       Builds the provider that interacts with the many 
resources supported
+                       by Amazon Web Services https://aws.amazon.com
+               </flag>
+               <flag name="azure">
+                       Builds the provider that interacts with the many 
resources supported
+                       by Microsoft Azure https://azure.microsoft.com
+               </flag>
+               <flag name="cloudflare">
+                       Builds the provider that interact with the DNS 
resources supported
+                       by CloudFlare https://www.cloudflare.com
+               </flag>
+               <flag name="cloudstack">
+                       Builds the provider that interact with the many 
resources supported
+                       by Apache CloudStack https://cloudstack.apache.org
+               </flag>
+               <flag name="consul">
+                       Builds the provider that exposes resources used to 
interact with a
+                       Consul cluster <pkg>app-admin/consul</pkg>
+               </flag>
+               <flag name="digitalocean">
+                       Builds the provider that interacts with the resources 
supported by
+                       DigitalOcean https://www.digitalocean.com
+               </flag>
+               <flag name="dnsimple">
+                       Builds the provider that interacts with the resources 
supported by
+                       DNSimple https://dnsimple.com
+               </flag>
+               <flag name="docker">
+                       Builds the provider that interacts with Docker 
<pkg>app-emulation/docker</pkg>
+                       containers and images, by using Docker API
+               </flag>
+               <flag name="dyn">
+                       Builds the provider that interacts with the resources 
supported by
+                       Dyn http://dyn.com
+               </flag>
+               <flag name="google">
+                       Builds the provider that interacts with Google Cloud 
services
+                       https://cloud.google.com
+               </flag>
+               <flag name="heroku">
+                       Builds the provider that interacts with the resources 
supported by
+                       Heroku https://www.heroku.com
+               </flag>
+               <flag name="librato">
+                       Builds the provider that interacts with the resources 
supported by
+                       Librato Spaces https://www.librato.com
+               </flag>
+               <flag name="mailgun">
+                       Builds the provider that interacts with the resources 
supported by
+                       Mailgun http://www.mailgun.com
+               </flag>
+               <flag name="null">
+                       Builds the provider that allows you to configure 
provisioners that
+                       are not directly associated with a single existing 
resource
+               </flag>
+               <flag name="openstack">
+                       Builds the provider that interacts with the many 
resources supported
+                       by OpenStack <pkg>sys-cluster/openstack-meta</pkg>
+               </flag>
+               <flag name="packet">
+                       Builds the provider that interacts with the resources 
supported by
+                       Packet https://www.packet.net
+               </flag>
+               <flag name="powerdns">
+                       Build the provider that manipulates DNS records 
supported by
+                       PowerDNS server http://powerdns.com
+               </flag>
+               <flag name="rundeck">
+                       Builds the provider that creates and configures 
Projects, Jobs and
+                       Keys in Rundeck http://rundeck.org
+               </flag>
+               <flag name="softlayer">
+                       Builds the provider that interacts with the resources 
supported by
+                       IBM's SoftLayer https://www.softlayer.com
+               </flag>
+               <flag name="statuscake">
+                       Builds the provider that creates and configures tests 
in StatusCake
+                       https://www.statuscake.com
+               </flag>
+               <flag name="template">
+                       Builds a provider that exposes resources to use 
templates to
+                       generate strings for other Terraform resources or 
outputs.
+               </flag>
+               <flag name="tls">
+                       Builds the provider that provides utilities for working 
with
+                       Transport Layer Security keys and certificates
+               </flag>
+               <flag name="vsphere">
+                       Builds the provider that interacts with the resources 
supported by
+                       VMware vSphere http://www.vmware.com/products/vsphere
+               </flag>
+               <flag name="dme">
+                       Builds the provider that interacts with the resources 
supported by
+                       DNSMadeEasy http://www.dnsmadeeasy.com
+               </flag>
+               <flag name="chef">
+                       Builds the provisioner that invokes a Chef Client 
https://www.chef.io
+               </flag>
+               <flag name="file">
+                       Builds the provisioner that copies files or directories 
from the
+                       machine executing Terraform to the newly created 
resource
+               </flag>
+               <flag name="local-exec">
+                       Builds the provisioner that invokes a local executable 
after a
+                       resource is created
+               </flag>
+               <flag name="remote-exec">
+                       Builds the provisioner that invokes a script on a 
remote resource
+                       after it is created
+               </flag>
+               <flag name="vcd">
+                       Builds the provider that is used to interact with the 
resources
+                       supported by VMware vCloud Director 
http://www.vmware.com/products/vcloud-director/
+               </flag>
+               <flag name="azurerm">
+                       Builds the provider is used to interact with the many 
resources
+                       supported by Azure, via the Azure Resource Manager API.
+               </flag>
+               <flag name="postgresql">
+                       Builds the provider that gives the ability to deploy 
and configure
+                       resources in a PostgreSQL server.
+               </flag>
+       </use>
+</pkgmetadata>

diff --git a/app-admin/terraform/terraform-0.11.3.ebuild 
b/app-admin/terraform/terraform-0.11.3.ebuild
new file mode 100644
index 0000000..7876b31
--- /dev/null
+++ b/app-admin/terraform/terraform-0.11.3.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+GOLANG_PKG_IMPORTPATH="github.com/hashicorp"
+GOLANG_PKG_ARCHIVEPREFIX="v"
+GOLANG_PKG_HAVE_TEST=1
+
+inherit golang-single
+
+DESCRIPTION="Terraform builds, changes, and combines infrastructure safely and 
efficiently"
+HOMEPAGE="http://www.terraform.io";
+
+LICENSE="MPL-2.0"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE="zsh-completion fish-completion"
+
+RDEPEND="fish-completion? ( app-shells/fish )
+       zsh-completion? ( app-shells/zsh )"
+
+DOCS=(
+       README.md
+       examples/
+)
+
+src_install() {
+       golang-single_src_install
+
+       # Install fish completion files
+       if use fish-completion; then
+               insinto /usr/share/fish/functions/
+               newins contrib/fish-completion/${PN}.fish ${PN}.fish
+       fi
+
+       # Install zsh completion files
+       if use zsh-completion; then
+               insinto /usr/share/zsh/site-functions
+               newins contrib/zsh-completion/_${PN} _${PN}
+       fi
+}

Reply via email to