diff options
Diffstat (limited to 'dev-go')
-rw-r--r-- | dev-go/Manifest.gz | bin | 4713 -> 4878 bytes | |||
-rw-r--r-- | dev-go/go-critic/Manifest | 4 | ||||
-rw-r--r-- | dev-go/go-critic/go-critic-0.6.4.ebuild | 25 | ||||
-rw-r--r-- | dev-go/go-critic/metadata.xml | 8 |
4 files changed, 37 insertions, 0 deletions
diff --git a/dev-go/Manifest.gz b/dev-go/Manifest.gz Binary files differindex 33a95a095646..b086a75b38c6 100644 --- a/dev-go/Manifest.gz +++ b/dev-go/Manifest.gz diff --git a/dev-go/go-critic/Manifest b/dev-go/go-critic/Manifest new file mode 100644 index 000000000000..7a3c79d94d1e --- /dev/null +++ b/dev-go/go-critic/Manifest @@ -0,0 +1,4 @@ +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 +EBUILD go-critic-0.6.4.ebuild 569 BLAKE2B ec8ccac08a65659a7205f91915ecaafe5a70bc753faf7146e0aba45e475833d56fa824ee46c35c3b141a4f9ad9ec805923c879a3fe6a1789c1e2c93401969e5c SHA512 ddef612698da52a6f4ae37c41a45e92c2aec4363a9b5f1df84ce7b1404511d40cf418a7bbe1ff9403fb4ea90bb7870e23612870c3afc63c6b9da8ffb54c3c7f3 +MISC metadata.xml 248 BLAKE2B e3169a566d2e7b49ba47bdf59b43c8ae49e63c9ecc75b97a103e0c74e0439607777ceea96ac4f60516cae80bb271cfb6911ce82ac777dbcac3edb0a8b8c081fd SHA512 8abb8d5dc3e3ba99c48747fec50fd6d84be3b0a4f0e6598918123afdb99709c220bf77748b81e9e3cd4412cebe59547786931ccae3c634c7db7404fcc5b855d0 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> |