aboutsummaryrefslogtreecommitdiff
path: root/net/py-eventlet
diff options
context:
space:
mode:
authorMahdi Mokhtari <mmokhi@FreeBSD.org>2017-07-17 20:10:47 +0000
committerMahdi Mokhtari <mmokhi@FreeBSD.org>2017-07-17 20:10:47 +0000
commit2152e9d7a253da4af0b5a1b744b1a94966979dd8 (patch)
tree2b453bbc4bae3c60e2bf6ad4997ee5e565fb359b /net/py-eventlet
parent4ff2e1a423349f8cecb387af36b54a7debb5da98 (diff)
downloadports-2152e9d7a253da4af0b5a1b744b1a94966979dd8.tar.gz
ports-2152e9d7a253da4af0b5a1b744b1a94966979dd8.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
Notes
Notes: svn path=/head/; revision=446111
Diffstat (limited to 'net/py-eventlet')
-rw-r--r--net/py-eventlet/Makefile5
-rw-r--r--net/py-eventlet/distinfo6
-rw-r--r--net/py-eventlet/files/patch-eventlet_support_greendns.py27
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: