1 |
commit: be38853b08bafa5fe67e284f4f17e33503d5a7b0 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Apr 23 11:53:17 2020 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Apr 23 12:12:44 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=be38853b |
7 |
|
8 |
dev-python/cmd2: Disable test relying on 'vi' |
9 |
|
10 |
Bug: https://bugs.gentoo.org/710174 |
11 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
12 |
|
13 |
dev-python/cmd2/cmd2-0.10.1.ebuild | 5 +++++ |
14 |
dev-python/cmd2/cmd2-1.0.2.ebuild | 5 +++++ |
15 |
2 files changed, 10 insertions(+) |
16 |
|
17 |
diff --git a/dev-python/cmd2/cmd2-0.10.1.ebuild b/dev-python/cmd2/cmd2-0.10.1.ebuild |
18 |
index 4da2056c28b..c6dd48a3be4 100644 |
19 |
--- a/dev-python/cmd2/cmd2-0.10.1.ebuild |
20 |
+++ b/dev-python/cmd2/cmd2-0.10.1.ebuild |
21 |
@@ -28,6 +28,11 @@ BDEPEND=" |
22 |
|
23 |
distutils_enable_tests pytest |
24 |
|
25 |
+src_prepare() { |
26 |
+ sed -i -e 's:test_which_editor_good:_&:' tests/test_cmd2.py || die |
27 |
+ distutils-r1_src_prepare |
28 |
+} |
29 |
+ |
30 |
src_test() { |
31 |
# tests rely on very specific text wrapping... |
32 |
local -x COLUMNS=80 |
33 |
|
34 |
diff --git a/dev-python/cmd2/cmd2-1.0.2.ebuild b/dev-python/cmd2/cmd2-1.0.2.ebuild |
35 |
index 20add50e79b..67caee784fa 100644 |
36 |
--- a/dev-python/cmd2/cmd2-1.0.2.ebuild |
37 |
+++ b/dev-python/cmd2/cmd2-1.0.2.ebuild |
38 |
@@ -28,6 +28,11 @@ BDEPEND=" |
39 |
|
40 |
distutils_enable_tests pytest |
41 |
|
42 |
+src_prepare() { |
43 |
+ sed -i -e 's:test_which_editor_good:_&:' tests/test_cmd2.py || die |
44 |
+ distutils-r1_src_prepare |
45 |
+} |
46 |
+ |
47 |
src_test() { |
48 |
# tests rely on very specific text wrapping... |
49 |
local -x COLUMNS=80 |