commit: 4ce66b046600c6eed7d678fb101c2dbaa80390ef Author: Zac Medico <zmedico <AT> gentoo <DOT> org> AuthorDate: Sun Jul 9 19:54:40 2017 +0000 Commit: Zac Medico <zmedico <AT> gentoo <DOT> org> CommitDate: Sun Jul 9 19:57:14 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4ce66b04
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 dev-util/bazel/{bazel-0.4.5.ebuild => bazel-0.4.5-r1.ebuild} | 7 ++++--- 1 file 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 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 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 }