1 |
commit: d18700aaccc7a86f87163aeadedb74c60794803d |
2 |
Author: Mark Wright <gienah <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Jan 10 02:58:33 2020 +0000 |
4 |
Commit: Mark Wright <gienah <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Jan 10 08:43:14 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d18700aa |
7 |
|
8 |
app-doc/mathjax-docs: Add for dev-libs/mathjax USE=doc |
9 |
|
10 |
Bug: https://bugs.gentoo.org/show_bug.cgi?id=526128 |
11 |
Package-Manager: Portage-2.3.84, Repoman-2.3.20 |
12 |
Signed-off-by: Mark Wright <gienah <AT> gentoo.org> |
13 |
|
14 |
app-doc/mathjax-docs/Manifest | 1 + |
15 |
app-doc/mathjax-docs/mathjax-docs-2.7.7.ebuild | 33 ++++++++++++++++++++++++++ |
16 |
app-doc/mathjax-docs/metadata.xml | 23 ++++++++++++++++++ |
17 |
3 files changed, 57 insertions(+) |
18 |
|
19 |
diff --git a/app-doc/mathjax-docs/Manifest b/app-doc/mathjax-docs/Manifest |
20 |
new file mode 100644 |
21 |
index 00000000000..94ca647bff4 |
22 |
--- /dev/null |
23 |
+++ b/app-doc/mathjax-docs/Manifest |
24 |
@@ -0,0 +1 @@ |
25 |
+DIST mathjax-docs-2.7.7.tar.gz 233452 BLAKE2B 280db6c794471d369a17161ad859dc73ddf1494af35114b69356aae41ea52d771f92b0b85ba82df8ed542039af152938f5fda71d752da4410ab183fe6a24ab81 SHA512 25fa97294ae153298d45b449d995c0402c481c6425ea4ebb38dcc509df741aed02d5469a520c8b793b8135b4140a6d1ad6688a42e3cb26004cfd7fcb838c32e6 |
26 |
|
27 |
diff --git a/app-doc/mathjax-docs/mathjax-docs-2.7.7.ebuild b/app-doc/mathjax-docs/mathjax-docs-2.7.7.ebuild |
28 |
new file mode 100644 |
29 |
index 00000000000..8910e70344b |
30 |
--- /dev/null |
31 |
+++ b/app-doc/mathjax-docs/mathjax-docs-2.7.7.ebuild |
32 |
@@ -0,0 +1,33 @@ |
33 |
+# Copyright 1999-2020 Gentoo Authors |
34 |
+# Distributed under the terms of the GNU General Public License v2 |
35 |
+ |
36 |
+EAPI=7 |
37 |
+ |
38 |
+inherit python-utils-r1 vcs-clean |
39 |
+ |
40 |
+COMMIT="9d711f40638202b02f2154d7f05ea35088ff9388" |
41 |
+ |
42 |
+DESCRIPTION="MathJax documentation" |
43 |
+HOMEPAGE="http://www.mathjax.org/" |
44 |
+SRC_URI="https://github.com/mathjax/MathJax-docs/archive/${COMMIT}.tar.gz -> ${P}.tar.gz" |
45 |
+ |
46 |
+LICENSE="Apache-2.0" |
47 |
+SLOT="0" |
48 |
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux" |
49 |
+ |
50 |
+S=${WORKDIR}/MathJax-docs-${COMMIT} |
51 |
+ |
52 |
+src_prepare() { |
53 |
+ default |
54 |
+ egit_clean |
55 |
+} |
56 |
+ |
57 |
+src_compile() { |
58 |
+ build_sphinx "${S}" |
59 |
+} |
60 |
+ |
61 |
+src_install() { |
62 |
+ local DOCS=( README.md ) |
63 |
+ default |
64 |
+ dosym ${P} /usr/share/doc/${PN}-${SLOT} |
65 |
+} |
66 |
|
67 |
diff --git a/app-doc/mathjax-docs/metadata.xml b/app-doc/mathjax-docs/metadata.xml |
68 |
new file mode 100644 |
69 |
index 00000000000..1cffc88c0df |
70 |
--- /dev/null |
71 |
+++ b/app-doc/mathjax-docs/metadata.xml |
72 |
@@ -0,0 +1,23 @@ |
73 |
+<?xml version="1.0" encoding="UTF-8"?> |
74 |
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
75 |
+<pkgmetadata> |
76 |
+ <maintainer type="person"> |
77 |
+ <email>gienah@g.o</email> |
78 |
+ <name>Mark Wright</name> |
79 |
+ </maintainer> |
80 |
+ <longdescription lang="en"> |
81 |
+ MathJax is an open-source JavaScript display engine for LaTeX and |
82 |
+ MathML that works in all modern browsers. It was designed with the |
83 |
+ goal of consolidating the recent advances in web technologies into a |
84 |
+ single, definitive, math-on-the-web platform supporting the major |
85 |
+ browsers and operating systems. It requires no setup on the part of |
86 |
+ the user (no plugins to downlaod or software to install), so the |
87 |
+ page author can write web documents that include mathematics and be |
88 |
+ confident that users will be able to view it naturally and |
89 |
+ easily. One simply includes MathJax and some mathematics in a web |
90 |
+ page, and MathJax does the rest. |
91 |
+</longdescription> |
92 |
+ <upstream> |
93 |
+ <remote-id type="github">mathjax/MathJax-docs</remote-id> |
94 |
+ </upstream> |
95 |
+</pkgmetadata> |