summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2017-07-09 12:54:40 -0700
committerZac Medico <zmedico@gentoo.org>2017-07-09 12:57:14 -0700
commit4ce66b046600c6eed7d678fb101c2dbaa80390ef (patch)
tree68897643356bf6b755a915d4302f91c488f59687 /dev-util/bazel
parentnet-misc/sks: remove redundant empty line (diff)
downloadgentoo-4ce66b046600c6eed7d678fb101c2dbaa80390ef.tar.gz
gentoo-4ce66b046600c6eed7d678fb101c2dbaa80390ef.tar.bz2
gentoo-4ce66b046600c6eed7d678fb101c2dbaa80390ef.zip
dev-util/bazel: fix tools/examples install location for bug 624302, revbump to 0.4.5-r1
Package-Manager: Portage-2.3.6, Repoman-2.3.2
Diffstat (limited to 'dev-util/bazel')
-rw-r--r--dev-util/bazel/bazel-0.4.5-r1.ebuild (renamed from dev-util/bazel/bazel-0.4.5.ebuild)7
1 files changed, 4 insertions, 3 deletions
diff --git a/dev-util/bazel/bazel-0.4.5.ebuild b/dev-util/bazel/bazel-0.4.5-r1.ebuild
index e25a3d27164..d3b75d558a9 100644
--- a/dev-util/bazel/bazel-0.4.5.ebuild
+++ b/dev-util/bazel/bazel-0.4.5-r1.ebuild
@@ -35,6 +35,7 @@ src_compile() {
echo "build --verbose_failures --spawn_strategy=standalone --genrule_strategy=standalone" \
> "${T}/bazelrc" || die
output/bazel --bazelrc="${T}/bazelrc" build scripts:bazel-complete.bash || die
+ mv bazel-bin/scripts/bazel-complete.bash output/ || die
}
src_test() {
@@ -49,21 +50,21 @@ src_test() {
src_install() {
output/bazel shutdown
dobin output/bazel
- newbashcomp bazel-bin/scripts/bazel-complete.bash ${PN}
+ newbashcomp output/bazel-complete.bash ${PN}
if use zsh-completion ; then
insinto /usr/share/zsh/site-functions
doins scripts/zsh_completion/_bazel
fi
if use examples; then
docinto examples
- doins -r examples/*
+ dodoc -r examples/*
docompress -x /usr/share/doc/${PF}/examples
fi
# could really build tools but I don't know which ones
# are actually used
if use tools; then
docinto tools
- doins -r tools/*
+ dodoc -r tools/*
docompress -x /usr/share/doc/${PF}/tools
fi
}