Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 682478 - sys-cluster/swift-2.21.0 should install manpages examples and other docs
Summary: sys-cluster/swift-2.21.0 should install manpages examples and other docs
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Matthew Thode ( prometheanfire )
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2019-04-04 03:39 UTC by Hank Leininger
Modified: 2019-04-04 14:47 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Enable installing docs and examples with USE=doc (swift-2.21.0-add_doc.patch,683 bytes, patch)
2019-04-04 03:39 UTC, Hank Leininger
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Hank Leininger 2019-04-04 03:39:23 UTC
Created attachment 571784 [details, diff]
Enable installing docs and examples with USE=doc

swift ships with manpages under doc/manpages/ and various other documentation and example files under other doc/ subdirs.  This includes potentially useful things like the "Swift All In One" configs referenced in their online documentation.

I will attach a patch that adds a doc USE flag which, when enabled, deploys manpages and those extra docs.

Perhaps the manpages should be unconditional, and only the additional docs & examples be wrapped with USE=doc?  I certainly would not object.
Comment 1 Larry the Git Cow gentoo-dev 2019-04-04 14:47:40 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1b8a267cb717a535563f8c3d54753d5b98656b3f

commit 1b8a267cb717a535563f8c3d54753d5b98656b3f
Author:     Matthew Thode <prometheanfire@gentoo.org>
AuthorDate: 2019-04-04 14:45:13 +0000
Commit:     Matthew Thode <prometheanfire@gentoo.org>
CommitDate: 2019-04-04 14:47:04 +0000

    sys-cluster/swift: add doc support
    
    Thanks Hank Leininger for the patch
    Fixes: https://bugs.gentoo.org/682478
    
    Package-Manager: Portage-2.3.62, Repoman-2.3.12
    Signed-off-by: Matthew Thode <prometheanfire@gentoo.org>

 sys-cluster/swift/{swift-2.21.0.ebuild => swift-2.21.0-r1.ebuild} | 7 ++++++-
 sys-cluster/swift/swift-2019.1.9999.ebuild                        | 7 ++++++-
 2 files changed, 12 insertions(+), 2 deletions(-)