summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Wright <gienah@gentoo.org>2020-01-10 13:58:33 +1100
committerMark Wright <gienah@gentoo.org>2020-01-10 19:43:14 +1100
commitd18700aaccc7a86f87163aeadedb74c60794803d (patch)
tree464405691b6364d254487e73e0c0f6d780752179 /app-doc
parentacct-user/rstudio-server: Add for sci-mathematics/rstudio (diff)
downloadgentoo-d18700aaccc7a86f87163aeadedb74c60794803d.tar.gz
gentoo-d18700aaccc7a86f87163aeadedb74c60794803d.tar.bz2
gentoo-d18700aaccc7a86f87163aeadedb74c60794803d.zip
app-doc/mathjax-docs: Add for dev-libs/mathjax USE=doc
Bug: https://bugs.gentoo.org/show_bug.cgi?id=526128 Package-Manager: Portage-2.3.84, Repoman-2.3.20 Signed-off-by: Mark Wright <gienah@gentoo.org>
Diffstat (limited to 'app-doc')
-rw-r--r--app-doc/mathjax-docs/Manifest1
-rw-r--r--app-doc/mathjax-docs/mathjax-docs-2.7.7.ebuild33
-rw-r--r--app-doc/mathjax-docs/metadata.xml23
3 files changed, 57 insertions, 0 deletions
diff --git a/app-doc/mathjax-docs/Manifest b/app-doc/mathjax-docs/Manifest
new file mode 100644
index 000000000000..94ca647bff47
--- /dev/null
+++ b/app-doc/mathjax-docs/Manifest
@@ -0,0 +1 @@
+DIST mathjax-docs-2.7.7.tar.gz 233452 BLAKE2B 280db6c794471d369a17161ad859dc73ddf1494af35114b69356aae41ea52d771f92b0b85ba82df8ed542039af152938f5fda71d752da4410ab183fe6a24ab81 SHA512 25fa97294ae153298d45b449d995c0402c481c6425ea4ebb38dcc509df741aed02d5469a520c8b793b8135b4140a6d1ad6688a42e3cb26004cfd7fcb838c32e6
diff --git a/app-doc/mathjax-docs/mathjax-docs-2.7.7.ebuild b/app-doc/mathjax-docs/mathjax-docs-2.7.7.ebuild
new file mode 100644
index 000000000000..8910e70344b6
--- /dev/null
+++ b/app-doc/mathjax-docs/mathjax-docs-2.7.7.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit python-utils-r1 vcs-clean
+
+COMMIT="9d711f40638202b02f2154d7f05ea35088ff9388"
+
+DESCRIPTION="MathJax documentation"
+HOMEPAGE="http://www.mathjax.org/"
+SRC_URI="https://github.com/mathjax/MathJax-docs/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux"
+
+S=${WORKDIR}/MathJax-docs-${COMMIT}
+
+src_prepare() {
+ default
+ egit_clean
+}
+
+src_compile() {
+ build_sphinx "${S}"
+}
+
+src_install() {
+ local DOCS=( README.md )
+ default
+ dosym ${P} /usr/share/doc/${PN}-${SLOT}
+}
diff --git a/app-doc/mathjax-docs/metadata.xml b/app-doc/mathjax-docs/metadata.xml
new file mode 100644
index 000000000000..1cffc88c0dfe
--- /dev/null
+++ b/app-doc/mathjax-docs/metadata.xml
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>gienah@gentoo.org</email>
+ <name>Mark Wright</name>
+ </maintainer>
+ <longdescription lang="en">
+ MathJax is an open-source JavaScript display engine for LaTeX and
+ MathML that works in all modern browsers. It was designed with the
+ goal of consolidating the recent advances in web technologies into a
+ single, definitive, math-on-the-web platform supporting the major
+ browsers and operating systems. It requires no setup on the part of
+ the user (no plugins to downlaod or software to install), so the
+ page author can write web documents that include mathematics and be
+ confident that users will be able to view it naturally and
+ easily. One simply includes MathJax and some mathematics in a web
+ page, and MathJax does the rest.
+</longdescription>
+ <upstream>
+ <remote-id type="github">mathjax/MathJax-docs</remote-id>
+ </upstream>
+</pkgmetadata>