1 |
commit: 384e921b978f858e53f012ff6e51d1745b2491a3 |
2 |
Author: band-a-prend <torokhov-s-a <AT> yandex <DOT> ru> |
3 |
AuthorDate: Sat Sep 29 20:44:27 2018 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Nov 28 10:30:18 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=384e921b |
7 |
|
8 |
app-doc/cantera-docs: New package |
9 |
|
10 |
The commit adds new package 'app-doc/cantera-docs' (2.4.0) that install |
11 |
the API documentatoin for 'sci-libs/cantera' package. |
12 |
|
13 |
Description: |
14 |
Cantera Doxygen API Documentation for C++ library and Sphinx API Documentation |
15 |
for CTI tool, Python module and Matlab interface. |
16 |
|
17 |
Unfortunately there is no official documentation tarball for latest version |
18 |
of Cantera. So this package download the tarball build by myself from sources. |
19 |
This tarball includes modifications of 'Menubar' to navigate local sections. |
20 |
|
21 |
https://user-images.githubusercontent.com/18756734/46048699-7bd74b00-c133-11e8-8fe2-77480a33ef19.png |
22 |
|
23 |
and patch for async loading remote javascript and css files that allow |
24 |
to render pages without long delays in some cases of offline reading. |
25 |
|
26 |
Signed-off-by: Sergey Torokhov <torokhov_s_a <AT> mail.ru> |
27 |
Closes: https://github.com/gentoo/gentoo/pull/10017 |
28 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
29 |
|
30 |
app-doc/cantera-docs/Manifest | 1 + |
31 |
app-doc/cantera-docs/cantera-docs-2.4.0.ebuild | 29 ++++++++++++++++++++++++++ |
32 |
app-doc/cantera-docs/metadata.xml | 16 ++++++++++++++ |
33 |
3 files changed, 46 insertions(+) |
34 |
|
35 |
diff --git a/app-doc/cantera-docs/Manifest b/app-doc/cantera-docs/Manifest |
36 |
new file mode 100644 |
37 |
index 00000000000..3119f746b2d |
38 |
--- /dev/null |
39 |
+++ b/app-doc/cantera-docs/Manifest |
40 |
@@ -0,0 +1 @@ |
41 |
+DIST cantera-docs-2.4.0.tar.xz 4915944 BLAKE2B c7c40651ec8b4c6f6488c49cc991a115f08d6053b3383e28660028e72a55b2c231bfcfde976bec5e2be85828e642668d71730bdc803198bdcdee0631c09208ec SHA512 182475b180e65bb8bd7d5259a3b2a385b2b7c7db61a258a460c3e5fa91ae101306702ea3f00c6996a65ae8ebd1985dcc84b6d8291434578938efbb584db94c40 |
42 |
|
43 |
diff --git a/app-doc/cantera-docs/cantera-docs-2.4.0.ebuild b/app-doc/cantera-docs/cantera-docs-2.4.0.ebuild |
44 |
new file mode 100644 |
45 |
index 00000000000..9a9bf2122f2 |
46 |
--- /dev/null |
47 |
+++ b/app-doc/cantera-docs/cantera-docs-2.4.0.ebuild |
48 |
@@ -0,0 +1,29 @@ |
49 |
+# Copyright 1999-2018 Gentoo Foundation |
50 |
+# Distributed under the terms of the GNU General Public License v2 |
51 |
+ |
52 |
+EAPI=6 |
53 |
+ |
54 |
+inherit desktop |
55 |
+ |
56 |
+DESCRIPTION="Documentation API reference for Cantera package libraries" |
57 |
+HOMEPAGE="https://cantera.org" |
58 |
+SRC_URI="https://github.com/band-a-prend/gentoo-overlay/releases/download/ct-docs-${PV}/${P}_modified_menu.tar.xz -> ${P}.tar.xz" |
59 |
+ |
60 |
+LICENSE="BSD" |
61 |
+SLOT="0" |
62 |
+KEYWORDS="~amd64 ~x86" |
63 |
+IUSE="" |
64 |
+ |
65 |
+RDEPEND=" |
66 |
+ x11-misc/xdg-utils |
67 |
+" |
68 |
+ |
69 |
+S="${WORKDIR}/" |
70 |
+ |
71 |
+src_install() { |
72 |
+ insinto /usr/share/cantera/doc/ |
73 |
+ doins -r "${S}/." |
74 |
+ |
75 |
+ make_desktop_entry "/usr/bin/xdg-open /usr/share/cantera/doc/doxygen/html/index.html" "Cantera Doxygen Documentation" "text-html" "Development" |
76 |
+ make_desktop_entry "/usr/bin/xdg-open /usr/share/cantera/doc/sphinx/html/index.html" "Cantera Sphinx Documentation" "text-html" "Development" |
77 |
+} |
78 |
|
79 |
diff --git a/app-doc/cantera-docs/metadata.xml b/app-doc/cantera-docs/metadata.xml |
80 |
new file mode 100644 |
81 |
index 00000000000..8515d6895ba |
82 |
--- /dev/null |
83 |
+++ b/app-doc/cantera-docs/metadata.xml |
84 |
@@ -0,0 +1,16 @@ |
85 |
+<?xml version="1.0" encoding="UTF-8"?> |
86 |
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
87 |
+<pkgmetadata> |
88 |
+ <maintainer type="person"> |
89 |
+ <email>torokhov_s_a@××××.ru</email> |
90 |
+ <name>Sergey Torokhov</name> |
91 |
+ </maintainer> |
92 |
+ <maintainer type="project"> |
93 |
+ <email>proxy-maint@g.o</email> |
94 |
+ <name>Proxy Maintainers</name> |
95 |
+ </maintainer> |
96 |
+<longdescription lang="en"> |
97 |
+Cantera Doxygen API Documentation for C++ library |
98 |
+and Sphinx API Documentation for CTI tool, Python module and Matlab interface. |
99 |
+</longdescription> |
100 |
+</pkgmetadata> |