1 |
commit: 55bbcf2162784a9068e80a22647b542cedd0ea81 |
2 |
Author: Vladimir Pavljuchenkov (SpiderX) <spiderx <AT> spiderx <DOT> dp <DOT> ua> |
3 |
AuthorDate: Sun Sep 29 11:44:19 2019 +0000 |
4 |
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Oct 1 05:17:48 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=55bbcf21 |
7 |
|
8 |
app-misc/pet: ebuild enhancements, LICENSE update (#695224) |
9 |
|
10 |
Closes: https://bugs.gentoo.org/695224 |
11 |
Package-Manager: Portage-2.3.69, Repoman-2.3.16 |
12 |
Signed-off-by: Vladimir Pavljuchenkov <spiderx <AT> spiderx.dp.ua> |
13 |
Closes: https://github.com/gentoo/gentoo/pull/13089 |
14 |
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org> |
15 |
|
16 |
app-misc/pet/pet-0.3.6.ebuild | 15 +++++++-------- |
17 |
1 file changed, 7 insertions(+), 8 deletions(-) |
18 |
|
19 |
diff --git a/app-misc/pet/pet-0.3.6.ebuild b/app-misc/pet/pet-0.3.6.ebuild |
20 |
index 062b5a0ad44..d39d9096873 100644 |
21 |
--- a/app-misc/pet/pet-0.3.6.ebuild |
22 |
+++ b/app-misc/pet/pet-0.3.6.ebuild |
23 |
@@ -3,8 +3,7 @@ |
24 |
|
25 |
EAPI=7 |
26 |
|
27 |
-EGO_VENDOR=( |
28 |
- "github.com/BurntSushi/toml v0.3.0" |
29 |
+EGO_VENDOR=( "github.com/BurntSushi/toml v0.3.0" |
30 |
"github.com/briandowns/spinner 48dbb65d7bd5c74ab50d53d04c949f20e3d14944" |
31 |
"github.com/chzyer/readline 2972be24d48e78746da79ba8e24e8b488c9880de" |
32 |
"github.com/fatih/color v1.7.0" |
33 |
@@ -24,8 +23,7 @@ EGO_VENDOR=( |
34 |
"golang.org/x/oauth2 1e0a3fa8ba9a5c9eb35c271780101fdaf1b205d7 github.com/golang/oauth2" |
35 |
"golang.org/x/sys 9527bec2660bd847c050fda93a0f0c6dee0800bb github.com/golang/sys" |
36 |
"github.com/google/go-querystring 53e6ce116135b80d037921a7fdd5138cf32d7a8a" |
37 |
- "google.golang.org/appengine v1.0.0 github.com/golang/appengine" |
38 |
-) |
39 |
+ "google.golang.org/appengine v1.0.0 github.com/golang/appengine" ) |
40 |
|
41 |
EGO_PN="github.com/knqyf263/${PN}" |
42 |
|
43 |
@@ -36,24 +34,25 @@ HOMEPAGE="https://github.com/knqyf263/pet" |
44 |
SRC_URI="https://${EGO_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz |
45 |
${EGO_VENDOR_URI}" |
46 |
|
47 |
-LICENSE="MIT" |
48 |
+LICENSE="Apache-2.0 BSD BSD-2 MIT" |
49 |
SLOT="0" |
50 |
KEYWORDS="~amd64" |
51 |
IUSE="zsh-completion" |
52 |
|
53 |
RDEPEND="zsh-completion? ( app-shells/zsh-completions )" |
54 |
-S=${WORKDIR}/${P}/src/${EGO_PN} |
55 |
+ |
56 |
+S="${WORKDIR}/${P}/src/${EGO_PN}" |
57 |
|
58 |
src_compile() { |
59 |
export -n GOCACHE XDG_CACHE_HOME |
60 |
GOPATH="${WORKDIR}/${P}" GO111MODULE=on \ |
61 |
- go build -mod=vendor -v -work -x ${EGO_BUILD_FLAGS} "${EGO_PN}" || die |
62 |
+ go build -mod=vendor -v -work -x "${EGO_BUILD_FLAGS}" "${EGO_PN}" || die |
63 |
} |
64 |
|
65 |
src_install() { |
66 |
dobin pet |
67 |
|
68 |
- if use zsh-completion; then |
69 |
+ if use zsh-completion ; then |
70 |
insinto /usr/share/zsh/site-functions |
71 |
doins misc/completions/zsh/_pet |
72 |
fi |