1 |
commit: 1a338f22231a0e641aa6807b3aed60d0bef17a9c |
2 |
Author: Andrey Grozin <grozin <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Oct 12 14:03:29 2016 +0000 |
4 |
Commit: Andrey Grozin <grozin <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Oct 12 14:03:29 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1a338f22 |
7 |
|
8 |
dev-python/curtsies: cleaning old |
9 |
|
10 |
Package-Manager: portage-2.3.0 |
11 |
|
12 |
dev-python/curtsies/Manifest | 4 - |
13 |
dev-python/curtsies/curtsies-0.1.18.ebuild | 35 ------ |
14 |
dev-python/curtsies/curtsies-0.1.23.ebuild | 35 ------ |
15 |
dev-python/curtsies/curtsies-0.2.3.ebuild | 35 ------ |
16 |
dev-python/curtsies/curtsies-0.2.4.ebuild | 38 ------ |
17 |
dev-python/curtsies/curtsies-0.2.6.ebuild | 36 ------ |
18 |
.../files/curtsies-0.2.4-test-backport.patch | 132 --------------------- |
19 |
7 files changed, 315 deletions(-) |
20 |
|
21 |
diff --git a/dev-python/curtsies/Manifest b/dev-python/curtsies/Manifest |
22 |
index 9302bdf..9ad4297 100644 |
23 |
--- a/dev-python/curtsies/Manifest |
24 |
+++ b/dev-python/curtsies/Manifest |
25 |
@@ -1,7 +1,3 @@ |
26 |
-DIST curtsies-0.1.18.tar.gz 44353 SHA256 477121f256eea2b71237492e2924f05b54e1f91815d042bf91d7112b71d4edd4 SHA512 02ae86b215dca10e779061485cb18ab8b6fefbdad10e2bcad3c24890b79f81d1aae0b84467a23ca1951ffaa336fc2fe9b5137c1a10a65fafe0a0b540cc0c819c WHIRLPOOL 801738c450c2fd9343e01260240ebd5ed74e951c03a918808c8c2c47e8ec46afe425f4d8978dea894d2cdf36bc2e3bd19e9de2ed12a62e5786eebeed87dd9800 |
27 |
DIST curtsies-0.1.23.tar.gz 43747 SHA256 4a082383a183cf2d58fcff11885a8d74c5c5c9a81812984c3b25a0a058fd65d3 SHA512 a33f56b4dabd7878e7b1789c9f6ed26ff7cd2a96607a34af66874b33acb8c115cc159684d00a0de2d80b536dec1001b84e342cfe02039ed2ad64cfc015069247 WHIRLPOOL 673ac1f5f09940b1da796024d779233ca15433b82b83c386157b51f585ee3cc9cbcfac017f7bb35540e4d0c1e82c21d950af7084b6473eb657bd8b21b4479b17 |
28 |
DIST curtsies-0.2.10.tar.gz 46320 SHA256 26d5c3356bf318443f57866903dda3c66a10da3b86a79bc3e9b2719bb5272715 SHA512 0e4349e460dd9d8ec5c900d1b3dd98ede7c7462f9842cb4bb22e1f1a2a0048090593af2c1cddf26a1239db00060429b27785e05de84ff9b4199fe3b8d4973fc3 WHIRLPOOL dca8883f43fd062205b4864976cedd53095b0d769b385e8c0370ed0fce1eb78903d4b42de99b9622d2599fd2e9dc70bb10e69e87c181b22afcbb388109cfb782 |
29 |
-DIST curtsies-0.2.3.tar.gz 42805 SHA256 5da88a67472ada96de3be2a9da4210080c7e4b2c1afc4c97075b3f51755e0dc4 SHA512 8d48fb147fc247b2241472543a5019a55ef1b8f029b0bb93c7de72cd9eeb1bfe9940520bb5a0509406915523b98e1dbd9f07499e9eb9649d6d70df51ba71606d WHIRLPOOL 6b3e37f630488f01b6451349fcbf5e81cde7cdf8e1590bc4c65bb9bdffb4b83f8d868c37624e3f1f932cc51d9af251914f8fa55bc88eeaacc6c2dd3eb91239ea |
30 |
-DIST curtsies-0.2.4.tar.gz 43313 SHA256 ae52dbb1c828369b85ed3650c846bd7bf4832916dc472220d3365c3e46e1dce6 SHA512 85ec1e87720cde03be012bb0dcb300acaac5d9a3cc3c8bd6b0e7a8d4e048abbb6ef24513ea2b8f3d106b92ac2db752c2054e699bc1ef7131f8f18e20c541fc3e WHIRLPOOL b236c072b0907115da835827078ba9363bbb199c2202bbbf7f6cabc86c47da5d1505aeaaa2fb0de1924651add2f08c0a65d8c17a9d79096b6a7d8094402d7d53 |
31 |
-DIST curtsies-0.2.6.tar.gz 43639 SHA256 431631b9c1417b2ae8156d0bb6d7c3ce0c97941413717ed6713a9a9c60e9576e SHA512 fd1d3513564893ad5be12132fbba9af524a6a002987c5a32d72be21af73a22446b960f920bd6728f542a3ede42c6c3c3c789f7f97ea526aeaff3c5045910a44f WHIRLPOOL 75b76bbe3d983f2a5fa7112fc9f1102b0773d8c48a49a561380a8d7a53be7abd56b2ebf138f6fb3534ca26ece672dda3d209248d48c7578c4134735abaf783ed |
32 |
DIST curtsies-0.2.9.tar.gz 46743 SHA256 ed61334bf9fa6eaa46acad69dc95e7ea19257fa3c295c04c613cfccca941362f SHA512 2113bc403459963f88debbf412afb613b61a007f774631ff96404ff3d37108b3792fc62c55e4fe7b9132609cafc79fb7cf5fab4b09a610acaba15701bd0875b0 WHIRLPOOL 86d3e381e70d51bbcf129e7d1b7a1ca61ac78379ea61bdbcd822a72be96b3e8b7739bbd21a011aa7d659daef202122143a07060af4887dad8f8f8b57503cc8a2 |
33 |
|
34 |
diff --git a/dev-python/curtsies/curtsies-0.1.18.ebuild b/dev-python/curtsies/curtsies-0.1.18.ebuild |
35 |
deleted file mode 100644 |
36 |
index 4c2cb33..00000000 |
37 |
--- a/dev-python/curtsies/curtsies-0.1.18.ebuild |
38 |
+++ /dev/null |
39 |
@@ -1,35 +0,0 @@ |
40 |
-# Copyright 1999-2015 Gentoo Foundation |
41 |
-# Distributed under the terms of the GNU General Public License v2 |
42 |
-# $Id$ |
43 |
- |
44 |
-EAPI=5 |
45 |
- |
46 |
-PYTHON_COMPAT=( python2_7 python3_{3,4} ) |
47 |
- |
48 |
-inherit distutils-r1 |
49 |
- |
50 |
-DESCRIPTION="Curses-like terminal wrapper, with colored strings" |
51 |
-HOMEPAGE="https://github.com/thomasballinger/curtsies" |
52 |
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
53 |
- |
54 |
-SLOT="0" |
55 |
-LICENSE="MIT" |
56 |
-KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" |
57 |
-IUSE="test" |
58 |
- |
59 |
-RDEPEND=" |
60 |
- >=dev-python/blessings-1.5[${PYTHON_USEDEP}] |
61 |
- >=dev-python/wcwidth-0.1.4[${PYTHON_USEDEP}] |
62 |
-" |
63 |
-DEPEND="${RDEPEND} |
64 |
- dev-python/setuptools[${PYTHON_USEDEP}] |
65 |
- test? ( |
66 |
- dev-python/mock[${PYTHON_USEDEP}] |
67 |
- dev-python/nose[${PYTHON_USEDEP}] |
68 |
- dev-python/pyte[${PYTHON_USEDEP}] |
69 |
- ) |
70 |
-" |
71 |
- |
72 |
-python_test() { |
73 |
- nosetests tests || die |
74 |
-} |
75 |
|
76 |
diff --git a/dev-python/curtsies/curtsies-0.1.23.ebuild b/dev-python/curtsies/curtsies-0.1.23.ebuild |
77 |
deleted file mode 100644 |
78 |
index de7c5bf..00000000 |
79 |
--- a/dev-python/curtsies/curtsies-0.1.23.ebuild |
80 |
+++ /dev/null |
81 |
@@ -1,35 +0,0 @@ |
82 |
-# Copyright 1999-2016 Gentoo Foundation |
83 |
-# Distributed under the terms of the GNU General Public License v2 |
84 |
-# $Id$ |
85 |
- |
86 |
-EAPI=5 |
87 |
- |
88 |
-PYTHON_COMPAT=( python2_7 python3_{3,4} ) |
89 |
- |
90 |
-inherit distutils-r1 |
91 |
- |
92 |
-DESCRIPTION="Curses-like terminal wrapper, with colored strings" |
93 |
-HOMEPAGE="https://github.com/thomasballinger/curtsies" |
94 |
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
95 |
- |
96 |
-SLOT="0" |
97 |
-LICENSE="MIT" |
98 |
-KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" |
99 |
-IUSE="test" |
100 |
- |
101 |
-RDEPEND=" |
102 |
- >=dev-python/blessings-1.5[${PYTHON_USEDEP}] |
103 |
- >=dev-python/wcwidth-0.1.4[${PYTHON_USEDEP}] |
104 |
-" |
105 |
-DEPEND="${RDEPEND} |
106 |
- dev-python/setuptools[${PYTHON_USEDEP}] |
107 |
- test? ( |
108 |
- dev-python/mock[${PYTHON_USEDEP}] |
109 |
- dev-python/nose[${PYTHON_USEDEP}] |
110 |
- dev-python/pyte[${PYTHON_USEDEP}] |
111 |
- ) |
112 |
-" |
113 |
- |
114 |
-python_test() { |
115 |
- nosetests --verbose tests || die |
116 |
-} |
117 |
|
118 |
diff --git a/dev-python/curtsies/curtsies-0.2.3.ebuild b/dev-python/curtsies/curtsies-0.2.3.ebuild |
119 |
deleted file mode 100644 |
120 |
index 4c2cb33..00000000 |
121 |
--- a/dev-python/curtsies/curtsies-0.2.3.ebuild |
122 |
+++ /dev/null |
123 |
@@ -1,35 +0,0 @@ |
124 |
-# Copyright 1999-2015 Gentoo Foundation |
125 |
-# Distributed under the terms of the GNU General Public License v2 |
126 |
-# $Id$ |
127 |
- |
128 |
-EAPI=5 |
129 |
- |
130 |
-PYTHON_COMPAT=( python2_7 python3_{3,4} ) |
131 |
- |
132 |
-inherit distutils-r1 |
133 |
- |
134 |
-DESCRIPTION="Curses-like terminal wrapper, with colored strings" |
135 |
-HOMEPAGE="https://github.com/thomasballinger/curtsies" |
136 |
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
137 |
- |
138 |
-SLOT="0" |
139 |
-LICENSE="MIT" |
140 |
-KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" |
141 |
-IUSE="test" |
142 |
- |
143 |
-RDEPEND=" |
144 |
- >=dev-python/blessings-1.5[${PYTHON_USEDEP}] |
145 |
- >=dev-python/wcwidth-0.1.4[${PYTHON_USEDEP}] |
146 |
-" |
147 |
-DEPEND="${RDEPEND} |
148 |
- dev-python/setuptools[${PYTHON_USEDEP}] |
149 |
- test? ( |
150 |
- dev-python/mock[${PYTHON_USEDEP}] |
151 |
- dev-python/nose[${PYTHON_USEDEP}] |
152 |
- dev-python/pyte[${PYTHON_USEDEP}] |
153 |
- ) |
154 |
-" |
155 |
- |
156 |
-python_test() { |
157 |
- nosetests tests || die |
158 |
-} |
159 |
|
160 |
diff --git a/dev-python/curtsies/curtsies-0.2.4.ebuild b/dev-python/curtsies/curtsies-0.2.4.ebuild |
161 |
deleted file mode 100644 |
162 |
index 36241d3..00000000 |
163 |
--- a/dev-python/curtsies/curtsies-0.2.4.ebuild |
164 |
+++ /dev/null |
165 |
@@ -1,38 +0,0 @@ |
166 |
-# Copyright 1999-2015 Gentoo Foundation |
167 |
-# Distributed under the terms of the GNU General Public License v2 |
168 |
-# $Id$ |
169 |
- |
170 |
-EAPI=5 |
171 |
- |
172 |
-PYTHON_COMPAT=( python2_7 python3_{3,4} ) |
173 |
- |
174 |
-inherit distutils-r1 |
175 |
- |
176 |
-DESCRIPTION="Curses-like terminal wrapper, with colored strings" |
177 |
-HOMEPAGE="https://github.com/thomasballinger/curtsies" |
178 |
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
179 |
- |
180 |
-SLOT="0" |
181 |
-LICENSE="MIT" |
182 |
-KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" |
183 |
-IUSE="test" |
184 |
- |
185 |
-RDEPEND=" |
186 |
- >=dev-python/blessings-1.5[${PYTHON_USEDEP}] |
187 |
- dev-python/pyte[${PYTHON_USEDEP}] |
188 |
- >=dev-python/wcwidth-0.1.4[${PYTHON_USEDEP}] |
189 |
-" |
190 |
-DEPEND="${RDEPEND} |
191 |
- dev-python/setuptools[${PYTHON_USEDEP}] |
192 |
- test? ( |
193 |
- dev-python/mock[${PYTHON_USEDEP}] |
194 |
- dev-python/nose[${PYTHON_USEDEP}] |
195 |
- dev-python/pyte[${PYTHON_USEDEP}] |
196 |
- ) |
197 |
-" |
198 |
- |
199 |
-PATCHES=( "${FILESDIR}"/${P}-test-backport.patch ) |
200 |
- |
201 |
-python_test() { |
202 |
- nosetests --verbose tests || die |
203 |
-} |
204 |
|
205 |
diff --git a/dev-python/curtsies/curtsies-0.2.6.ebuild b/dev-python/curtsies/curtsies-0.2.6.ebuild |
206 |
deleted file mode 100644 |
207 |
index df6feab..00000000 |
208 |
--- a/dev-python/curtsies/curtsies-0.2.6.ebuild |
209 |
+++ /dev/null |
210 |
@@ -1,36 +0,0 @@ |
211 |
-# Copyright 1999-2016 Gentoo Foundation |
212 |
-# Distributed under the terms of the GNU General Public License v2 |
213 |
-# $Id$ |
214 |
- |
215 |
-EAPI=5 |
216 |
- |
217 |
-PYTHON_COMPAT=( python2_7 python3_{3,4} ) |
218 |
- |
219 |
-inherit distutils-r1 |
220 |
- |
221 |
-DESCRIPTION="Curses-like terminal wrapper, with colored strings" |
222 |
-HOMEPAGE="https://github.com/thomasballinger/curtsies" |
223 |
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
224 |
- |
225 |
-SLOT="0" |
226 |
-LICENSE="MIT" |
227 |
-KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" |
228 |
-IUSE="test" |
229 |
- |
230 |
-RDEPEND=" |
231 |
- >=dev-python/blessings-1.5[${PYTHON_USEDEP}] |
232 |
- dev-python/pyte[${PYTHON_USEDEP}] |
233 |
- >=dev-python/wcwidth-0.1.4[${PYTHON_USEDEP}] |
234 |
-" |
235 |
-DEPEND="${RDEPEND} |
236 |
- dev-python/setuptools[${PYTHON_USEDEP}] |
237 |
- test? ( |
238 |
- dev-python/mock[${PYTHON_USEDEP}] |
239 |
- dev-python/nose[${PYTHON_USEDEP}] |
240 |
- dev-python/pyte[${PYTHON_USEDEP}] |
241 |
- ) |
242 |
-" |
243 |
- |
244 |
-python_test() { |
245 |
- nosetests --verbose tests || die |
246 |
-} |
247 |
|
248 |
diff --git a/dev-python/curtsies/files/curtsies-0.2.4-test-backport.patch b/dev-python/curtsies/files/curtsies-0.2.4-test-backport.patch |
249 |
deleted file mode 100644 |
250 |
index 8fd53d7..00000000 |
251 |
--- a/dev-python/curtsies/files/curtsies-0.2.4-test-backport.patch |
252 |
+++ /dev/null |
253 |
@@ -1,132 +0,0 @@ |
254 |
-From 5384f455631a973661af84bbe823b9d59af4d5b1 Mon Sep 17 00:00:00 2001 |
255 |
-From: Thomas Ballinger <thomasballinger@×××××.com> |
256 |
-Date: Sun, 6 Dec 2015 14:09:37 -0500 |
257 |
-Subject: [PATCH] skip tests when blessings Terminal can't be made |
258 |
- |
259 |
---- |
260 |
- tests/test_input.py | 13 ++++++++++++- |
261 |
- tests/test_terminal.py | 16 ++++++++++++++++ |
262 |
- tests/test_window.py | 14 ++++++++++++++ |
263 |
- 3 files changed, 42 insertions(+), 1 deletion(-) |
264 |
- |
265 |
-diff --git a/tests/test_input.py b/tests/test_input.py |
266 |
-index 13cb25a..31a7d23 100644 |
267 |
---- a/tests/test_input.py |
268 |
-+++ b/tests/test_input.py |
269 |
-@@ -1,20 +1,30 @@ |
270 |
- import os |
271 |
- import signal |
272 |
-+import sys |
273 |
- import threading |
274 |
- import time |
275 |
- import unittest |
276 |
- from mock import Mock |
277 |
- |
278 |
- try: |
279 |
-- from unittest import skip |
280 |
-+ from unittest import skip, skipIf |
281 |
- except ImportError: |
282 |
-+ |
283 |
- def skip(f): |
284 |
- return lambda self: None |
285 |
- |
286 |
-+ def skipIf(condition, reason): |
287 |
-+ if condition: |
288 |
-+ return lambda x: x |
289 |
-+ else: |
290 |
-+ return lambda x: None |
291 |
-+ |
292 |
- from curtsies import events |
293 |
- |
294 |
- from curtsies.input import Input |
295 |
- |
296 |
-+fds_closed = sys.stdin.closed or sys.stdout.closed |
297 |
-+ |
298 |
- |
299 |
- class CustomEvent(events.Event): |
300 |
- pass |
301 |
-@@ -24,6 +34,7 @@ class CustomScheduledEvent(events.ScheduledEvent): |
302 |
- pass |
303 |
- |
304 |
- |
305 |
-+@skipIf(fds_closed, "need open file descriptors to test") |
306 |
- class TestInput(unittest.TestCase): |
307 |
- def test_create(self): |
308 |
- Input() |
309 |
-diff --git a/tests/test_terminal.py b/tests/test_terminal.py |
310 |
-index 0df11b0..58f40e3 100644 |
311 |
---- a/tests/test_terminal.py |
312 |
-+++ b/tests/test_terminal.py |
313 |
-@@ -17,6 +17,19 @@ |
314 |
- from curtsies.window import BaseWindow, FullscreenWindow, CursorAwareWindow |
315 |
- |
316 |
- |
317 |
-+try: |
318 |
-+ from unittest import skipIf |
319 |
-+except ImportError: |
320 |
-+ def skipIf(condition, reason): |
321 |
-+ if condition: |
322 |
-+ return lambda x: x |
323 |
-+ else: |
324 |
-+ return lambda x: None |
325 |
-+ |
326 |
-+ |
327 |
-+fds_closed = sys.stdin.closed or sys.stdout.closed |
328 |
-+ |
329 |
-+ |
330 |
- class FakeStdin(StringIO): |
331 |
- encoding = 'ascii' |
332 |
- |
333 |
-@@ -85,6 +98,7 @@ def write(self, s): |
334 |
- def flush(self): pass |
335 |
- |
336 |
- |
337 |
-+@skipIf(fds_closed, 'blessings Terminal needs streams open') |
338 |
- class TestFullscreenWindow(unittest.TestCase): |
339 |
- def setUp(self): |
340 |
- self.screen = pyte.Screen(10, 3) |
341 |
-@@ -110,6 +124,7 @@ def __enter__(*args): pass |
342 |
- def __exit__(*args): pass |
343 |
- |
344 |
- |
345 |
-+@skipIf(fds_closed, 'blessings Terminal needs streams open') |
346 |
- class TestCursorAwareWindow(unittest.TestCase): |
347 |
- def setUp(self): |
348 |
- self.screen = ReportingScreen(6, 3) |
349 |
-@@ -142,6 +157,7 @@ def test_inital_cursor_position(self): |
350 |
- self.assertEqual(self.screen.display, [u' ', u'hi ', u'there ']) |
351 |
- |
352 |
- |
353 |
-+@skipIf(fds_closed, 'blessings Terminal needs streams open') |
354 |
- class TestCursorAwareWindowWithExtraInput(unittest.TestCase): |
355 |
- def setUp(self): |
356 |
- self.screen = ReportingScreenWithExtra(6, 3) |
357 |
-diff --git a/tests/test_window.py b/tests/test_window.py |
358 |
-index 1f4485c..89a3480 100644 |
359 |
---- a/tests/test_window.py |
360 |
-+++ b/tests/test_window.py |
361 |
-@@ -9,10 +9,24 @@ |
362 |
- else: |
363 |
- from cStringIO import StringIO |
364 |
- |
365 |
-+try: |
366 |
-+ from unittest import skipIf |
367 |
-+except ImportError: |
368 |
-+ def skipIf(condition, reason): |
369 |
-+ if condition: |
370 |
-+ return lambda x: x |
371 |
-+ else: |
372 |
-+ return lambda x: None |
373 |
-+ |
374 |
-+ |
375 |
-+fds_closed = sys.stdin.closed or sys.stdout.closed |
376 |
-+ |
377 |
-+ |
378 |
- class FakeFullscreenWindow(FullscreenWindow): |
379 |
- width = property(lambda self: 10) |
380 |
- height = property(lambda self: 4) |
381 |
- |
382 |
-+@skipIf(fds_closed, "blessings Terminal needs streams open") |
383 |
- class TestBaseWindow(unittest.TestCase): |
384 |
- """Pretty pathetic tests for window""" |
385 |
- def test_window(self): |