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 F1A88138334 for ; Sat, 1 Jun 2019 17:21:27 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 01FE3E0825; Sat, 1 Jun 2019 17:21:27 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.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 CBF3CE0825 for ; Sat, 1 Jun 2019 17:21:26 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 D2C313454FD for ; Sat, 1 Jun 2019 17:21:24 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 096445EB for ; Sat, 1 Jun 2019 17:21:22 +0000 (UTC) From: "Sergei Trofimovich" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sergei Trofimovich" Message-ID: <1559409674.048b8a49b5918cb878f67a75ec23aa5c9e9fb54d.slyfox@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-fs/btrfs-progs/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-fs/btrfs-progs/btrfs-progs-5.1-r1.ebuild sys-fs/btrfs-progs/btrfs-progs-9999.ebuild X-VCS-Directories: sys-fs/btrfs-progs/ X-VCS-Committer: slyfox X-VCS-Committer-Name: Sergei Trofimovich X-VCS-Revision: 048b8a49b5918cb878f67a75ec23aa5c9e9fb54d X-VCS-Branch: master Date: Sat, 1 Jun 2019 17:21:22 +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-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: c7ce27ad-e24a-43b9-aaca-db3abde3c3ce X-Archives-Hash: 95ef1316ace20c62157532e5afad558e commit: 048b8a49b5918cb878f67a75ec23aa5c9e9fb54d Author: Sergei Trofimovich gentoo org> AuthorDate: Sat Jun 1 17:20:56 2019 +0000 Commit: Sergei Trofimovich gentoo org> CommitDate: Sat Jun 1 17:21:14 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=048b8a49 sys-fs/btrfs-progs: add USE=doc, bug #627418 USE=-doc will install manpages shipped in tarball, USE=doc will regenerate manpages locally. Reported-by: Holger Hoffstätte Closes: https://bugs.gentoo.org/627418 Package-Manager: Portage-2.3.67, Repoman-2.3.13 Signed-off-by: Sergei Trofimovich gentoo.org> sys-fs/btrfs-progs/btrfs-progs-5.1-r1.ebuild | 14 ++++++++++---- sys-fs/btrfs-progs/btrfs-progs-9999.ebuild | 14 ++++++++++---- 2 files changed, 20 insertions(+), 8 deletions(-) diff --git a/sys-fs/btrfs-progs/btrfs-progs-5.1-r1.ebuild b/sys-fs/btrfs-progs/btrfs-progs-5.1-r1.ebuild index 572fe0d9fec..033e0ad66d1 100644 --- a/sys-fs/btrfs-progs/btrfs-progs-5.1-r1.ebuild +++ b/sys-fs/btrfs-progs/btrfs-progs-5.1-r1.ebuild @@ -27,7 +27,7 @@ HOMEPAGE="https://btrfs.wiki.kernel.org" LICENSE="GPL-2" SLOT="0/${libbtrfs_soname}" -IUSE="+convert python reiserfs static static-libs +zstd" +IUSE="+convert doc python reiserfs static static-libs +zstd" RESTRICT=test # tries to mount repared filesystems @@ -63,9 +63,11 @@ DEPEND="${RDEPEND} ) " BDEPEND=" - || ( >=app-text/asciidoc-8.6.0 dev-ruby/asciidoctor ) - app-text/docbook-xml-dtd:4.5 - app-text/xmlto + doc? ( + || ( >=app-text/asciidoc-8.6.0 dev-ruby/asciidoctor ) + app-text/docbook-xml-dtd:4.5 + app-text/xmlto + ) " if [[ ${PV} == 9999 ]]; then @@ -99,6 +101,7 @@ src_configure() { local myeconfargs=( --bindir="${EPREFIX}"/sbin $(use_enable convert) + $(use_enable doc documentation) $(use_enable elibc_glibc backtrace) $(use_enable python) $(use_enable static-libs static) @@ -120,4 +123,7 @@ src_install() { emake V=1 DESTDIR="${D}" install "${makeargs[@]}" newbashcomp btrfs-completion btrfs use python && python_optimize + + # install prebuilt subset of manuals + use doc || doman Documentation/*.[58] } diff --git a/sys-fs/btrfs-progs/btrfs-progs-9999.ebuild b/sys-fs/btrfs-progs/btrfs-progs-9999.ebuild index 35aaf524c91..4680b387969 100644 --- a/sys-fs/btrfs-progs/btrfs-progs-9999.ebuild +++ b/sys-fs/btrfs-progs/btrfs-progs-9999.ebuild @@ -27,7 +27,7 @@ HOMEPAGE="https://btrfs.wiki.kernel.org" LICENSE="GPL-2" SLOT="0/${libbtrfs_soname}" -IUSE="+convert python reiserfs static static-libs +zstd" +IUSE="+convert doc python reiserfs static static-libs +zstd" RESTRICT=test # tries to mount repared filesystems @@ -63,9 +63,11 @@ DEPEND="${RDEPEND} ) " BDEPEND=" - || ( >=app-text/asciidoc-8.6.0 dev-ruby/asciidoctor ) - app-text/docbook-xml-dtd:4.5 - app-text/xmlto + doc? ( + || ( >=app-text/asciidoc-8.6.0 dev-ruby/asciidoctor ) + app-text/docbook-xml-dtd:4.5 + app-text/xmlto + ) " if [[ ${PV} == 9999 ]]; then @@ -95,6 +97,7 @@ src_configure() { local myeconfargs=( --bindir="${EPREFIX}"/sbin $(use_enable convert) + $(use_enable doc documentation) $(use_enable elibc_glibc backtrace) $(use_enable python) $(use_enable static-libs static) @@ -116,4 +119,7 @@ src_install() { emake V=1 DESTDIR="${D}" install "${makeargs[@]}" newbashcomp btrfs-completion btrfs use python && python_optimize + + # install prebuilt subset of manuals + use doc || doman Documentation/*.[58] }