commit:     45236a094aa52f15ff3096887340c5feb1b225ad
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Tue Jan  2 15:05:23 2018 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Tue Jan  2 22:13:48 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=45236a09

dev-python/argcomplete: Clean old up

 dev-python/argcomplete/Manifest                    |  2 --
 dev-python/argcomplete/argcomplete-1.6.0.ebuild    | 29 ------------------
 dev-python/argcomplete/argcomplete-1.8.2.ebuild    | 32 --------------------
 .../argcomplete-1.8.2-disable-tcsh-tests.patch     | 35 ----------------------
 4 files changed, 98 deletions(-)

diff --git a/dev-python/argcomplete/Manifest b/dev-python/argcomplete/Manifest
index 86cb1ade8ea..f10914bf1a3 100644
--- a/dev-python/argcomplete/Manifest
+++ b/dev-python/argcomplete/Manifest
@@ -1,4 +1,2 @@
 DIST argcomplete-1.4.1.tar.gz 37219 BLAKE2B 
eff9c8b8a2996d2d57ca99516071a1c831f9e64be4efd72bf930dfe7fb2404db2aa03546e761ae73b5d22f8ebe683728c433ab837eee5c073616e7d32fa32010
 SHA512 
3e9fa64fca93baf14fddd653947ff0269004e8783de0567931dafb9e4d0dfff2e2450ef6df331a4d648f5ce1d817a422f52d8d30b94315cd54fd82102467ded5
-DIST argcomplete-1.6.0.tar.gz 39685 BLAKE2B 
0055394ff7481cdce2e6882f971fab35ad3df972238915d51caae68c9b8ff36e8510a0cb57c01a398bcc56b8a14b2bb867eb4b9099bab00d67ef6f5dc6ceaeda
 SHA512 
6a2a6a4af3ddb5bea0022bf5e2acb123d4c0505d979887ebb82ed5c8a591d59d35b57084483428d030e0507f3cd149953146f49d4a7b0290bc88648cea3eb7a3
-DIST argcomplete-1.8.2.tar.gz 53626 BLAKE2B 
446fc108468ca10f63f23e00aa891c7c692345f71274d798f046644f5c203017553d071b0e3cd643d4e786f5ef2502d9bd35d940692cf814f96727c73cee3f9c
 SHA512 
ed3ddfe402bd89b81da1935a105dcc1914e9c7b98590624ba1140647ce1322a71d790bf3d0e29fe745ca676aa22f99b9834b58a97c2b1c08ca4a32bab7f4c914
 DIST argcomplete-1.9.2.tar.gz 46445 BLAKE2B 
a515fb1fdb94a78f02d01c90950bc21ac8000ccd54724e3037fb491097627a0f5de08b281dc13a7b531b4df6598f1aa1d7310932131a5a5a778dc5e5b39020d0
 SHA512 
174a4f7f1e24944472567c7cf2959b1bf1bf1d57f9c9d36469837f568d9e5db89d7055a2b93ff58e72fa5a78acb498833833a465da2b69bcf09fcfa2ecdad742

diff --git a/dev-python/argcomplete/argcomplete-1.6.0.ebuild 
b/dev-python/argcomplete/argcomplete-1.6.0.ebuild
deleted file mode 100644
index 259a9c1101c..00000000000
--- a/dev-python/argcomplete/argcomplete-1.6.0.ebuild
+++ /dev/null
@@ -1,29 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-PYTHON_COMPAT=( python{2_7,3_4,3_5} pypy pypy3 )
-
-inherit bash-completion-r1 distutils-r1
-
-DESCRIPTION="Bash tab completion for argparse"
-HOMEPAGE="https://pypi.python.org/pypi/argcomplete";
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
-
-SLOT="0"
-LICENSE="Apache-2.0"
-KEYWORDS="~amd64 ~x86 ~arm ~amd64-linux ~x86-linux ~x64-macos"
-IUSE="test"
-
-DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
-       test? ( dev-python/pexpect[${PYTHON_USEDEP}] )"
-
-python_test() {
-       "${EPYTHON}" test/test.py || die
-}
-
-python_install_all() {
-       distutils-r1_python_install_all
-       newbashcomp "${S}"/${PN}/bash_completion.d/python-argcomplete.sh 
python-${PN}
-}

diff --git a/dev-python/argcomplete/argcomplete-1.8.2.ebuild 
b/dev-python/argcomplete/argcomplete-1.8.2.ebuild
deleted file mode 100644
index 6ed17da9c81..00000000000
--- a/dev-python/argcomplete/argcomplete-1.8.2.ebuild
+++ /dev/null
@@ -1,32 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-PYTHON_COMPAT=( python{2_7,3_4,3_5} pypy pypy3 )
-
-inherit bash-completion-r1 distutils-r1
-
-DESCRIPTION="Bash tab completion for argparse"
-HOMEPAGE="https://pypi.python.org/pypi/argcomplete";
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
-
-SLOT="0"
-LICENSE="Apache-2.0"
-KEYWORDS="~amd64 ~x86 ~arm ~amd64-linux ~x86-linux ~x64-macos"
-IUSE="test"
-
-DEPEND="
-       dev-python/setuptools[${PYTHON_USEDEP}]
-       test? ( dev-python/pexpect[${PYTHON_USEDEP}] )"
-
-PATCHES=( "${FILESDIR}/${P}-disable-tcsh-tests.patch" )
-
-python_test() {
-       "${EPYTHON}" test/test.py || die
-}
-
-python_install_all() {
-       distutils-r1_python_install_all
-       newbashcomp "${S}"/${PN}/bash_completion.d/python-argcomplete.sh 
python-${PN}
-}

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
deleted file mode 100644
index ee866c39d11..00000000000
--- a/dev-python/argcomplete/files/argcomplete-1.8.2-disable-tcsh-tests.patch
+++ /dev/null
@@ -1,35 +0,0 @@
---- a/test/test.py     2017-07-10 21:18:13.701472836 +0000
-+++ b/test/test.py     2017-07-10 21:18:44.021473430 +0000
-@@ -1041,32 +1041,6 @@
-             self.assertEqual(self.sh.run_command('python ./prog basic f\t'), 
'foo\r\n')
- 
- 
--class TestTcsh(_TestSh, unittest.TestCase):
--    expected_failures = [
--        'test_unquoted_space',
--        'test_quoted_space',
--        'test_continuation',
--        'test_parse_special_characters',
--        'test_parse_special_characters_dollar',
--    ]
--
--    def setUp(self):
--        sh = Shell('tcsh')
--        path = ' '.join([os.path.join(BASE_DIR, 'scripts'), TEST_DIR, 
'$path'])
--        sh.run_command('set path = ({0})'.format(path))
--        sh.run_command('setenv PYTHONPATH {0}'.format(BASE_DIR))
--        output = sh.run_command('eval `register-python-argcomplete --shell 
tcsh prog`')
--        self.assertEqual(output, '')
--        self.sh = sh
--
--    def tearDown(self):
--        # The shell wrapper is fragile; exactly which exception is raised
--        # differs depending on environment.
--        with self.assertRaises((pexpect.EOF, OSError)):
--            self.sh.run_command('exit')
--            self.sh.run_command('')
--
--
- class Shell(object):
-     def __init__(self, shell):
-         self.child = pexpect.spawn(shell, encoding='utf-8')

Reply via email to