mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-13 00:53:02 -04:00
dev-python/sphinxcontrib-katex: new package
Sphinx extension using KaTeX to render math in HTML. The extension uses KaTeX for rendering of math in HTML pages. It is designed as a replacement for the built-in extension sphinx.ext.mathjax, which uses MathJax for rendering. Signed-off-by: Sergey Torokhov <torokhov-s-a@yandex.ru>
This commit is contained in:
1
dev-python/sphinxcontrib-katex/Manifest
Normal file
1
dev-python/sphinxcontrib-katex/Manifest
Normal file
@@ -0,0 +1 @@
|
||||
DIST sphinxcontrib-katex-0.6.0.tar.gz 12854 BLAKE2B a21894a347fbb2639d06e0e91b56ce0774894d72eaae039353a6c94d3c01a3a9d4bcda8c09b0ca871bec3c7246fbad536031d5063be95f178f5f1b373a95c0ab SHA512 abe580f45fa366870b2dff37af18fac569f5f23ce0a8c44de9765ad757e2804899f75606f40dc64994714ba12b324a2ed1b17322fbd1870447e225d2c65d86a0
|
||||
19
dev-python/sphinxcontrib-katex/metadata.xml
Normal file
19
dev-python/sphinxcontrib-katex/metadata.xml
Normal file
@@ -0,0 +1,19 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>torokhov-s-a@yandex.ru</email>
|
||||
<name>Sergey Torokhov</name>
|
||||
</maintainer>
|
||||
<longdescription lang="en">
|
||||
Sphinx extension using KaTeX to render math in HTML.
|
||||
|
||||
The extension uses KaTeX for rendering of math in HTML pages.
|
||||
It is designed as a replacement for the built-in extension
|
||||
sphinx.ext.mathjax, which uses MathJax for rendering.
|
||||
</longdescription>
|
||||
<upstream>
|
||||
<remote-id type="pypi">sphinxcontrib-katex</remote-id>
|
||||
<remote-id type="github">hagenw/sphinxcontrib-katex</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
@@ -0,0 +1,26 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
PYTHON_COMPAT=( python3_{6,7,8} pypy3 )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="KaTeX Sphinx extension for rendering of math in HTML pages"
|
||||
HOMEPAGE="https://github.com/hagenw/sphinxcontrib-katex"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
# avoid circular dependency with sphinx
|
||||
PDEPEND=">=dev-python/sphinx-1.7.5[${PYTHON_USEDEP}]"
|
||||
BDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
|
||||
|
||||
DOCS=( "CONTRIBUTING.rst" "README.rst" )
|
||||
|
||||
python_install_all() {
|
||||
distutils-r1_python_install_all
|
||||
find "${ED}" -name '*.pth' -delete || die
|
||||
}
|
||||
Reference in New Issue
Block a user