commit:     449dede36f285d579ad985979ed2ed20107ffd70
Author:     Patrick McLean <chutzpah <AT> gentoo <DOT> org>
AuthorDate: Wed Apr  4 00:03:55 2018 +0000
Commit:     Patrick McLean <chutzpah <AT> gentoo <DOT> org>
CommitDate: Wed Apr  4 22:02:14 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=449dede3

app-admin/salt: Remove old versions and unused files (bug #650192)

Closes: https://bugs.gentoo.org/650192
Reported-by: Michael Mair-Keimberger <m.mairkeimberger <AT> gmail.com>
Suggested-by: Michael Mair-Keimberger <m.mairkeimberger <AT> gmail.com>
Package-Manager: Portage-2.3.28, Repoman-2.3.9

 app-admin/salt/Manifest                            |   2 -
 .../salt-2014.7.1-remove-pydsl-includes-test.patch | 104 --------------
 .../salt/files/salt-2015.5.10-buggy-tests.patch    |  38 ------
 .../salt/files/salt-2015.5.5-auth-tests.patch      |  34 -----
 .../salt/files/salt-2015.5.5-cron-tests.patch      |  17 ---
 .../files/salt-2015.5.5-remove-buggy-tests.patch   |  46 -------
 app-admin/salt/files/salt-2015.5.7-tmpdir.patch    |  37 -----
 .../files/salt-2015.8.0-remove-buggy-tests.patch   |  56 --------
 .../salt-2015.8.10-remove-failing-boto-test.patch  |  35 -----
 .../salt-2015.8.13-failing-gateway-tests.patch     |  69 ----------
 .../salt-2015.8.13-sanitize-minion-name.patch      |  36 -----
 app-admin/salt/files/salt-2015.8.2-tmpdir.patch    |  56 --------
 .../files/salt-2016.3.4-dont-test-ordering.patch   |  33 -----
 app-admin/salt/files/salt-2016.3.5-tmpdir.patch    |  47 -------
 app-admin/salt/salt-2016.11.8-r1.ebuild            | 149 --------------------
 app-admin/salt/salt-2017.7.2-r2.ebuild             | 143 --------------------
 app-admin/salt/salt-2017.7.4-r2.ebuild             | 150 ---------------------
 17 files changed, 1052 deletions(-)

diff --git a/app-admin/salt/Manifest b/app-admin/salt/Manifest
index c873e6b2f83..945d1058453 100644
--- a/app-admin/salt/Manifest
+++ b/app-admin/salt/Manifest
@@ -1,5 +1,3 @@
-DIST salt-2016.11.8.tar.gz 10142142 BLAKE2B 
e6805dae84c0d2e39109c95f603fcb54e1b7d7ff6c27ce555379b69274b3a5d72a1e372081a62c18440deb0955c1ef24a41c5d855a5e622f2ffe51276bd87b25
 SHA512 
0adc544ca460d13d2adb11b04575bd079a3dad1be3468bea7d32d0b74416b78546e4c86c75551bba09786be8e9810a6e30232414c4f5851cbc9a0fb4b894e0de
 DIST salt-2016.11.9.tar.gz 10062996 BLAKE2B 
5176d04d07a69de21c9c136c201d334614c5675fd78e306a0160fae829b633441cd859f4ba1a0822dfbb9ae716475c53f6eb058187d4acc8a5770dd4ceace577
 SHA512 
896fd27c111e926e246b51d00b69d41c8f4d25ec0c034c9ff3dc5414f5e93592fd637cdeaecf02b3b98a4e5a7ce478bfda86b15497961078374608d76516593d
-DIST salt-2017.7.2.tar.gz 11471191 BLAKE2B 
0b7184eb4dcb29f2a9603117d1c6fb9c729093c1ff11e18370929ec3fdbfe7bf8c0914f17260c3f613842c23359205a4a84d3e0bcd67476705e50f805bcd7b69
 SHA512 
959cec404f0fa7c00f78427cba902b8b9c2c0d95016fc70925d8da6d0b97a0284fc034ac92a5c5c313763db4fdcbd1b0391318596b77fe8e0cd1c7e4b3fa928b
 DIST salt-2017.7.4.tar.gz 11718327 BLAKE2B 
c197284ee56d039ee7942534af979f0606093ebdf40e0b11a55ca28a2f64c4b584b09b0901d5cb2c350f4ede52636e7927bbed48355d731472970eda5e32632f
 SHA512 
79d7853c2614ed581e441babe6fbb73809816ec53aa47016b5066b771de449d4dcc999927d7e1c92c5ca68c816d27779e34e31ec1408d473a07120d62846de73
 DIST salt-2017.7.5.tar.gz 11043026 BLAKE2B 
9cae4e6ca3b0bac0dc0b9b9a5ae01e0bfb8e8b899aa029b324ac10c8c84024bbc419ace068cd0d2bff84ec6ddf1d13faf68ce34c68c19892c700c38e81da8c7c
 SHA512 
684ffde7d98c73349b386c94de3d9fc09631a78c5d74e37e6dfd90fbb0c94decc529f56b1eba1559ce9932b16083f88e6495ff6cdf071b32a23028e9db47cc3d

diff --git 
a/app-admin/salt/files/salt-2014.7.1-remove-pydsl-includes-test.patch 
b/app-admin/salt/files/salt-2014.7.1-remove-pydsl-includes-test.patch
deleted file mode 100644
index 7c33c12f5c7..00000000000
--- a/app-admin/salt/files/salt-2014.7.1-remove-pydsl-includes-test.patch
+++ /dev/null
@@ -1,104 +0,0 @@
-diff --git a/tests/unit/pydsl_test.py b/tests/unit/pydsl_test.py
-index 57ba81e..b26154e 100644
---- a/tests/unit/pydsl_test.py
-+++ b/tests/unit/pydsl_test.py
-@@ -298,99 +298,6 @@ class PyDSLRendererTestCase(TestCase):
-         finally:
-             shutil.rmtree(dirpath, ignore_errors=True)
- 
--    def test_rendering_includes(self):
--        dirpath = tempfile.mkdtemp(dir=integration.SYS_TMP_DIR)
--        if not os.path.isdir(dirpath):
--            self.skipTest(
--                'The temporary directory {0!r} was not created'.format(
--                    dirpath
--                )
--            )
--        output = os.path.join(dirpath, 'output')
--        try:
--            write_to(os.path.join(dirpath, 'aaa.sls'), textwrap.dedent('''\
--                #!pydsl|stateconf -ps
--
--                include('xxx')
--                yyy = include('yyy')
--
--                # ensure states in xxx are run first, then those in yyy and 
then those in aaa last.
--                
extend(state('yyy::start').stateconf.require(stateconf='xxx::goal'))
--                
extend(state('.start').stateconf.require(stateconf='yyy::goal'))
--
--                extend(state('yyy::Y2').cmd.run('echo Y2 extended >> {0}'))
--
--                __pydsl__.set(ordered=True)
--
--                yyy.hello('red', 1)
--                yyy.hello('green', 2)
--                yyy.hello('blue', 3)
--                '''.format(output)))
--
--            write_to(os.path.join(dirpath, 'xxx.sls'), textwrap.dedent('''\
--                #!stateconf -os yaml . jinja
--
--                include:
--                  - yyy
--
--                extend:
--                  yyy::start:
--                    stateconf.set:
--                      - require:
--                        - stateconf: .goal
--
--                  yyy::Y1:
--                    cmd.run:
--                      - name: 'echo Y1 extended >> {0}'
--
--                .X1:
--                  cmd.run:
--                    - name: echo X1 >> {1}
--                    - cwd: /
--                .X2:
--                  cmd.run:
--                    - name: echo X2 >> {2}
--                    - cwd: /
--                .X3:
--                  cmd.run:
--                    - name: echo X3 >> {3}
--                    - cwd: /
--
--                '''.format(output, output, output, output)))
--
--            write_to(os.path.join(dirpath, 'yyy.sls'), textwrap.dedent('''\
--                #!pydsl|stateconf -ps
--
--                include('xxx')
--                __pydsl__.set(ordered=True)
--
--                state('.Y1').cmd.run('echo Y1 >> {0}', cwd='/')
--                state('.Y2').cmd.run('echo Y2 >> {1}', cwd='/')
--                state('.Y3').cmd.run('echo Y3 >> {2}', cwd='/')
--
--                def hello(color, number):
--                    state(color).cmd.run('echo hello '+color+' 
'+str(number)+' >> {3}', cwd='/')
--                '''.format(output, output, output, output)))
--
--            state_highstate({'base': ['aaa']}, dirpath)
--            expected = textwrap.dedent('''\
--                X1
--                X2
--                X3
--                Y1 extended
--                Y2 extended
--                Y3
--                hello red 1
--                hello green 2
--                hello blue 3
--                ''')
--
--            with salt.utils.fopen(output, 'r') as f:
--                self.assertEqual(sorted(f.read()), sorted(expected))
--
--        finally:
--            shutil.rmtree(dirpath, ignore_errors=True)
--
-     def test_compile_time_state_execution(self):
-         if not sys.stdin.isatty():
-             self.skipTest('Not attached to a TTY')

diff --git a/app-admin/salt/files/salt-2015.5.10-buggy-tests.patch 
b/app-admin/salt/files/salt-2015.5.10-buggy-tests.patch
deleted file mode 100644
index e9330bd255b..00000000000
--- a/app-admin/salt/files/salt-2015.5.10-buggy-tests.patch
+++ /dev/null
@@ -1,38 +0,0 @@
-diff --git a/tests/unit/modules/boto_vpc_test.py 
b/tests/unit/modules/boto_vpc_test.py
-index 82dfe28..ced9ee5 100644
---- a/tests/unit/modules/boto_vpc_test.py
-+++ b/tests/unit/modules/boto_vpc_test.py
-@@ -441,9 +441,9 @@ class BotoVpcTestCase(BotoVpcTestCaseBase):
-         describe_vpc = boto_vpc.describe(vpc_id=vpc.id, **conn_parameters)
- 
-         vpc_properties = dict(cidr_block=unicode(cidr_block),
--                              is_default=None,
-+                              is_default=False,
-                               state=u'available',
--                              tags={'Name': 'test', 'test': 'testvalue'},
-+                              tags={u'Name': u'test', u'test': u'testvalue'},
-                               dhcp_options_id=u'dopt-7a8b9c2d',
-                               instance_tenancy=u'default')
- 
-diff --git a/tests/unit/states/pip_test.py b/tests/unit/states/pip_test.py
-index 6e7d083..9a83951 100644
---- a/tests/unit/states/pip_test.py
-+++ b/tests/unit/states/pip_test.py
-@@ -37,17 +37,6 @@ class PipStateTest(TestCase, 
integration.SaltReturnAssertsMixIn):
-     def test_install_requirements_parsing(self):
-         mock = MagicMock(return_value={'retcode': 0, 'stdout': ''})
-         pip_list = MagicMock(return_value={'pep8': '1.3.3'})
--        with patch.dict(pip_state.__salt__, {'cmd.run_all': mock,
--                                             'pip.list': pip_list}):
--            with patch.dict(pip_state.__opts__, {'test': True}):
--                ret = pip_state.installed('pep8=1.3.2')
--                self.assertSaltFalseReturn({'test': ret})
--                self.assertInSaltComment(
--                    'Invalid version specification in package pep8=1.3.2. '
--                    '\'=\' is not supported, use \'==\' instead.',
--                    {'test': ret}
--                )
--
-         mock = MagicMock(return_value={'retcode': 0, 'stdout': ''})
-         pip_list = MagicMock(return_value={'pep8': '1.3.3'})
-         pip_install = MagicMock(return_value={'retcode': 0})

diff --git a/app-admin/salt/files/salt-2015.5.5-auth-tests.patch 
b/app-admin/salt/files/salt-2015.5.5-auth-tests.patch
deleted file mode 100644
index fa092d1f3ea..00000000000
--- a/app-admin/salt/files/salt-2015.5.5-auth-tests.patch
+++ /dev/null
@@ -1,34 +0,0 @@
-diff --git a/tests/unit/auth_test.py b/tests/unit/auth_test.py
-index 10b77e9..c40f439 100644
---- a/tests/unit/auth_test.py
-+++ b/tests/unit/auth_test.py
-@@ -38,12 +38,12 @@ class LoadAuthTestCase(TestCase):
- 
-         # Test a case with valid params
-         with patch('salt.utils.format_call') as format_call_mock:
--            expected_ret = call('fake_func_str', {
-+            expected_ret = [call('fake_func_str', {
-                 'username': 'test_user',
-                 'test_password': '',
-                 'show_timeout': False,
-                 'eauth': 'pam'
--            }, expected_extra_kws=auth.AUTH_INTERNAL_KEYWORDS)
-+            }, expected_extra_kws=auth.AUTH_INTERNAL_KEYWORDS)]
-             ret = self.lauth.load_name(valid_eauth_load)
-             format_call_mock.assert_has_calls(expected_ret)
- 
-@@ -53,12 +53,12 @@ class LoadAuthTestCase(TestCase):
-                             'test_password': '',
-                             'eauth': 'pam'}
-         with patch('salt.utils.format_call') as format_call_mock:
--            expected_ret = call('fake_groups_function_str', {
-+            expected_ret = [call('fake_groups_function_str', {
-                 'username': 'test_user',
-                 'test_password': '',
-                 'show_timeout': False,
-                 'eauth': 'pam'
--                }, expected_extra_kws=auth.AUTH_INTERNAL_KEYWORDS)
-+                }, expected_extra_kws=auth.AUTH_INTERNAL_KEYWORDS)]
-             self.lauth.get_groups(valid_eauth_load)
-             format_call_mock.assert_has_calls(expected_ret)
- 

diff --git a/app-admin/salt/files/salt-2015.5.5-cron-tests.patch 
b/app-admin/salt/files/salt-2015.5.5-cron-tests.patch
deleted file mode 100644
index d0c4ffc92df..00000000000
--- a/app-admin/salt/files/salt-2015.5.5-cron-tests.patch
+++ /dev/null
@@ -1,17 +0,0 @@
-diff --git a/tests/unit/modules/cron_test.py b/tests/unit/modules/cron_test.py
-index 017eabd..dac0122 100644
---- a/tests/unit/modules/cron_test.py
-+++ b/tests/unit/modules/cron_test.py
-@@ -573,10 +573,10 @@ class PsTestCase(TestCase):
-     @patch('salt.modules.cron._write_cron_lines')
-     @patch('salt.modules.cron.list_tab', 
new=MagicMock(return_value=STUB_SIMPLE_CRON_DICT))
-     def test_set_special(self, write_cron_lines_mock):
--        expected_write_call = call('DUMMY_USER',
-+        expected_write_call = [call('DUMMY_USER',
-                                    ['5 0 * * * /tmp/no_script.sh\n',
-                                     '# Lines below here are managed by Salt, 
do not edit\n',
--                                    '@hourly echo Hi!\n'])
-+                                    '@hourly echo Hi!\n'])]
-         ret = cron.set_special('DUMMY_USER', '@hourly', 'echo Hi!')
-         write_cron_lines_mock.assert_has_calls(expected_write_call)
- 

diff --git a/app-admin/salt/files/salt-2015.5.5-remove-buggy-tests.patch 
b/app-admin/salt/files/salt-2015.5.5-remove-buggy-tests.patch
deleted file mode 100644
index b36e35fb9a5..00000000000
--- a/app-admin/salt/files/salt-2015.5.5-remove-buggy-tests.patch
+++ /dev/null
@@ -1,46 +0,0 @@
-diff --git a/tests/unit/modules/darwin_sysctl_test.py 
b/tests/unit/modules/darwin_sysctl_test.py
-index 51e8f23..36d005f 100644
---- a/tests/unit/modules/darwin_sysctl_test.py
-+++ b/tests/unit/modules/darwin_sysctl_test.py
-@@ -64,18 +64,6 @@ class DarwinSysctlTestCase(TestCase):
-                 'net.inet.icmp.icmplim', 50), ret)
- 
-     @patch('os.path.isfile', MagicMock(return_value=False))
--    def test_persist_no_conf_failure(self):
--        '''
--        Tests adding of config file failure
--        '''
--        with patch('salt.utils.fopen', mock_open()) as m_open:
--            helper_open = m_open()
--            helper_open.write.assertRaises(CommandExecutionError,
--                                           darwin_sysctl.persist,
--                                           'net.inet.icmp.icmplim',
--                                           50, config=None)
--
--    @patch('os.path.isfile', MagicMock(return_value=False))
-     def test_persist_no_conf_success(self):
-         '''
-         Tests successful add of config file when previously not one
-diff --git a/tests/unit/modules/linux_sysctl_test.py 
b/tests/unit/modules/linux_sysctl_test.py
-index 08fc80f..c6e40b8 100644
---- a/tests/unit/modules/linux_sysctl_test.py
-+++ b/tests/unit/modules/linux_sysctl_test.py
-@@ -82,18 +82,6 @@ class LinuxSysctlTestCase(TestCase):
-                 'net.ipv4.ip_forward', 1), ret)
- 
-     @patch('os.path.isfile', MagicMock(return_value=False))
--    def test_persist_no_conf_failure(self):
--        '''
--        Tests adding of config file failure
--        '''
--        with patch('salt.utils.fopen', mock_open()) as m_open:
--            helper_open = m_open()
--            helper_open.write.assertRaises(CommandExecutionError,
--                                           linux_sysctl.persist,
--                                           'net.ipv4.ip_forward',
--                                           1, config=None)
--
--    @patch('os.path.isfile', MagicMock(return_value=False))
-     def test_persist_no_conf_success(self):
-         '''
-         Tests successful add of config file when previously not one

diff --git a/app-admin/salt/files/salt-2015.5.7-tmpdir.patch 
b/app-admin/salt/files/salt-2015.5.7-tmpdir.patch
deleted file mode 100644
index 8a19c32e0f7..00000000000
--- a/app-admin/salt/files/salt-2015.5.7-tmpdir.patch
+++ /dev/null
@@ -1,37 +0,0 @@
-diff --git a/tests/unit/modules/grains_test.py 
b/tests/unit/modules/grains_test.py
-index 3473c03..ea37d66 100644
---- a/tests/unit/modules/grains_test.py
-+++ b/tests/unit/modules/grains_test.py
-@@ -1,6 +1,8 @@
- # -*- coding: utf-8 -*-
- 
- import copy
-+import os.path
-+import tempfile
- 
- # Import Salt Testing libs
- from salttesting import TestCase, skipIf
-@@ -20,8 +22,8 @@ from salt.modules import grains as grainsmod
- from salt.utils import dictupdate
- 
- grainsmod.__opts__ = {
--  'conf_file': '/tmp/__salt_test_grains',
--  'cachedir':  '/tmp/__salt_test_grains_cache_dir'
-+  'conf_file': os.path.join(tempfile.gettempdir(), '__salt_test_grains'),
-+  'cachedir':  os.path.join(tempfile.gettempdir(), 
'__salt_test_grains_cache_dir')
- }
- 
- grainsmod.__salt__ = {}
-diff --git a/tests/unit/states/archive_test.py 
b/tests/unit/states/archive_test.py
-index 3cfb2f0..b3f3bee 100644
---- a/tests/unit/states/archive_test.py
-+++ b/tests/unit/states/archive_test.py
-@@ -69,7 +69,7 @@ class ArchiveTest(TestCase):
-                                                    'cmd.run_all': mock_run}):
-                     filename = os.path.join(
-                         tmp_dir,
--                        'files/test/_tmp_test_archive_.tar'
-+                        'files/test/' + tempfile.gettempdir().replace('/', 
'_') + '_test_archive_.tar'
-                     )
-                     for test_opts, ret_opts in zip(test_tar_opts, 
ret_tar_opts):
-                         ret = archive.extracted(tmp_dir,

diff --git a/app-admin/salt/files/salt-2015.8.0-remove-buggy-tests.patch 
b/app-admin/salt/files/salt-2015.8.0-remove-buggy-tests.patch
deleted file mode 100644
index 92ab0624e59..00000000000
--- a/app-admin/salt/files/salt-2015.8.0-remove-buggy-tests.patch
+++ /dev/null
@@ -1,56 +0,0 @@
-diff --git a/tests/unit/modules/mount_test.py 
b/tests/unit/modules/mount_test.py
-index 282539d..c88a7a8 100644
---- a/tests/unit/modules/mount_test.py
-+++ b/tests/unit/modules/mount_test.py
-@@ -103,12 +103,6 @@ class MountTestCase(TestCase):
-             self.assertTrue(mount.rm_fstab('name', 'device'))
- 
-         mock = MagicMock(return_value={'name': 'name'})
--        with patch.object(mount, 'fstab', mock):
--            with patch('salt.utils.fopen', mock_open()) as m_open:
--                helper_open = m_open()
--                helper_open.write.assertRaises(CommandExecutionError,
--                                               mount.rm_fstab,
--                                               config=None)
- 
-     def test_set_fstab(self):
-         '''
-@@ -143,12 +137,6 @@ class MountTestCase(TestCase):
-             self.assertTrue(mount.rm_automaster('name', 'device'))
- 
-         mock = MagicMock(return_value={'name': 'name'})
--        with patch.object(mount, 'fstab', mock):
--            with patch('salt.utils.fopen', mock_open()) as m_open:
--                helper_open = m_open()
--                helper_open.write.assertRaises(CommandExecutionError,
--                                               mount.rm_automaster,
--                                               'name', 'device')
- 
-     def test_set_automaster(self):
-         '''
-diff --git a/tests/unit/modules/puppet_test.py 
b/tests/unit/modules/puppet_test.py
-index 6a43fd4..3be039c 100644
---- a/tests/unit/modules/puppet_test.py
-+++ b/tests/unit/modules/puppet_test.py
-@@ -91,10 +91,6 @@ class PuppetTestCase(TestCase):
-                     with patch('salt.utils.fopen', mock_open()):
-                         self.assertTrue(puppet.disable())
- 
--                    with patch('salt.utils.fopen', mock_open()) as m_open:
--                        helper_open = m_open()
--                        helper_open.write.assertRaises(CommandExecutionError,
--                                                       puppet.disable)
- 
-     def test_status(self):
-         '''
-@@ -154,10 +150,6 @@ class PuppetTestCase(TestCase):
-                            mock_open(read_data="resources: 1")):
-                     self.assertDictEqual(puppet.summary(), {'resources': 1})
- 
--                with patch('salt.utils.fopen', mock_open()) as m_open:
--                    helper_open = m_open()
--                    helper_open.write.assertRaises(CommandExecutionError,
--                                                   puppet.summary)
- 
-     def test_plugin_sync(self):
-         '''

diff --git a/app-admin/salt/files/salt-2015.8.10-remove-failing-boto-test.patch 
b/app-admin/salt/files/salt-2015.8.10-remove-failing-boto-test.patch
deleted file mode 100644
index 5a4d273d784..00000000000
--- a/app-admin/salt/files/salt-2015.8.10-remove-failing-boto-test.patch
+++ /dev/null
@@ -1,35 +0,0 @@
-diff --git a/tests/unit/modules/boto_secgroup_test.py 
b/tests/unit/modules/boto_secgroup_test.py
-index f1c6bb1..07fd8ec 100644
---- a/tests/unit/modules/boto_secgroup_test.py
-+++ b/tests/unit/modules/boto_secgroup_test.py
-@@ -192,30 +192,6 @@ class BotoSecgroupTestCase(TestCase):
-                                                         **conn_parameters)
-         self.assertEqual(group_vpc.id, retrieved_group_id)
- 
--    @mock_ec2
--    def test_get_config_single_rule_group_name(self):
--        '''
--        tests return of 'config' when given group name. get_config returns an 
OrderedDict.
--        '''
--        group_name = _random_group_name()
--        ip_protocol = u'tcp'
--        from_port = 22
--        to_port = 22
--        cidr_ip = u'0.0.0.0/0'
--        rules_egress = [{'to_port': -1, 'from_port': -1, 'ip_protocol': 
u'-1', 'cidr_ip': u'0.0.0.0/0'}]
--
--        conn = boto.ec2.connect_to_region(region, **boto_conn_parameters)
--        group = conn.create_security_group(name=group_name, 
description=group_name)
--        group.authorize(ip_protocol=ip_protocol, from_port=from_port, 
to_port=to_port, cidr_ip=cidr_ip)
--        # setup the expected get_config result
--        expected_get_config_result = OrderedDict([('name', group.name), 
('group_id', group.id), ('owner_id', u'111122223333'),
--                                                 ('description', 
group.description),
--                                                 ('rules', [{'to_port': 
to_port, 'from_port': from_port,
--                                                  'ip_protocol': ip_protocol, 
'cidr_ip': cidr_ip}]),
--                                                 ('rules_egress', 
rules_egress)])
--        secgroup_get_config_result = 
boto_secgroup.get_config(group_id=group.id, **conn_parameters)
--        self.assertEqual(expected_get_config_result, 
secgroup_get_config_result)
--
-     @skipIf(True, 'test skipped due to error in moto return - fixed in '
-                   
'https://github.com/spulec/moto/commit/cc0166964371f7b5247a49d45637a8f936ccbe6f')
-     @mock_ec2

diff --git a/app-admin/salt/files/salt-2015.8.13-failing-gateway-tests.patch 
b/app-admin/salt/files/salt-2015.8.13-failing-gateway-tests.patch
deleted file mode 100644
index 7d8512b14ef..00000000000
--- a/app-admin/salt/files/salt-2015.8.13-failing-gateway-tests.patch
+++ /dev/null
@@ -1,69 +0,0 @@
-diff --git a/tests/unit/states/boto_vpc_test.py 
b/tests/unit/states/boto_vpc_test.py
-index 53b6a24e4d..96b5630627 100644
---- a/tests/unit/states/boto_vpc_test.py
-+++ b/tests/unit/states/boto_vpc_test.py
-@@ -179,16 +179,6 @@ class BotoVpcResourceTestCaseMixin(BotoVpcTestCaseMixin):
-         self.assertTrue(exists)
- 
-     @mock_ec2
--    def test_present_when_resource_exists(self):
--        vpc = self._create_vpc(name='test')
--        resource = self._create_resource(vpc_id=vpc.id, name='test')
--        with patch.dict('salt.utils.boto.__salt__', funcs):
--            resource_present_result = 
salt_states['boto_vpc.{0}_present'.format(self.resource_type)](
--                    name='test', vpc_name='test', **self.extra_kwargs)
--        self.assertTrue(resource_present_result['result'])
--        self.assertEqual(resource_present_result['changes'], {})
--
--    @mock_ec2
-     @skipIf(True, 'Disabled pending 
https://github.com/spulec/moto/issues/493')
-     def test_present_with_failure(self):
-         vpc = self._create_vpc(name='test')
-@@ -210,18 +200,6 @@ class BotoVpcResourceTestCaseMixin(BotoVpcTestCaseMixin):
-         self.assertEqual(resource_absent_result['changes'], {})
- 
-     @mock_ec2
--    def test_absent_when_resource_exists(self):
--        vpc = self._create_vpc(name='test')
--        self._create_resource(vpc_id=vpc.id, name='test')
--
--        with patch.dict('salt.utils.boto.__salt__', funcs):
--            resource_absent_result = 
salt_states['boto_vpc.{0}_absent'.format(self.resource_type)]('test')
--        self.assertTrue(resource_absent_result['result'])
--        
self.assertEqual(resource_absent_result['changes']['new'][self.resource_type], 
None)
--        exists = funcs['boto_vpc.resource_exists'](self.resource_type, 
'test').get('exists')
--        self.assertFalse(exists)
--
--    @mock_ec2
-     @skipIf(True, 'Disabled pending 
https://github.com/spulec/moto/issues/493')
-     def test_absent_with_failure(self):
-         vpc = self._create_vpc(name='test')
-@@ -293,28 +271,3 @@ class BotoVpcRouteTableTestCase(BotoVpcStateTestCaseBase, 
BotoVpcResourceTestCas
- 
-         new_subnets = changes['new']['subnets_associations']
-         self.assertEqual(new_subnets[0]['subnet_id'], subnet2.id)
--
--    @mock_ec2
--    def test_present_with_routes(self):
--        vpc = self._create_vpc(name='test')
--        igw = self._create_internet_gateway(name='test', vpc_id=vpc.id)
--
--        route_table_present_result = 
salt_states['boto_vpc.route_table_present'](
--                name='test', vpc_name='test', 
routes=[{'destination_cidr_block': '0.0.0.0/0',
--                                                       'gateway_id': igw.id},
--                                                      
{'destination_cidr_block': '10.0.0.0/24',
--                                                       'gateway_id': 
'local'}])
--        routes = [x['gateway_id'] for x in 
route_table_present_result['changes']['new']['routes']]
--
--        self.assertEqual(set(routes), set(['local', igw.id]))
--
--        route_table_present_result = 
salt_states['boto_vpc.route_table_present'](
--                name='test', vpc_name='test', 
routes=[{'destination_cidr_block': '10.0.0.0/24',
--                                                       'gateway_id': 
'local'}])
--
--        changes = route_table_present_result['changes']
--
--        old_routes = [x['gateway_id'] for x in changes['old']['routes']]
--        self.assertEqual(set(routes), set(old_routes))
--
--        self.assertEqual(changes['new']['routes'][0]['gateway_id'], 'local')

diff --git a/app-admin/salt/files/salt-2015.8.13-sanitize-minion-name.patch 
b/app-admin/salt/files/salt-2015.8.13-sanitize-minion-name.patch
deleted file mode 100644
index df9e0f66d00..00000000000
--- a/app-admin/salt/files/salt-2015.8.13-sanitize-minion-name.patch
+++ /dev/null
@@ -1,36 +0,0 @@
-From aa87d67258a5b6742fc53d06c7bdac0f643bc9f1 Mon Sep 17 00:00:00 2001
-From: Ch3LL <megan.wilh...@gmail.com>
-Date: Tue, 1 Aug 2017 13:44:32 -0400
-Subject: [PATCH] Add clean_id function to salt.utils.verify.py
-
----
- salt/utils/verify.py | 11 ++++++++++-
- 1 file changed, 10 insertions(+), 1 deletion(-)
-
-diff --git a/salt/utils/verify.py b/salt/utils/verify.py
-index 5cac0fa651b..a3dc67db336 100644
---- a/salt/utils/verify.py
-+++ b/salt/utils/verify.py
-@@ -484,12 +484,21 @@ def clean_path(root, path, subdir=False):
-     return ''
- 
- 
-+def clean_id(id_):
-+    '''
-+    Returns if the passed id is clean.
-+    '''
-+    if re.search(r'\.\.{sep}'.format(sep=os.sep), id_):
-+        return False
-+    return True
-+
-+
- def valid_id(opts, id_):
-     '''
-     Returns if the passed id is valid
-     '''
-     try:
--        return bool(clean_path(opts['pki_dir'], id_))
-+        return bool(clean_path(opts['pki_dir'], id_)) and clean_id(id_)
-     except (AttributeError, KeyError) as e:
-         return False
- 

diff --git a/app-admin/salt/files/salt-2015.8.2-tmpdir.patch 
b/app-admin/salt/files/salt-2015.8.2-tmpdir.patch
deleted file mode 100644
index 871551e0e50..00000000000
--- a/app-admin/salt/files/salt-2015.8.2-tmpdir.patch
+++ /dev/null
@@ -1,56 +0,0 @@
-diff --git a/tests/unit/modules/qemu_nbd_test.py 
b/tests/unit/modules/qemu_nbd_test.py
-index 615e6b5..fbd24aa 100644
---- a/tests/unit/modules/qemu_nbd_test.py
-+++ b/tests/unit/modules/qemu_nbd_test.py
-@@ -77,6 +77,7 @@ class QemuNbdTestCase(TestCase):
-         Test if it mount the named image via qemu-nbd
-         and return the mounted roots
-         '''
-+        tmpdir = os.environ.get('TMPDIR', '/tmp')
-         mock = MagicMock(return_value=True)
-         with patch.dict(qemu_nbd.__salt__, {'cmd.run': mock}):
-             self.assertEqual(qemu_nbd.init('/srv/image.qcow2'), '')
-@@ -89,7 +90,7 @@ class QemuNbdTestCase(TestCase):
-                                  'mount.mount': mock,
-                                  'cmd.retcode': MagicMock(side_effect=[1, 
0])}):
-                     self.assertDictEqual(qemu_nbd.init('/srv/image.qcow2'),
--                                         {'/tmp/nbd/nbd0/nbd0': '/dev/nbd0'})
-+                                         {os.path.join(tmpdir, 
'nbd/nbd0/nbd0'): '/dev/nbd0'})
- 
-     # 'clear' function tests: 1
- 
-diff --git a/tests/unit/states/archive_test.py 
b/tests/unit/states/archive_test.py
-index 63e4a53..20b196f 100644
---- a/tests/unit/states/archive_test.py
-+++ b/tests/unit/states/archive_test.py
-@@ -26,7 +26,7 @@ from salt.ext.six.moves import zip  # pylint: 
disable=import-error,redefined-bui
- 
- # Globals
- archive.__salt__ = {}
--archive.__opts__ = {"cachedir": "/tmp", "test": False}
-+archive.__opts__ = {"cachedir": os.environ.get('TMPDIR', "/tmp"), "test": 
False}
- archive.__env__ = 'test'
- 
- 
-@@ -75,7 +75,7 @@ class ArchiveTestCase(TestCase):
-                                                    'cmd.run_all': mock_run}):
-                     filename = os.path.join(
-                         tmp_dir,
--                        'files/test/_tmp_test_archive_.tar'
-+                        'files/test/' + tempfile.gettempdir().replace('/', 
'_') + '_test_archive_.tar'
-                     )
-                     for test_opts, ret_opts in zip(test_tar_opts, 
ret_tar_opts):
-                         ret = archive.extracted(tmp_dir,
-diff --git a/tests/unit/utils/context_test.py 
b/tests/unit/utils/context_test.py
-index 71e4330..d6f3f30 100644
---- a/tests/unit/utils/context_test.py
-+++ b/tests/unit/utils/context_test.py
-@@ -18,7 +18,7 @@ import salt.payload
- import salt.utils
- 
- __context__ = {'a': 'b'}
--__opts__ = {'cachedir': '/tmp'}
-+__opts__ = {'cachedir': os.environ.get('TMPDIR', '/tmp')}
- 
- 
- @skipIf(NO_MOCK, NO_MOCK_REASON)

diff --git a/app-admin/salt/files/salt-2016.3.4-dont-test-ordering.patch 
b/app-admin/salt/files/salt-2016.3.4-dont-test-ordering.patch
deleted file mode 100644
index c27227571ad..00000000000
--- a/app-admin/salt/files/salt-2016.3.4-dont-test-ordering.patch
+++ /dev/null
@@ -1,33 +0,0 @@
-diff --git a/tests/unit/modules/inspect_collector_test.py 
b/tests/unit/modules/inspect_collector_test.py
-index 9d2fa3ada7..710bbd75a5 100644
---- a/tests/unit/modules/inspect_collector_test.py
-+++ b/tests/unit/modules/inspect_collector_test.py
-@@ -36,28 +36,6 @@ class InspectorCollectorTestCase(TestCase):
-         self.assertEqual(inspector.dbfile, '/foo/cache/_minion_collector.db')
-         self.assertEqual(inspector.pidfile, '/foo/pid/bar.pid')
- 
--    def test_file_tree(self):
--        '''
--        Test file tree.
--
--        :return:
--        '''
--
--        inspector = Inspector(cachedir='/test', piddir='/test', 
pidfilename='bar.pid')
--        tree_root = os.path.join(os.path.dirname(os.path.abspath(__file__)), 
'inspectlib', 'tree_test')
--        expected_tree = (['/a/a/dummy.a', '/a/b/dummy.b', '/b/b.1', '/b/b.2', 
'/b/b.3'],
--                         ['/a', '/a/a', '/a/b', '/a/c', '/b', '/c'],
--                         ['/a/a/dummy.ln.a', '/a/b/dummy.ln.b', '/a/c/b.1', 
'/b/b.4',
--                          '/b/b.5', '/c/b.1', '/c/b.2', '/c/b.3'])
--        tree_result = []
--        for chunk in inspector._get_all_files(tree_root):
--            buff = []
--            for pth in chunk:
--                buff.append(pth.replace(tree_root, ''))
--            tree_result.append(buff)
--        tree_result = tuple(tree_result)
--        self.assertEqual(expected_tree, tree_result)
--
-     def test_get_unmanaged_files(self):
-         '''
-         Test get_unmanaged_files.

diff --git a/app-admin/salt/files/salt-2016.3.5-tmpdir.patch 
b/app-admin/salt/files/salt-2016.3.5-tmpdir.patch
deleted file mode 100644
index dce4f09f2a0..00000000000
--- a/app-admin/salt/files/salt-2016.3.5-tmpdir.patch
+++ /dev/null
@@ -1,47 +0,0 @@
-diff --git a/tests/unit/modules/qemu_nbd_test.py 
b/tests/unit/modules/qemu_nbd_test.py
-index 615e6b5670..fbd24aab86 100644
---- a/tests/unit/modules/qemu_nbd_test.py
-+++ b/tests/unit/modules/qemu_nbd_test.py
-@@ -77,6 +77,7 @@ class QemuNbdTestCase(TestCase):
-         Test if it mount the named image via qemu-nbd
-         and return the mounted roots
-         '''
-+        tmpdir = os.environ.get('TMPDIR', '/tmp')
-         mock = MagicMock(return_value=True)
-         with patch.dict(qemu_nbd.__salt__, {'cmd.run': mock}):
-             self.assertEqual(qemu_nbd.init('/srv/image.qcow2'), '')
-@@ -89,7 +90,7 @@ class QemuNbdTestCase(TestCase):
-                                  'mount.mount': mock,
-                                  'cmd.retcode': MagicMock(side_effect=[1, 
0])}):
-                     self.assertDictEqual(qemu_nbd.init('/srv/image.qcow2'),
--                                         {'/tmp/nbd/nbd0/nbd0': '/dev/nbd0'})
-+                                         {os.path.join(tmpdir, 
'nbd/nbd0/nbd0'): '/dev/nbd0'})
- 
-     # 'clear' function tests: 1
- 
-diff --git a/tests/unit/states/archive_test.py 
b/tests/unit/states/archive_test.py
-index e699362d8a..c7c7e8a965 100644
---- a/tests/unit/states/archive_test.py
-+++ b/tests/unit/states/archive_test.py
-@@ -25,7 +25,7 @@ from salt.ext.six.moves import zip  # pylint: 
disable=import-error,redefined-bui
- 
- # Globals
- archive.__salt__ = {}
--archive.__opts__ = {"cachedir": "/tmp", "test": False}
-+archive.__opts__ = {"cachedir": os.environ.get('TMPDIR', "/tmp"), "test": 
False}
- archive.__env__ = 'test'
- 
- 
-diff --git a/tests/unit/utils/context_test.py 
b/tests/unit/utils/context_test.py
-index 5249d56747..a27ee9ab61 100644
---- a/tests/unit/utils/context_test.py
-+++ b/tests/unit/utils/context_test.py
-@@ -18,7 +18,7 @@ import salt.payload
- import salt.utils
- 
- __context__ = {'a': 'b'}
--__opts__ = {'cachedir': '/tmp'}
-+__opts__ = {'cachedir': os.environ.get('TMPDIR', '/tmp')}
- 
- 
- @skipIf(NO_MOCK, NO_MOCK_REASON)

diff --git a/app-admin/salt/salt-2016.11.8-r1.ebuild 
b/app-admin/salt/salt-2016.11.8-r1.ebuild
deleted file mode 100644
index 9376c048826..00000000000
--- a/app-admin/salt/salt-2016.11.8-r1.ebuild
+++ /dev/null
@@ -1,149 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-PYTHON_COMPAT=( python2_7 )
-
-inherit eutils systemd distutils-r1
-
-DESCRIPTION="Salt is a remote execution and configuration manager"
-HOMEPAGE="https://saltstack.com/community/";
-
-if [[ ${PV} == 9999* ]]; then
-       inherit git-r3
-       EGIT_REPO_URI="https://github.com/${PN}stack/${PN}.git";
-       EGIT_BRANCH="develop"
-       SRC_URI=""
-       KEYWORDS=""
-else
-       SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
-       KEYWORDS="~x86 ~amd64"
-fi
-
-LICENSE="Apache-2.0"
-SLOT="0"
-IUSE="cherrypy ldap libcloud libvirt gnupg keyring mako mongodb mysql neutron 
nova"
-IUSE+=" openssl portage profile redis selinux test timelib raet +zeromq 
vim-syntax"
-
-RDEPEND="sys-apps/pciutils
-       dev-python/jinja[${PYTHON_USEDEP}]
-       >=dev-python/msgpack-0.3[${PYTHON_USEDEP}]
-       dev-python/pyyaml[${PYTHON_USEDEP}]
-       dev-python/markupsafe[${PYTHON_USEDEP}]
-       >=dev-python/requests-1.0.0[${PYTHON_USEDEP}]
-       dev-python/setuptools[${PYTHON_USEDEP}]
-       >=www-servers/tornado-4.2.1[${PYTHON_USEDEP}]
-       virtual/python-futures[${PYTHON_USEDEP}]
-       libcloud? ( >=dev-python/libcloud-0.14.0[${PYTHON_USEDEP}] )
-       mako? ( dev-python/mako[${PYTHON_USEDEP}] )
-       ldap? ( dev-python/python-ldap[${PYTHON_USEDEP}] )
-       libvirt? ( dev-python/libvirt-python[${PYTHON_USEDEP}] )
-       openssl? (
-               dev-libs/openssl:*[-bindist]
-               dev-python/pyopenssl[${PYTHON_USEDEP}]
-       )
-       raet? (
-               >=dev-python/libnacl-1.0.0[${PYTHON_USEDEP}]
-               >=dev-python/ioflo-1.1.7[${PYTHON_USEDEP}]
-               >=dev-python/raet-0.6.0[${PYTHON_USEDEP}]
-       )
-       zeromq? (
-               >=dev-python/pyzmq-2.2.0[${PYTHON_USEDEP}]
-               >=dev-python/pycrypto-2.6.1[${PYTHON_USEDEP}]
-       )
-       cherrypy? ( >=dev-python/cherrypy-3.2.2[${PYTHON_USEDEP}] )
-       mongodb? ( dev-python/pymongo[${PYTHON_USEDEP}] )
-       portage? ( sys-apps/portage[${PYTHON_USEDEP}] )
-       keyring? ( dev-python/keyring[${PYTHON_USEDEP}] )
-       mysql? ( dev-python/mysql-python[${PYTHON_USEDEP}] )
-       redis? ( dev-python/redis-py[${PYTHON_USEDEP}] )
-       selinux? ( sec-policy/selinux-salt )
-       timelib? ( dev-python/timelib[${PYTHON_USEDEP}] )
-       nova? ( >=dev-python/python-novaclient-2.17.0[${PYTHON_USEDEP}] )
-       neutron? ( >=dev-python/python-neutronclient-2.3.6[${PYTHON_USEDEP}] )
-       gnupg? ( dev-python/python-gnupg[${PYTHON_USEDEP}] )
-       profile? ( dev-python/yappi[${PYTHON_USEDEP}] )
-       vim-syntax? ( app-vim/salt-vim )"
-DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
-       test? (
-               dev-python/psutil[${PYTHON_USEDEP}]
-               dev-python/pip[${PYTHON_USEDEP}]
-               dev-python/virtualenv[${PYTHON_USEDEP}]
-               dev-python/mock[${PYTHON_USEDEP}]
-               dev-python/timelib[${PYTHON_USEDEP}]
-               >=dev-python/boto-2.32.1[${PYTHON_USEDEP}]
-               !x86? ( dev-python/boto3[${PYTHON_USEDEP}] )
-               >=dev-python/moto-0.3.6[${PYTHON_USEDEP}]
-               >=dev-python/SaltTesting-2016.5.11[${PYTHON_USEDEP}]
-               >=dev-python/libcloud-0.14.0[${PYTHON_USEDEP}]
-               ${RDEPEND}
-       )"
-
-DOCS=( README.rst AUTHORS )
-
-REQUIRED_USE="|| ( raet zeromq )"
-RESTRICT="x86? ( test )"
-
-PATCHES=(
-       "${FILESDIR}/${PN}-2016.11.0-tmpdir.patch"
-       "${FILESDIR}/${PN}-2016.3.1-dont-realpath-tmpdir.patch"
-       "${FILESDIR}/${PN}-2016.3.4-test-nonexist-dirs.patch"
-       "${FILESDIR}/${PN}-2016.11.0-remove-file-tree-test.patch"
-       "${FILESDIR}/${PN}-2016.11.0-broken-tests.patch"
-)
-
-python_prepare() {
-       # this test fails because it trys to "pip install distribute"
-       rm tests/unit/{modules,states}/zcbuildout_test.py \
-               tests/unit/modules/{rh_ip,win_network,random_org}_test.py || die
-
-       # https://github.com/saltstack/salt/issues/39095
-       rm tests/unit/utils/parsers_test.py
-
-       # apparently libcloud does not know about this?
-       rm tests/unit/cloud/clouds/dimensiondata_test.py || die
-
-       # seriously? "ValueError: Missing (or not readable) key file: 
'/home/dany/PRIVKEY.pem'"
-       rm tests/unit/cloud/clouds/gce_test.py || die
-
-       # allow the use of the renamed msgpack
-       sed -i '/^msgpack/d' requirements/base.txt || die
-}
-
-python_install_all() {
-       local svc
-       USE_SETUPTOOLS=1 distutils-r1_python_install_all
-
-       for svc in minion master syndic api; do
-               newinitd "${FILESDIR}"/${svc}-initd-4 salt-${svc}
-               newconfd "${FILESDIR}"/${svc}-confd-1 salt-${svc}
-               systemd_dounit "${FILESDIR}"/salt-${svc}.service
-       done
-
-       insinto /etc/${PN}
-       doins -r conf/*
-}
-
-python_test() {
-       local tempdir
-       # testsuite likes lots of files
-       ulimit -n 3072 || die
-
-       # ${T} is too long a path for the tests to work
-       tempdir="$(mktemp -dup /tmp salt-XXX)"
-       mkdir "${T}/$(basename "${tempdir}")"
-
-       (
-               cleanup() { rm -f "${tempdir}"; }
-               trap cleanup EXIT
-
-               addwrite "${tempdir}"
-               ln -s "$(realpath --relative-to=/tmp "${T}/$(basename 
"${tempdir}")")" "${tempdir}"
-
-               USE_SETUPTOOLS=1 SHELL="/bin/bash" \
-                       TMPDIR="${tempdir}" \
-                       ${EPYTHON} tests/runtests.py \
-                       --unit-tests --no-report --verbose
-
-       ) || die "testing failed"
-}

diff --git a/app-admin/salt/salt-2017.7.2-r2.ebuild 
b/app-admin/salt/salt-2017.7.2-r2.ebuild
deleted file mode 100644
index 19e8be7ea3d..00000000000
--- a/app-admin/salt/salt-2017.7.2-r2.ebuild
+++ /dev/null
@@ -1,143 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-PYTHON_COMPAT=( python2_7 )
-
-inherit eutils systemd distutils-r1
-
-DESCRIPTION="Salt is a remote execution and configuration manager"
-HOMEPAGE="http://saltstack.org/";
-
-if [[ ${PV} == 9999* ]]; then
-       inherit git-r3
-       EGIT_REPO_URI="git://github.com/${PN}stack/${PN}.git"
-       EGIT_BRANCH="develop"
-       SRC_URI=""
-       KEYWORDS=""
-else
-       SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
-       KEYWORDS="~x86 ~amd64"
-fi
-
-LICENSE="Apache-2.0"
-SLOT="0"
-IUSE="cherrypy ldap libcloud libvirt gnupg keyring mako mongodb mysql neutron 
nova"
-IUSE+=" openssl portage profile redis selinux test timelib raet +zeromq 
vim-syntax"
-
-RDEPEND="sys-apps/pciutils
-       dev-python/jinja[${PYTHON_USEDEP}]
-       >=dev-python/msgpack-0.3[${PYTHON_USEDEP}]
-       dev-python/pyyaml[${PYTHON_USEDEP}]
-       dev-python/markupsafe[${PYTHON_USEDEP}]
-       >=dev-python/requests-1.0.0[${PYTHON_USEDEP}]
-       dev-python/setuptools[${PYTHON_USEDEP}]
-       >=www-servers/tornado-4.2.1[${PYTHON_USEDEP}]
-       virtual/python-futures[${PYTHON_USEDEP}]
-       libcloud? ( >=dev-python/libcloud-0.14.0[${PYTHON_USEDEP}] )
-       mako? ( dev-python/mako[${PYTHON_USEDEP}] )
-       ldap? ( dev-python/python-ldap[${PYTHON_USEDEP}] )
-       libvirt? ( dev-python/libvirt-python[${PYTHON_USEDEP}] )
-       openssl? (
-               dev-libs/openssl:*[-bindist]
-               dev-python/pyopenssl[${PYTHON_USEDEP}]
-       )
-       raet? (
-               >=dev-python/libnacl-1.0.0[${PYTHON_USEDEP}]
-               >=dev-python/ioflo-1.1.7[${PYTHON_USEDEP}]
-               >=dev-python/raet-0.6.0[${PYTHON_USEDEP}]
-       )
-       zeromq? (
-               >=dev-python/pyzmq-2.2.0[${PYTHON_USEDEP}]
-               >=dev-python/pycrypto-2.6.1[${PYTHON_USEDEP}]
-       )
-       cherrypy? ( >=dev-python/cherrypy-3.2.2[${PYTHON_USEDEP}] )
-       mongodb? ( dev-python/pymongo[${PYTHON_USEDEP}] )
-       portage? ( sys-apps/portage[${PYTHON_USEDEP}] )
-       keyring? ( dev-python/keyring[${PYTHON_USEDEP}] )
-       mysql? ( dev-python/mysql-python[${PYTHON_USEDEP}] )
-       redis? ( dev-python/redis-py[${PYTHON_USEDEP}] )
-       selinux? ( sec-policy/selinux-salt )
-       timelib? ( dev-python/timelib[${PYTHON_USEDEP}] )
-       nova? ( >=dev-python/python-novaclient-2.17.0[${PYTHON_USEDEP}] )
-       neutron? ( >=dev-python/python-neutronclient-2.3.6[${PYTHON_USEDEP}] )
-       gnupg? ( dev-python/python-gnupg[${PYTHON_USEDEP}] )
-       profile? ( dev-python/yappi[${PYTHON_USEDEP}] )
-       vim-syntax? ( app-vim/salt-vim )"
-DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
-       test? (
-               dev-python/pytest-salt[${PYTHON_USEDEP}]
-               dev-python/psutil[${PYTHON_USEDEP}]
-               dev-python/pytest[${PYTHON_USEDEP}]
-               dev-python/pip[${PYTHON_USEDEP}]
-               dev-python/virtualenv[${PYTHON_USEDEP}]
-               dev-python/mock[${PYTHON_USEDEP}]
-               dev-python/timelib[${PYTHON_USEDEP}]
-               >=dev-python/boto-2.32.1[${PYTHON_USEDEP}]
-               !x86? ( >=dev-python/boto3-1.2.1[${PYTHON_USEDEP}] )
-               >=dev-python/moto-0.3.6[${PYTHON_USEDEP}]
-               >=dev-python/SaltTesting-2016.5.11[${PYTHON_USEDEP}]
-               >=dev-python/libcloud-0.14.0[${PYTHON_USEDEP}]
-               ${RDEPEND}
-       )"
-
-DOCS=( README.rst AUTHORS )
-
-REQUIRED_USE="|| ( raet zeromq )"
-RESTRICT="x86? ( test )"
-
-PATCHES=(
-       "${FILESDIR}/salt-2017.7.0-dont-realpath-tmpdir.patch"
-       "${FILESDIR}/salt-2017.7.2-fix_disk_format.patch"
-)
-
-python_prepare() {
-       rm tests/unit/{test_zypp_plugins.py,utils/test_extend.py} || die
-       rm tests/unit/modules/test_boto_{vpc,secgroup,elb}.py || die
-       rm tests/unit/states/test_boto_vpc.py || die
-       # allow the use of the renamed msgpack
-       sed -i '/^msgpack/d' requirements/base.txt || die
-}
-
-python_install_all() {
-       local svc
-       USE_SETUPTOOLS=1 distutils-r1_python_install_all
-
-       for svc in minion master syndic api; do
-               newinitd "${FILESDIR}"/${svc}-initd-4 salt-${svc}
-               newconfd "${FILESDIR}"/${svc}-confd-1 salt-${svc}
-               systemd_dounit "${FILESDIR}"/salt-${svc}.service
-       done
-
-       insinto /etc/${PN}
-       doins -r conf/*
-}
-
-python_test() {
-       local tempdir
-       # testsuite likes lots of files
-       ulimit -n 3072 || die
-
-       # ${T} is too long a path for the tests to work
-       tempdir="$(mktemp -du --tmpdir=/tmp salt-XXX)"
-       mkdir "${T}/$(basename "${tempdir}")"
-       mkdir 
"${BUILD_DIR}"/../{templates,conf/cloud.{providers,profiles,maps}.d} || die
-
-       (
-               cleanup() {
-                       rm -f "${tempdir}"
-                       rmdir 
"${BUILD_DIR}"/../{templates,conf/cloud.{providers,profiles,maps}.d} || die
-               }
-
-               trap cleanup EXIT
-
-               addwrite "${tempdir}"
-               ln -s "$(realpath --relative-to=/tmp "${T}/$(basename 
"${tempdir}")")" "${tempdir}"
-
-               USE_SETUPTOOLS=1 SHELL="/bin/bash" \
-                       TMPDIR="${tempdir}" \
-                       ${EPYTHON} tests/runtests.py \
-                       --unit-tests --no-report --verbose
-
-       ) || die "testing failed"
-}

diff --git a/app-admin/salt/salt-2017.7.4-r2.ebuild 
b/app-admin/salt/salt-2017.7.4-r2.ebuild
deleted file mode 100644
index 025aeabac2d..00000000000
--- a/app-admin/salt/salt-2017.7.4-r2.ebuild
+++ /dev/null
@@ -1,150 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-PYTHON_COMPAT=( python2_7 )
-
-inherit eutils systemd distutils-r1
-
-DESCRIPTION="Salt is a remote execution and configuration manager"
-HOMEPAGE="http://saltstack.org/";
-
-if [[ ${PV} == 9999* ]]; then
-       inherit git-r3
-       EGIT_REPO_URI="git://github.com/${PN}stack/${PN}.git"
-       EGIT_BRANCH="develop"
-       SRC_URI=""
-       KEYWORDS=""
-else
-       SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
-       KEYWORDS="~x86 ~amd64"
-fi
-
-LICENSE="Apache-2.0"
-SLOT="0"
-IUSE="cherrypy ldap libcloud libvirt gnupg keyring mako mongodb mysql neutron 
nova"
-IUSE+=" openssl portage profile redis selinux test timelib raet +zeromq 
vim-syntax"
-
-RDEPEND="sys-apps/pciutils
-       dev-python/jinja[${PYTHON_USEDEP}]
-       >=dev-python/msgpack-0.3[${PYTHON_USEDEP}]
-       dev-python/pyyaml[${PYTHON_USEDEP}]
-       dev-python/markupsafe[${PYTHON_USEDEP}]
-       >=dev-python/requests-1.0.0[${PYTHON_USEDEP}]
-       dev-python/setuptools[${PYTHON_USEDEP}]
-       >=www-servers/tornado-4.2.1[${PYTHON_USEDEP}]
-       <www-servers/tornado-5.0[${PYTHON_USEDEP}]
-       virtual/python-futures[${PYTHON_USEDEP}]
-       libcloud? ( >=dev-python/libcloud-0.14.0[${PYTHON_USEDEP}] )
-       mako? ( dev-python/mako[${PYTHON_USEDEP}] )
-       ldap? ( dev-python/python-ldap[${PYTHON_USEDEP}] )
-       libvirt? ( dev-python/libvirt-python[${PYTHON_USEDEP}] )
-       openssl? (
-               dev-libs/openssl:*[-bindist]
-               dev-python/pyopenssl[${PYTHON_USEDEP}]
-       )
-       raet? (
-               >=dev-python/libnacl-1.0.0[${PYTHON_USEDEP}]
-               >=dev-python/ioflo-1.1.7[${PYTHON_USEDEP}]
-               >=dev-python/raet-0.6.0[${PYTHON_USEDEP}]
-       )
-       zeromq? (
-               >=dev-python/pyzmq-2.2.0[${PYTHON_USEDEP}]
-               >=dev-python/pycrypto-2.6.1[${PYTHON_USEDEP}]
-       )
-       cherrypy? ( >=dev-python/cherrypy-3.2.2[${PYTHON_USEDEP}] )
-       mongodb? ( dev-python/pymongo[${PYTHON_USEDEP}] )
-       portage? (
-               || (
-                       sys-apps/portage[${PYTHON_USEDEP}]
-                       sys-apps/portage-mgorny[${PYTHON_USEDEP}]
-               )
-       )
-       keyring? ( dev-python/keyring[${PYTHON_USEDEP}] )
-       mysql? ( dev-python/mysql-python[${PYTHON_USEDEP}] )
-       redis? ( dev-python/redis-py[${PYTHON_USEDEP}] )
-       selinux? ( sec-policy/selinux-salt )
-       timelib? ( dev-python/timelib[${PYTHON_USEDEP}] )
-       nova? ( >=dev-python/python-novaclient-2.17.0[${PYTHON_USEDEP}] )
-       neutron? ( >=dev-python/python-neutronclient-2.3.6[${PYTHON_USEDEP}] )
-       gnupg? ( dev-python/python-gnupg[${PYTHON_USEDEP}] )
-       profile? ( dev-python/yappi[${PYTHON_USEDEP}] )
-       vim-syntax? ( app-vim/salt-vim )"
-DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
-       test? (
-               dev-python/pytest-salt[${PYTHON_USEDEP}]
-               dev-python/psutil[${PYTHON_USEDEP}]
-               dev-python/pytest[${PYTHON_USEDEP}]
-               dev-python/pip[${PYTHON_USEDEP}]
-               dev-python/virtualenv[${PYTHON_USEDEP}]
-               dev-python/mock[${PYTHON_USEDEP}]
-               dev-python/timelib[${PYTHON_USEDEP}]
-               >=dev-python/boto-2.32.1[${PYTHON_USEDEP}]
-               !x86? ( >=dev-python/boto3-1.2.1[${PYTHON_USEDEP}] )
-               >=dev-python/moto-0.3.6[${PYTHON_USEDEP}]
-               >=dev-python/SaltTesting-2016.5.11[${PYTHON_USEDEP}]
-               >=dev-python/libcloud-0.14.0[${PYTHON_USEDEP}]
-               ${RDEPEND}
-       )"
-
-DOCS=( README.rst AUTHORS )
-
-REQUIRED_USE="|| ( raet zeromq )"
-RESTRICT="x86? ( test )"
-
-PATCHES=(
-       "${FILESDIR}/${PN}-2017.7.0-dont-realpath-tmpdir.patch"
-       "${FILESDIR}/${PN}-2017.7.3-tests.patch"
-)
-
-python_prepare() {
-       rm tests/unit/{test_zypp_plugins.py,utils/test_extend.py} || die
-       rm tests/unit/modules/test_boto_{vpc,secgroup,elb}.py || die
-       rm tests/unit/states/test_boto_vpc.py || die
-       rm tests/unit/modules/test_kubernetes.py || die
-       # allow the use of the renamed msgpack
-       sed -i '/^msgpack/d' requirements/base.txt || die
-}
-
-python_install_all() {
-       local svc
-       USE_SETUPTOOLS=1 distutils-r1_python_install_all
-
-       for svc in minion master syndic api; do
-               newinitd "${FILESDIR}"/${svc}-initd-4 salt-${svc}
-               newconfd "${FILESDIR}"/${svc}-confd-1 salt-${svc}
-               systemd_dounit "${FILESDIR}"/salt-${svc}.service
-       done
-
-       insinto /etc/${PN}
-       doins -r conf/*
-}
-
-python_test() {
-       local tempdir
-       # testsuite likes lots of files
-       ulimit -n 3072 || die
-
-       # ${T} is too long a path for the tests to work
-       tempdir="$(mktemp -du --tmpdir=/tmp salt-XXX)"
-       mkdir "${T}/$(basename "${tempdir}")"
-       mkdir 
"${BUILD_DIR}"/../{templates,conf/cloud.{providers,profiles,maps}.d} || die
-
-       (
-               cleanup() {
-                       rm -f "${tempdir}"
-                       rmdir 
"${BUILD_DIR}"/../{templates,conf/cloud.{providers,profiles,maps}.d} || die
-               }
-
-               trap cleanup EXIT
-
-               addwrite "${tempdir}"
-               ln -s "$(realpath --relative-to=/tmp "${T}/$(basename 
"${tempdir}")")" "${tempdir}"
-
-               USE_SETUPTOOLS=1 SHELL="/bin/bash" \
-                       TMPDIR="${tempdir}" \
-                       ${EPYTHON} tests/runtests.py \
-                       --unit-tests --no-report --verbose
-
-       ) || die "testing failed"
-}

Reply via email to