1 |
commit: 9ced40ed7bbfddd48cc772b6de33e2e6b92e32cd |
2 |
Author: Bernardo Meurer <bernardo <AT> standard <DOT> ai> |
3 |
AuthorDate: Thu Sep 12 10:04:15 2019 +0000 |
4 |
Commit: David Seifert <soap <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Sep 12 10:04:15 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9ced40ed |
7 |
|
8 |
dev-python/sphinxcontrib-pretty-searchresults: new package (0.3.5) |
9 |
|
10 |
Decently styled search results for sphinx-doc projects. |
11 |
|
12 |
Closes: https://bugs.gentoo.org/693168 |
13 |
Closes: https://github.com/gentoo/gentoo/pull/12826 |
14 |
Package-Manager: Portage-2.3.73, Repoman-2.3.17 |
15 |
Signed-off-by: Bernardo Meurer <bernardo <AT> standard.ai> |
16 |
Signed-off-by: David Seifert <soap <AT> gentoo.org> |
17 |
|
18 |
.../sphinxcontrib-pretty-searchresults/Manifest | 1 + |
19 |
.../metadata.xml | 25 +++++++++++++ |
20 |
...sphinxcontrib-pretty-searchresults-0.3.5.ebuild | 42 ++++++++++++++++++++++ |
21 |
3 files changed, 68 insertions(+) |
22 |
|
23 |
diff --git a/dev-python/sphinxcontrib-pretty-searchresults/Manifest b/dev-python/sphinxcontrib-pretty-searchresults/Manifest |
24 |
new file mode 100644 |
25 |
index 00000000000..e487c5a4317 |
26 |
--- /dev/null |
27 |
+++ b/dev-python/sphinxcontrib-pretty-searchresults/Manifest |
28 |
@@ -0,0 +1 @@ |
29 |
+DIST sphinxcontrib-pretty-searchresults-0.3.5.tar.gz 9996 BLAKE2B 64324f306aec1d6eac9c791acc0f3f4a0a434f734abcf9bb0d34151137e20407d59e95ea3a3a981e425ded6b6fd82bd36627323a3ed493a47b92979ac5fe2f77 SHA512 30c9a0af183ffada3300c03495afb9f52fbba5522dd386c5a05a28fa1e6dd0fb66725499db7a537534496843e6707c7dcceea45511ee3953d02c3e2275e68630 |
30 |
|
31 |
diff --git a/dev-python/sphinxcontrib-pretty-searchresults/metadata.xml b/dev-python/sphinxcontrib-pretty-searchresults/metadata.xml |
32 |
new file mode 100644 |
33 |
index 00000000000..479261280af |
34 |
--- /dev/null |
35 |
+++ b/dev-python/sphinxcontrib-pretty-searchresults/metadata.xml |
36 |
@@ -0,0 +1,25 @@ |
37 |
+<?xml version="1.0" encoding="UTF-8"?> |
38 |
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
39 |
+<pkgmetadata> |
40 |
+ <maintainer type="person"> |
41 |
+ <email>bernardo@××××××××.ai</email> |
42 |
+ <name>Bernardo Meurer</name> |
43 |
+ </maintainer> |
44 |
+ <maintainer type="project"> |
45 |
+ <email>proxy-maint@g.o</email> |
46 |
+ <name>Gentoo Proxy Maintainers Project</name> |
47 |
+ </maintainer> |
48 |
+ <longdescription lang="en"> |
49 |
+ Sphinx: pretty search results is an extension for the Sphinx |
50 |
+ documentation tool. |
51 |
+ |
52 |
+ To display search results, Sphinx is fetching the |
53 |
+ source files of search hits and rendering excerpts in raw markup |
54 |
+ (Example). This extension removes the markup from these source files |
55 |
+ (during build time), so the search results look decent. |
56 |
+ </longdescription> |
57 |
+ <upstream> |
58 |
+ <remote-id type="pypi">sphinxprettysearchresults</remote-id> |
59 |
+ <remote-id type="github">sphinx-contrib/sphinx-pretty-searchresults</remote-id> |
60 |
+ </upstream> |
61 |
+</pkgmetadata> |
62 |
|
63 |
diff --git a/dev-python/sphinxcontrib-pretty-searchresults/sphinxcontrib-pretty-searchresults-0.3.5.ebuild b/dev-python/sphinxcontrib-pretty-searchresults/sphinxcontrib-pretty-searchresults-0.3.5.ebuild |
64 |
new file mode 100644 |
65 |
index 00000000000..93849564786 |
66 |
--- /dev/null |
67 |
+++ b/dev-python/sphinxcontrib-pretty-searchresults/sphinxcontrib-pretty-searchresults-0.3.5.ebuild |
68 |
@@ -0,0 +1,42 @@ |
69 |
+# Copyright 1999-2019 Gentoo Authors |
70 |
+# Distributed under the terms of the GNU General Public License v2 |
71 |
+ |
72 |
+EAPI=7 |
73 |
+PYTHON_COMPAT=( python3_{5,6,7} ) |
74 |
+ |
75 |
+inherit distutils-r1 |
76 |
+ |
77 |
+MY_PN="${PN/sphinxcontrib/sphinx}" |
78 |
+MY_P="${MY_PN}-${PV}" |
79 |
+ |
80 |
+DESCRIPTION="Decently styled search results for sphinx-doc projects" |
81 |
+HOMEPAGE="https://github.com/sphinx-contrib/sphinx-pretty-searchresults" |
82 |
+SRC_URI="https://github.com/sphinx-contrib/${MY_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
83 |
+ |
84 |
+LICENSE="MIT" |
85 |
+SLOT="0" |
86 |
+KEYWORDS="~amd64 ~x86" |
87 |
+IUSE="test" |
88 |
+RESTRICT="!test? ( test )" |
89 |
+ |
90 |
+BDEPEND=" |
91 |
+ dev-python/setuptools[${PYTHON_USEDEP}] |
92 |
+ test? ( |
93 |
+ dev-python/sphinx-testing[${PYTHON_USEDEP}] |
94 |
+ dev-python/nose[${PYTHON_USEDEP}] |
95 |
+ dev-python/recommonmark[${PYTHON_USEDEP}] |
96 |
+ ) |
97 |
+" |
98 |
+DEPEND=" |
99 |
+ dev-python/docutils[${PYTHON_USEDEP}] |
100 |
+ dev-python/namespace-sphinxcontrib[${PYTHON_USEDEP}] |
101 |
+ dev-python/sphinx[${PYTHON_USEDEP}] |
102 |
+" |
103 |
+RDEPEND="${DEPEND}" |
104 |
+ |
105 |
+S="${WORKDIR}/${MY_P}" |
106 |
+ |
107 |
+python_test() { |
108 |
+ cd tests || die |
109 |
+ "${EPYTHON}" run.py || die |
110 |
+} |