From 3cf7c3ef441822c889356fd1812ebf2944a59851 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Tue, 25 Aug 2020 10:45:55 +0100 Subject: gentoo resync : 25.08.2020 --- dev-python/ws4py/Manifest | 4 -- dev-python/ws4py/files/ws4py-0.3.4-tests.patch | 67 -------------------------- dev-python/ws4py/ws4py-0.3.4-r1.ebuild | 55 --------------------- dev-python/ws4py/ws4py-0.5.1.ebuild | 51 -------------------- 4 files changed, 177 deletions(-) delete mode 100644 dev-python/ws4py/files/ws4py-0.3.4-tests.patch delete mode 100644 dev-python/ws4py/ws4py-0.3.4-r1.ebuild delete mode 100644 dev-python/ws4py/ws4py-0.5.1.ebuild (limited to 'dev-python/ws4py') diff --git a/dev-python/ws4py/Manifest b/dev-python/ws4py/Manifest index 20e45e0b1e83..5c664c125f66 100644 --- a/dev-python/ws4py/Manifest +++ b/dev-python/ws4py/Manifest @@ -1,9 +1,5 @@ -AUX ws4py-0.3.4-tests.patch 2439 BLAKE2B 0d0a185104b073ceed3c745f46b67df5916b001f5e67be50000ef1c68f923f2375be248f4961739180d4992db6fdf11d2ba3558a4725cd4f3d330303fc9c01a1 SHA512 fb8cf920ac48aface7e50576c1038db47133c6a44e7d4ef1b965d6efc4374d22392e44bfdca64bd61696a5c6ed884ef6b1e410e515ed6e1856c7f3c4862d19ff AUX ws4py-0.5.1-python3.7+-compatibility.patch 3713 BLAKE2B f5c811b6dce12637307d2a845daa0e9e932452ba34416b088531734013f1617901617d82804b32ec22026d50c27152b68fb548b0871a11ac20ffa21fc5b435b0 SHA512 3012d74e348f7965fee811c9b0e290dcefcc4f365159ecc0fc5bc9dc77ff0e5e6d1448b62b0ced1f9e87dc2bf29f9a831d110301257d260dcb3f2d1ee7ed4f80 -DIST ws4py-0.3.4.tar.gz 65467 BLAKE2B c51e338f3c65e100b55e83cd7b09fb8e4eafec3adc118a2744ea4aabc54c91efacda94cb3018550049d617b6759198cfbdb4497a024c597de942abe9e5517ab6 SHA512 32cd2eb9df7367e2bf42e354766a0ca407715a863be6b51b7701ec6e0537a2ecf7c2a59423f56ae093855b075c30a4065c7f7efe3b0227915639223b9ba7a55f DIST ws4py-0.5.1.tar.gz 116673 BLAKE2B 31db304800f0d3da61dc4c1a3381a8fcfcfa8f16b36d916311cc32f1d294c9f7b3627dac673edf824f529f485f825ca418ab1e1a8a2fda5583c6a6a1bd9b752c SHA512 4c90d66d37fb5bdc8f7fc9fd184b20a7dc2dae811ecf3a041477e3c26a2577008be7041799daca5b8c0de65cb2454022a6c135cf02534ca98b6946abbfce0e11 -EBUILD ws4py-0.3.4-r1.ebuild 1726 BLAKE2B beffbc7b4a6cbd1487769c4b4d55ae70f748fbd6eaf9d621abc8dbf2b92e927e9173fa3c7d982dde6cbdef4b24044fd883fadb496229dc43e28106b401fed7ae SHA512 00774d6709968c5896de6fff395fc3547d34f0cbf81a2db82201853e73609269ddf1d6fdc6ec08ab568828934521cf990aa8db21bf8490dc6e0f6c7278be9c87 EBUILD ws4py-0.5.1-r1.ebuild 1782 BLAKE2B 2974e13ccea65faa858dc30d31033f1e6f9c4fbd949445084cd8eef9996e932e11d388690572e74568da38a9304feed0718d5795161e1a1fa79325eba6c742e2 SHA512 2e401ba6367ab0fd14abf6caafeb61f8e5e9be1af59ab34d23e9b741d09186463e9a423558835b01bce7febc21920f06e0727b8ab0573c07a271500bb5bcf16d -EBUILD ws4py-0.5.1.ebuild 1690 BLAKE2B 44cbb9758f359bc8b5a549d312f9b77f95011852447778d7dd507b981965e476da6b852550524cee7d0cc640b268a51792fe5f2f1aafa9f3c4c8d467378f68d5 SHA512 98f64075746263eecbbcb0a1bd1690166f927a521cd6aa82128a928de3b6f597516b8878808793c2896ce7c65c2e9558b8ef854e5d18d9adf2ce2eef2809c118 EBUILD ws4py-9999.ebuild 1784 BLAKE2B 43cf659f0e4c4c14e344dbf2f8b1f637f168233b14085ad10fcd5c96650306f5162d4bd5ba6487d366898c3f055632ea32fb2e807be4dfab1d33de62ad81ce1a SHA512 827f1ad7a9ed752a2dc2e0c0a55a83eb5f7109744134e4fb76e555e7baf97cbd059890cfa0d0d73b8b8624f420ab0a1f56c6d8778d571a8558c1285df5f85355 MISC metadata.xml 480 BLAKE2B 464f4b1e941659251ece44c65b341bac398a73a13624f58a36113359866557789b255a4e45a23ff9305be2e7bcbd3ae9e30b11d0ab72a1496544b1e559e07a17 SHA512 f3785b920223b276874e389c7db00b20117aaa3e003ed03593490fda2bfcc4df20034a91a3e98c58ec30f52ad50bc81d91e2ea388e87e56bb91863edbdb6d231 diff --git a/dev-python/ws4py/files/ws4py-0.3.4-tests.patch b/dev-python/ws4py/files/ws4py-0.3.4-tests.patch deleted file mode 100644 index dde60f2ed04d..000000000000 --- a/dev-python/ws4py/files/ws4py-0.3.4-tests.patch +++ /dev/null @@ -1,67 +0,0 @@ -From 185c88cb6779b3b15a5c14047bb62b8fcb8d2e57 Mon Sep 17 00:00:00 2001 -From: Sebastian Pipping -Date: Sat, 10 Mar 2018 00:33:37 +0100 -Subject: [PATCH] Fix AttributeErrors from mistaken Mock.assert_call_once_with - -This commit is a backport/subset of: -https://github.com/Lawouach/WebSocket-for-Python/commit/b5d47f7b3497f1b713a20fe6306b7d9afdd8c408 ---- - test/test_manager.py | 12 ++++++------ - 1 file changed, 6 insertions(+), 6 deletions(-) - -diff --git a/test/test_manager.py b/test/test_manager.py -index 8c229b0..aacc162 100644 ---- a/test/test_manager.py -+++ b/test/test_manager.py -@@ -16,10 +16,10 @@ class WSManagerTest(unittest.TestCase): - ws.sock.fileno.return_value = 1 - - m.add(ws) -- m.poller.register.assert_call_once_with(ws) -+ m.poller.register.assert_called_once_with(1) - - m.remove(ws) -- m.poller.unregister.assert_call_once_with(ws) -+ m.poller.unregister.assert_called_once_with(1) - - @patch('ws4py.manager.SelectPoller') - def test_cannot_add_websocket_more_than_once(self, MockSelectPoller): -@@ -49,7 +49,7 @@ class WSManagerTest(unittest.TestCase): - self.assertEqual(len(m), 1) - m.remove(ws) - self.assertEqual(len(m), 0) -- m.poller.unregister.assert_call_once_with(ws) -+ m.poller.unregister.assert_called_once_with(1) - m.poller.reset_mock() - - m.remove(ws) -@@ -98,7 +98,7 @@ class WSManagerTest(unittest.TestCase): - m.add(ws) - m.start() - -- ws.terminate.assert_call_once_with() -+ ws.terminate.assert_called_once_with() - - m.stop() - -@@ -109,7 +109,7 @@ class WSManagerTest(unittest.TestCase): - ws = MagicMock() - m.add(ws) - m.close_all() -- ws.terminate.assert_call_once_with(1001, 'Server is shutting down') -+ ws.close.assert_called_once_with(code=1001, reason='Server is shutting down') - - @patch('ws4py.manager.SelectPoller') - def test_broadcast(self, MockSelectPoller): -@@ -120,7 +120,7 @@ class WSManagerTest(unittest.TestCase): - m.add(ws) - - m.broadcast(b'hello there') -- ws.send.assert_call_once_with(b'hello there') -+ ws.send.assert_called_once_with(b'hello there', False) - - @patch('ws4py.manager.SelectPoller') - def test_broadcast_failure_must_not_break_caller(self, MockSelectPoller): --- -2.16.2 - diff --git a/dev-python/ws4py/ws4py-0.3.4-r1.ebuild b/dev-python/ws4py/ws4py-0.3.4-r1.ebuild deleted file mode 100644 index d6697eff1d24..000000000000 --- a/dev-python/ws4py/ws4py-0.3.4-r1.ebuild +++ /dev/null @@ -1,55 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -# We could depend on dev-python/cherrypy when USE=server, but -# that is an optional component ... -# Same for www-servers/tornado and USE=client ... so why not??? -# pypy is viable but better with a cutdown set of deps - -EAPI=5 -PYTHON_COMPAT=( python3_6 ) -PYTHON_REQ_USE="threads?" - -inherit distutils-r1 -if [[ ${PV} == *9999* ]] ; then - EGIT_REPO_URI="https://github.com/Lawouach/WebSocket-for-Python.git" - inherit git-r3 -else - inherit vcs-snapshot - SRC_URI="https://github.com/Lawouach/WebSocket-for-Python/archive/v${PV} -> ${P}.tar.gz" - KEYWORDS="amd64 arm x86" -fi - -DESCRIPTION="WebSocket client and server library for Python 2 and 3 as well as PyPy" -HOMEPAGE="https://github.com/Lawouach/WebSocket-for-Python" - -LICENSE="BSD" -SLOT="0" -IUSE="+client +server test +threads" -RESTRICT="!test? ( test )" -# doc build requires sphinxcontrib ext packages absent from portage - -RDEPEND=">=dev-python/greenlet-0.4.1[${PYTHON_USEDEP}] - >=dev-python/cython-0.19.1[${PYTHON_USEDEP}] - client? ( >=www-servers/tornado-3.1[${PYTHON_USEDEP}] ) - server? (