1 |
commit: 760280f4b9250a3e3e8fbeeecff039478c22399a |
2 |
Author: Mikle Kolyada <zlogene <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Feb 28 07:33:01 2020 +0000 |
4 |
Commit: Mikle Kolyada <zlogene <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Feb 28 07:33:01 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=760280f4 |
7 |
|
8 |
dev-python/epydoc: remove last-rited package |
9 |
|
10 |
Signed-off-by: Mikle Kolyada <zlogene <AT> gentoo.org> |
11 |
|
12 |
dev-python/epydoc/Manifest | 1 - |
13 |
dev-python/epydoc/epydoc-3.0.1-r2.ebuild | 46 ----------------- |
14 |
dev-python/epydoc/files/epydoc-docutils-0.6.patch | 27 ---------- |
15 |
dev-python/epydoc/files/epydoc-python-2.6.patch | 60 ----------------------- |
16 |
dev-python/epydoc/metadata.xml | 26 ---------- |
17 |
5 files changed, 160 deletions(-) |
18 |
|
19 |
diff --git a/dev-python/epydoc/Manifest b/dev-python/epydoc/Manifest |
20 |
deleted file mode 100644 |
21 |
index 56094f8583c..00000000000 |
22 |
--- a/dev-python/epydoc/Manifest |
23 |
+++ /dev/null |
24 |
@@ -1 +0,0 @@ |
25 |
-DIST epydoc-3.0.1.tar.gz 1785792 BLAKE2B 405e58132f4d0f9c40bfe58ada11618865e29c3b7a1eb41954f4769287ff780b4f17e57b50214fdc0f38a269093e35d11c83629e22c8ba854ed78ce299825826 SHA512 5c4011f0018ab956c0e1fe5fe0c1608fa2416439a60b5836a9d2d95e359428086ba403bcb5ed53e64d9d4979441ca6d537d9e5b8d6224d2202e7df3332d9ea83 |
26 |
|
27 |
diff --git a/dev-python/epydoc/epydoc-3.0.1-r2.ebuild b/dev-python/epydoc/epydoc-3.0.1-r2.ebuild |
28 |
deleted file mode 100644 |
29 |
index 617e727ccf0..00000000000 |
30 |
--- a/dev-python/epydoc/epydoc-3.0.1-r2.ebuild |
31 |
+++ /dev/null |
32 |
@@ -1,46 +0,0 @@ |
33 |
-# Copyright 1999-2020 Gentoo Authors |
34 |
-# Distributed under the terms of the GNU General Public License v2 |
35 |
- |
36 |
-EAPI=5 |
37 |
-PYTHON_COMPAT=( python2_7 ) |
38 |
-PYTHON_REQ_USE='tk?' |
39 |
- |
40 |
-inherit distutils-r1 |
41 |
- |
42 |
-DESCRIPTION="Tool for generating API documentation for Python modules from docstrings" |
43 |
-HOMEPAGE="http://epydoc.sourceforge.net/" |
44 |
-SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" |
45 |
- |
46 |
-LICENSE="MIT" |
47 |
-SLOT="0" |
48 |
-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 ~sparc-solaris ~x86-solaris" |
49 |
-IUSE="doc latex tk" |
50 |
- |
51 |
-DEPEND="" |
52 |
-RDEPEND="dev-python/docutils[${PYTHON_USEDEP}] |
53 |
- latex? ( virtual/latex-base |
54 |
- dev-texlive/texlive-latexextra |
55 |
- )" |
56 |
- |
57 |
-PATCHES=( |
58 |
- "${FILESDIR}"/${PN}-docutils-0.6.patch |
59 |
- "${FILESDIR}"/${PN}-python-2.6.patch |
60 |
-) |
61 |
- |
62 |
-python_install() { |
63 |
- distutils-r1_python_install |
64 |
- |
65 |
- use tk || rm "${D}$(python_get_sitedir)"/epydoc/gui.py* |
66 |
-} |
67 |
- |
68 |
-python_install_all() { |
69 |
- use doc && local HTML_DOCS=( doc/. ) |
70 |
- distutils-r1_python_install_all |
71 |
- |
72 |
- doman man/epydoc.1 |
73 |
- if use tk; then |
74 |
- doman man/epydocgui.1 |
75 |
- else |
76 |
- rm -f "${ED}"usr/bin/epydocgui* |
77 |
- fi |
78 |
-} |
79 |
|
80 |
diff --git a/dev-python/epydoc/files/epydoc-docutils-0.6.patch b/dev-python/epydoc/files/epydoc-docutils-0.6.patch |
81 |
deleted file mode 100644 |
82 |
index efb6baa121b..00000000000 |
83 |
--- a/dev-python/epydoc/files/epydoc-docutils-0.6.patch |
84 |
+++ /dev/null |
85 |
@@ -1,27 +0,0 @@ |
86 |
-Make epydoc work with docutils-0.6. |
87 |
- |
88 |
-Patch created by Engelbert Gruber (grubert) and adjusted by Martin von Gagern. |
89 |
- |
90 |
-References: |
91 |
-https://sourceforge.net/tracker/?func=detail&aid=2895197&group_id=32455&atid=405618 |
92 |
-http://thread.gmane.org/gmane.text.docutils.devel/4888/focus=4924 |
93 |
-http://bugs.gentoo.org/287546 |
94 |
- |
95 |
-Index: epydoc-3.0.1/epydoc/markup/restructuredtext.py |
96 |
-=================================================================== |
97 |
---- epydoc-3.0.1.orig/epydoc/markup/restructuredtext.py |
98 |
-+++ epydoc-3.0.1/epydoc/markup/restructuredtext.py |
99 |
-@@ -304,10 +304,11 @@ class _SummaryExtractor(NodeVisitor): |
100 |
- # Extract the first sentence. |
101 |
- for child in node: |
102 |
- if isinstance(child, docutils.nodes.Text): |
103 |
-- m = self._SUMMARY_RE.match(child.data) |
104 |
-+ data = child.astext() |
105 |
-+ m = self._SUMMARY_RE.match(data) |
106 |
- if m: |
107 |
- summary_pieces.append(docutils.nodes.Text(m.group(1))) |
108 |
-- other = child.data[m.end():] |
109 |
-+ other = data[m.end():] |
110 |
- if other and not other.isspace(): |
111 |
- self.other_docs = True |
112 |
- break |
113 |
|
114 |
diff --git a/dev-python/epydoc/files/epydoc-python-2.6.patch b/dev-python/epydoc/files/epydoc-python-2.6.patch |
115 |
deleted file mode 100644 |
116 |
index 84bb22d879c..00000000000 |
117 |
--- a/dev-python/epydoc/files/epydoc-python-2.6.patch |
118 |
+++ /dev/null |
119 |
@@ -1,60 +0,0 @@ |
120 |
-diff -Nur epydoc-3.0.1/epydoc/docparser.py epydoc-3.0.1/epydoc/docparser.py |
121 |
---- epydoc-3.0.1/epydoc/docparser.py |
122 |
-+++ epydoc-3.0.1/epydoc/docparser.py |
123 |
-@@ -72,6 +72,26 @@ |
124 |
- from epydoc.compat import * |
125 |
- |
126 |
- ###################################################################### |
127 |
-+## Tokenizer change in 2.6 |
128 |
-+###################################################################### |
129 |
-+ |
130 |
-+def comment_includes_nl(): |
131 |
-+ """ Determine whether comments are parsed as one or two tokens... """ |
132 |
-+ readline = iter(u'\n#\n\n'.splitlines(True)).next |
133 |
-+ tokens = [ |
134 |
-+ token.tok_name[tup[0]] for tup in tokenize.generate_tokens(readline) |
135 |
-+ ] |
136 |
-+ if tokens == ['NL', 'COMMENT', 'NL', 'ENDMARKER']: |
137 |
-+ return True |
138 |
-+ elif tokens == ['NL', 'COMMENT', 'NL', 'NL', 'ENDMARKER']: |
139 |
-+ return False |
140 |
-+ raise AssertionError( |
141 |
-+ "Tokenizer returns unexexpected tokens: %r" % tokens |
142 |
-+ ) |
143 |
-+ |
144 |
-+comment_includes_nl = comment_includes_nl() |
145 |
-+ |
146 |
-+###################################################################### |
147 |
- ## Doc Parser |
148 |
- ###################################################################### |
149 |
- |
150 |
-@@ -520,6 +540,10 @@ |
151 |
- # inside that block, not outside it. |
152 |
- start_group = None |
153 |
- |
154 |
-+ # If the comment tokens do not include the NL, every comment token |
155 |
-+ # sets this to True in order to swallow the next NL token unprocessed. |
156 |
-+ comment_nl_waiting = False |
157 |
-+ |
158 |
- # Check if the source file declares an encoding. |
159 |
- encoding = get_module_encoding(module_doc.filename) |
160 |
- |
161 |
-@@ -570,7 +594,9 @@ |
162 |
- # then discard them: blank lines are not allowed between a |
163 |
- # comment block and the thing it describes. |
164 |
- elif toktype == tokenize.NL: |
165 |
-- if comments and not line_toks: |
166 |
-+ if comment_nl_waiting: |
167 |
-+ comment_nl_waiting = False |
168 |
-+ elif comments and not line_toks: |
169 |
- log.warning('Ignoring docstring comment block followed by ' |
170 |
- 'a blank line in %r on line %r' % |
171 |
- (module_doc.filename, srow-1)) |
172 |
-@@ -578,6 +604,7 @@ |
173 |
- |
174 |
- # Comment token: add to comments if appropriate. |
175 |
- elif toktype == tokenize.COMMENT: |
176 |
-+ comment_nl_waiting = not comment_includes_nl |
177 |
- if toktext.startswith(COMMENT_DOCSTRING_MARKER): |
178 |
- comment_line = toktext[len(COMMENT_DOCSTRING_MARKER):].rstrip() |
179 |
- if comment_line.startswith(" "): |
180 |
|
181 |
diff --git a/dev-python/epydoc/metadata.xml b/dev-python/epydoc/metadata.xml |
182 |
deleted file mode 100644 |
183 |
index 1f008fb5021..00000000000 |
184 |
--- a/dev-python/epydoc/metadata.xml |
185 |
+++ /dev/null |
186 |
@@ -1,26 +0,0 @@ |
187 |
-<?xml version="1.0" encoding="UTF-8"?> |
188 |
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
189 |
-<pkgmetadata> |
190 |
- <maintainer type="project"> |
191 |
- <email>python@g.o</email> |
192 |
- <name>Python</name> |
193 |
- </maintainer> |
194 |
- <longdescription> |
195 |
- Epydoc is a python documentation system without output similar to javadoc. |
196 |
- Epydoc uses python doc-strings, importing modules, and introsepction in |
197 |
- order to do its thing -- if your modules are not safe to import, you |
198 |
- should look for another tool. Documentation mark-up is done with restructed |
199 |
- text (reST). |
200 |
- </longdescription> |
201 |
- <longdescription lang="ja"> |
202 |
- Epydocは、Javadocに似た出力をする以外はPython言語のための |
203 |
- ドキュメンテーションシステムです。Epydocはdoc-stringsを使い、 |
204 |
- モジュールをインポートし、それらが自己分析したものを使います。 |
205 |
- -- もしあなたが指定したモジュールがインポートするには安 |
206 |
- 全でないのだとしたら、他のツールを使うべきです。ドキュメンテーション |
207 |
- の書式は再構造的文章(reST)です。 |
208 |
- </longdescription> |
209 |
- <upstream> |
210 |
- <remote-id type="sourceforge">epydoc</remote-id> |
211 |
- </upstream> |
212 |
-</pkgmetadata> |