Skip to content

Commit

Permalink
dev-python/eventlet: bump to 0.30.0
Browse files Browse the repository at this point in the history
Restore inadvertently dropped Python implementations too.

Package-Manager: Portage-3.0.9, Repoman-3.0.2
Signed-off-by: Sam James <[email protected]>
  • Loading branch information
thesamesam committed Dec 14, 2020
1 parent 9c6b129 commit 783231c
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 75 deletions.
2 changes: 1 addition & 1 deletion dev-python/eventlet/Manifest
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
DIST eventlet-0.26.1.tar.gz 398200 BLAKE2B f14024d0825fb5530929766c63dceea7446057d9ad5dfb98ab013e96cab9b0eef5440f2d4d7ceeef17691c8a2a9055cac2b93fb23653a6facba4967c4e7cb0b3 SHA512 55b9b214130d0482ea005ea570a5aa3eafdf66e6d315a95c5ba60186a2d9a9df5c2638c86d886968954ce39e5ac2153e1f9e11631e6aef237078c3776af7d6c5
DIST eventlet-0.29.1.tar.gz 400673 BLAKE2B 2b317e0c445a7b9c7f96147c033b1a6b4b4d27eeaebe0d40102b4e25d7825861db15e9d77cf6c9e6795e1bc946b1a613d5bb4ffa60a7077c39d575f01bdd8506 SHA512 194544e8fafeb0847673abd84c8fbc876bb407bb76cb86c5a8a92fdb7571d3585e895f0063375e43b74de81b47e49cd6002f5b7a4f266d37bacc1b23e9ce4ef3
DIST eventlet-0.30.0.tar.gz 401035 BLAKE2B 94a272ce810b28c00fc8a468f160e38f3c58c98750455e5eb096c266c46257a7e30e0278a6a8f509e47e6ab40297129ccf52b347a723037f9cc9b85a3e06a203 SHA512 c2ba283063333e9e74536dcda33276f98f74051ea0e9c8669506d2e3b11715f37cd5963af6130f14761a42cc6c8346e59c756efe2cef0ea3547dc30ccb8bf0fb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

EAPI=7

PYTHON_COMPAT=( python3_9 )
PYTHON_COMPAT=( python3_{6,7,8,9} )
inherit distutils-r1

DESCRIPTION="Highly concurrent networking library"
Expand All @@ -27,8 +27,8 @@ DEPEND="doc? ( >=dev-python/python-docs-2.7.6-r1:2.7 )
dev-python/nose[${PYTHON_USEDEP}] )"

PATCHES=(
"${FILESDIR}/eventlet-0.25.1-tests.patch"
"${FILESDIR}/${P}-tests.patch"
"${FILESDIR}/${PN}-0.25.1-tests.patch"
"${FILESDIR}/${PN}-0.30.0-tests-socket.patch"
)

distutils_enable_sphinx doc
Expand All @@ -51,6 +51,7 @@ python_prepare_all() {

python_test() {
unset PYTHONPATH
export TMPDIR="${T}"
nosetests -v || die
}

Expand Down
71 changes: 0 additions & 71 deletions dev-python/eventlet/files/eventlet-0.29.1-tests.patch

This file was deleted.

13 changes: 13 additions & 0 deletions dev-python/eventlet/files/eventlet-0.30.0-tests-socket.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
Let's use TMPDIR as the base for this test's unix socket to help it pass.
We set TMPDIR in the ebuild to ${T}.
--- a/tests/backdoor_test.py
+++ b/tests/backdoor_test.py
@@ -47,7 +47,7 @@ class BackdoorTest(tests.LimitedTestCase):
self._run_test_on_client_and_server(client, serv)

def test_server_on_unix_socket(self):
- SOCKET_PATH = '/tmp/eventlet_backdoor_test.socket'
+ SOCKET_PATH = os.getenv('TMPDIR', '/tmp') + '/eventlet_backdoor_test.socket'
if os.path.exists(SOCKET_PATH):
os.unlink(SOCKET_PATH)
listener = socket.socket(socket.AF_UNIX)

0 comments on commit 783231c

Please sign in to comment.