1 |
commit: b8ac5bbac1921cd193bd65b4af23c5b1953ce9b8 |
2 |
Author: Patrick McLean <patrick.mclean <AT> sony <DOT> com> |
3 |
AuthorDate: Thu May 7 00:16:10 2020 +0000 |
4 |
Commit: Patrick McLean <chutzpah <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu May 7 00:16:25 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b8ac5bba |
7 |
|
8 |
dev-python/sphinxcontrib-httpexample: New package |
9 |
|
10 |
Copyright: Sony Interactive Entertainment Inc. |
11 |
Package-Manager: Portage-2.3.99, Repoman-2.3.22 |
12 |
Signed-off-by: Patrick McLean <chutzpah <AT> gentoo.org> |
13 |
|
14 |
dev-python/sphinxcontrib-httpexample/Manifest | 1 + |
15 |
dev-python/sphinxcontrib-httpexample/metadata.xml | 16 ++++++++ |
16 |
.../sphinxcontrib-httpexample-0.10.3.ebuild | 44 ++++++++++++++++++++++ |
17 |
3 files changed, 61 insertions(+) |
18 |
|
19 |
diff --git a/dev-python/sphinxcontrib-httpexample/Manifest b/dev-python/sphinxcontrib-httpexample/Manifest |
20 |
new file mode 100644 |
21 |
index 00000000000..fe36e369295 |
22 |
--- /dev/null |
23 |
+++ b/dev-python/sphinxcontrib-httpexample/Manifest |
24 |
@@ -0,0 +1 @@ |
25 |
+DIST sphinxcontrib-httpexample-0.10.3.tar.gz 30489 BLAKE2B 1100f28398d0d23559fb7ebea8263be5da6f2db09e9d5f48513d80d2cd580d2ff436df84b532eba8fb0c30eb3787a86f57f75750aeb0857b52af09885ba9a124 SHA512 de776f20e566a5b2ec4fcbad82d2ac39988ccf651a14d38d353dfd9cda7c15289acbb41db56df9189e42c2637bfd70fd4915d19d4ee718ddd4de476ddc34151f |
26 |
|
27 |
diff --git a/dev-python/sphinxcontrib-httpexample/metadata.xml b/dev-python/sphinxcontrib-httpexample/metadata.xml |
28 |
new file mode 100644 |
29 |
index 00000000000..39ac3a9a959 |
30 |
--- /dev/null |
31 |
+++ b/dev-python/sphinxcontrib-httpexample/metadata.xml |
32 |
@@ -0,0 +1,16 @@ |
33 |
+<?xml version="1.0" encoding="UTF-8"?> |
34 |
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
35 |
+<pkgmetadata> |
36 |
+ <maintainer type="person"> |
37 |
+ <email>chutzpah@g.o</email> |
38 |
+ <name>Patrick McLean</name> |
39 |
+ </maintainer> |
40 |
+ <maintainer type="person"> |
41 |
+ <email>williamh@g.o</email> |
42 |
+ <name>William Hubbs</name> |
43 |
+ </maintainer> |
44 |
+ <maintainer type="person"> |
45 |
+ <email>vpayno+gentoo@×××××.com</email> |
46 |
+ <name>Victor Payno</name> |
47 |
+ </maintainer> |
48 |
+</pkgmetadata> |
49 |
|
50 |
diff --git a/dev-python/sphinxcontrib-httpexample/sphinxcontrib-httpexample-0.10.3.ebuild b/dev-python/sphinxcontrib-httpexample/sphinxcontrib-httpexample-0.10.3.ebuild |
51 |
new file mode 100644 |
52 |
index 00000000000..62cfbf4fe44 |
53 |
--- /dev/null |
54 |
+++ b/dev-python/sphinxcontrib-httpexample/sphinxcontrib-httpexample-0.10.3.ebuild |
55 |
@@ -0,0 +1,44 @@ |
56 |
+# Copyright 2020 Gentoo Authors |
57 |
+# Distributed under the terms of the GNU General Public License v2 |
58 |
+ |
59 |
+EAPI=7 |
60 |
+ |
61 |
+PYTHON_COMPAT=( python3_{6,7,8} ) |
62 |
+inherit distutils-r1 |
63 |
+ |
64 |
+DESCRIPTION="Adds example directive for sphinx-contrib httpdomain" |
65 |
+HOMEPAGE="https://github.com/collective/sphinxcontrib-httpexample" |
66 |
+SRC_URI="https://github.com/collective/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" |
67 |
+ |
68 |
+LICENSE="GPL-2" |
69 |
+SLOT="0" |
70 |
+KEYWORDS="~amd64 ~x86" |
71 |
+IUSE="test" |
72 |
+RESTRICT="!test? ( test )" |
73 |
+ |
74 |
+RDEPEND=" |
75 |
+ dev-python/astunparse[${PYTHON_USEDEP}] |
76 |
+ dev-python/docutils[${PYTHON_USEDEP}] |
77 |
+ dev-python/namespace-sphinxcontrib[${PYTHON_USEDEP}] |
78 |
+ dev-python/sphinx[${PYTHON_USEDEP}] |
79 |
+ dev-python/sphinxcontrib-httpdomain[${PYTHON_USEDEP}] |
80 |
+" |
81 |
+BDEPEND="${RDEPEND} |
82 |
+ test? ( |
83 |
+ dev-python/snapshottest[${PYTHON_USEDEP}] |
84 |
+ dev-python/sphinx_rtd_theme[${PYTHON_USEDEP}] |
85 |
+ dev-python/sphinx-testing[${PYTHON_USEDEP}] |
86 |
+ ) |
87 |
+" |
88 |
+ |
89 |
+distutils_enable_tests pytest |
90 |
+ |
91 |
+python_prepare_all() { |
92 |
+ sed -e "s:pytest-runner::" -i setup.cfg || die |
93 |
+ distutils-r1_python_prepare_all |
94 |
+} |
95 |
+ |
96 |
+python_test() { |
97 |
+ distutils_install_for_testing |
98 |
+ pytest -vv || die "tests fail with ${EPYTHON}" |
99 |
+} |