From: Zac Medico Date: Sun, 9 Jul 2017 19:54:40 +0000 (-0700) Subject: dev-util/bazel: fix tools/examples install location for bug 624302, revbump to 0... X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=4ce66b046600c6eed7d678fb101c2dbaa80390ef;p=gentoo.git 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 --- diff --git a/dev-util/bazel/bazel-0.4.5.ebuild b/dev-util/bazel/bazel-0.4.5-r1.ebuild similarity index 92% rename from dev-util/bazel/bazel-0.4.5.ebuild rename to dev-util/bazel/bazel-0.4.5-r1.ebuild index e25a3d27164e..d3b75d558a98 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 }