diff options
author | William Hubbs <williamh@gentoo.org> | 2022-08-24 12:11:37 -0500 |
---|---|---|
committer | William Hubbs <williamh@gentoo.org> | 2022-08-24 12:32:27 -0500 |
commit | 6a3bb263aee2d4c982658be8ed61ebac0bcc8976 (patch) | |
tree | 7dc26a2cc43610c1f087185bcf9162af8422ae97 /dev-go/go-critic | |
parent | dev-java/jnr-posix: Stabilize 3.1.15 ppc64, #825494 (diff) | |
download | gentoo-6a3bb263aee2d4c982658be8ed61ebac0bcc8976.tar.gz gentoo-6a3bb263aee2d4c982658be8ed61ebac0bcc8976.tar.bz2 gentoo-6a3bb263aee2d4c982658be8ed61ebac0bcc8976.zip |
dev-go/go-critic: new package, add 0.6.4
"The most opinionated go source code linter for code audit."
Signed-off-by: William Hubbs <williamh@gentoo.org>
Diffstat (limited to 'dev-go/go-critic')
-rw-r--r-- | dev-go/go-critic/Manifest | 2 | ||||
-rw-r--r-- | dev-go/go-critic/go-critic-0.6.4.ebuild | 25 | ||||
-rw-r--r-- | dev-go/go-critic/metadata.xml | 8 |
3 files changed, 35 insertions, 0 deletions
diff --git a/dev-go/go-critic/Manifest b/dev-go/go-critic/Manifest new file mode 100644 index 000000000000..a3754a105a70 --- /dev/null +++ b/dev-go/go-critic/Manifest @@ -0,0 +1,2 @@ +DIST go-critic-0.6.4-deps.tar.xz 26894844 BLAKE2B 4e78028cd4631ae263f9d696832a80d9cc3e580eacd6671021704f0a0cef4181c5f3f680efe4480eb0b791bf0b84d0ebe96976cc255ff10e540b1b50823d9b8f SHA512 3b0d4a3eae243ce5f8eded69f493155c76b9d6f97cec62268fc9916b17fffb676286a0c69ca5f707b6ce64a6fdcbf10a5864716a422d9f4fbfde69786f669c5c +DIST go-critic-0.6.4.tar.gz 176888 BLAKE2B 18b8877a800c5ee6d955e94f5258b994fb830f82696dc137c403d5b9f833dd2667ae2b9f952f71f34d6475b3d05b37f2afa711ef60717eda1cb668ab2624c61e SHA512 041df9446fb16e55d06887d8cbe0e8c32ef3bb9fb088d45d2c9dde58062fa3a8d326a3003ca238df56c14a33b7037315de59a1fb0b988e842cf0360fec851ee2 diff --git a/dev-go/go-critic/go-critic-0.6.4.ebuild b/dev-go/go-critic/go-critic-0.6.4.ebuild new file mode 100644 index 000000000000..2518b9ed74ee --- /dev/null +++ b/dev-go/go-critic/go-critic-0.6.4.ebuild @@ -0,0 +1,25 @@ +# Copyright 2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +inherit go-module + +DESCRIPTION="The most opinionated Go source code linter for code audit" +HOMEPAGE="https://github.com/go-critic/go-critic" +SRC_URI="https://github.com/go-critic/go-critic/archive/v${PV}.tar.gz -> ${P}.tar.gz" +SRC_URI+=" https://dev.gentoo.org/~williamh/dist/${P}-deps.tar.xz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +# tests fail +RESTRICT="test" + +src_compile() { + emake GOCRITIC_VERSION=v${PV} build-release +} + +src_install() { + dobin bin/* +} diff --git a/dev-go/go-critic/metadata.xml b/dev-go/go-critic/metadata.xml new file mode 100644 index 000000000000..986f23e712b2 --- /dev/null +++ b/dev-go/go-critic/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer type="person"> + <email>williamh@gentoo.org</email> + <name>William Hubbs</name> + </maintainer> +</pkgmetadata> |