# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 inherit go-module EGO_SUM=( "github.com/docopt/docopt-go v0.0.0-20180111231733-ee0de3bc6815" "github.com/docopt/docopt-go v0.0.0-20180111231733-ee0de3bc6815/go.mod" "github.com/fatih/color v1.15.0" "github.com/fatih/color v1.15.0/go.mod" "github.com/mattn/go-colorable v0.1.13" "github.com/mattn/go-colorable v0.1.13/go.mod" "github.com/mattn/go-isatty v0.0.16/go.mod" "github.com/mattn/go-isatty v0.0.19" "github.com/mattn/go-isatty v0.0.19/go.mod" "github.com/tidwall/gjson v1.14.4" "github.com/tidwall/gjson v1.14.4/go.mod" "github.com/tidwall/match v1.1.1" "github.com/tidwall/match v1.1.1/go.mod" "github.com/tidwall/pretty v1.2.0/go.mod" "github.com/tidwall/pretty v1.2.1" "github.com/tidwall/pretty v1.2.1/go.mod" "golang.org/x/sys v0.0.0-20220811171246-fbc7d0a398ab/go.mod" "golang.org/x/sys v0.6.0/go.mod" "golang.org/x/sys v0.8.0" "golang.org/x/sys v0.8.0/go.mod" ) go-module_set_globals DESCRIPTION="A tool for working with structured JSON logging" HOMEPAGE="https://github.com/koenbollen/jl" SRC_URI="https://github.com/koenbollen/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz ${EGO_SUM_SRC_URI}" LICENSE="ISC" SLOT="0" KEYWORDS="~amd64 ~x86" src_compile() { ego build } src_test() { ego test -work ./... } src_install() { einstalldocs dobin jl }