From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 64D4A138350 for ; Thu, 9 Apr 2020 00:32:21 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7B438E0922; Thu, 9 Apr 2020 00:32:20 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 2A9DBE0952 for ; Thu, 9 Apr 2020 00:32:18 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 3FD6034EFEE for ; Thu, 9 Apr 2020 00:32:17 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 142961C6 for ; Thu, 9 Apr 2020 00:32:15 +0000 (UTC) From: "Haelwenn Monnier" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Haelwenn Monnier" Message-ID: <1586385418.29a8fba038da22db3b007224bb3e9c3a25a8ca6c.lanodan@gentoo> Subject: [gentoo-commits] repo/proj/guru:master commit in: dev-python/sphinxcontrib-katex/ X-VCS-Repository: repo/proj/guru X-VCS-Files: dev-python/sphinxcontrib-katex/Manifest dev-python/sphinxcontrib-katex/metadata.xml dev-python/sphinxcontrib-katex/sphinxcontrib-katex-0.6.0.ebuild X-VCS-Directories: dev-python/sphinxcontrib-katex/ X-VCS-Committer: lanodan X-VCS-Committer-Name: Haelwenn Monnier X-VCS-Revision: 29a8fba038da22db3b007224bb3e9c3a25a8ca6c X-VCS-Branch: master Date: Thu, 9 Apr 2020 00:32:15 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: cc7fe785-c277-45da-a1c5-c07d6690d378 X-Archives-Hash: e4ee94204b75bd38cb8dfaf3832acf9c commit: 29a8fba038da22db3b007224bb3e9c3a25a8ca6c Author: Sergey Torokhov yandex ru> AuthorDate: Wed Apr 8 22:36:58 2020 +0000 Commit: Haelwenn Monnier hacktivis me> CommitDate: Wed Apr 8 22:36:58 2020 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=29a8fba0 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 yandex.ru> dev-python/sphinxcontrib-katex/Manifest | 1 + dev-python/sphinxcontrib-katex/metadata.xml | 19 ++++++++++++++++ .../sphinxcontrib-katex-0.6.0.ebuild | 26 ++++++++++++++++++++++ 3 files changed, 46 insertions(+) diff --git a/dev-python/sphinxcontrib-katex/Manifest b/dev-python/sphinxcontrib-katex/Manifest new file mode 100644 index 0000000..0d389f8 --- /dev/null +++ b/dev-python/sphinxcontrib-katex/Manifest @@ -0,0 +1 @@ +DIST sphinxcontrib-katex-0.6.0.tar.gz 12854 BLAKE2B a21894a347fbb2639d06e0e91b56ce0774894d72eaae039353a6c94d3c01a3a9d4bcda8c09b0ca871bec3c7246fbad536031d5063be95f178f5f1b373a95c0ab SHA512 abe580f45fa366870b2dff37af18fac569f5f23ce0a8c44de9765ad757e2804899f75606f40dc64994714ba12b324a2ed1b17322fbd1870447e225d2c65d86a0 diff --git a/dev-python/sphinxcontrib-katex/metadata.xml b/dev-python/sphinxcontrib-katex/metadata.xml new file mode 100644 index 0000000..5769a66 --- /dev/null +++ b/dev-python/sphinxcontrib-katex/metadata.xml @@ -0,0 +1,19 @@ + + + + + torokhov-s-a@yandex.ru + Sergey Torokhov + + + 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. + + + sphinxcontrib-katex + hagenw/sphinxcontrib-katex + + diff --git a/dev-python/sphinxcontrib-katex/sphinxcontrib-katex-0.6.0.ebuild b/dev-python/sphinxcontrib-katex/sphinxcontrib-katex-0.6.0.ebuild new file mode 100644 index 0000000..1ea60c7 --- /dev/null +++ b/dev-python/sphinxcontrib-katex/sphinxcontrib-katex-0.6.0.ebuild @@ -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 +}