1 |
commit: 1fefcbb0703cd634dd459e84fe1c95949edd113b |
2 |
Author: Manuel Rüger <mrueg <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Jun 5 16:34:11 2017 +0000 |
4 |
Commit: Manuel Rüger <mrueg <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Jun 5 16:34:30 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1fefcbb0 |
7 |
|
8 |
sys-cluster/kubectl: Misc fixes |
9 |
|
10 |
Package-Manager: Portage-2.3.6, Repoman-2.3.2 |
11 |
|
12 |
sys-cluster/kubectl/kubectl-1.6.4.ebuild | 12 ++++++------ |
13 |
1 file changed, 6 insertions(+), 6 deletions(-) |
14 |
|
15 |
diff --git a/sys-cluster/kubectl/kubectl-1.6.4.ebuild b/sys-cluster/kubectl/kubectl-1.6.4.ebuild |
16 |
index 637d85f31c8..4866ab70285 100644 |
17 |
--- a/sys-cluster/kubectl/kubectl-1.6.4.ebuild |
18 |
+++ b/sys-cluster/kubectl/kubectl-1.6.4.ebuild |
19 |
@@ -2,9 +2,9 @@ |
20 |
# Distributed under the terms of the GNU General Public License v2 |
21 |
|
22 |
EAPI=6 |
23 |
-inherit user golang-build golang-vcs-snapshot |
24 |
+inherit golang-build golang-vcs-snapshot |
25 |
|
26 |
-EGO_PN="k8s.io/kubernetes/..." |
27 |
+EGO_PN="k8s.io/kubernetes" |
28 |
ARCHIVE_URI="https://github.com/kubernetes/kubernetes/archive/v${PV}.tar.gz -> kubernetes-${PV}.tar.gz" |
29 |
KEYWORDS="~amd64" |
30 |
|
31 |
@@ -22,16 +22,16 @@ RESTRICT="test" |
32 |
|
33 |
src_prepare() { |
34 |
default |
35 |
- sed -i -e "/vendor\/github.com\/jteeuwen\/go-bindata\/go-bindata/d" src/${EGO_PN%/*}/hack/lib/golang.sh || die |
36 |
- sed -i -e "/export PATH/d" src/${EGO_PN%/*}/hack/generate-bindata.sh || die |
37 |
+ sed -i -e "/vendor\/github.com\/jteeuwen\/go-bindata\/go-bindata/d" src/${EGO_PN}/hack/lib/golang.sh || die |
38 |
+ sed -i -e "/export PATH/d" src/${EGO_PN}/hack/generate-bindata.sh || die |
39 |
} |
40 |
|
41 |
src_compile() { |
42 |
- LDFLAGS="" GOPATH="${WORKDIR}/${P}" emake -j1 -C src/${EGO_PN%/*} WHAT=cmd/${PN} |
43 |
+ LDFLAGS="" GOPATH="${WORKDIR}/${P}" emake -j1 -C src/${EGO_PN} WHAT=cmd/${PN} |
44 |
} |
45 |
|
46 |
src_install() { |
47 |
- pushd src/${EGO_PN%/*} || die |
48 |
+ pushd src/${EGO_PN} || die |
49 |
dobin _output/bin/${PN} |
50 |
popd || die |
51 |
} |