summaryrefslogtreecommitdiff
path: root/app-doc/mathjax-docs/mathjax-docs-3.2.2.ebuild
diff options
context:
space:
mode:
authorMichael Orlitzky <mjo@gentoo.org>2023-08-16 10:14:14 -0400
committerMichael Orlitzky <mjo@gentoo.org>2023-08-16 16:13:09 -0400
commit8bb74854608a2203669061ebb6536a03c740368e (patch)
treee6c2a26c98574f00ae2789f760ebd739a949fe0f /app-doc/mathjax-docs/mathjax-docs-3.2.2.ebuild
parenta1bb10658cbac3820d2fa1850cdc881a3192b71a (diff)
downloadgentoo-8bb74854608a2203669061ebb6536a03c740368e.tar.gz
gentoo-8bb74854608a2203669061ebb6536a03c740368e.tar.bz2
gentoo-8bb74854608a2203669061ebb6536a03c740368e.zip
app-doc/mathjax-docs: add 3.2.2
Bug: https://bugs.gentoo.org/837722 Signed-off-by: Michael Orlitzky <mjo@gentoo.org>
Diffstat (limited to 'app-doc/mathjax-docs/mathjax-docs-3.2.2.ebuild')
-rw-r--r--app-doc/mathjax-docs/mathjax-docs-3.2.2.ebuild40
1 files changed, 40 insertions, 0 deletions
diff --git a/app-doc/mathjax-docs/mathjax-docs-3.2.2.ebuild b/app-doc/mathjax-docs/mathjax-docs-3.2.2.ebuild
new file mode 100644
index 000000000000..067c8fd87fe7
--- /dev/null
+++ b/app-doc/mathjax-docs/mathjax-docs-3.2.2.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} pypy3 )
+inherit python-any-r1 vcs-clean
+
+# MathJax-docs doesn't have releases, so this is the commit that was
+# current when mathjax-${PV} was released.
+COMMIT="c4a733d6d0ced4242a4df1c46137d4be6b3aaaee"
+
+DESCRIPTION="MathJax documentation"
+HOMEPAGE="https://docs.mathjax.org/"
+SRC_URI="https://github.com/mathjax/MathJax-docs/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
+S="${WORKDIR}/MathJax-docs-${COMMIT}"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos"
+
+BDEPEND="
+ $(python_gen_any_dep '
+ dev-python/sphinx[${PYTHON_USEDEP}]
+ dev-python/sphinx-rtd-theme[${PYTHON_USEDEP}]
+ ')
+"
+
+DOCS=(
+ README.md
+)
+
+src_prepare() {
+ default
+ egit_clean
+}
+
+src_compile() {
+ build_sphinx "${S}"
+}