From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 3472B139083 for ; Thu, 14 Dec 2017 05:10:48 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3D13BE0F08; Thu, 14 Dec 2017 05:10:46 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 1B6BCE0F08 for ; Thu, 14 Dec 2017 05:10:45 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 6963333BF0B for ; Thu, 14 Dec 2017 05:10:43 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id CF293AE7E for ; Thu, 14 Dec 2017 05:10:41 +0000 (UTC) From: "Aric Belsito" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Aric Belsito" Message-ID: <1513226196.ea62e779486ae9b1b84d13f8c249f3b007d9ad36.lluixhi@gentoo> Subject: [gentoo-commits] proj/musl:master commit in: dev-lang/rust/ X-VCS-Repository: proj/musl X-VCS-Files: dev-lang/rust/rust-1.21.0.ebuild X-VCS-Directories: dev-lang/rust/ X-VCS-Committer: lluixhi X-VCS-Committer-Name: Aric Belsito X-VCS-Revision: ea62e779486ae9b1b84d13f8c249f3b007d9ad36 X-VCS-Branch: master Date: Thu, 14 Dec 2017 05:10:41 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 9988b7eb-dc3c-48c9-814e-df4b9bec3479 X-Archives-Hash: 8011a6a19ecdfb624db5f9482cd14cee commit: ea62e779486ae9b1b84d13f8c249f3b007d9ad36 Author: Aric Belsito gmail com> AuthorDate: Thu Dec 14 04:36:36 2017 +0000 Commit: Aric Belsito gmail com> CommitDate: Thu Dec 14 04:36:36 2017 +0000 URL: https://gitweb.gentoo.org/proj/musl.git/commit/?id=ea62e779 dev-lang/rust: documentation tweaks dev-lang/rust/rust-1.21.0.ebuild | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/dev-lang/rust/rust-1.21.0.ebuild b/dev-lang/rust/rust-1.21.0.ebuild index b10900c..d6c1fe1 100644 --- a/dev-lang/rust/rust-1.21.0.ebuild +++ b/dev-lang/rust/rust-1.21.0.ebuild @@ -69,7 +69,6 @@ SRC_URI="https://static.rust-lang.org/dist/${SRC} -> rustc-${PV}-src.tar.xz LICENSE="|| ( MIT Apache-2.0 ) BSD-1 BSD-2 BSD-4 UoI-NCSA" IUSE="debug doc jemalloc system-llvm" -REQUIRED_USE="" RDEPEND=" system-llvm? ( sys-devel/llvm:4 ) @@ -192,6 +191,14 @@ src_install() { mv "${D}/usr/bin/rust-gdb" "${D}/usr/bin/rust-gdb-${PV}" || die mv "${D}/usr/bin/rust-lldb" "${D}/usr/bin/rust-lldb-${PV}" || die + if use doc; then + rm "${D}/usr/$(get_libdir)/${P}/rustlib/manifest-rust-docs" || die + fi + + rm "${D}/usr/share/doc/${P}/LICENSE-MIT" || die + rm "${D}/usr/share/doc/${P}/LICENSE-APACHE" || die + + docompress "${D}/usr/share/${P}/man" dodoc COPYRIGHT cat <<-EOF > "${T}"/50${P}