sys-cluster/kubectl: fix compile with go-1.13
authorZac Medico <zmedico@gentoo.org>
Sat, 5 Oct 2019 04:36:11 +0000 (21:36 -0700)
committerZac Medico <zmedico@gentoo.org>
Sat, 5 Oct 2019 04:36:49 +0000 (21:36 -0700)
Closes: https://bugs.gentoo.org/693548
Closes: https://bugs.gentoo.org/695676
Package-Manager: Portage-2.3.76, Repoman-2.3.17
Signed-off-by: Zac Medico <zmedico@gentoo.org>
sys-cluster/kubectl/kubectl-1.15.3.ebuild
sys-cluster/kubectl/kubectl-1.15.4.ebuild
sys-cluster/kubectl/kubectl-1.16.0.ebuild

index 7a61b25dce90df87ea61968577b85e7caf523459..2ab1aefbcfc3cbee9d0c0ad96bded1b780f3c99c 100644 (file)
@@ -25,6 +25,7 @@ src_prepare() {
        default
        sed -i -e "/vendor\/github.com\/jteeuwen\/go-bindata\/go-bindata/d" -e "s/-s -w/-w/" src/${EGO_PN}/hack/lib/golang.sh || die
        sed -i -e "/export PATH/d" src/${EGO_PN}/hack/generate-bindata.sh || die
+       rm src/${EGO_PN}/go.mod || die
 }
 
 src_compile() {
index 7a61b25dce90df87ea61968577b85e7caf523459..2ab1aefbcfc3cbee9d0c0ad96bded1b780f3c99c 100644 (file)
@@ -25,6 +25,7 @@ src_prepare() {
        default
        sed -i -e "/vendor\/github.com\/jteeuwen\/go-bindata\/go-bindata/d" -e "s/-s -w/-w/" src/${EGO_PN}/hack/lib/golang.sh || die
        sed -i -e "/export PATH/d" src/${EGO_PN}/hack/generate-bindata.sh || die
+       rm src/${EGO_PN}/go.mod || die
 }
 
 src_compile() {
index 7a61b25dce90df87ea61968577b85e7caf523459..2ab1aefbcfc3cbee9d0c0ad96bded1b780f3c99c 100644 (file)
@@ -25,6 +25,7 @@ src_prepare() {
        default
        sed -i -e "/vendor\/github.com\/jteeuwen\/go-bindata\/go-bindata/d" -e "s/-s -w/-w/" src/${EGO_PN}/hack/lib/golang.sh || die
        sed -i -e "/export PATH/d" src/${EGO_PN}/hack/generate-bindata.sh || die
+       rm src/${EGO_PN}/go.mod || die
 }
 
 src_compile() {