Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 602026 - dev-util/mdds-1.2.2 USE="doc" doesn't install documentation
Summary: dev-util/mdds-1.2.2 USE="doc" doesn't install documentation
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Office Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-12-08 19:47 UTC by Chris Mayo
Modified: 2017-11-10 19:20 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Mayo 2016-12-08 19:47:23 UTC
Perhaps just remove the flag but in case anyone is interested my notes:

Also requires dev-python/sphinx-bootstrap-theme and breathe (not in the tree)
https://github.com/michaeljones/breathe

Plus emake html and dodoc

e.g.:
@@ -24,7 +24,9 @@
 DEPEND="${RDEPEND}
 	doc? (
 		app-doc/doxygen
+		dev-python/breathe
 		dev-python/sphinx
+		dev-python/sphinx-bootstrap-theme
 	)
 "
 
@@ -41,9 +43,22 @@
 		$(use_enable valgrind memory_tests)
 }
 
-src_compile() { :; }
+src_compile() {
+	if use doc; then
+		emake html
+	fi
+}
 
 src_test() {
 	tc-export CXX
 	default
 }
+
+src_install() {
+	default
+	
+	if use doc; then
+		docinto html
+		dodoc -r "doc/_build/."
+	fi
+}
Comment 1 Larry the Git Cow gentoo-dev 2017-11-10 19:20:58 UTC
The bug has been closed via the following commit(s):

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

commit cb0d6a07c5b4c7274c614a0491722949ff86c8ee
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2017-11-09 23:41:48 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2017-11-10 19:20:09 +0000

    dev-util/mdds: --disable-docs, sync ebuilds
    
    Thanks-to: Chris Mayo <aklhfex@gmail.com>
    Closes: https://bugs.gentoo.org/602026
    Package-Manager: Portage-2.3.13, Repoman-2.3.4

 dev-util/mdds/mdds-1.2.2.ebuild | 16 ++++++----------
 dev-util/mdds/mdds-1.2.3.ebuild | 14 +++++---------
 dev-util/mdds/mdds-1.3.0.ebuild | 12 ++++--------
 3 files changed, 15 insertions(+), 27 deletions(-)