commit: 8ffea7ae4db28236e1a7b442014879d56e6c39e8 Author: Gabriel M. Dutra <me <AT> dmdutra <DOT> dev> AuthorDate: Thu Feb 27 02:35:20 2025 +0000 Commit: Gabriel M. Dutra <me <AT> dmdutra <DOT> dev> CommitDate: Thu Feb 27 02:39:39 2025 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=8ffea7ae
app-admin/tflint: new package, add 0.55.1 Signed-off-by: Gabriel M. Dutra <me <AT> dmdutra.dev> app-admin/tflint/Manifest | 2 ++ app-admin/tflint/metadata.xml | 11 +++++++++++ app-admin/tflint/tflint-0.55.1.ebuild | 23 +++++++++++++++++++++++ 3 files changed, 36 insertions(+) diff --git a/app-admin/tflint/Manifest b/app-admin/tflint/Manifest new file mode 100644 index 000000000..e0afb4153 --- /dev/null +++ b/app-admin/tflint/Manifest @@ -0,0 +1,2 @@ +DIST tflint-0.55.1.tar.gz 1403471 BLAKE2B 49a53ce698126c2649c709e9961a32e7ab86c655297f15e0da704f2aaeb4264eb1f05d2c63aaf7f647065afa9e42759a1a5491f2aed783c89839662f0240ef73 SHA512 5fde4159315a789291734add88beb068fa6a335af5569cc9910e799b59bf9d1939b2be3ed5c50db289503e40338fabebbec1aea379d33a0ae36c6f92e6eebf9b +DIST tflint-v0.55.1-vendor.tar.xz 6842232 BLAKE2B 4f3239eefc0d243ff2dee1bf82bb3a74720d80a7bd18e124f11020c59c6b6696b12139700d8161c3062ff1ce803d5e1863291292daaa02c9ad9d5fc272f86d9b SHA512 50b3c2db55b89f6fafdbe8d3361665279e53cab29f5ee7e0d928cd313e5a6cace91d5b653985a865bbebb84455dbb2978b6d27f6f9086cbd559c34c325c2f205 diff --git a/app-admin/tflint/metadata.xml b/app-admin/tflint/metadata.xml new file mode 100644 index 000000000..995c15bab --- /dev/null +++ b/app-admin/tflint/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>[email protected]</email> + <name>Gabriel M. Dutra</name> + </maintainer> + <upstream> + <remote-id type="github">terraform-linters/tflint</remote-id> + </upstream> +</pkgmetadata> diff --git a/app-admin/tflint/tflint-0.55.1.ebuild b/app-admin/tflint/tflint-0.55.1.ebuild new file mode 100644 index 000000000..682030c1d --- /dev/null +++ b/app-admin/tflint/tflint-0.55.1.ebuild @@ -0,0 +1,23 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit go-module + +DESCRIPTION="Terraform linter" +HOMEPAGE="https://github.com/terraform-linters/tflint" +SRC_URI="https://github.com/terraform-linters/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" +SRC_URI+=" https://github.com/dmdutra/gentoo-distfiles/raw/refs/heads/main/${PN}-v${PV}-vendor.tar.xz" + +LICENSE="Apache-2.0 BSD BSD-2 MPL-2.0 MIT" +SLOT="0" +KEYWORDS="~amd64" + +src_compile() { + ego build -v -x -o ${PN} +} + +src_install() { + dobin tflint/${PN} +}
