diff options
author | mmokhi <mmokhi@FreeBSD.org> | 2017-07-18 04:10:47 +0800 |
---|---|---|
committer | mmokhi <mmokhi@FreeBSD.org> | 2017-07-18 04:10:47 +0800 |
commit | 30017d928c2d3e1593fb9d9f063d4185e831bef8 (patch) | |
tree | 2b453bbc4bae3c60e2bf6ad4997ee5e565fb359b /net | |
parent | 913375818d50d6753ce5094f2ddb4daa1e1ca2cb (diff) | |
download | freebsd-ports-gnome-30017d928c2d3e1593fb9d9f063d4185e831bef8.tar.gz freebsd-ports-gnome-30017d928c2d3e1593fb9d9f063d4185e831bef8.tar.zst freebsd-ports-gnome-30017d928c2d3e1593fb9d9f063d4185e831bef8.zip |
net/py-eventlet: Update port to 0.21.0
Also change maintainer to my address
Reviewed by: cs (maintainer), mat (mentor)
Approved by: cs (maintainer), mat (mentor)
Differential Revision: https://reviews.freebsd.org/D11462
Diffstat (limited to 'net')
-rw-r--r-- | net/py-eventlet/Makefile | 5 | ||||
-rw-r--r-- | net/py-eventlet/distinfo | 6 | ||||
-rw-r--r-- | net/py-eventlet/files/patch-eventlet_support_greendns.py | 27 |
3 files changed, 5 insertions, 33 deletions
diff --git a/net/py-eventlet/Makefile b/net/py-eventlet/Makefile index cb744678b1ba..809a679d5df8 100644 --- a/net/py-eventlet/Makefile +++ b/net/py-eventlet/Makefile @@ -2,13 +2,12 @@ # $FreeBSD$ PORTNAME= eventlet -PORTVERSION= 0.20.1 -PORTREVISION= 1 +PORTVERSION= 0.21.0 CATEGORIES= net python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} -MAINTAINER= cs@FreeBSD.org +MAINTAINER= mmokhi@FreeBSD.org COMMENT= Concurrent networking library for Python LICENSE= MIT diff --git a/net/py-eventlet/distinfo b/net/py-eventlet/distinfo index 86b2d9bdf9fa..b86f65d456ae 100644 --- a/net/py-eventlet/distinfo +++ b/net/py-eventlet/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1488401126 -SHA256 (eventlet-0.20.1.tar.gz) = 3ad581b8645a54acf436e62a4d8cbf229a1ec7bfa3287c160f0258826b297838 -SIZE (eventlet-0.20.1.tar.gz) = 469509 +TIMESTAMP = 1499080792 +SHA256 (eventlet-0.21.0.tar.gz) = 08faffab88c1b08bd53ea28bf084a572c89f7e7648bd9d71e6116ac17a51a15d +SIZE (eventlet-0.21.0.tar.gz) = 484191 diff --git a/net/py-eventlet/files/patch-eventlet_support_greendns.py b/net/py-eventlet/files/patch-eventlet_support_greendns.py deleted file mode 100644 index 695b2e30077a..000000000000 --- a/net/py-eventlet/files/patch-eventlet_support_greendns.py +++ /dev/null @@ -1,27 +0,0 @@ ---- eventlet/support/greendns.py.orig 2017-03-29 21:00:19 UTC -+++ eventlet/support/greendns.py -@@ -79,8 +79,14 @@ DNS_QUERY_TIMEOUT = 10.0 - HOSTS_TTL = 10.0 - - EAI_EAGAIN_ERROR = socket.gaierror(socket.EAI_AGAIN, 'Lookup timed out') --EAI_NODATA_ERROR = socket.gaierror(socket.EAI_NODATA, 'No address associated with hostname') - EAI_NONAME_ERROR = socket.gaierror(socket.EAI_NONAME, 'Name or service not known') -+# EAI_NODATA was removed from RFC3493, it's now replaced with EAI_NONAME -+# socket.EAI_NODATA is not defined on FreeBSD, probably on some other platforms too. -+# https://lists.freebsd.org/pipermail/freebsd-ports/2003-October/005757.html -+EAI_NODATA_ERROR = EAI_NONAME_ERROR -+if (os.environ.get('EVENTLET_DEPRECATED_EAI_NODATA', '').lower() in ('1', 'y', 'yes') -+ and hasattr(socket, 'EAI_NODATA')): -+ EAI_NODATA_ERROR = socket.gaierror(socket.EAI_NODATA, 'No address associated with hostname') - - - def is_ipv4_addr(host): -@@ -448,7 +454,7 @@ def _getaddrinfo_lookup(host, family, fl - try: - answer = resolve(host, qfamily, False) - except socket.gaierror as e: -- if e.errno not in (socket.EAI_AGAIN, socket.EAI_NODATA): -+ if e.errno not in (socket.EAI_AGAIN, EAI_NONAME_ERROR.errno, EAI_NODATA_ERROR.errno): - raise - err = e - else: |