Gentoo Archives: gentoo-commits

From: Patrick McLean <chutzpah@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-admin/salt/, app-admin/salt/files/
Date: Thu, 01 Dec 2016 01:16:14
Message-Id: 1480554946.2052d39b3d9ad15e6ca0b4f29c6858517fee08ca.chutzpah@gentoo
1 commit: 2052d39b3d9ad15e6ca0b4f29c6858517fee08ca
2 Author: Patrick McLean <chutzpah <AT> gentoo <DOT> org>
3 AuthorDate: Thu Dec 1 01:15:33 2016 +0000
4 Commit: Patrick McLean <chutzpah <AT> gentoo <DOT> org>
5 CommitDate: Thu Dec 1 01:15:46 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2052d39b
7
8 app-admin/salt: Remove old versions
9
10 Package-Manager: portage-2.3.2
11
12 app-admin/salt/Manifest | 6 -
13 .../salt/files/salt-2016.3.1-broken-tests.patch | 221 ---------------------
14 .../salt/files/salt-2016.3.2-broken-tests.patch | 109 ----------
15 .../salt/files/salt-2016.3.3-broken-tests.patch | 56 ------
16 app-admin/salt/salt-2015.8.10.ebuild | 135 -------------
17 app-admin/salt/salt-2015.8.11.ebuild | 135 -------------
18 app-admin/salt/salt-2015.8.8.ebuild | 133 -------------
19 app-admin/salt/salt-2016.3.1.ebuild | 142 -------------
20 app-admin/salt/salt-2016.3.2.ebuild | 142 -------------
21 app-admin/salt/salt-2016.3.3.ebuild | 143 -------------
22 10 files changed, 1222 deletions(-)
23
24 diff --git a/app-admin/salt/Manifest b/app-admin/salt/Manifest
25 index 19789c7..ab86693 100644
26 --- a/app-admin/salt/Manifest
27 +++ b/app-admin/salt/Manifest
28 @@ -1,9 +1,3 @@
29 DIST salt-2015.5.10.tar.gz 5693422 SHA256 863a96e70f8521af35fe11b10d25b3205a0bfbba9a8aee02e2842aa7106496fd SHA512 78a4cbe5c771208e957360689a25ae4e44566987e07e7fda54e6db9028485eacc6ad016c65c981090f9b5d95331e46048a094aecc27703b3956c06ab6ebad95d WHIRLPOOL 805b48df07707d85d8338251f26c72164a5421731fc11f5c933b72af97348a2f11ee35889f72ec032acbea275e98575d35786b56fd84a7917f8fdbc30567ae86
30 -DIST salt-2015.8.10.tar.gz 6972776 SHA256 4a81273ab4b01e0f1d29b28ab99a16eb94e5c430107b05491c94f3baf8b95c99 SHA512 e00eb6535defd883ed789b4b27fae020a8225cd1a3dd05cfa92d6320a4fe6930ecddf9914a572f64715656126107d61920d1b989451caa7ccdb28d969c41c64c WHIRLPOOL fa6beaee47c604cc1398ed803662dbd340cf9ab20664af6c903d7376abd3253522798c73c83b0c5b00f0db72fb4be20dae074c6d6fdd39026485f5050f108b2a
31 -DIST salt-2015.8.11.tar.gz 7083841 SHA256 7b38ab7433e67785ff231cfd604bc36652f4088f8b93e64d627e74242f4099d7 SHA512 0af029b30525a5be4ffa64ea33b4368b59a9ad64fe4f6cba3af1cf03b53e1c1e0e0fe50371c7e4762a0c3bcbefa7855b6f0b79702f3b146001a2b5484f1731f9 WHIRLPOOL 23af490fa47b84843cb36367aa76698f989e767c044477d0cfad22222f24a9b11c76de0617f4c4859b41094e2bedc4f6b2be331055c95bcd8327ca36e9878d6c
32 DIST salt-2015.8.12.tar.gz 7033938 SHA256 712f72b30a9555ea46a51bc677e05ffa2eefaeefa6b48d4f7ae45dbcb1073c69 SHA512 8ce940a413c740bd82c6c96103d48b376a47cb8161a5d72ece3f4bf6b39134bd722787a427249726dc137064d032fa913c7f6c6db22d0808ba1a829d4f25e9ec WHIRLPOOL 723660eac1346c3ba29b88c7db1a4485a194aebbdf33ea6dc411c420059767a3feb5c863941d772b504cede4a78a57e3ce696601872d21d29f4def373db697d4
33 -DIST salt-2015.8.8.tar.gz 6982904 SHA256 b2ecce7bf562cfcd6586d66ade278f268bb89023f0fa0accaa55f90b8a668ef5 SHA512 add65951694bc9e3aaa6db69bf9ac7ed32a5c42822ae34281ca3ea1e7f393235cd6baa1905362d177c62505a514e1c4599751e1a8a913cc334f9ebe1d4ab7ed3 WHIRLPOOL 9d81b6153019ff0862c6ee0e3fa949810e8066798aabcc94f2b87893f51906e0e19e37aa26023ea578eb10ebb9816d30d12104fdc5018c7ce91790bd617b2bba
34 -DIST salt-2016.3.1.tar.gz 7932479 SHA256 e6bdba4693116430c2af57497eb63399e3a139ac0a7016fa0870b49fbe987f75 SHA512 74122020a83df79171b9aa3bc311d1b16930140ec6b063c888d41e10fb8e696f69188b62cf925045b40d8b8fe713759de08978b08bc3b8e1f12722de3a8ddb7b WHIRLPOOL f76afb4d9c6678edf48b608f6dbd27201656fd371b0df78a8a8db306a2cbf5b08fa2fd916e9fb5409b67cd05ab007a3684d91c1e0158416b12f014001de1506a
35 -DIST salt-2016.3.2.tar.gz 8014793 SHA256 6a84b724d02b0dba438dea57650724064675d82620e66749bd2fe8f21da71be0 SHA512 608e2a43bc8c55eeb8c9e0f9207306e591151940ad1ffb869ada12963c0790f37653936e539c0b70439c13180909de2c763db6c30e7f9e2087068985d1b3ff91 WHIRLPOOL 5e6f6dc9980ab6cd6e8c897d140241ce9e6dec8afd08274749a20260c6b871d6e52cd674ed8e838a4aa285bf45c49586d77bc2156f94ee26f4f776d9025040eb
36 -DIST salt-2016.3.3.tar.gz 7952361 SHA256 5906038594f1b9b3ac41714774fbd78f0af80d2f3ffe1c1bf20308032d7d52b6 SHA512 46a8f8b3213e4cc02eaed95e7fc28ce224fe07fe2aea39b68ff3e97043021951558f04690f7043510c8dfb62d76fe82192d67de6151c7f1076a23c0f8d796c9e WHIRLPOOL dc21ca7d996b5f59501e4658a38fee8d1bdd20669059b72781a4e7e4c91b2fc40f267a533f6974c26a70b4dd8ac20d93174d1a8d9c04d351af0a47dc53572379
37 DIST salt-2016.3.4.tar.gz 8354090 SHA256 5d4c822719d7fb2d79b0103cd9b015d251300890f8aa174e16b73fcfd6eb22f9 SHA512 ca17c5607d23d09e95fb4b6afbcf1b4f0be6bab47ff3eee883c1464e13b5271b71f0e7bedfa8afe05f32bf3a0a6f4050a91afb9285b52aa0f3da6105221397e0 WHIRLPOOL 95347b1f8447e8701074727430ef0a232e92aa9e961451c445890552c6d9533569e470dfa4864f673c6c3b3eccb16ec9c3615cfcab6d29e74756861afe43fcac
38
39 diff --git a/app-admin/salt/files/salt-2016.3.1-broken-tests.patch b/app-admin/salt/files/salt-2016.3.1-broken-tests.patch
40 deleted file mode 100644
41 index bb4b341..00000000
42 --- a/app-admin/salt/files/salt-2016.3.1-broken-tests.patch
43 +++ /dev/null
44 @@ -1,221 +0,0 @@
45 -diff --git a/tests/unit/auth_test.py b/tests/unit/auth_test.py
46 -index 84e8699..5acd6c9 100644
47 ---- a/tests/unit/auth_test.py
48 -+++ b/tests/unit/auth_test.py
49 -@@ -50,22 +50,6 @@ class LoadAuthTestCase(TestCase):
50 - ret = self.lauth.load_name(valid_eauth_load)
51 - format_call_mock.assert_has_calls((expected_ret,), any_order=True)
52 -
53 -- def test_get_groups(self):
54 -- valid_eauth_load = {'username': 'test_user',
55 -- 'show_timeout': False,
56 -- 'test_password': '',
57 -- 'eauth': 'pam'}
58 -- with patch('salt.utils.format_call') as format_call_mock:
59 -- expected_ret = call('fake_groups_function_str', {
60 -- 'username': 'test_user',
61 -- 'test_password': '',
62 -- 'show_timeout': False,
63 -- 'eauth': 'pam'
64 -- }, expected_extra_kws=auth.AUTH_INTERNAL_KEYWORDS)
65 -- self.lauth.get_groups(valid_eauth_load)
66 -- format_call_mock.assert_has_calls((expected_ret,), any_order=True)
67 --
68 --
69 - @patch('zmq.Context', MagicMock())
70 - @patch('salt.payload.Serial.dumps', MagicMock())
71 - @patch('salt.master.tagify', MagicMock())
72 -diff --git a/tests/unit/modules/boto_secgroup_test.py b/tests/unit/modules/boto_secgroup_test.py
73 -index cc88568..07fd8ec 100644
74 ---- a/tests/unit/modules/boto_secgroup_test.py
75 -+++ b/tests/unit/modules/boto_secgroup_test.py
76 -@@ -192,30 +192,6 @@ class BotoSecgroupTestCase(TestCase):
77 - **conn_parameters)
78 - self.assertEqual(group_vpc.id, retrieved_group_id)
79 -
80 -- @mock_ec2
81 -- def test_get_config_single_rule_group_name(self):
82 -- '''
83 -- tests return of 'config' when given group name. get_config returns an OrderedDict.
84 -- '''
85 -- group_name = _random_group_name()
86 -- ip_protocol = u'tcp'
87 -- from_port = 22
88 -- to_port = 22
89 -- cidr_ip = u'0.0.0.0/0'
90 -- rules_egress = [{'to_port': -1, 'from_port': -1, 'ip_protocol': u'-1', 'cidr_ip': u'0.0.0.0/0'}]
91 --
92 -- conn = boto.ec2.connect_to_region(region, **boto_conn_parameters)
93 -- group = conn.create_security_group(name=group_name, description=group_name)
94 -- group.authorize(ip_protocol=ip_protocol, from_port=from_port, to_port=to_port, cidr_ip=cidr_ip)
95 -- # setup the expected get_config result
96 -- expected_get_config_result = OrderedDict([('name', group.name), ('group_id', group.id), ('owner_id', u'111122223333'),
97 -- ('description', group.description), ('tags', {}),
98 -- ('rules', [{'to_port': to_port, 'from_port': from_port,
99 -- 'ip_protocol': ip_protocol, 'cidr_ip': cidr_ip}]),
100 -- ('rules_egress', rules_egress)])
101 -- secgroup_get_config_result = boto_secgroup.get_config(group_id=group.id, **conn_parameters)
102 -- self.assertEqual(expected_get_config_result, secgroup_get_config_result)
103 --
104 - @skipIf(True, 'test skipped due to error in moto return - fixed in '
105 - 'https://github.com/spulec/moto/commit/cc0166964371f7b5247a49d45637a8f936ccbe6f')
106 - @mock_ec2
107 -diff --git a/tests/unit/modules/cron_test.py b/tests/unit/modules/cron_test.py
108 -index fd9b62d..8445471 100644
109 ---- a/tests/unit/modules/cron_test.py
110 -+++ b/tests/unit/modules/cron_test.py
111 -@@ -630,16 +630,6 @@ class PsTestCase(TestCase):
112 - def test_list_tab(self):
113 - self.assertDictEqual(STUB_SIMPLE_CRON_DICT, cron.list_tab('DUMMY_USER'))
114 -
115 -- @patch('salt.modules.cron._write_cron_lines')
116 -- @patch('salt.modules.cron.list_tab', new=MagicMock(return_value=STUB_SIMPLE_CRON_DICT))
117 -- def test_set_special(self, write_cron_lines_mock):
118 -- expected_write_call = call('DUMMY_USER',
119 -- ['5 0 * * * /tmp/no_script.sh\n',
120 -- '# Lines below here are managed by Salt, do not edit\n',
121 -- '@hourly echo Hi!\n'])
122 -- ret = cron.set_special('DUMMY_USER', '@hourly', 'echo Hi!')
123 -- write_cron_lines_mock.assert_has_calls((expected_write_call,), any_order=True)
124 --
125 - def test__get_cron_date_time(self):
126 - ret = cron._get_cron_date_time(minute=STUB_CRON_TIMESTAMP['minute'],
127 - hour=STUB_CRON_TIMESTAMP['hour'],
128 -diff --git a/tests/unit/modules/linux_sysctl_test.py b/tests/unit/modules/linux_sysctl_test.py
129 -index 89bea83..49851cb 100644
130 ---- a/tests/unit/modules/linux_sysctl_test.py
131 -+++ b/tests/unit/modules/linux_sysctl_test.py
132 -@@ -85,18 +85,6 @@ class LinuxSysctlTestCase(TestCase):
133 - 'net.ipv4.ip_forward', 1), ret)
134 -
135 - @patch('os.path.isfile', MagicMock(return_value=False))
136 -- def test_persist_no_conf_failure(self):
137 -- '''
138 -- Tests adding of config file failure
139 -- '''
140 -- with patch('salt.utils.fopen', mock_open()) as m_open:
141 -- helper_open = m_open()
142 -- helper_open.write.assertRaises(CommandExecutionError,
143 -- linux_sysctl.persist,
144 -- 'net.ipv4.ip_forward',
145 -- 1, config=None)
146 --
147 -- @patch('os.path.isfile', MagicMock(return_value=False))
148 - @patch('os.path.exists', MagicMock(return_value=True))
149 - def test_persist_no_conf_success(self):
150 - '''
151 -diff --git a/tests/unit/modules/mac_sysctl_test.py b/tests/unit/modules/mac_sysctl_test.py
152 -index e90ec64..b2ea691 100644
153 ---- a/tests/unit/modules/mac_sysctl_test.py
154 -+++ b/tests/unit/modules/mac_sysctl_test.py
155 -@@ -67,18 +67,6 @@ class DarwinSysctlTestCase(TestCase):
156 - 'net.inet.icmp.icmplim', 50), ret)
157 -
158 - @patch('os.path.isfile', MagicMock(return_value=False))
159 -- def test_persist_no_conf_failure(self):
160 -- '''
161 -- Tests adding of config file failure
162 -- '''
163 -- with patch('salt.utils.fopen', mock_open()) as m_open:
164 -- helper_open = m_open()
165 -- helper_open.write.assertRaises(CommandExecutionError,
166 -- mac_sysctl.persist,
167 -- 'net.inet.icmp.icmplim',
168 -- 50, config=None)
169 --
170 -- @patch('os.path.isfile', MagicMock(return_value=False))
171 - def test_persist_no_conf_success(self):
172 - '''
173 - Tests successful add of config file when previously not one
174 -diff --git a/tests/unit/modules/mount_test.py b/tests/unit/modules/mount_test.py
175 -index 9c4ad6f..bf00c8e 100644
176 ---- a/tests/unit/modules/mount_test.py
177 -+++ b/tests/unit/modules/mount_test.py
178 -@@ -102,23 +102,6 @@ class MountTestCase(TestCase):
179 - 'opts': ['D', 'E', 'F'],
180 - 'pass': 'H'}})
181 -
182 -- def test_rm_fstab(self):
183 -- '''
184 -- Remove the mount point from the fstab
185 -- '''
186 -- mock_fstab = MagicMock(return_value={})
187 -- with patch.object(mount, 'fstab', mock_fstab):
188 -- with patch('salt.utils.fopen', mock_open()):
189 -- self.assertTrue(mount.rm_fstab('name', 'device'))
190 --
191 -- mock_fstab = MagicMock(return_value={'name': 'name'})
192 -- with patch.object(mount, 'fstab', mock_fstab):
193 -- with patch('salt.utils.fopen', mock_open()) as m_open:
194 -- helper_open = m_open()
195 -- helper_open.write.assertRaises(CommandExecutionError,
196 -- mount.rm_fstab,
197 -- config=None)
198 --
199 - def test_set_fstab(self):
200 - '''
201 - Tests to verify that this mount is represented in the fstab,
202 -@@ -143,22 +126,6 @@ class MountTestCase(TestCase):
203 - mock_open(read_data=MOCK_SHELL_FILE)):
204 - self.assertEqual(mount.set_fstab('A', 'B', 'C'), 'new')
205 -
206 -- def test_rm_automaster(self):
207 -- '''
208 -- Remove the mount point from the auto_master
209 -- '''
210 -- mock = MagicMock(return_value={})
211 -- with patch.object(mount, 'automaster', mock):
212 -- self.assertTrue(mount.rm_automaster('name', 'device'))
213 --
214 -- mock = MagicMock(return_value={'name': 'name'})
215 -- with patch.object(mount, 'fstab', mock):
216 -- with patch('salt.utils.fopen', mock_open()) as m_open:
217 -- helper_open = m_open()
218 -- helper_open.write.assertRaises(CommandExecutionError,
219 -- mount.rm_automaster,
220 -- 'name', 'device')
221 --
222 - def test_set_automaster(self):
223 - '''
224 - Verify that this mount is represented in the auto_salt, change the mount
225 -diff --git a/tests/unit/modules/puppet_test.py b/tests/unit/modules/puppet_test.py
226 -index 02bc2e1..249efcb 100644
227 ---- a/tests/unit/modules/puppet_test.py
228 -+++ b/tests/unit/modules/puppet_test.py
229 -@@ -72,24 +72,6 @@ class PuppetTestCase(TestCase):
230 -
231 - self.assertFalse(puppet.enable())
232 -
233 -- def test_disable(self):
234 -- '''
235 -- Test to disable the puppet agent
236 -- '''
237 -- mock_lst = MagicMock(return_value=[])
238 -- with patch.dict(puppet.__salt__, {'cmd.run': mock_lst}):
239 -- mock = MagicMock(side_effect=[True, False])
240 -- with patch.object(os.path, 'isfile', mock):
241 -- self.assertFalse(puppet.disable())
242 --
243 -- with patch('salt.utils.fopen', mock_open()):
244 -- self.assertTrue(puppet.disable())
245 --
246 -- with patch('salt.utils.fopen', mock_open()) as m_open:
247 -- helper_open = m_open()
248 -- helper_open.write.assertRaises(CommandExecutionError,
249 -- puppet.disable)
250 --
251 - def test_status(self):
252 - '''
253 - Test to display puppet agent status
254 -@@ -144,11 +126,6 @@ class PuppetTestCase(TestCase):
255 - mock_open(read_data="resources: 1")):
256 - self.assertDictEqual(puppet.summary(), {'resources': 1})
257 -
258 -- with patch('salt.utils.fopen', mock_open()) as m_open:
259 -- helper_open = m_open()
260 -- helper_open.write.assertRaises(CommandExecutionError,
261 -- puppet.summary)
262 --
263 - def test_plugin_sync(self):
264 - '''
265 - Test to runs a plugin synch between the puppet master and agent
266
267 diff --git a/app-admin/salt/files/salt-2016.3.2-broken-tests.patch b/app-admin/salt/files/salt-2016.3.2-broken-tests.patch
268 deleted file mode 100644
269 index 3f10611..00000000
270 --- a/app-admin/salt/files/salt-2016.3.2-broken-tests.patch
271 +++ /dev/null
272 @@ -1,109 +0,0 @@
273 -diff --git a/tests/unit/modules/linux_sysctl_test.py b/tests/unit/modules/linux_sysctl_test.py
274 -index 89bea83..49851cb 100644
275 ---- a/tests/unit/modules/linux_sysctl_test.py
276 -+++ b/tests/unit/modules/linux_sysctl_test.py
277 -@@ -85,18 +85,6 @@ class LinuxSysctlTestCase(TestCase):
278 - 'net.ipv4.ip_forward', 1), ret)
279 -
280 - @patch('os.path.isfile', MagicMock(return_value=False))
281 -- def test_persist_no_conf_failure(self):
282 -- '''
283 -- Tests adding of config file failure
284 -- '''
285 -- with patch('salt.utils.fopen', mock_open()) as m_open:
286 -- helper_open = m_open()
287 -- helper_open.write.assertRaises(CommandExecutionError,
288 -- linux_sysctl.persist,
289 -- 'net.ipv4.ip_forward',
290 -- 1, config=None)
291 --
292 -- @patch('os.path.isfile', MagicMock(return_value=False))
293 - @patch('os.path.exists', MagicMock(return_value=True))
294 - def test_persist_no_conf_success(self):
295 - '''
296 -diff --git a/tests/unit/modules/mac_sysctl_test.py b/tests/unit/modules/mac_sysctl_test.py
297 -index e90ec64..b2ea691 100644
298 ---- a/tests/unit/modules/mac_sysctl_test.py
299 -+++ b/tests/unit/modules/mac_sysctl_test.py
300 -@@ -67,18 +67,6 @@ class DarwinSysctlTestCase(TestCase):
301 - 'net.inet.icmp.icmplim', 50), ret)
302 -
303 - @patch('os.path.isfile', MagicMock(return_value=False))
304 -- def test_persist_no_conf_failure(self):
305 -- '''
306 -- Tests adding of config file failure
307 -- '''
308 -- with patch('salt.utils.fopen', mock_open()) as m_open:
309 -- helper_open = m_open()
310 -- helper_open.write.assertRaises(CommandExecutionError,
311 -- mac_sysctl.persist,
312 -- 'net.inet.icmp.icmplim',
313 -- 50, config=None)
314 --
315 -- @patch('os.path.isfile', MagicMock(return_value=False))
316 - def test_persist_no_conf_success(self):
317 - '''
318 - Tests successful add of config file when previously not one
319 -diff --git a/tests/unit/modules/mount_test.py b/tests/unit/modules/mount_test.py
320 -index 290c368..16918d8 100644
321 ---- a/tests/unit/modules/mount_test.py
322 -+++ b/tests/unit/modules/mount_test.py
323 -@@ -137,15 +137,6 @@ class MountTestCase(TestCase):
324 - with patch('salt.utils.fopen', mock_open()):
325 - self.assertTrue(mount.rm_fstab('name', 'device'))
326 -
327 -- mock_fstab = MagicMock(return_value={'name': 'name'})
328 -- with patch.dict(mount.__grains__, {'kernel': ''}):
329 -- with patch.object(mount, 'fstab', mock_fstab):
330 -- with patch('salt.utils.fopen', mock_open()) as m_open:
331 -- helper_open = m_open()
332 -- helper_open.write.assertRaises(CommandExecutionError,
333 -- mount.rm_fstab,
334 -- config=None)
335 --
336 - def test_set_fstab(self):
337 - '''
338 - Tests to verify that this mount is represented in the fstab,
339 -@@ -178,14 +169,6 @@ class MountTestCase(TestCase):
340 - with patch.object(mount, 'automaster', mock):
341 - self.assertTrue(mount.rm_automaster('name', 'device'))
342 -
343 -- mock = MagicMock(return_value={'name': 'name'})
344 -- with patch.object(mount, 'fstab', mock):
345 -- with patch('salt.utils.fopen', mock_open()) as m_open:
346 -- helper_open = m_open()
347 -- helper_open.write.assertRaises(CommandExecutionError,
348 -- mount.rm_automaster,
349 -- 'name', 'device')
350 --
351 - def test_set_automaster(self):
352 - '''
353 - Verify that this mount is represented in the auto_salt, change the mount
354 -diff --git a/tests/unit/modules/puppet_test.py b/tests/unit/modules/puppet_test.py
355 -index 02bc2e1..1fd915b 100644
356 ---- a/tests/unit/modules/puppet_test.py
357 -+++ b/tests/unit/modules/puppet_test.py
358 -@@ -85,11 +85,6 @@ class PuppetTestCase(TestCase):
359 - with patch('salt.utils.fopen', mock_open()):
360 - self.assertTrue(puppet.disable())
361 -
362 -- with patch('salt.utils.fopen', mock_open()) as m_open:
363 -- helper_open = m_open()
364 -- helper_open.write.assertRaises(CommandExecutionError,
365 -- puppet.disable)
366 --
367 - def test_status(self):
368 - '''
369 - Test to display puppet agent status
370 -@@ -144,11 +139,6 @@ class PuppetTestCase(TestCase):
371 - mock_open(read_data="resources: 1")):
372 - self.assertDictEqual(puppet.summary(), {'resources': 1})
373 -
374 -- with patch('salt.utils.fopen', mock_open()) as m_open:
375 -- helper_open = m_open()
376 -- helper_open.write.assertRaises(CommandExecutionError,
377 -- puppet.summary)
378 --
379 - def test_plugin_sync(self):
380 - '''
381 - Test to runs a plugin synch between the puppet master and agent
382
383 diff --git a/app-admin/salt/files/salt-2016.3.3-broken-tests.patch b/app-admin/salt/files/salt-2016.3.3-broken-tests.patch
384 deleted file mode 100644
385 index 8260f34..00000000
386 --- a/app-admin/salt/files/salt-2016.3.3-broken-tests.patch
387 +++ /dev/null
388 @@ -1,56 +0,0 @@
389 -diff --git a/tests/unit/modules/boto_lambda_test.py b/tests/unit/modules/boto_lambda_test.py
390 -index 01ca245..722915b 100644
391 ---- a/tests/unit/modules/boto_lambda_test.py
392 -+++ b/tests/unit/modules/boto_lambda_test.py
393 -@@ -626,18 +626,6 @@ class BotoLambdaEventSourceMappingTestCase(BotoLambdaTestCaseBase, BotoLambdaTes
394 - **conn_parameters)
395 - self.assertTrue(result['deleted'])
396 -
397 -- @skipIf(ON_SUSE, 'Skipping while debugging why the test suite hangs and bails on this test on opensuse')
398 -- def test_that_when_deleting_an_event_source_mapping_by_name_succeeds_the_delete_event_source_mapping_method_returns_true(self):
399 -- '''
400 -- tests True mapping deleted.
401 -- '''
402 -- self.conn.list_event_source_mappings.return_value = {'EventSourceMappings': [event_source_mapping_ret]}
403 -- result = boto_lambda.delete_event_source_mapping(
404 -- EventSourceArn=event_source_mapping_ret['EventSourceArn'],
405 -- FunctionName=event_source_mapping_ret['FunctionArn'],
406 -- **conn_parameters)
407 -- self.assertTrue(result['deleted'])
408 --
409 - def test_that_when_deleting_an_event_source_mapping_without_identifier_the_delete_event_source_mapping_method_raises_saltinvocationexception(self):
410 - '''
411 - tests Deleting a mapping without identifier
412 -diff --git a/tests/unit/modules/inspect_collector_test.py b/tests/unit/modules/inspect_collector_test.py
413 -index 9d2fa3a..710bbd7 100644
414 ---- a/tests/unit/modules/inspect_collector_test.py
415 -+++ b/tests/unit/modules/inspect_collector_test.py
416 -@@ -36,28 +36,6 @@ class InspectorCollectorTestCase(TestCase):
417 - self.assertEqual(inspector.dbfile, '/foo/cache/_minion_collector.db')
418 - self.assertEqual(inspector.pidfile, '/foo/pid/bar.pid')
419 -
420 -- def test_file_tree(self):
421 -- '''
422 -- Test file tree.
423 --
424 -- :return:
425 -- '''
426 --
427 -- inspector = Inspector(cachedir='/test', piddir='/test', pidfilename='bar.pid')
428 -- tree_root = os.path.join(os.path.dirname(os.path.abspath(__file__)), 'inspectlib', 'tree_test')
429 -- expected_tree = (['/a/a/dummy.a', '/a/b/dummy.b', '/b/b.1', '/b/b.2', '/b/b.3'],
430 -- ['/a', '/a/a', '/a/b', '/a/c', '/b', '/c'],
431 -- ['/a/a/dummy.ln.a', '/a/b/dummy.ln.b', '/a/c/b.1', '/b/b.4',
432 -- '/b/b.5', '/c/b.1', '/c/b.2', '/c/b.3'])
433 -- tree_result = []
434 -- for chunk in inspector._get_all_files(tree_root):
435 -- buff = []
436 -- for pth in chunk:
437 -- buff.append(pth.replace(tree_root, ''))
438 -- tree_result.append(buff)
439 -- tree_result = tuple(tree_result)
440 -- self.assertEqual(expected_tree, tree_result)
441 --
442 - def test_get_unmanaged_files(self):
443 - '''
444 - Test get_unmanaged_files.
445
446 diff --git a/app-admin/salt/salt-2015.8.10.ebuild b/app-admin/salt/salt-2015.8.10.ebuild
447 deleted file mode 100644
448 index 92e22af..00000000
449 --- a/app-admin/salt/salt-2015.8.10.ebuild
450 +++ /dev/null
451 @@ -1,135 +0,0 @@
452 -# Copyright 1999-2016 Gentoo Foundation
453 -# Distributed under the terms of the GNU General Public License v2
454 -# $Id$
455 -
456 -EAPI=5
457 -PYTHON_COMPAT=(python2_7)
458 -
459 -inherit eutils systemd distutils-r1
460 -
461 -DESCRIPTION="Salt is a remote execution and configuration manager"
462 -HOMEPAGE="http://saltstack.org/"
463 -
464 -if [[ ${PV} == 9999* ]]; then
465 - inherit git-r3
466 - EGIT_REPO_URI="git://github.com/${PN}stack/${PN}.git"
467 - EGIT_BRANCH="develop"
468 - SRC_URI=""
469 - KEYWORDS=""
470 -else
471 - SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
472 - KEYWORDS="~x86 ~amd64"
473 -fi
474 -
475 -LICENSE="Apache-2.0"
476 -SLOT="0"
477 -IUSE="cherrypy ldap libcloud libvirt gnupg keyring mako mongodb mysql neutron nova"
478 -IUSE+=" openssl portage profile redis selinux test timelib raet +zeromq vim-syntax"
479 -
480 -RDEPEND="sys-apps/pciutils
481 - dev-python/jinja[${PYTHON_USEDEP}]
482 - >=dev-python/msgpack-0.3[${PYTHON_USEDEP}]
483 - dev-python/pyyaml[${PYTHON_USEDEP}]
484 - dev-python/markupsafe[${PYTHON_USEDEP}]
485 - >=dev-python/requests-1.0.0[${PYTHON_USEDEP}]
486 - dev-python/setuptools[${PYTHON_USEDEP}]
487 - >=www-servers/tornado-4.2.1[${PYTHON_USEDEP}]
488 - virtual/python-futures[${PYTHON_USEDEP}]
489 - libcloud? ( >=dev-python/libcloud-0.14.0[${PYTHON_USEDEP}] )
490 - mako? ( dev-python/mako[${PYTHON_USEDEP}] )
491 - ldap? ( dev-python/python-ldap[${PYTHON_USEDEP}] )
492 - libvirt? ( dev-python/libvirt-python[${PYTHON_USEDEP}] )
493 - openssl? (
494 - dev-libs/openssl:*[-bindist]
495 - dev-python/pyopenssl[${PYTHON_USEDEP}]
496 - )
497 - raet? (
498 - >=dev-python/libnacl-1.0.0[${PYTHON_USEDEP}]
499 - >=dev-python/ioflo-1.1.7[${PYTHON_USEDEP}]
500 - >=dev-python/raet-0.6.0[${PYTHON_USEDEP}]
501 - )
502 - zeromq? (
503 - >=dev-python/pyzmq-2.2.0[${PYTHON_USEDEP}]
504 - >=dev-python/pycrypto-2.6.1[${PYTHON_USEDEP}]
505 - )
506 - cherrypy? ( >=dev-python/cherrypy-3.2.2[${PYTHON_USEDEP}] )
507 - mongodb? ( dev-python/pymongo[${PYTHON_USEDEP}] )
508 - portage? ( sys-apps/portage[${PYTHON_USEDEP}] )
509 - keyring? ( dev-python/keyring[${PYTHON_USEDEP}] )
510 - mysql? ( dev-python/mysql-python[${PYTHON_USEDEP}] )
511 - redis? ( dev-python/redis-py[${PYTHON_USEDEP}] )
512 - selinux? ( sec-policy/selinux-salt )
513 - timelib? ( dev-python/timelib[${PYTHON_USEDEP}] )
514 - nova? ( >=dev-python/python-novaclient-2.17.0[${PYTHON_USEDEP}] )
515 - neutron? ( >=dev-python/python-neutronclient-2.3.6[${PYTHON_USEDEP}] )
516 - gnupg? ( dev-python/python-gnupg[${PYTHON_USEDEP}] )
517 - profile? ( dev-python/yappi[${PYTHON_USEDEP}] )
518 - vim-syntax? ( app-vim/salt-vim )"
519 -DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
520 - test? (
521 - dev-python/psutil[${PYTHON_USEDEP}]
522 - dev-python/pip[${PYTHON_USEDEP}]
523 - dev-python/virtualenv[${PYTHON_USEDEP}]
524 - dev-python/mock[${PYTHON_USEDEP}]
525 - dev-python/timelib[${PYTHON_USEDEP}]
526 - >=dev-python/boto-2.32.1[${PYTHON_USEDEP}]
527 - >=dev-python/moto-0.3.6[${PYTHON_USEDEP}]
528 - >=dev-python/SaltTesting-2015.2.16[${PYTHON_USEDEP}]
529 - ${RDEPEND}
530 - )"
531 -
532 -DOCS=(README.rst AUTHORS)
533 -
534 -REQUIRED_USE="|| ( raet zeromq )"
535 -
536 -PATCHES=(
537 - "${FILESDIR}/${PN}-2015.8.0-remove-buggy-tests.patch"
538 - "${FILESDIR}/${PN}-2015.5.5-auth-tests.patch"
539 - "${FILESDIR}/${PN}-2015.5.5-cron-tests.patch"
540 - "${FILESDIR}/${PN}-2015.5.5-remove-buggy-tests.patch"
541 - "${FILESDIR}/${PN}-2015.8.2-tmpdir.patch"
542 - "${FILESDIR}/${PN}-2015.8.10-remove-failing-boto-test.patch"
543 -)
544 -
545 -python_prepare() {
546 - # this test fails because it trys to "pip install distribute"
547 - rm tests/unit/{modules,states}/zcbuildout_test.py \
548 - tests/unit/modules/{rh_ip,win_network,random_org}_test.py
549 -}
550 -
551 -python_install_all() {
552 - local svc
553 - USE_SETUPTOOLS=1 distutils-r1_python_install_all
554 -
555 - for svc in minion master syndic api; do
556 - newinitd "${FILESDIR}"/${svc}-initd-4 salt-${svc}
557 - newconfd "${FILESDIR}"/${svc}-confd-1 salt-${svc}
558 - systemd_dounit "${FILESDIR}"/salt-${svc}.service
559 - done
560 -
561 - insinto /etc/${PN}
562 - doins -r conf/*
563 -}
564 -
565 -python_test() {
566 - local tempdir
567 - # testsuite likes lots of files
568 - ulimit -n 3072
569 -
570 - # ${T} is too long a path for the tests to work
571 - tempdir="$(mktemp -dup /tmp salt-XXX)"
572 - mkdir "${T}/$(basename "${tempdir}")"
573 -
574 - (
575 - cleanup() { rm -f "${tempdir}"; }
576 - trap cleanup EXIT
577 -
578 - addwrite "${tempdir}"
579 - ln -s "$(realpath --relative-to=/tmp "${T}/$(basename "${tempdir}")")" "${tempdir}"
580 -
581 - USE_SETUPTOOLS=1 SHELL="/bin/bash" TMPDIR="${tempdir}" \
582 - ${EPYTHON} tests/runtests.py \
583 - --unit-tests --no-report --verbose
584 -
585 - ) || die "testing failed"
586 -}
587
588 diff --git a/app-admin/salt/salt-2015.8.11.ebuild b/app-admin/salt/salt-2015.8.11.ebuild
589 deleted file mode 100644
590 index 92e22af..00000000
591 --- a/app-admin/salt/salt-2015.8.11.ebuild
592 +++ /dev/null
593 @@ -1,135 +0,0 @@
594 -# Copyright 1999-2016 Gentoo Foundation
595 -# Distributed under the terms of the GNU General Public License v2
596 -# $Id$
597 -
598 -EAPI=5
599 -PYTHON_COMPAT=(python2_7)
600 -
601 -inherit eutils systemd distutils-r1
602 -
603 -DESCRIPTION="Salt is a remote execution and configuration manager"
604 -HOMEPAGE="http://saltstack.org/"
605 -
606 -if [[ ${PV} == 9999* ]]; then
607 - inherit git-r3
608 - EGIT_REPO_URI="git://github.com/${PN}stack/${PN}.git"
609 - EGIT_BRANCH="develop"
610 - SRC_URI=""
611 - KEYWORDS=""
612 -else
613 - SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
614 - KEYWORDS="~x86 ~amd64"
615 -fi
616 -
617 -LICENSE="Apache-2.0"
618 -SLOT="0"
619 -IUSE="cherrypy ldap libcloud libvirt gnupg keyring mako mongodb mysql neutron nova"
620 -IUSE+=" openssl portage profile redis selinux test timelib raet +zeromq vim-syntax"
621 -
622 -RDEPEND="sys-apps/pciutils
623 - dev-python/jinja[${PYTHON_USEDEP}]
624 - >=dev-python/msgpack-0.3[${PYTHON_USEDEP}]
625 - dev-python/pyyaml[${PYTHON_USEDEP}]
626 - dev-python/markupsafe[${PYTHON_USEDEP}]
627 - >=dev-python/requests-1.0.0[${PYTHON_USEDEP}]
628 - dev-python/setuptools[${PYTHON_USEDEP}]
629 - >=www-servers/tornado-4.2.1[${PYTHON_USEDEP}]
630 - virtual/python-futures[${PYTHON_USEDEP}]
631 - libcloud? ( >=dev-python/libcloud-0.14.0[${PYTHON_USEDEP}] )
632 - mako? ( dev-python/mako[${PYTHON_USEDEP}] )
633 - ldap? ( dev-python/python-ldap[${PYTHON_USEDEP}] )
634 - libvirt? ( dev-python/libvirt-python[${PYTHON_USEDEP}] )
635 - openssl? (
636 - dev-libs/openssl:*[-bindist]
637 - dev-python/pyopenssl[${PYTHON_USEDEP}]
638 - )
639 - raet? (
640 - >=dev-python/libnacl-1.0.0[${PYTHON_USEDEP}]
641 - >=dev-python/ioflo-1.1.7[${PYTHON_USEDEP}]
642 - >=dev-python/raet-0.6.0[${PYTHON_USEDEP}]
643 - )
644 - zeromq? (
645 - >=dev-python/pyzmq-2.2.0[${PYTHON_USEDEP}]
646 - >=dev-python/pycrypto-2.6.1[${PYTHON_USEDEP}]
647 - )
648 - cherrypy? ( >=dev-python/cherrypy-3.2.2[${PYTHON_USEDEP}] )
649 - mongodb? ( dev-python/pymongo[${PYTHON_USEDEP}] )
650 - portage? ( sys-apps/portage[${PYTHON_USEDEP}] )
651 - keyring? ( dev-python/keyring[${PYTHON_USEDEP}] )
652 - mysql? ( dev-python/mysql-python[${PYTHON_USEDEP}] )
653 - redis? ( dev-python/redis-py[${PYTHON_USEDEP}] )
654 - selinux? ( sec-policy/selinux-salt )
655 - timelib? ( dev-python/timelib[${PYTHON_USEDEP}] )
656 - nova? ( >=dev-python/python-novaclient-2.17.0[${PYTHON_USEDEP}] )
657 - neutron? ( >=dev-python/python-neutronclient-2.3.6[${PYTHON_USEDEP}] )
658 - gnupg? ( dev-python/python-gnupg[${PYTHON_USEDEP}] )
659 - profile? ( dev-python/yappi[${PYTHON_USEDEP}] )
660 - vim-syntax? ( app-vim/salt-vim )"
661 -DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
662 - test? (
663 - dev-python/psutil[${PYTHON_USEDEP}]
664 - dev-python/pip[${PYTHON_USEDEP}]
665 - dev-python/virtualenv[${PYTHON_USEDEP}]
666 - dev-python/mock[${PYTHON_USEDEP}]
667 - dev-python/timelib[${PYTHON_USEDEP}]
668 - >=dev-python/boto-2.32.1[${PYTHON_USEDEP}]
669 - >=dev-python/moto-0.3.6[${PYTHON_USEDEP}]
670 - >=dev-python/SaltTesting-2015.2.16[${PYTHON_USEDEP}]
671 - ${RDEPEND}
672 - )"
673 -
674 -DOCS=(README.rst AUTHORS)
675 -
676 -REQUIRED_USE="|| ( raet zeromq )"
677 -
678 -PATCHES=(
679 - "${FILESDIR}/${PN}-2015.8.0-remove-buggy-tests.patch"
680 - "${FILESDIR}/${PN}-2015.5.5-auth-tests.patch"
681 - "${FILESDIR}/${PN}-2015.5.5-cron-tests.patch"
682 - "${FILESDIR}/${PN}-2015.5.5-remove-buggy-tests.patch"
683 - "${FILESDIR}/${PN}-2015.8.2-tmpdir.patch"
684 - "${FILESDIR}/${PN}-2015.8.10-remove-failing-boto-test.patch"
685 -)
686 -
687 -python_prepare() {
688 - # this test fails because it trys to "pip install distribute"
689 - rm tests/unit/{modules,states}/zcbuildout_test.py \
690 - tests/unit/modules/{rh_ip,win_network,random_org}_test.py
691 -}
692 -
693 -python_install_all() {
694 - local svc
695 - USE_SETUPTOOLS=1 distutils-r1_python_install_all
696 -
697 - for svc in minion master syndic api; do
698 - newinitd "${FILESDIR}"/${svc}-initd-4 salt-${svc}
699 - newconfd "${FILESDIR}"/${svc}-confd-1 salt-${svc}
700 - systemd_dounit "${FILESDIR}"/salt-${svc}.service
701 - done
702 -
703 - insinto /etc/${PN}
704 - doins -r conf/*
705 -}
706 -
707 -python_test() {
708 - local tempdir
709 - # testsuite likes lots of files
710 - ulimit -n 3072
711 -
712 - # ${T} is too long a path for the tests to work
713 - tempdir="$(mktemp -dup /tmp salt-XXX)"
714 - mkdir "${T}/$(basename "${tempdir}")"
715 -
716 - (
717 - cleanup() { rm -f "${tempdir}"; }
718 - trap cleanup EXIT
719 -
720 - addwrite "${tempdir}"
721 - ln -s "$(realpath --relative-to=/tmp "${T}/$(basename "${tempdir}")")" "${tempdir}"
722 -
723 - USE_SETUPTOOLS=1 SHELL="/bin/bash" TMPDIR="${tempdir}" \
724 - ${EPYTHON} tests/runtests.py \
725 - --unit-tests --no-report --verbose
726 -
727 - ) || die "testing failed"
728 -}
729
730 diff --git a/app-admin/salt/salt-2015.8.8.ebuild b/app-admin/salt/salt-2015.8.8.ebuild
731 deleted file mode 100644
732 index a8bc200..00000000
733 --- a/app-admin/salt/salt-2015.8.8.ebuild
734 +++ /dev/null
735 @@ -1,133 +0,0 @@
736 -# Copyright 1999-2016 Gentoo Foundation
737 -# Distributed under the terms of the GNU General Public License v2
738 -# $Id$
739 -
740 -EAPI=5
741 -PYTHON_COMPAT=(python2_7)
742 -
743 -inherit eutils systemd distutils-r1
744 -
745 -DESCRIPTION="Salt is a remote execution and configuration manager"
746 -HOMEPAGE="http://saltstack.org/"
747 -
748 -if [[ ${PV} == 9999* ]]; then
749 - inherit git-r3
750 - EGIT_REPO_URI="git://github.com/${PN}stack/${PN}.git"
751 - EGIT_BRANCH="develop"
752 - SRC_URI=""
753 - KEYWORDS=""
754 -else
755 - SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
756 - KEYWORDS="~x86 ~amd64"
757 -fi
758 -
759 -LICENSE="Apache-2.0"
760 -SLOT="0"
761 -IUSE="cherrypy ldap libcloud libvirt gnupg keyring mako mongodb mysql neutron nova"
762 -IUSE+=" openssl profile redis selinux test timelib raet +zeromq vim-syntax"
763 -
764 -RDEPEND="sys-apps/pciutils
765 - dev-python/jinja[${PYTHON_USEDEP}]
766 - >=dev-python/msgpack-0.3[${PYTHON_USEDEP}]
767 - dev-python/pyyaml[${PYTHON_USEDEP}]
768 - dev-python/markupsafe[${PYTHON_USEDEP}]
769 - >=dev-python/requests-1.0.0[${PYTHON_USEDEP}]
770 - dev-python/setuptools[${PYTHON_USEDEP}]
771 - >=www-servers/tornado-4.2.1[${PYTHON_USEDEP}]
772 - virtual/python-futures[${PYTHON_USEDEP}]
773 - libcloud? ( >=dev-python/libcloud-0.14.0[${PYTHON_USEDEP}] )
774 - mako? ( dev-python/mako[${PYTHON_USEDEP}] )
775 - ldap? ( dev-python/python-ldap[${PYTHON_USEDEP}] )
776 - libvirt? ( dev-python/libvirt-python[${PYTHON_USEDEP}] )
777 - openssl? (
778 - dev-libs/openssl:*[-bindist]
779 - dev-python/pyopenssl[${PYTHON_USEDEP}]
780 - )
781 - raet? (
782 - >=dev-python/libnacl-1.0.0[${PYTHON_USEDEP}]
783 - >=dev-python/ioflo-1.1.7[${PYTHON_USEDEP}]
784 - >=dev-python/raet-0.6.0[${PYTHON_USEDEP}]
785 - )
786 - zeromq? (
787 - >=dev-python/pyzmq-2.2.0[${PYTHON_USEDEP}]
788 - >=dev-python/pycrypto-2.6.1[${PYTHON_USEDEP}]
789 - )
790 - cherrypy? ( >=dev-python/cherrypy-3.2.2[${PYTHON_USEDEP}] )
791 - mongodb? ( dev-python/pymongo[${PYTHON_USEDEP}] )
792 - keyring? ( dev-python/keyring[${PYTHON_USEDEP}] )
793 - mysql? ( dev-python/mysql-python[${PYTHON_USEDEP}] )
794 - redis? ( dev-python/redis-py[${PYTHON_USEDEP}] )
795 - selinux? ( sec-policy/selinux-salt )
796 - timelib? ( dev-python/timelib[${PYTHON_USEDEP}] )
797 - nova? ( >=dev-python/python-novaclient-2.17.0[${PYTHON_USEDEP}] )
798 - neutron? ( >=dev-python/python-neutronclient-2.3.6[${PYTHON_USEDEP}] )
799 - gnupg? ( dev-python/python-gnupg[${PYTHON_USEDEP}] )
800 - profile? ( dev-python/yappi[${PYTHON_USEDEP}] )
801 - vim-syntax? ( app-vim/salt-vim )"
802 -DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
803 - test? (
804 - dev-python/psutil[${PYTHON_USEDEP}]
805 - dev-python/pip[${PYTHON_USEDEP}]
806 - dev-python/virtualenv[${PYTHON_USEDEP}]
807 - dev-python/mock[${PYTHON_USEDEP}]
808 - dev-python/timelib[${PYTHON_USEDEP}]
809 - >=dev-python/boto-2.32.1[${PYTHON_USEDEP}]
810 - >=dev-python/moto-0.3.6[${PYTHON_USEDEP}]
811 - >=dev-python/SaltTesting-2015.2.16[${PYTHON_USEDEP}]
812 - ${RDEPEND}
813 - )"
814 -
815 -DOCS=(README.rst AUTHORS)
816 -
817 -REQUIRED_USE="|| ( raet zeromq )"
818 -
819 -PATCHES=(
820 - "${FILESDIR}/${PN}-2015.8.0-remove-buggy-tests.patch"
821 - "${FILESDIR}/${PN}-2015.5.5-auth-tests.patch"
822 - "${FILESDIR}/${PN}-2015.5.5-cron-tests.patch"
823 - "${FILESDIR}/${PN}-2015.5.5-remove-buggy-tests.patch"
824 - "${FILESDIR}/${PN}-2015.8.2-tmpdir.patch"
825 -)
826 -
827 -python_prepare() {
828 - # this test fails because it trys to "pip install distribute"
829 - rm tests/unit/{modules,states}/zcbuildout_test.py \
830 - tests/unit/modules/{rh_ip,win_network,random_org}_test.py
831 -}
832 -
833 -python_install_all() {
834 - local svc
835 - USE_SETUPTOOLS=1 distutils-r1_python_install_all
836 -
837 - for svc in minion master syndic api; do
838 - newinitd "${FILESDIR}"/${svc}-initd-4 salt-${svc}
839 - newconfd "${FILESDIR}"/${svc}-confd-1 salt-${svc}
840 - systemd_dounit "${FILESDIR}"/salt-${svc}.service
841 - done
842 -
843 - insinto /etc/${PN}
844 - doins -r conf/*
845 -}
846 -
847 -python_test() {
848 - local tempdir
849 - # testsuite likes lots of files
850 - ulimit -n 3072
851 -
852 - # ${T} is too long a path for the tests to work
853 - tempdir="$(mktemp -dup /tmp salt-XXX)"
854 - mkdir "${T}/$(basename "${tempdir}")"
855 -
856 - (
857 - cleanup() { rm -f "${tempdir}"; }
858 - trap cleanup EXIT
859 -
860 - addwrite "${tempdir}"
861 - ln -s "$(realpath --relative-to=/tmp "${T}/$(basename "${tempdir}")")" "${tempdir}"
862 -
863 - USE_SETUPTOOLS=1 SHELL="/bin/bash" TMPDIR="${tempdir}" \
864 - ${EPYTHON} tests/runtests.py \
865 - --unit-tests --no-report --verbose
866 -
867 - ) || die "testing failed"
868 -}
869
870 diff --git a/app-admin/salt/salt-2016.3.1.ebuild b/app-admin/salt/salt-2016.3.1.ebuild
871 deleted file mode 100644
872 index 2875dbc..00000000
873 --- a/app-admin/salt/salt-2016.3.1.ebuild
874 +++ /dev/null
875 @@ -1,142 +0,0 @@
876 -# Copyright 1999-2016 Gentoo Foundation
877 -# Distributed under the terms of the GNU General Public License v2
878 -# $Id$
879 -
880 -EAPI=6
881 -PYTHON_COMPAT=(python2_7)
882 -
883 -inherit eutils systemd distutils-r1
884 -
885 -DESCRIPTION="Salt is a remote execution and configuration manager"
886 -HOMEPAGE="http://saltstack.org/"
887 -
888 -if [[ ${PV} == 9999* ]]; then
889 - inherit git-r3
890 - EGIT_REPO_URI="git://github.com/${PN}stack/${PN}.git"
891 - EGIT_BRANCH="develop"
892 - SRC_URI=""
893 - KEYWORDS=""
894 -else
895 - SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
896 - KEYWORDS="~x86 ~amd64"
897 -fi
898 -
899 -LICENSE="Apache-2.0"
900 -SLOT="0"
901 -IUSE="cherrypy ldap libcloud libvirt gnupg keyring mako mongodb mysql neutron nova"
902 -IUSE+=" openssl portage profile redis selinux test timelib raet +zeromq vim-syntax"
903 -
904 -RDEPEND="sys-apps/pciutils
905 - dev-python/jinja[${PYTHON_USEDEP}]
906 - >=dev-python/msgpack-0.3[${PYTHON_USEDEP}]
907 - dev-python/pyyaml[${PYTHON_USEDEP}]
908 - dev-python/markupsafe[${PYTHON_USEDEP}]
909 - >=dev-python/requests-1.0.0[${PYTHON_USEDEP}]
910 - dev-python/setuptools[${PYTHON_USEDEP}]
911 - >=www-servers/tornado-4.2.1[${PYTHON_USEDEP}]
912 - virtual/python-futures[${PYTHON_USEDEP}]
913 - libcloud? ( >=dev-python/libcloud-0.14.0[${PYTHON_USEDEP}] )
914 - mako? ( dev-python/mako[${PYTHON_USEDEP}] )
915 - ldap? ( dev-python/python-ldap[${PYTHON_USEDEP}] )
916 - libvirt? ( dev-python/libvirt-python[${PYTHON_USEDEP}] )
917 - openssl? (
918 - dev-libs/openssl:*[-bindist]
919 - dev-python/pyopenssl[${PYTHON_USEDEP}]
920 - )
921 - raet? (
922 - >=dev-python/libnacl-1.0.0[${PYTHON_USEDEP}]
923 - >=dev-python/ioflo-1.1.7[${PYTHON_USEDEP}]
924 - >=dev-python/raet-0.6.0[${PYTHON_USEDEP}]
925 - )
926 - zeromq? (
927 - >=dev-python/pyzmq-2.2.0[${PYTHON_USEDEP}]
928 - >=dev-python/pycrypto-2.6.1[${PYTHON_USEDEP}]
929 - )
930 - cherrypy? ( >=dev-python/cherrypy-3.2.2[${PYTHON_USEDEP}] )
931 - mongodb? ( dev-python/pymongo[${PYTHON_USEDEP}] )
932 - portage? ( sys-apps/portage[${PYTHON_USEDEP}] )
933 - keyring? ( dev-python/keyring[${PYTHON_USEDEP}] )
934 - mysql? ( dev-python/mysql-python[${PYTHON_USEDEP}] )
935 - redis? ( dev-python/redis-py[${PYTHON_USEDEP}] )
936 - selinux? ( sec-policy/selinux-salt )
937 - timelib? ( dev-python/timelib[${PYTHON_USEDEP}] )
938 - nova? ( >=dev-python/python-novaclient-2.17.0[${PYTHON_USEDEP}] )
939 - neutron? ( >=dev-python/python-neutronclient-2.3.6[${PYTHON_USEDEP}] )
940 - gnupg? ( dev-python/python-gnupg[${PYTHON_USEDEP}] )
941 - profile? ( dev-python/yappi[${PYTHON_USEDEP}] )
942 - vim-syntax? ( app-vim/salt-vim )"
943 -DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
944 - test? (
945 - dev-python/psutil[${PYTHON_USEDEP}]
946 - dev-python/pip[${PYTHON_USEDEP}]
947 - dev-python/virtualenv[${PYTHON_USEDEP}]
948 - dev-python/mock[${PYTHON_USEDEP}]
949 - dev-python/timelib[${PYTHON_USEDEP}]
950 - >=dev-python/boto-2.32.1[${PYTHON_USEDEP}]
951 - !x86? ( dev-python/boto3[${PYTHON_USEDEP}] )
952 - >=dev-python/moto-0.3.6[${PYTHON_USEDEP}]
953 - >=dev-python/SaltTesting-2016.5.11[${PYTHON_USEDEP}]
954 - >=dev-python/libcloud-0.14.0[${PYTHON_USEDEP}]
955 - ${RDEPEND}
956 - )"
957 -
958 -DOCS=(README.rst AUTHORS)
959 -
960 -REQUIRED_USE="|| ( raet zeromq )"
961 -RESTRICT="x86? ( test )"
962 -
963 -PATCHES=(
964 - "${FILESDIR}/${PN}-2015.8.2-tmpdir.patch"
965 - "${FILESDIR}/${PN}-2016.3.1-dont-realpath-tmpdir.patch"
966 - "${FILESDIR}/${PN}-2016.3.1-broken-tests.patch"
967 -)
968 -
969 -python_prepare() {
970 - # this test fails because it trys to "pip install distribute"
971 - rm tests/unit/{modules,states}/zcbuildout_test.py \
972 - tests/unit/modules/{rh_ip,win_network,random_org}_test.py
973 -
974 - # apparently libcloud does not know about this?
975 - rm tests/unit/cloud/clouds/dimensiondata_test.py
976 -
977 - # seriously? "ValueError: Missing (or not readable) key file: '/home/dany/PRIVKEY.pem'"
978 - rm tests/unit/cloud/clouds/gce_test.py
979 -}
980 -
981 -python_install_all() {
982 - local svc
983 - USE_SETUPTOOLS=1 distutils-r1_python_install_all
984 -
985 - for svc in minion master syndic api; do
986 - newinitd "${FILESDIR}"/${svc}-initd-4 salt-${svc}
987 - newconfd "${FILESDIR}"/${svc}-confd-1 salt-${svc}
988 - systemd_dounit "${FILESDIR}"/salt-${svc}.service
989 - done
990 -
991 - insinto /etc/${PN}
992 - doins -r conf/*
993 -}
994 -
995 -python_test() {
996 - local tempdir
997 - # testsuite likes lots of files
998 - ulimit -n 3072
999 -
1000 - # ${T} is too long a path for the tests to work
1001 - tempdir="$(mktemp -dup /tmp salt-XXX)"
1002 - mkdir "${T}/$(basename "${tempdir}")"
1003 -
1004 - (
1005 - cleanup() { rm -f "${tempdir}"; }
1006 - trap cleanup EXIT
1007 -
1008 - addwrite "${tempdir}"
1009 - ln -s "$(realpath --relative-to=/tmp "${T}/$(basename "${tempdir}")")" "${tempdir}"
1010 -
1011 - USE_SETUPTOOLS=1 SHELL="/bin/bash" \
1012 - TMPDIR="${tempdir}" \
1013 - ${EPYTHON} tests/runtests.py \
1014 - --unit-tests --no-report --verbose
1015 -
1016 - ) || die "testing failed"
1017 -}
1018
1019 diff --git a/app-admin/salt/salt-2016.3.2.ebuild b/app-admin/salt/salt-2016.3.2.ebuild
1020 deleted file mode 100644
1021 index 3528998..00000000
1022 --- a/app-admin/salt/salt-2016.3.2.ebuild
1023 +++ /dev/null
1024 @@ -1,142 +0,0 @@
1025 -# Copyright 1999-2016 Gentoo Foundation
1026 -# Distributed under the terms of the GNU General Public License v2
1027 -# $Id$
1028 -
1029 -EAPI=6
1030 -PYTHON_COMPAT=(python2_7)
1031 -
1032 -inherit eutils systemd distutils-r1
1033 -
1034 -DESCRIPTION="Salt is a remote execution and configuration manager"
1035 -HOMEPAGE="http://saltstack.org/"
1036 -
1037 -if [[ ${PV} == 9999* ]]; then
1038 - inherit git-r3
1039 - EGIT_REPO_URI="git://github.com/${PN}stack/${PN}.git"
1040 - EGIT_BRANCH="develop"
1041 - SRC_URI=""
1042 - KEYWORDS=""
1043 -else
1044 - SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
1045 - KEYWORDS="~x86 ~amd64"
1046 -fi
1047 -
1048 -LICENSE="Apache-2.0"
1049 -SLOT="0"
1050 -IUSE="cherrypy ldap libcloud libvirt gnupg keyring mako mongodb mysql neutron nova"
1051 -IUSE+=" openssl portage profile redis selinux test timelib raet +zeromq vim-syntax"
1052 -
1053 -RDEPEND="sys-apps/pciutils
1054 - dev-python/jinja[${PYTHON_USEDEP}]
1055 - >=dev-python/msgpack-0.3[${PYTHON_USEDEP}]
1056 - dev-python/pyyaml[${PYTHON_USEDEP}]
1057 - dev-python/markupsafe[${PYTHON_USEDEP}]
1058 - >=dev-python/requests-1.0.0[${PYTHON_USEDEP}]
1059 - dev-python/setuptools[${PYTHON_USEDEP}]
1060 - >=www-servers/tornado-4.2.1[${PYTHON_USEDEP}]
1061 - virtual/python-futures[${PYTHON_USEDEP}]
1062 - libcloud? ( >=dev-python/libcloud-0.14.0[${PYTHON_USEDEP}] )
1063 - mako? ( dev-python/mako[${PYTHON_USEDEP}] )
1064 - ldap? ( dev-python/python-ldap[${PYTHON_USEDEP}] )
1065 - libvirt? ( dev-python/libvirt-python[${PYTHON_USEDEP}] )
1066 - openssl? (
1067 - dev-libs/openssl:*[-bindist]
1068 - dev-python/pyopenssl[${PYTHON_USEDEP}]
1069 - )
1070 - raet? (
1071 - >=dev-python/libnacl-1.0.0[${PYTHON_USEDEP}]
1072 - >=dev-python/ioflo-1.1.7[${PYTHON_USEDEP}]
1073 - >=dev-python/raet-0.6.0[${PYTHON_USEDEP}]
1074 - )
1075 - zeromq? (
1076 - >=dev-python/pyzmq-2.2.0[${PYTHON_USEDEP}]
1077 - >=dev-python/pycrypto-2.6.1[${PYTHON_USEDEP}]
1078 - )
1079 - cherrypy? ( >=dev-python/cherrypy-3.2.2[${PYTHON_USEDEP}] )
1080 - mongodb? ( dev-python/pymongo[${PYTHON_USEDEP}] )
1081 - portage? ( sys-apps/portage[${PYTHON_USEDEP}] )
1082 - keyring? ( dev-python/keyring[${PYTHON_USEDEP}] )
1083 - mysql? ( dev-python/mysql-python[${PYTHON_USEDEP}] )
1084 - redis? ( dev-python/redis-py[${PYTHON_USEDEP}] )
1085 - selinux? ( sec-policy/selinux-salt )
1086 - timelib? ( dev-python/timelib[${PYTHON_USEDEP}] )
1087 - nova? ( >=dev-python/python-novaclient-2.17.0[${PYTHON_USEDEP}] )
1088 - neutron? ( >=dev-python/python-neutronclient-2.3.6[${PYTHON_USEDEP}] )
1089 - gnupg? ( dev-python/python-gnupg[${PYTHON_USEDEP}] )
1090 - profile? ( dev-python/yappi[${PYTHON_USEDEP}] )
1091 - vim-syntax? ( app-vim/salt-vim )"
1092 -DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
1093 - test? (
1094 - dev-python/psutil[${PYTHON_USEDEP}]
1095 - dev-python/pip[${PYTHON_USEDEP}]
1096 - dev-python/virtualenv[${PYTHON_USEDEP}]
1097 - dev-python/mock[${PYTHON_USEDEP}]
1098 - dev-python/timelib[${PYTHON_USEDEP}]
1099 - >=dev-python/boto-2.32.1[${PYTHON_USEDEP}]
1100 - !x86? ( dev-python/boto3[${PYTHON_USEDEP}] )
1101 - >=dev-python/moto-0.3.6[${PYTHON_USEDEP}]
1102 - >=dev-python/SaltTesting-2016.5.11[${PYTHON_USEDEP}]
1103 - >=dev-python/libcloud-0.14.0[${PYTHON_USEDEP}]
1104 - ${RDEPEND}
1105 - )"
1106 -
1107 -DOCS=(README.rst AUTHORS)
1108 -
1109 -REQUIRED_USE="|| ( raet zeromq )"
1110 -RESTRICT="x86? ( test )"
1111 -
1112 -PATCHES=(
1113 - "${FILESDIR}/${PN}-2015.8.2-tmpdir.patch"
1114 - "${FILESDIR}/${PN}-2016.3.1-dont-realpath-tmpdir.patch"
1115 - "${FILESDIR}/${PN}-2016.3.2-broken-tests.patch"
1116 -)
1117 -
1118 -python_prepare() {
1119 - # this test fails because it trys to "pip install distribute"
1120 - rm tests/unit/{modules,states}/zcbuildout_test.py \
1121 - tests/unit/modules/{rh_ip,win_network,random_org}_test.py
1122 -
1123 - # apparently libcloud does not know about this?
1124 - rm tests/unit/cloud/clouds/dimensiondata_test.py
1125 -
1126 - # seriously? "ValueError: Missing (or not readable) key file: '/home/dany/PRIVKEY.pem'"
1127 - rm tests/unit/cloud/clouds/gce_test.py
1128 -}
1129 -
1130 -python_install_all() {
1131 - local svc
1132 - USE_SETUPTOOLS=1 distutils-r1_python_install_all
1133 -
1134 - for svc in minion master syndic api; do
1135 - newinitd "${FILESDIR}"/${svc}-initd-4 salt-${svc}
1136 - newconfd "${FILESDIR}"/${svc}-confd-1 salt-${svc}
1137 - systemd_dounit "${FILESDIR}"/salt-${svc}.service
1138 - done
1139 -
1140 - insinto /etc/${PN}
1141 - doins -r conf/*
1142 -}
1143 -
1144 -python_test() {
1145 - local tempdir
1146 - # testsuite likes lots of files
1147 - ulimit -n 3072
1148 -
1149 - # ${T} is too long a path for the tests to work
1150 - tempdir="$(mktemp -dup /tmp salt-XXX)"
1151 - mkdir "${T}/$(basename "${tempdir}")"
1152 -
1153 - (
1154 - cleanup() { rm -f "${tempdir}"; }
1155 - trap cleanup EXIT
1156 -
1157 - addwrite "${tempdir}"
1158 - ln -s "$(realpath --relative-to=/tmp "${T}/$(basename "${tempdir}")")" "${tempdir}"
1159 -
1160 - USE_SETUPTOOLS=1 SHELL="/bin/bash" \
1161 - TMPDIR="${tempdir}" \
1162 - ${EPYTHON} tests/runtests.py \
1163 - --unit-tests --no-report --verbose
1164 -
1165 - ) || die "testing failed"
1166 -}
1167
1168 diff --git a/app-admin/salt/salt-2016.3.3.ebuild b/app-admin/salt/salt-2016.3.3.ebuild
1169 deleted file mode 100644
1170 index ba64cbc..00000000
1171 --- a/app-admin/salt/salt-2016.3.3.ebuild
1172 +++ /dev/null
1173 @@ -1,143 +0,0 @@
1174 -# Copyright 1999-2016 Gentoo Foundation
1175 -# Distributed under the terms of the GNU General Public License v2
1176 -# $Id$
1177 -
1178 -EAPI=6
1179 -PYTHON_COMPAT=( python2_7 )
1180 -
1181 -inherit eutils systemd distutils-r1
1182 -
1183 -DESCRIPTION="Salt is a remote execution and configuration manager"
1184 -HOMEPAGE="http://saltstack.org/"
1185 -
1186 -if [[ ${PV} == 9999* ]]; then
1187 - inherit git-r3
1188 - EGIT_REPO_URI="git://github.com/${PN}stack/${PN}.git"
1189 - EGIT_BRANCH="develop"
1190 - SRC_URI=""
1191 - KEYWORDS=""
1192 -else
1193 - SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
1194 - KEYWORDS="~x86 ~amd64"
1195 -fi
1196 -
1197 -LICENSE="Apache-2.0"
1198 -SLOT="0"
1199 -IUSE="cherrypy ldap libcloud libvirt gnupg keyring mako mongodb mysql neutron nova"
1200 -IUSE+=" openssl portage profile redis selinux test timelib raet +zeromq vim-syntax"
1201 -
1202 -RDEPEND="sys-apps/pciutils
1203 - dev-python/jinja[${PYTHON_USEDEP}]
1204 - >=dev-python/msgpack-0.3[${PYTHON_USEDEP}]
1205 - dev-python/pyyaml[${PYTHON_USEDEP}]
1206 - dev-python/markupsafe[${PYTHON_USEDEP}]
1207 - >=dev-python/requests-1.0.0[${PYTHON_USEDEP}]
1208 - dev-python/setuptools[${PYTHON_USEDEP}]
1209 - >=www-servers/tornado-4.2.1[${PYTHON_USEDEP}]
1210 - virtual/python-futures[${PYTHON_USEDEP}]
1211 - libcloud? ( >=dev-python/libcloud-0.14.0[${PYTHON_USEDEP}] )
1212 - mako? ( dev-python/mako[${PYTHON_USEDEP}] )
1213 - ldap? ( dev-python/python-ldap[${PYTHON_USEDEP}] )
1214 - libvirt? ( dev-python/libvirt-python[${PYTHON_USEDEP}] )
1215 - openssl? (
1216 - dev-libs/openssl:*[-bindist]
1217 - dev-python/pyopenssl[${PYTHON_USEDEP}]
1218 - )
1219 - raet? (
1220 - >=dev-python/libnacl-1.0.0[${PYTHON_USEDEP}]
1221 - >=dev-python/ioflo-1.1.7[${PYTHON_USEDEP}]
1222 - >=dev-python/raet-0.6.0[${PYTHON_USEDEP}]
1223 - )
1224 - zeromq? (
1225 - >=dev-python/pyzmq-2.2.0[${PYTHON_USEDEP}]
1226 - >=dev-python/pycrypto-2.6.1[${PYTHON_USEDEP}]
1227 - )
1228 - cherrypy? ( >=dev-python/cherrypy-3.2.2[${PYTHON_USEDEP}] )
1229 - mongodb? ( dev-python/pymongo[${PYTHON_USEDEP}] )
1230 - portage? ( sys-apps/portage[${PYTHON_USEDEP}] )
1231 - keyring? ( dev-python/keyring[${PYTHON_USEDEP}] )
1232 - mysql? ( dev-python/mysql-python[${PYTHON_USEDEP}] )
1233 - redis? ( dev-python/redis-py[${PYTHON_USEDEP}] )
1234 - selinux? ( sec-policy/selinux-salt )
1235 - timelib? ( dev-python/timelib[${PYTHON_USEDEP}] )
1236 - nova? ( >=dev-python/python-novaclient-2.17.0[${PYTHON_USEDEP}] )
1237 - neutron? ( >=dev-python/python-neutronclient-2.3.6[${PYTHON_USEDEP}] )
1238 - gnupg? ( dev-python/python-gnupg[${PYTHON_USEDEP}] )
1239 - profile? ( dev-python/yappi[${PYTHON_USEDEP}] )
1240 - vim-syntax? ( app-vim/salt-vim )"
1241 -DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
1242 - test? (
1243 - dev-python/psutil[${PYTHON_USEDEP}]
1244 - dev-python/pip[${PYTHON_USEDEP}]
1245 - dev-python/virtualenv[${PYTHON_USEDEP}]
1246 - dev-python/mock[${PYTHON_USEDEP}]
1247 - dev-python/timelib[${PYTHON_USEDEP}]
1248 - >=dev-python/boto-2.32.1[${PYTHON_USEDEP}]
1249 - !x86? ( dev-python/boto3[${PYTHON_USEDEP}] )
1250 - >=dev-python/moto-0.3.6[${PYTHON_USEDEP}]
1251 - >=dev-python/SaltTesting-2016.5.11[${PYTHON_USEDEP}]
1252 - >=dev-python/libcloud-0.14.0[${PYTHON_USEDEP}]
1253 - ${RDEPEND}
1254 - )"
1255 -
1256 -DOCS=( README.rst AUTHORS )
1257 -
1258 -REQUIRED_USE="|| ( raet zeromq )"
1259 -RESTRICT="x86? ( test )"
1260 -
1261 -PATCHES=(
1262 - "${FILESDIR}/${PN}-2015.8.2-tmpdir.patch"
1263 - "${FILESDIR}/${PN}-2016.3.1-dont-realpath-tmpdir.patch"
1264 - "${FILESDIR}/${PN}-2016.3.2-broken-tests.patch"
1265 - "${FILESDIR}/${PN}-2016.3.3-broken-tests.patch"
1266 -)
1267 -
1268 -python_prepare() {
1269 - # this test fails because it trys to "pip install distribute"
1270 - rm tests/unit/{modules,states}/zcbuildout_test.py \
1271 - tests/unit/modules/{rh_ip,win_network,random_org}_test.py || die
1272 -
1273 - # apparently libcloud does not know about this?
1274 - rm tests/unit/cloud/clouds/dimensiondata_test.py || die
1275 -
1276 - # seriously? "ValueError: Missing (or not readable) key file: '/home/dany/PRIVKEY.pem'"
1277 - rm tests/unit/cloud/clouds/gce_test.py || die
1278 -}
1279 -
1280 -python_install_all() {
1281 - local svc
1282 - USE_SETUPTOOLS=1 distutils-r1_python_install_all
1283 -
1284 - for svc in minion master syndic api; do
1285 - newinitd "${FILESDIR}"/${svc}-initd-4 salt-${svc}
1286 - newconfd "${FILESDIR}"/${svc}-confd-1 salt-${svc}
1287 - systemd_dounit "${FILESDIR}"/salt-${svc}.service
1288 - done
1289 -
1290 - insinto /etc/${PN}
1291 - doins -r conf/*
1292 -}
1293 -
1294 -python_test() {
1295 - local tempdir
1296 - # testsuite likes lots of files
1297 - ulimit -n 3072 || die
1298 -
1299 - # ${T} is too long a path for the tests to work
1300 - tempdir="$(mktemp -dup /tmp salt-XXX)"
1301 - mkdir "${T}/$(basename "${tempdir}")"
1302 -
1303 - (
1304 - cleanup() { rm -f "${tempdir}"; }
1305 - trap cleanup EXIT
1306 -
1307 - addwrite "${tempdir}"
1308 - ln -s "$(realpath --relative-to=/tmp "${T}/$(basename "${tempdir}")")" "${tempdir}"
1309 -
1310 - USE_SETUPTOOLS=1 SHELL="/bin/bash" \
1311 - TMPDIR="${tempdir}" \
1312 - ${EPYTHON} tests/runtests.py \
1313 - --unit-tests --no-report --verbose
1314 -
1315 - ) || die "testing failed"
1316 -}