Gentoo Archives: gentoo-commits

From: "Ulrich Müller" <ulm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-doc/devmanual/
Date: Mon, 10 Feb 2020 18:01:59
Message-Id: 1581357622.504c4020b8aa80a8a391f493e6b38a23a9846c1c.ulm@gentoo
1 commit: 504c4020b8aa80a8a391f493e6b38a23a9846c1c
2 Author: Ulrich Müller <ulm <AT> gentoo <DOT> org>
3 AuthorDate: Mon Feb 10 17:58:30 2020 +0000
4 Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org>
5 CommitDate: Mon Feb 10 18:00:22 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=504c4020
7
8 app-doc/devmanual: Update live ebuild, new snapshot.
9
10 Package-Manager: Portage-2.3.88, Repoman-2.3.20
11 Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org>
12
13 app-doc/devmanual/Manifest | 2 +-
14 ...00203.ebuild => devmanual-0_pre20200207.ebuild} | 29 ++++++++--------------
15 app-doc/devmanual/devmanual-9999.ebuild | 29 ++++++++--------------
16 3 files changed, 21 insertions(+), 39 deletions(-)
17
18 diff --git a/app-doc/devmanual/Manifest b/app-doc/devmanual/Manifest
19 index e42a05bf9fc..192ea59eecd 100644
20 --- a/app-doc/devmanual/Manifest
21 +++ b/app-doc/devmanual/Manifest
22 @@ -1,2 +1,2 @@
23 DIST devmanual-0_pre20141116.tar.gz 169936 BLAKE2B 9b01004750b9fce226fa6a965292d3ffaff0923f877da611743e39ee19077ea7fe0d21ff138853d3f79e4d4941026c30fcabf63c8903572ed7ba5d50d32c8dd5 SHA512 6af3f9a262bdb2ceb61ab195691dff4a850b22e8d1226e20ae3257c566b6cc913f756c8b90a40e8aa78b1242e78d24c4209a1d9cdb0706ae9b64c653544a028f
24 -DIST devmanual-0_pre20200203.tar.xz 163740 BLAKE2B 39d8173bc524213e7a6e81def4f1631ea0d2503540551982d07ef58f414b8a052e8a3a0d2426b5864e06fb24f1745af4dea57e418fcc5e52c558dc1da9ff4530 SHA512 f3fce9ba557515b89c5a875dc1e4e968eb3097776842026403e41ebe972c2e4e764303c729c5835466faaa2675fa361fe7e0512d7a8222d7d8b1202a9049f98e
25 +DIST devmanual-0_pre20200207.tar.xz 163940 BLAKE2B c6cf856a8f6c80b500466e27cc4106c070cff2dcf8c89d58c9ca90d03cb34a1e6a2048cb99364993f224f3497309fc24207dc44f9c14ece37c49aa602480dac0 SHA512 f6a88312e2030bf4d9fcf64bf1f38397087cb151aa41cd0c254cfc6251e4d5b291e3b361094a7c1d5fdb16e40c1702c0f0b7460ba230bfb217ad733f400c9089
26
27 diff --git a/app-doc/devmanual/devmanual-0_pre20200203.ebuild b/app-doc/devmanual/devmanual-0_pre20200207.ebuild
28 similarity index 66%
29 rename from app-doc/devmanual/devmanual-0_pre20200203.ebuild
30 rename to app-doc/devmanual/devmanual-0_pre20200207.ebuild
31 index 9762d86e473..5146b9288cc 100644
32 --- a/app-doc/devmanual/devmanual-0_pre20200203.ebuild
33 +++ b/app-doc/devmanual/devmanual-0_pre20200207.ebuild
34 @@ -29,35 +29,26 @@ BDEPEND="dev-libs/libxml2
35 PATCHES=( "${FILESDIR}"/${PN}-eclasses.patch )
36
37 src_compile() {
38 - emake build OFFLINE=$(usex offline 1 0)
39 - use offline || emake documents.js
40 + emake OFFLINE=$(usex offline 1 0)
41 }
42
43 src_install() {
44 - # clean out XML/XSL before installing
45 - find . \( \
46 - -iname '*.xml' -o \
47 - -iname '*.dtd' -o \
48 - -iname '*.xsl' -o \
49 - -iname '*.svg' \) -delete || die
50 - rm -r bin xsl .git* LICENSE Makefile README.md || die
51 -
52 - local HTML_DOCS=( . )
53 - einstalldocs
54 + emake OFFLINE=$(usex offline 1 0) \
55 + DESTDIR="${D}" \
56 + htmldir="${EPREFIX}"/usr/share/doc/${PF}/html \
57 + install
58
59 local DOC_CONTENTS="In order to browse the Gentoo Development Guide in
60 offline mode, point your browser to the following url:
61 file://${EPREFIX}/usr/share/doc/${PF}/html/index.html"
62 + if ! has_version app-doc/eclass-manpages; then
63 + DOC_CONTENTS+="\\n\\nThe offline version of the devmanual does not
64 + include the documentation for the eclasses. If you need it,
65 + then emerge app-doc/eclass-manpages."
66 + fi
67 readme.gentoo_create_doc
68 }
69
70 pkg_postinst() {
71 readme.gentoo_print_elog
72 - if ! has_version app-doc/eclass-manpages; then
73 - elog "The offline version of the devmanual does not include the"
74 - elog "documentation for the eclasses. If you need it, then emerge"
75 - elog "the following package:"
76 - elog
77 - elog "app-doc/eclass-manpages"
78 - fi
79 }
80
81 diff --git a/app-doc/devmanual/devmanual-9999.ebuild b/app-doc/devmanual/devmanual-9999.ebuild
82 index 1957ff9c99e..7bea70d1e20 100644
83 --- a/app-doc/devmanual/devmanual-9999.ebuild
84 +++ b/app-doc/devmanual/devmanual-9999.ebuild
85 @@ -29,35 +29,26 @@ BDEPEND="dev-libs/libxml2
86 PATCHES=( "${FILESDIR}"/${PN}-eclasses.patch )
87
88 src_compile() {
89 - emake build OFFLINE=$(usex offline 1 0)
90 - use offline || emake documents.js
91 + emake OFFLINE=$(usex offline 1 0)
92 }
93
94 src_install() {
95 - # clean out XML/XSL before installing
96 - find . \( \
97 - -iname '*.xml' -o \
98 - -iname '*.dtd' -o \
99 - -iname '*.xsl' -o \
100 - -iname '*.svg' \) -delete || die
101 - rm -r bin xsl .git* LICENSE Makefile README.md || die
102 -
103 - local HTML_DOCS=( . )
104 - einstalldocs
105 + emake OFFLINE=$(usex offline 1 0) \
106 + DESTDIR="${D}" \
107 + htmldir="${EPREFIX}"/usr/share/doc/${PF}/html \
108 + install
109
110 local DOC_CONTENTS="In order to browse the Gentoo Development Guide in
111 offline mode, point your browser to the following url:
112 file://${EPREFIX}/usr/share/doc/${PF}/html/index.html"
113 + if ! has_version app-doc/eclass-manpages; then
114 + DOC_CONTENTS+="\\n\\nThe offline version of the devmanual does not
115 + include the documentation for the eclasses. If you need it,
116 + then emerge app-doc/eclass-manpages."
117 + fi
118 readme.gentoo_create_doc
119 }
120
121 pkg_postinst() {
122 readme.gentoo_print_elog
123 - if ! has_version app-doc/eclass-manpages; then
124 - elog "The offline version of the devmanual does not include the"
125 - elog "documentation for the eclasses. If you need it, then emerge"
126 - elog "the following package:"
127 - elog
128 - elog "app-doc/eclass-manpages"
129 - fi
130 }