1 |
|
# Copyright 1999-2021 Gentoo Authors
|
|
1 |
# Copyright 1999-2022 Gentoo Authors
|
2 |
2 |
# Distributed under the terms of the GNU General Public License v2
|
3 |
3 |
|
4 |
|
EAPI=7
|
|
4 |
EAPI=8
|
5 |
5 |
|
6 |
6 |
inherit go-module
|
7 |
7 |
|
8 |
|
EGO_SUM=(
|
9 |
|
"github.com/davecgh/go-spew v1.1.0"
|
10 |
|
"github.com/davecgh/go-spew v1.1.0/go.mod"
|
11 |
|
"github.com/google/btree v0.0.0-20161213163243-0c3044bc8bad"
|
12 |
|
"github.com/google/btree v0.0.0-20161213163243-0c3044bc8bad/go.mod"
|
13 |
|
"github.com/jessevdk/go-flags v1.1.0"
|
14 |
|
"github.com/jessevdk/go-flags v1.1.0/go.mod"
|
15 |
|
"github.com/lestrrat-go/pdebug v0.0.0-20180220043849-39f9a71bcabe"
|
16 |
|
"github.com/lestrrat-go/pdebug v0.0.0-20180220043849-39f9a71bcabe/go.mod"
|
17 |
|
"github.com/mattn/go-runewidth v0.0.0-20161012013512-737072b4e32b"
|
18 |
|
"github.com/mattn/go-runewidth v0.0.0-20161012013512-737072b4e32b/go.mod"
|
19 |
|
"github.com/nsf/termbox-go v0.0.0-20190817171036-93860e161317"
|
20 |
|
"github.com/nsf/termbox-go v0.0.0-20190817171036-93860e161317/go.mod"
|
21 |
|
"github.com/pkg/errors v0.0.0-20161029093637-248dadf4e906"
|
22 |
|
"github.com/pkg/errors v0.0.0-20161029093637-248dadf4e906/go.mod"
|
23 |
|
"github.com/pmezard/go-difflib v1.0.0"
|
24 |
|
"github.com/pmezard/go-difflib v1.0.0/go.mod"
|
25 |
|
"github.com/stretchr/testify v0.0.0-20161117074351-18a02ba4a312"
|
26 |
|
"github.com/stretchr/testify v0.0.0-20161117074351-18a02ba4a312/go.mod"
|
27 |
|
)
|
28 |
|
go-module_set_globals
|
29 |
|
|
30 |
8 |
DESCRIPTION="Simplistic interactive filtering tool"
|
31 |
9 |
HOMEPAGE="https://github.com/peco/peco"
|
32 |
|
SRC_URI="https://github.com/peco/peco/archive/v${PV}.tar.gz -> ${P}.tar.gz
|
33 |
|
${EGO_SUM_SRC_URI}"
|
|
10 |
SRC_URI="https://github.com/peco/peco/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz
|
|
11 |
https://github.com/SpiderX/portage-overlay/raw/deps/${P}-deps.tar.xz"
|
34 |
12 |
|
35 |
13 |
LICENSE="Apache-2.0 BSD BSD-2 MIT"
|
36 |
14 |
SLOT="0"
|
37 |
15 |
KEYWORDS="~amd64"
|
38 |
|
IUSE=""
|
39 |
16 |
|
40 |
17 |
DOCS=( {Changes,README.md} )
|
41 |
18 |
|
42 |
|
PATCHES=( "${FILESDIR}/${PN}-0.5.7-go.sum.patch" )
|
43 |
|
|
44 |
19 |
src_compile() {
|
45 |
|
go build ./cmd/... || die "build failed"
|
|
20 |
ego build ./cmd/...
|
46 |
21 |
}
|
47 |
22 |
|
48 |
23 |
src_test() {
|
49 |
|
go test ./... || die "test failed"
|
|
24 |
ego test ./...
|
50 |
25 |
}
|
51 |
26 |
|
52 |
27 |
src_install() {
|