Summary: | app-backup/btrbk - add USE=doc | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Forza <forza> |
Component: | Current packages | Assignee: | Craig Andrews <candrews> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | axel |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | Depend on asciidoctor, add USE=+doc |
Description
Forza
2019-03-20 17:41:40 UTC
Created attachment 570714 [details, diff]
Depend on asciidoctor, add USE=+doc
This patch adds "USE=+doc", allowing to build btrbk without the docs, removing the need of installing "asciidoc" or "asciidoctor" build-time dependencies.
Also change dependency to "dev-ruby/asciidoctor", which is preferred as "app-text/asciidoc" is discontinued and depends on python-2.7.
This patch should also be applied to "app-backup/btrbk-9999.ebuild".
Note that btrbk is still able to compile the docs using asciidoc+xmlto, this would also work:
DEPEND="doc? ( || ( >=dev-ruby/asciidoctor-1.5.7 ( >=app-text/asciidoc-8.6.0 app-text/xmlto ) ) )"
Note that btrbk is a single perl script, and does not require any special installation procedures or libraries. There is no need to run any build target if you don't want to build the man pages (see doc/Makefile).
Thank you! The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2c018f15ba322ef3d927b011bdfa72652ac30a5a commit 2c018f15ba322ef3d927b011bdfa72652ac30a5a Author: Craig Andrews <candrews@gentoo.org> AuthorDate: 2019-03-25 15:25:53 +0000 Commit: Craig Andrews <candrews@gentoo.org> CommitDate: 2019-03-25 15:26:39 +0000 app-backup/btrbk: add USE=doc Closes: https://bugs.gentoo.org/681056 Package-Manager: Portage-2.3.62, Repoman-2.3.12 Signed-off-by: Craig Andrews <candrews@gentoo.org> app-backup/btrbk/btrbk-0.27.1-r1.ebuild | 72 +++++++++++++++++++++++++++++++++ app-backup/btrbk/btrbk-9999.ebuild | 14 ++++--- 2 files changed, 81 insertions(+), 5 deletions(-) |