1 |
commit: 3ab7f6d05eee57f1e593bb42a20c7411d3e0eb27 |
2 |
Author: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Dec 1 11:24:35 2022 +0000 |
4 |
Commit: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Dec 1 11:24:35 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3ab7f6d0 |
7 |
|
8 |
dev-python/pweave: treeclean |
9 |
|
10 |
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org> |
11 |
|
12 |
dev-python/pweave/Manifest | 1 - |
13 |
dev-python/pweave/files/pweave-0.30.3-docs.patch | 12 --- |
14 |
.../files/pweave-0.30.3-rm-online-tests.patch | 115 --------------------- |
15 |
dev-python/pweave/metadata.xml | 12 --- |
16 |
dev-python/pweave/pweave-0.30.3-r1.ebuild | 57 ---------- |
17 |
profiles/package.mask | 5 - |
18 |
6 files changed, 202 deletions(-) |
19 |
|
20 |
diff --git a/dev-python/pweave/Manifest b/dev-python/pweave/Manifest |
21 |
deleted file mode 100644 |
22 |
index e1cfb95c903a..000000000000 |
23 |
--- a/dev-python/pweave/Manifest |
24 |
+++ /dev/null |
25 |
@@ -1 +0,0 @@ |
26 |
-DIST pweave-0.30.3.tar.gz 2173323 BLAKE2B 13aaa70d424026e58648ee949d8046d1f9fdf6e402df018b120dbb235c7b7a29846cb341aba1642c97be5a8ebafeea33a71be177f92498db186e8044624eebb8 SHA512 d2ffc2a6921837eff471041cc13789ac370d9e00c8a66f451ae53859c110c838e360b4bfd820aa33656fdf509cda8dc24a1d2c1bfcb44ae99de751726c33b3ae |
27 |
|
28 |
diff --git a/dev-python/pweave/files/pweave-0.30.3-docs.patch b/dev-python/pweave/files/pweave-0.30.3-docs.patch |
29 |
deleted file mode 100644 |
30 |
index 11021bd86522..000000000000 |
31 |
--- a/dev-python/pweave/files/pweave-0.30.3-docs.patch |
32 |
+++ /dev/null |
33 |
@@ -1,12 +0,0 @@ |
34 |
-diff --git a/doc/source/conf.py b/doc/source/conf.py |
35 |
-index 2529bca..1066a51 100644 |
36 |
---- a/doc/source/conf.py |
37 |
-+++ b/doc/source/conf.py |
38 |
-@@ -1,6 +1,6 @@ |
39 |
- import sys, os |
40 |
- |
41 |
--extensions = ['sphinx.ext.todo', 'sphinx.ext.pngmath', 'sphinx.ext.autodoc', 'sphinx.ext.viewcode'] |
42 |
-+extensions = ['sphinx.ext.todo', 'sphinx.ext.autodoc', 'sphinx.ext.viewcode'] |
43 |
- |
44 |
- templates_path = ['_templates'] |
45 |
- |
46 |
|
47 |
diff --git a/dev-python/pweave/files/pweave-0.30.3-rm-online-tests.patch b/dev-python/pweave/files/pweave-0.30.3-rm-online-tests.patch |
48 |
deleted file mode 100644 |
49 |
index 3c5f1a227bec..000000000000 |
50 |
--- a/dev-python/pweave/files/pweave-0.30.3-rm-online-tests.patch |
51 |
+++ /dev/null |
52 |
@@ -1,115 +0,0 @@ |
53 |
-diff --git a/tests/test_formatters.py b/tests/test_formatters.py |
54 |
-deleted file mode 100644 |
55 |
-index 90cb45b..0000000 |
56 |
---- a/tests/test_formatters.py |
57 |
-+++ /dev/null |
58 |
-@@ -1,58 +0,0 @@ |
59 |
--import unittest |
60 |
--import pweave |
61 |
--import pickle |
62 |
--import os |
63 |
-- |
64 |
--class FormatterTest(unittest.TestCase): |
65 |
-- """Test formatters""" |
66 |
-- |
67 |
-- |
68 |
-- def setUp(self): |
69 |
-- self.doc = pweave.Pweb("tests/formats/formatters_test.pmd") |
70 |
-- self.doc.run() |
71 |
-- #pickle.dump(self.doc.executed, open("tests/formats/formatters_test.pkl", "wb")) |
72 |
-- with open("tests/formats/formatters_test.pkl", "rb") as f: |
73 |
-- e = pickle.load(f) |
74 |
-- self.doc.executed = e |
75 |
-- self.out_base = "tests/formats/formatters_test.%s" |
76 |
-- self.ref_base = "tests/formats/formatters_test_REF.%s" |
77 |
-- |
78 |
-- def testFormatters(self): |
79 |
-- formats = sorted(list(pweave.formatters.PwebFormats.formats.keys())) |
80 |
-- for format in formats: |
81 |
-- if "pandoc2latex" in format or "2html" in format: #No pandoc on travis |
82 |
-- continue |
83 |
-- self.doc.setformat(format) |
84 |
-- self.doc.format() |
85 |
-- self.out_file = self.out_base % format |
86 |
-- self.ref_file = self.ref_base % format |
87 |
-- self.doc.output = self.out_file |
88 |
-- self.doc.write() |
89 |
-- if "2html" in format: |
90 |
-- pass |
91 |
-- #Need to ignore same amount from beginning |
92 |
-- #End is variable lenght, anyway tested with test_publish |
93 |
-- #self.assertSameAsReference(1000) #Ignore changing footer |
94 |
-- else: |
95 |
-- self.assertSameAsReference() |
96 |
-- try: |
97 |
-- os.remove(self.out_file) |
98 |
-- except FileNotFoundError: |
99 |
-- pass |
100 |
-- |
101 |
-- def contentOf(self, filename, end_ignore): |
102 |
-- fh = open(filename) |
103 |
-- content = fh.read() |
104 |
-- fh.close() |
105 |
-- if end_ignore > 0: |
106 |
-- return(content[:-end_ignore]) |
107 |
-- return content |
108 |
-- |
109 |
-- def assertSameAsReference(self, end_ignore = -1): |
110 |
-- self.assertEqual(self.contentOf(self.out_file, end_ignore), |
111 |
-- self.contentOf(self.ref_file, end_ignore)) |
112 |
-- |
113 |
-- |
114 |
-- |
115 |
--if __name__ == '__main__': |
116 |
-- unittest.main() |
117 |
-diff --git a/tests/test_publish.py b/tests/test_publish.py |
118 |
-deleted file mode 100644 |
119 |
-index 0c5e587..0000000 |
120 |
---- a/tests/test_publish.py |
121 |
-+++ /dev/null |
122 |
-@@ -1,23 +0,0 @@ |
123 |
--import pweave |
124 |
--import os, io |
125 |
-- |
126 |
--def test_publish(): |
127 |
-- """Test pypublish""" |
128 |
-- pweave.publish("tests/publish/publish_test.txt", doc_format="html") |
129 |
-- test = io.open("tests/publish/publish_test.html", "r").read().encode("utf-8") |
130 |
-- ref = io.open("tests/publish/publish_test_ref.html", "r").read().encode("utf-8") |
131 |
-- #Leave out the changing footer |
132 |
-- assert (test[:len(test) - 400] == ref[:len(test) - 400]) |
133 |
-- |
134 |
--def test_publish_cell(): |
135 |
-- """Test pypublish cell format""" |
136 |
-- pweave.publish("tests/publish/publish_test_cell.txt", doc_format="html") |
137 |
-- test = io.open("tests/publish/publish_test_cell.html", "r").read().encode("utf-8") |
138 |
-- ref = io.open("tests/publish/publish_test_ref.html", "r").read().encode("utf-8") |
139 |
-- #Leave out the changing footer |
140 |
-- assert (test[:len(test) - 400] == ref[:len(test) - 400]) |
141 |
-- |
142 |
-- |
143 |
--if __name__ == '__main__': |
144 |
-- test_publish() |
145 |
-- test_publish_cell() |
146 |
-diff --git a/tests/test_readers.py b/tests/test_readers.py |
147 |
-index 69a0303..69cd500 100644 |
148 |
---- a/tests/test_readers.py |
149 |
-+++ b/tests/test_readers.py |
150 |
-@@ -13,12 +13,6 @@ def test_script(): |
151 |
- "tests/publish/publish_test_REF.py") |
152 |
- |
153 |
- |
154 |
--def test_url(): |
155 |
-- pweave.weave("http://files.mpastell.com/formatters_test.pmd", doctype = "pandoc", output = "tests/formats/formatters_url.md") |
156 |
-- assertSameContent("tests/formats/formatters_url.md", "tests/formats/formatters_test_REF.markdown") |
157 |
-- |
158 |
-- |
159 |
-- |
160 |
- def assertSameContent(REF, outfile): |
161 |
- out = open(outfile) |
162 |
- ref = open(REF) |
163 |
-@@ -27,4 +21,3 @@ def assertSameContent(REF, outfile): |
164 |
- if __name__ == '__main__': |
165 |
- test_markdown() |
166 |
- test_script() |
167 |
-- test_url() |
168 |
|
169 |
diff --git a/dev-python/pweave/metadata.xml b/dev-python/pweave/metadata.xml |
170 |
deleted file mode 100644 |
171 |
index 4a947fc9ac1b..000000000000 |
172 |
--- a/dev-python/pweave/metadata.xml |
173 |
+++ /dev/null |
174 |
@@ -1,12 +0,0 @@ |
175 |
-<?xml version="1.0" encoding="UTF-8"?> |
176 |
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> |
177 |
-<pkgmetadata> |
178 |
- <maintainer type="person"> |
179 |
- <email>andrewammerlaan@g.o</email> |
180 |
- <name>Andrew Ammerlaan</name> |
181 |
- </maintainer> |
182 |
- <upstream> |
183 |
- <remote-id type="pypi">Pweave</remote-id> |
184 |
- </upstream> |
185 |
- <stabilize-allarches/> |
186 |
-</pkgmetadata> |
187 |
|
188 |
diff --git a/dev-python/pweave/pweave-0.30.3-r1.ebuild b/dev-python/pweave/pweave-0.30.3-r1.ebuild |
189 |
deleted file mode 100644 |
190 |
index 49d90a3f166d..000000000000 |
191 |
--- a/dev-python/pweave/pweave-0.30.3-r1.ebuild |
192 |
+++ /dev/null |
193 |
@@ -1,57 +0,0 @@ |
194 |
-# Copyright 1999-2021 Gentoo Authors |
195 |
-# Distributed under the terms of the GNU General Public License v2 |
196 |
- |
197 |
-EAPI=7 |
198 |
- |
199 |
-PYTHON_COMPAT=( python3_{7..10} ) |
200 |
- |
201 |
-inherit distutils-r1 |
202 |
- |
203 |
-MY_PN="Pweave" |
204 |
-MY_P="${MY_PN}-${PV}" |
205 |
- |
206 |
-DESCRIPTION="Scientific report generator and literate programming tool" |
207 |
-HOMEPAGE="http://mpastell.com/pweave/ |
208 |
- https://github.com/mpastell/Pweave" |
209 |
-SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz -> ${P}.tar.gz" |
210 |
-S="${WORKDIR}/${MY_P}" |
211 |
- |
212 |
-IUSE="examples" |
213 |
- |
214 |
-LICENSE="BSD" |
215 |
-SLOT="0" |
216 |
-KEYWORDS="~amd64 ~x86" |
217 |
- |
218 |
-PATCHES=( |
219 |
- "${FILESDIR}/${P}-docs.patch" |
220 |
- "${FILESDIR}/${P}-rm-online-tests.patch" ) |
221 |
- |
222 |
-RDEPEND=" |
223 |
- dev-python/ipython[${PYTHON_USEDEP}] |
224 |
- dev-python/ipykernel[${PYTHON_USEDEP}] |
225 |
- dev-python/jupyter_client[${PYTHON_USEDEP}] |
226 |
- dev-python/markdown[${PYTHON_USEDEP}] |
227 |
- dev-python/nbconvert[${PYTHON_USEDEP}] |
228 |
- dev-python/nbformat[${PYTHON_USEDEP}] |
229 |
- dev-python/pygments[${PYTHON_USEDEP}] |
230 |
-" |
231 |
- |
232 |
-DEPEND="test? ( |
233 |
- dev-python/coverage[${PYTHON_USEDEP}] |
234 |
- dev-python/matplotlib[${PYTHON_USEDEP}] |
235 |
- dev-python/nose[${PYTHON_USEDEP}] |
236 |
- dev-python/notebook[${PYTHON_USEDEP}] |
237 |
- dev-python/scipy[${PYTHON_USEDEP}] |
238 |
-)" |
239 |
- |
240 |
-distutils_enable_sphinx doc/source dev-python/sphinx_rtd_theme |
241 |
-distutils_enable_tests pytest |
242 |
- |
243 |
-python_install_all() { |
244 |
- if use examples; then |
245 |
- insinto /usr/share/${PN} |
246 |
- doins -r doc/examples |
247 |
- fi |
248 |
- |
249 |
- distutils-r1_python_install_all |
250 |
-} |
251 |
|
252 |
diff --git a/profiles/package.mask b/profiles/package.mask |
253 |
index e98d3ddac0df..d23c8dee9baa 100644 |
254 |
--- a/profiles/package.mask |
255 |
+++ b/profiles/package.mask |
256 |
@@ -477,11 +477,6 @@ dev-libs/cloog |
257 |
# cache dir to avoid sandbox violation errors, bug #878471. |
258 |
=media-libs/fontconfig-2.14.1 |
259 |
|
260 |
-# Andrew Ammerlaan <andrewammerlaan@g.o> (2022-10-28) |
261 |
-# Unmaintained upstream, no reverse dependencies, fails tests |
262 |
-# Removal in 30 days |
263 |
-dev-python/pweave |
264 |
- |
265 |
# John Helmert III <ajak@g.o> (2022-10-16) |
266 |
# <OpenSSL-1.1.1 are EOL and contain known vulnerabilities. Users should |
267 |
# migrate to a newer branch. |