# Copyright 2019-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 inherit go-module EGO_PN="github.com/xxxserxxx/gotop" EGO_SUM=( "github.com/BurntSushi/toml v0.3.1/go.mod" "github.com/BurntSushi/toml v1.1.0" "github.com/BurntSushi/toml v1.1.0/go.mod" "github.com/StackExchange/wmi v1.2.1" "github.com/StackExchange/wmi v1.2.1/go.mod" "github.com/VictoriaMetrics/metrics v1.18.1" "github.com/VictoriaMetrics/metrics v1.18.1/go.mod" "github.com/VividCortex/ewma v1.2.0" "github.com/VividCortex/ewma v1.2.0/go.mod" "github.com/anatol/smart.go v0.0.0-20220917195147-c0b00d90f8cc" "github.com/anatol/smart.go v0.0.0-20220917195147-c0b00d90f8cc/go.mod" "github.com/anatol/vmtest v0.0.0-20220413190228-7a42f1f6d7b8" "github.com/anatol/vmtest v0.0.0-20220413190228-7a42f1f6d7b8/go.mod" "github.com/cloudfoundry-attic/jibber_jabber v0.0.0-20151120183258-bcc4c8345a21" "github.com/cloudfoundry-attic/jibber_jabber v0.0.0-20151120183258-bcc4c8345a21/go.mod" "github.com/cloudfoundry/jibber_jabber v0.0.0-20151120183258-bcc4c8345a21" "github.com/cloudfoundry/jibber_jabber v0.0.0-20151120183258-bcc4c8345a21/go.mod" "github.com/davecgh/go-spew v1.1.0/go.mod" "github.com/davecgh/go-spew v1.1.1" "github.com/davecgh/go-spew v1.1.1/go.mod" "github.com/distatus/battery v0.10.0" "github.com/distatus/battery v0.10.0/go.mod" "github.com/droundy/goopt v0.0.0-20220217183150-48d6390ad4d1" "github.com/droundy/goopt v0.0.0-20220217183150-48d6390ad4d1/go.mod" "github.com/fsnotify/fsnotify v1.4.7/go.mod" "github.com/fsnotify/fsnotify v1.4.9" "github.com/fsnotify/fsnotify v1.4.9/go.mod" "github.com/ghodss/yaml v1.0.0" "github.com/ghodss/yaml v1.0.0/go.mod" "github.com/gizak/termui/v3 v3.1.0" "github.com/gizak/termui/v3 v3.1.0/go.mod" "github.com/go-ole/go-ole v1.2.5/go.mod" "github.com/go-ole/go-ole v1.2.6" "github.com/go-ole/go-ole v1.2.6/go.mod" "github.com/golang/protobuf v1.2.0/go.mod" "github.com/golang/protobuf v1.4.0-rc.1/go.mod" "github.com/golang/protobuf v1.4.0-rc.1.0.20200221234624-67d41d38c208/go.mod" "github.com/golang/protobuf v1.4.0-rc.2/go.mod" "github.com/golang/protobuf v1.4.0-rc.4.0.20200313231945-b860323f09d0/go.mod" "github.com/golang/protobuf v1.4.0/go.mod" "github.com/golang/protobuf v1.4.2/go.mod" "github.com/google/go-cmp v0.3.0/go.mod" "github.com/google/go-cmp v0.3.1/go.mod" "github.com/google/go-cmp v0.4.0/go.mod" "github.com/hpcloud/tail v1.0.0/go.mod" "github.com/inconshreveable/mousetrap v1.0.0/go.mod" "github.com/jaypipes/ghw v0.9.0" "github.com/jaypipes/ghw v0.9.0/go.mod" "github.com/jaypipes/pcidb v1.0.0" "github.com/jaypipes/pcidb v1.0.0/go.mod" "github.com/jessevdk/go-flags v1.4.0/go.mod" "github.com/kballard/go-shellquote v0.0.0-20180428030007-95032a82bc51" "github.com/kballard/go-shellquote v0.0.0-20180428030007-95032a82bc51/go.mod" "github.com/kr/pretty v0.1.0" "github.com/kr/pretty v0.1.0/go.mod" "github.com/kr/pty v1.1.1/go.mod" "github.com/kr/text v0.1.0" "github.com/kr/text v0.1.0/go.mod" "github.com/mattn/go-runewidth v0.0.2/go.mod" "github.com/mattn/go-runewidth v0.0.9/go.mod" "github.com/mattn/go-runewidth v0.0.13" "github.com/mattn/go-runewidth v0.0.13/go.mod" "github.com/mitchellh/go-homedir v1.0.0/go.mod" "github.com/mitchellh/go-homedir v1.1.0" "github.com/mitchellh/go-homedir v1.1.0/go.mod" "github.com/mitchellh/go-wordwrap v0.0.0-20150314170334-ad45545899c7/go.mod" "github.com/mitchellh/go-wordwrap v1.0.1" "github.com/mitchellh/go-wordwrap v1.0.1/go.mod" "github.com/nsf/termbox-go v0.0.0-20190121233118-02980233997d/go.mod" "github.com/nsf/termbox-go v1.1.1" "github.com/nsf/termbox-go v1.1.1/go.mod" "github.com/nxadm/tail v1.4.4" "github.com/nxadm/tail v1.4.4/go.mod" "github.com/onsi/ginkgo v1.6.0/go.mod" "github.com/onsi/ginkgo v1.12.1/go.mod" "github.com/onsi/ginkgo v1.14.2" "github.com/onsi/ginkgo v1.14.2/go.mod" "github.com/onsi/gomega v1.7.1/go.mod" "github.com/onsi/gomega v1.10.1/go.mod" "github.com/onsi/gomega v1.10.4" "github.com/onsi/gomega v1.10.4/go.mod" "github.com/pkg/errors v0.9.1" "github.com/pkg/errors v0.9.1/go.mod" "github.com/pmezard/go-difflib v1.0.0" "github.com/pmezard/go-difflib v1.0.0/go.mod" "github.com/rivo/uniseg v0.2.0" "github.com/rivo/uniseg v0.2.0/go.mod" "github.com/shibukawa/configdir v0.0.0-20170330084843-e180dbdc8da0" "github.com/shibukawa/configdir v0.0.0-20170330084843-e180dbdc8da0/go.mod" "github.com/shirou/gopsutil v3.20.12+incompatible" "github.com/shirou/gopsutil v3.20.12+incompatible/go.mod" "github.com/spf13/cobra v0.0.3/go.mod" "github.com/spf13/pflag v1.0.2/go.mod" "github.com/stretchr/objx v0.1.0/go.mod" "github.com/stretchr/objx v0.4.0/go.mod" "github.com/stretchr/testify v1.7.1/go.mod" "github.com/stretchr/testify v1.8.0" "github.com/stretchr/testify v1.8.0/go.mod" "github.com/tmc/scp v0.0.0-20170824174625-f7b48647feef" "github.com/tmc/scp v0.0.0-20170824174625-f7b48647feef/go.mod" "github.com/valyala/fastrand v1.1.0" "github.com/valyala/fastrand v1.1.0/go.mod" "github.com/valyala/histogram v1.2.0" "github.com/valyala/histogram v1.2.0/go.mod" "github.com/xxxserxxx/lingo/v2 v2.0.1" "github.com/xxxserxxx/lingo/v2 v2.0.1/go.mod" "golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod" "golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9/go.mod" "golang.org/x/crypto v0.0.0-20220829220503-c86fa9a7ed90" "golang.org/x/crypto v0.0.0-20220829220503-c86fa9a7ed90/go.mod" "golang.org/x/net v0.0.0-20180906233101-161cd47e91fd/go.mod" "golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod" "golang.org/x/net v0.0.0-20200520004742-59133d7f0dd7/go.mod" "golang.org/x/net v0.0.0-20201202161906-c7110b5ffcbb/go.mod" "golang.org/x/net v0.0.0-20211112202133-69e39bad7dc2" "golang.org/x/net v0.0.0-20211112202133-69e39bad7dc2/go.mod" "golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f/go.mod" "golang.org/x/sys v0.0.0-20180909124046-d0be0721c37e/go.mod" "golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod" "golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod" "golang.org/x/sys v0.0.0-20190904154756-749cb33beabd/go.mod" "golang.org/x/sys v0.0.0-20190912141932-bc967efca4b8/go.mod" "golang.org/x/sys v0.0.0-20190916202348-b4ddaad3f8a3/go.mod" "golang.org/x/sys v0.0.0-20191005200804-aed5e4c7ecf9/go.mod" "golang.org/x/sys v0.0.0-20191120155948-bd437916bb0e/go.mod" "golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd/go.mod" "golang.org/x/sys v0.0.0-20200519105757-fe76b779f299/go.mod" "golang.org/x/sys v0.0.0-20200930185726-fdedc70b468f/go.mod" "golang.org/x/sys v0.0.0-20201119102817-f84b799fce68/go.mod" "golang.org/x/sys v0.0.0-20210423082822-04245dca01da/go.mod" "golang.org/x/sys v0.0.0-20210615035016-665e8c7367d1/go.mod" "golang.org/x/sys v0.0.0-20220319134239-a9b59b0215f8/go.mod" "golang.org/x/sys v0.0.0-20220412211240-33da011f77ad/go.mod" "golang.org/x/sys v0.0.0-20220915200043-7b5979e65e41" "golang.org/x/sys v0.0.0-20220915200043-7b5979e65e41/go.mod" "golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod" "golang.org/x/text v0.3.0/go.mod" "golang.org/x/text v0.3.2/go.mod" "golang.org/x/text v0.3.3/go.mod" "golang.org/x/text v0.3.6" "golang.org/x/text v0.3.6/go.mod" "golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod" "golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod" "golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1" "golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1/go.mod" "google.golang.org/protobuf v0.0.0-20200109180630-ec00e32a8dfd/go.mod" "google.golang.org/protobuf v0.0.0-20200221191635-4d8936d0db64/go.mod" "google.golang.org/protobuf v0.0.0-20200228230310-ab0ca4ff8a60/go.mod" "google.golang.org/protobuf v1.20.1-0.20200309200217-e05f789c0967/go.mod" "google.golang.org/protobuf v1.21.0/go.mod" "google.golang.org/protobuf v1.23.0/go.mod" "gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod" "gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127" "gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127/go.mod" "gopkg.in/fsnotify.v1 v1.4.7/go.mod" "gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7" "gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7/go.mod" "gopkg.in/yaml.v1 v1.0.0-20140924161607-9f9df34309c0/go.mod" "gopkg.in/yaml.v2 v2.2.1/go.mod" "gopkg.in/yaml.v2 v2.2.4/go.mod" "gopkg.in/yaml.v2 v2.3.0/go.mod" "gopkg.in/yaml.v2 v2.4.0" "gopkg.in/yaml.v2 v2.4.0/go.mod" "gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod" "gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b/go.mod" "gopkg.in/yaml.v3 v3.0.1" "gopkg.in/yaml.v3 v3.0.1/go.mod" "howett.net/plist v0.0.0-20181124034731-591f970eefbb/go.mod" "howett.net/plist v1.0.0" "howett.net/plist v1.0.0/go.mod" ) go-module_set_globals DESCRIPTION="A terminal based graphical activity monitor inspired by gtop and vtop" HOMEPAGE="https://github.com/xxxserxxx/gotop" SRC_URI="https://github.com/xxxserxxx/gotop/archive/v${PV}.tar.gz -> ${P}.tar.gz ${EGO_SUM_SRC_URI}" BDEPEND=">=dev-lang/go-1.13" # generated by dev-go/golicense LICENSE="Apache-2.0 BSD MIT" SLOT="0" KEYWORDS="~amd64 ~x86" src_compile() { DAT=$(date +%Y%m%dT%H%M%S) go build -o gotop \ -ldflags "-X main.Version=v${PV} -X main.BuildDate=${DAT}" \ ./cmd/gotop } src_install() { dobin "${PN}" dodoc README.md }