1 |
commit: 45236a094aa52f15ff3096887340c5feb1b225ad |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Jan 2 15:05:23 2018 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Jan 2 22:13:48 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=45236a09 |
7 |
|
8 |
dev-python/argcomplete: Clean old up |
9 |
|
10 |
dev-python/argcomplete/Manifest | 2 -- |
11 |
dev-python/argcomplete/argcomplete-1.6.0.ebuild | 29 ------------------ |
12 |
dev-python/argcomplete/argcomplete-1.8.2.ebuild | 32 -------------------- |
13 |
.../argcomplete-1.8.2-disable-tcsh-tests.patch | 35 ---------------------- |
14 |
4 files changed, 98 deletions(-) |
15 |
|
16 |
diff --git a/dev-python/argcomplete/Manifest b/dev-python/argcomplete/Manifest |
17 |
index 86cb1ade8ea..f10914bf1a3 100644 |
18 |
--- a/dev-python/argcomplete/Manifest |
19 |
+++ b/dev-python/argcomplete/Manifest |
20 |
@@ -1,4 +1,2 @@ |
21 |
DIST argcomplete-1.4.1.tar.gz 37219 BLAKE2B eff9c8b8a2996d2d57ca99516071a1c831f9e64be4efd72bf930dfe7fb2404db2aa03546e761ae73b5d22f8ebe683728c433ab837eee5c073616e7d32fa32010 SHA512 3e9fa64fca93baf14fddd653947ff0269004e8783de0567931dafb9e4d0dfff2e2450ef6df331a4d648f5ce1d817a422f52d8d30b94315cd54fd82102467ded5 |
22 |
-DIST argcomplete-1.6.0.tar.gz 39685 BLAKE2B 0055394ff7481cdce2e6882f971fab35ad3df972238915d51caae68c9b8ff36e8510a0cb57c01a398bcc56b8a14b2bb867eb4b9099bab00d67ef6f5dc6ceaeda SHA512 6a2a6a4af3ddb5bea0022bf5e2acb123d4c0505d979887ebb82ed5c8a591d59d35b57084483428d030e0507f3cd149953146f49d4a7b0290bc88648cea3eb7a3 |
23 |
-DIST argcomplete-1.8.2.tar.gz 53626 BLAKE2B 446fc108468ca10f63f23e00aa891c7c692345f71274d798f046644f5c203017553d071b0e3cd643d4e786f5ef2502d9bd35d940692cf814f96727c73cee3f9c SHA512 ed3ddfe402bd89b81da1935a105dcc1914e9c7b98590624ba1140647ce1322a71d790bf3d0e29fe745ca676aa22f99b9834b58a97c2b1c08ca4a32bab7f4c914 |
24 |
DIST argcomplete-1.9.2.tar.gz 46445 BLAKE2B a515fb1fdb94a78f02d01c90950bc21ac8000ccd54724e3037fb491097627a0f5de08b281dc13a7b531b4df6598f1aa1d7310932131a5a5a778dc5e5b39020d0 SHA512 174a4f7f1e24944472567c7cf2959b1bf1bf1d57f9c9d36469837f568d9e5db89d7055a2b93ff58e72fa5a78acb498833833a465da2b69bcf09fcfa2ecdad742 |
25 |
|
26 |
diff --git a/dev-python/argcomplete/argcomplete-1.6.0.ebuild b/dev-python/argcomplete/argcomplete-1.6.0.ebuild |
27 |
deleted file mode 100644 |
28 |
index 259a9c1101c..00000000000 |
29 |
--- a/dev-python/argcomplete/argcomplete-1.6.0.ebuild |
30 |
+++ /dev/null |
31 |
@@ -1,29 +0,0 @@ |
32 |
-# Copyright 1999-2016 Gentoo Foundation |
33 |
-# Distributed under the terms of the GNU General Public License v2 |
34 |
- |
35 |
-EAPI=6 |
36 |
- |
37 |
-PYTHON_COMPAT=( python{2_7,3_4,3_5} pypy pypy3 ) |
38 |
- |
39 |
-inherit bash-completion-r1 distutils-r1 |
40 |
- |
41 |
-DESCRIPTION="Bash tab completion for argparse" |
42 |
-HOMEPAGE="https://pypi.python.org/pypi/argcomplete" |
43 |
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
44 |
- |
45 |
-SLOT="0" |
46 |
-LICENSE="Apache-2.0" |
47 |
-KEYWORDS="~amd64 ~x86 ~arm ~amd64-linux ~x86-linux ~x64-macos" |
48 |
-IUSE="test" |
49 |
- |
50 |
-DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] |
51 |
- test? ( dev-python/pexpect[${PYTHON_USEDEP}] )" |
52 |
- |
53 |
-python_test() { |
54 |
- "${EPYTHON}" test/test.py || die |
55 |
-} |
56 |
- |
57 |
-python_install_all() { |
58 |
- distutils-r1_python_install_all |
59 |
- newbashcomp "${S}"/${PN}/bash_completion.d/python-argcomplete.sh python-${PN} |
60 |
-} |
61 |
|
62 |
diff --git a/dev-python/argcomplete/argcomplete-1.8.2.ebuild b/dev-python/argcomplete/argcomplete-1.8.2.ebuild |
63 |
deleted file mode 100644 |
64 |
index 6ed17da9c81..00000000000 |
65 |
--- a/dev-python/argcomplete/argcomplete-1.8.2.ebuild |
66 |
+++ /dev/null |
67 |
@@ -1,32 +0,0 @@ |
68 |
-# Copyright 1999-2017 Gentoo Foundation |
69 |
-# Distributed under the terms of the GNU General Public License v2 |
70 |
- |
71 |
-EAPI=6 |
72 |
- |
73 |
-PYTHON_COMPAT=( python{2_7,3_4,3_5} pypy pypy3 ) |
74 |
- |
75 |
-inherit bash-completion-r1 distutils-r1 |
76 |
- |
77 |
-DESCRIPTION="Bash tab completion for argparse" |
78 |
-HOMEPAGE="https://pypi.python.org/pypi/argcomplete" |
79 |
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
80 |
- |
81 |
-SLOT="0" |
82 |
-LICENSE="Apache-2.0" |
83 |
-KEYWORDS="~amd64 ~x86 ~arm ~amd64-linux ~x86-linux ~x64-macos" |
84 |
-IUSE="test" |
85 |
- |
86 |
-DEPEND=" |
87 |
- dev-python/setuptools[${PYTHON_USEDEP}] |
88 |
- test? ( dev-python/pexpect[${PYTHON_USEDEP}] )" |
89 |
- |
90 |
-PATCHES=( "${FILESDIR}/${P}-disable-tcsh-tests.patch" ) |
91 |
- |
92 |
-python_test() { |
93 |
- "${EPYTHON}" test/test.py || die |
94 |
-} |
95 |
- |
96 |
-python_install_all() { |
97 |
- distutils-r1_python_install_all |
98 |
- newbashcomp "${S}"/${PN}/bash_completion.d/python-argcomplete.sh python-${PN} |
99 |
-} |
100 |
|
101 |
diff --git a/dev-python/argcomplete/files/argcomplete-1.8.2-disable-tcsh-tests.patch b/dev-python/argcomplete/files/argcomplete-1.8.2-disable-tcsh-tests.patch |
102 |
deleted file mode 100644 |
103 |
index ee866c39d11..00000000000 |
104 |
--- a/dev-python/argcomplete/files/argcomplete-1.8.2-disable-tcsh-tests.patch |
105 |
+++ /dev/null |
106 |
@@ -1,35 +0,0 @@ |
107 |
---- a/test/test.py 2017-07-10 21:18:13.701472836 +0000 |
108 |
-+++ b/test/test.py 2017-07-10 21:18:44.021473430 +0000 |
109 |
-@@ -1041,32 +1041,6 @@ |
110 |
- self.assertEqual(self.sh.run_command('python ./prog basic f\t'), 'foo\r\n') |
111 |
- |
112 |
- |
113 |
--class TestTcsh(_TestSh, unittest.TestCase): |
114 |
-- expected_failures = [ |
115 |
-- 'test_unquoted_space', |
116 |
-- 'test_quoted_space', |
117 |
-- 'test_continuation', |
118 |
-- 'test_parse_special_characters', |
119 |
-- 'test_parse_special_characters_dollar', |
120 |
-- ] |
121 |
-- |
122 |
-- def setUp(self): |
123 |
-- sh = Shell('tcsh') |
124 |
-- path = ' '.join([os.path.join(BASE_DIR, 'scripts'), TEST_DIR, '$path']) |
125 |
-- sh.run_command('set path = ({0})'.format(path)) |
126 |
-- sh.run_command('setenv PYTHONPATH {0}'.format(BASE_DIR)) |
127 |
-- output = sh.run_command('eval `register-python-argcomplete --shell tcsh prog`') |
128 |
-- self.assertEqual(output, '') |
129 |
-- self.sh = sh |
130 |
-- |
131 |
-- def tearDown(self): |
132 |
-- # The shell wrapper is fragile; exactly which exception is raised |
133 |
-- # differs depending on environment. |
134 |
-- with self.assertRaises((pexpect.EOF, OSError)): |
135 |
-- self.sh.run_command('exit') |
136 |
-- self.sh.run_command('') |
137 |
-- |
138 |
-- |
139 |
- class Shell(object): |
140 |
- def __init__(self, shell): |
141 |
- self.child = pexpect.spawn(shell, encoding='utf-8') |