1 |
commit: 435d69dab9360908dac70db370500902a111bd7a |
2 |
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Jan 31 18:53:38 2023 +0000 |
4 |
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Jan 31 19:09:52 2023 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=435d69da |
7 |
|
8 |
dev-python/sphinxcontrib-htmlhelp: add 2.0.1 |
9 |
|
10 |
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org> |
11 |
|
12 |
dev-python/sphinxcontrib-htmlhelp/Manifest | 1 + |
13 |
.../sphinxcontrib-htmlhelp-2.0.1.ebuild | 44 ++++++++++++++++++++++ |
14 |
2 files changed, 45 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/sphinxcontrib-htmlhelp/Manifest b/dev-python/sphinxcontrib-htmlhelp/Manifest |
17 |
index f27606a08b15..dd8045d6a877 100644 |
18 |
--- a/dev-python/sphinxcontrib-htmlhelp/Manifest |
19 |
+++ b/dev-python/sphinxcontrib-htmlhelp/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST sphinxcontrib-htmlhelp-2.0.0.tar.gz 28144 BLAKE2B 09b0d9bcec57140278c4476fa0bbc40d359fc167d8ea891a1585fbdeafe6eb0b52442dbbc8d1d5b6edb3953b04fc29a71f6f74e58a281ebb0d79e5a30cb02749 SHA512 6ed673966615f3e818e00de4b7e59c27f0a0d7b494294f804540777c580480870c36002c08d8ad626b7b41a676fe40edc0b0b5ffc6ad8080f38f59c24e157636 |
22 |
+DIST sphinxcontrib-htmlhelp-2.0.1.tar.gz 27967 BLAKE2B 922921a52c421bde9787df6fd5107a515bb0af4f4a6a6c8b84f474b9d7b0ce9251437b8780b3464190e494555bbe6d72604e155bce98794c36c03ddbcc5c4cc7 SHA512 7957ad688d7f9d44c0413fd747147e8e261136d48ed159fef4e668dcab76c54103028102a9ed893bfadbd175b88543e0d1414b8e01a716810d44b92edfbd79e5 |
23 |
|
24 |
diff --git a/dev-python/sphinxcontrib-htmlhelp/sphinxcontrib-htmlhelp-2.0.1.ebuild b/dev-python/sphinxcontrib-htmlhelp/sphinxcontrib-htmlhelp-2.0.1.ebuild |
25 |
new file mode 100644 |
26 |
index 000000000000..68ce8456f5f4 |
27 |
--- /dev/null |
28 |
+++ b/dev-python/sphinxcontrib-htmlhelp/sphinxcontrib-htmlhelp-2.0.1.ebuild |
29 |
@@ -0,0 +1,44 @@ |
30 |
+# Copyright 1999-2023 Gentoo Authors |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=8 |
34 |
+ |
35 |
+DISTUTILS_USE_PEP517=setuptools |
36 |
+PYTHON_COMPAT=( python3_{9..11} pypy3 ) |
37 |
+ |
38 |
+inherit distutils-r1 |
39 |
+ |
40 |
+DESCRIPTION="Sphinx extension which outputs HTML help book" |
41 |
+HOMEPAGE=" |
42 |
+ https://www.sphinx-doc.org/ |
43 |
+ https://github.com/sphinx-doc/sphinxcontrib-htmlhelp/ |
44 |
+ https://pypi.org/project/sphinxcontrib-htmlhelp/ |
45 |
+" |
46 |
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
47 |
+ |
48 |
+LICENSE="BSD-2" |
49 |
+SLOT="0" |
50 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" |
51 |
+ |
52 |
+PDEPEND=" |
53 |
+ >=dev-python/sphinx-2.0[${PYTHON_USEDEP}] |
54 |
+" |
55 |
+BDEPEND=" |
56 |
+ test? ( |
57 |
+ ${PDEPEND} |
58 |
+ dev-python/html5lib[${PYTHON_USEDEP}] |
59 |
+ ) |
60 |
+" |
61 |
+ |
62 |
+distutils_enable_tests pytest |
63 |
+ |
64 |
+python_compile() { |
65 |
+ distutils-r1_python_compile |
66 |
+ find "${BUILD_DIR}" -name '*.pth' -delete || die |
67 |
+} |
68 |
+ |
69 |
+python_test() { |
70 |
+ distutils_write_namespace sphinxcontrib |
71 |
+ cd "${T}" || die |
72 |
+ epytest "${S}"/tests |
73 |
+} |