1 |
commit: 5f1bbb2878f1f32d4b395bf7cc46751e7b4fad02 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Mar 2 14:49:39 2020 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Mar 2 15:16:35 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5f1bbb28 |
7 |
|
8 |
dev-python/sphinxcontrib-jsmath: Add missing ns dep & tests |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
.../sphinxcontrib-jsmath-1.0.1-r1.ebuild | 30 ++++++++++++++++++++++ |
13 |
1 file changed, 30 insertions(+) |
14 |
|
15 |
diff --git a/dev-python/sphinxcontrib-jsmath/sphinxcontrib-jsmath-1.0.1-r1.ebuild b/dev-python/sphinxcontrib-jsmath/sphinxcontrib-jsmath-1.0.1-r1.ebuild |
16 |
new file mode 100644 |
17 |
index 00000000000..cde57a06a40 |
18 |
--- /dev/null |
19 |
+++ b/dev-python/sphinxcontrib-jsmath/sphinxcontrib-jsmath-1.0.1-r1.ebuild |
20 |
@@ -0,0 +1,30 @@ |
21 |
+# Copyright 1999-2020 Gentoo Authors |
22 |
+# Distributed under the terms of the GNU General Public License v2 |
23 |
+ |
24 |
+EAPI=7 |
25 |
+PYTHON_COMPAT=( python3_{6,7,8} pypy3 ) |
26 |
+ |
27 |
+inherit distutils-r1 |
28 |
+ |
29 |
+DESCRIPTION="Sphinx extension which renders display math in HTML via JavaScript" |
30 |
+HOMEPAGE="https://www.sphinx-doc.org |
31 |
+ https://github.com/sphinx-doc/sphinxcontrib-jsmath" |
32 |
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
33 |
+ |
34 |
+LICENSE="BSD-2" |
35 |
+SLOT="0" |
36 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris" |
37 |
+ |
38 |
+RDEPEND="dev-python/namespace-sphinxcontrib[${PYTHON_USEDEP}]" |
39 |
+PDEPEND=" |
40 |
+ >=dev-python/sphinx-2.0[${PYTHON_USEDEP}]" |
41 |
+DEPEND=" |
42 |
+ dev-python/setuptools[${PYTHON_USEDEP}] |
43 |
+ test? ( ${PDEPEND} )" |
44 |
+ |
45 |
+distutils_enable_tests pytest |
46 |
+ |
47 |
+python_install_all() { |
48 |
+ distutils-r1_python_install_all |
49 |
+ find "${ED}" -name '*.pth' -delete || die |
50 |
+} |