Fri Jul 14 10:19:36 2017 UTC ()
1.2.2:
- Testing on Python 3.5 now uses Python 3.5.3 due to SSL changes. See
  :issue:`943`.
- Linux CI has been updated from Ubuntu 12.04 to Ubuntu 14.04 since
  the former has reached EOL.
- Linux CI now tests on PyPy2 5.7.1, updated from PyPy2 5.6.0.
- Linux CI now tests on PyPy3 3.5-5.7.1-beta, updated from PyPy3
  3.3-5.5-alpha.
- Python 2 sockets are compatible with the ``SOCK_CLOEXEC`` flag found
  on Linux. They no longer pass the socket type or protocol to
  ``getaddrinfo`` when ``connect`` is called. Reported in :issue:`944`
  by Bernie Hackett.
- Replace ``optparse`` module with ``argparse``. See :issue:`947`.
- Update to version 1.3.1 of ``tblib`` to fix :issue:`954`,
  reported by ml31415.
- Fix the name of the ``type`` parameter to
  :func:`gevent.socket.getaddrinfo` to be correct on Python 3. This
  would cause callers using keyword arguments to raise a :exc:`TypeError`.
  Reported in :issue:`960` by js6626069. Likewise, correct the
  argument names for ``fromfd`` and ``socketpair`` on Python 2,
  although they cannot be called with keyword arguments under CPython.

  .. note:: The ``gethost*`` functions take different argument names
            under CPython and PyPy. gevent follows the CPython
            convention, although these functions cannot be called with
            keyword arguments on CPython.
- The previously-singleton exception objects ``FileObjectClosed`` and
  ``cancel_wait_ex`` were converted to classes. On Python 3, an
  exception object is stateful, including references to its context
  and possibly traceback, which could lead to objects remaining alive
  longer than intended.
- Make sure that ``python -m gevent.monkey <script>`` runs code in the
  global scope, not the scope of the ``main`` function.


(adam)
diff -r1.6 -r1.7 pkgsrc/net/py-gevent/Makefile
diff -r1.2 -r1.3 pkgsrc/net/py-gevent/PLIST
diff -r1.2 -r0 pkgsrc/net/py-gevent/buildlink3.mk
diff -r1.4 -r1.5 pkgsrc/net/py-gevent/distinfo
diff -r1.1 -r0 pkgsrc/net/py-gevent/patches/patch-libev_ev.c

cvs diff -r1.6 -r1.7 pkgsrc/net/py-gevent/Makefile (expand / switch to unified diff)

--- pkgsrc/net/py-gevent/Makefile 2017/01/01 14:43:51 1.6
+++ pkgsrc/net/py-gevent/Makefile 2017/07/14 10:19:36 1.7
@@ -1,27 +1,26 @@ @@ -1,27 +1,26 @@
1# $NetBSD: Makefile,v 1.6 2017/01/01 14:43:51 wiz Exp $ 1# $NetBSD: Makefile,v 1.7 2017/07/14 10:19:36 adam Exp $
2 2
3DISTNAME= gevent-1.0.2 3DISTNAME= gevent-1.2.2
4PKGNAME= ${PYPKGPREFIX}-${DISTNAME} 4PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
5PKGREVISION= 1 
6CATEGORIES= net python 5CATEGORIES= net python
7MASTER_SITES= ${MASTER_SITE_PYPI:=g/gevent/} 6MASTER_SITES= ${MASTER_SITE_PYPI:=g/gevent/}
8 7
9MAINTAINER= kamel.derouiche@gmail.com 8MAINTAINER= kamel.derouiche@gmail.com
10HOMEPAGE= http://www.gevent.org/ 9HOMEPAGE= http://www.gevent.org/
11COMMENT= Python-gevent a coroutine-based Python networking library 10COMMENT= Python-gevent a coroutine-based Python networking library
12LICENSE= mit 11LICENSE= mit
13 12
14DEPENDS+= ${PYPKGPREFIX}-greenlet>=0.4.1:../../devel/py-greenlet 13DEPENDS+= ${PYPKGPREFIX}-greenlet>=0.4.10:../../devel/py-greenlet
 14MAKE_ENV+= CARES_EMBED=0 LIBEV_EMBED=0
15 15
16USE_LANGUAGES= c c++ 16USE_LANGUAGES= c c++
17 17
18PYTHON_VERSIONS_INCOMPATIBLE= 34 35 36 
19 
20do-test: 18do-test:
21 ${RUN} cd ${WRKSRC}/greentest; ${SETENV} ${TEST_ENV} ${PYTHONBIN} testrunner.py 19 cd ${WRKSRC}/src/greentest && \
 20 ${SETENV} ${TEST_ENV} ${PYTHONBIN} testrunner.py --config known_failures.py
22 21
23.include "../../devel/py-cython/buildlink3.mk" 22.include "../../devel/py-cython/buildlink3.mk"
24BUILDLINK_API_DEPENDS.libevent+= libevent>=0.6 23.include "../../devel/libev/buildlink3.mk"
25.include "../../devel/libevent/buildlink3.mk" 
26.include "../../lang/python/egg.mk" 24.include "../../lang/python/egg.mk"
 25.include "../../net/libcares/buildlink3.mk"
27.include "../../mk/bsd.pkg.mk" 26.include "../../mk/bsd.pkg.mk"

cvs diff -r1.2 -r1.3 pkgsrc/net/py-gevent/PLIST (expand / switch to unified diff)

--- pkgsrc/net/py-gevent/PLIST 2015/11/08 09:20:06 1.2
+++ pkgsrc/net/py-gevent/PLIST 2017/07/14 10:19:36 1.3
@@ -1,89 +1,157 @@ @@ -1,89 +1,157 @@
1@comment $NetBSD: PLIST,v 1.2 2015/11/08 09:20:06 wiz Exp $ 1@comment $NetBSD: PLIST,v 1.3 2017/07/14 10:19:36 adam Exp $
2${PYSITELIB}/${EGG_INFODIR}/PKG-INFO 2${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
3${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt 3${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
4${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt 4${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
 5${PYSITELIB}/${EGG_INFODIR}/not-zip-safe
5${PYSITELIB}/${EGG_INFODIR}/requires.txt 6${PYSITELIB}/${EGG_INFODIR}/requires.txt
6${PYSITELIB}/${EGG_INFODIR}/top_level.txt 7${PYSITELIB}/${EGG_INFODIR}/top_level.txt
7${PYSITELIB}/gevent/__init__.py 8${PYSITELIB}/gevent/__init__.py
8${PYSITELIB}/gevent/__init__.pyc 9${PYSITELIB}/gevent/__init__.pyc
9${PYSITELIB}/gevent/__init__.pyo 10${PYSITELIB}/gevent/__init__.pyo
 11${PYSITELIB}/gevent/_compat.py
 12${PYSITELIB}/gevent/_compat.pyc
 13${PYSITELIB}/gevent/_compat.pyo
 14${PYSITELIB}/gevent/_fileobjectcommon.py
 15${PYSITELIB}/gevent/_fileobjectcommon.pyc
 16${PYSITELIB}/gevent/_fileobjectcommon.pyo
 17${PYSITELIB}/gevent/_fileobjectposix.py
 18${PYSITELIB}/gevent/_fileobjectposix.pyc
 19${PYSITELIB}/gevent/_fileobjectposix.pyo
 20${PYSITELIB}/gevent/_semaphore.pxd
 21${PYSITELIB}/gevent/_semaphore.py
 22${PYSITELIB}/gevent/_semaphore.pyc
 23${PYSITELIB}/gevent/_semaphore.pyo
10${PYSITELIB}/gevent/_semaphore.so 24${PYSITELIB}/gevent/_semaphore.so
 25${PYSITELIB}/gevent/_socket2.py
 26${PYSITELIB}/gevent/_socket2.pyc
 27${PYSITELIB}/gevent/_socket2.pyo
 28${PYSITELIB}/gevent/_socket3.py
 29${PYSITELIB}/gevent/_socket3.pyc
 30${PYSITELIB}/gevent/_socket3.pyo
 31${PYSITELIB}/gevent/_socketcommon.py
 32${PYSITELIB}/gevent/_socketcommon.pyc
 33${PYSITELIB}/gevent/_socketcommon.pyo
11${PYSITELIB}/gevent/_ssl2.py 34${PYSITELIB}/gevent/_ssl2.py
12${PYSITELIB}/gevent/_ssl2.pyc 35${PYSITELIB}/gevent/_ssl2.pyc
13${PYSITELIB}/gevent/_ssl2.pyo 36${PYSITELIB}/gevent/_ssl2.pyo
 37${PYSITELIB}/gevent/_ssl3.py
 38${PYSITELIB}/gevent/_ssl3.pyc
 39${PYSITELIB}/gevent/_ssl3.pyo
14${PYSITELIB}/gevent/_sslgte279.py 40${PYSITELIB}/gevent/_sslgte279.py
15${PYSITELIB}/gevent/_sslgte279.pyc 41${PYSITELIB}/gevent/_sslgte279.pyc
16${PYSITELIB}/gevent/_sslgte279.pyo 42${PYSITELIB}/gevent/_sslgte279.pyo
 43${PYSITELIB}/gevent/_tblib.py
 44${PYSITELIB}/gevent/_tblib.pyc
 45${PYSITELIB}/gevent/_tblib.pyo
17${PYSITELIB}/gevent/_threading.py 46${PYSITELIB}/gevent/_threading.py
18${PYSITELIB}/gevent/_threading.pyc 47${PYSITELIB}/gevent/_threading.pyc
19${PYSITELIB}/gevent/_threading.pyo 48${PYSITELIB}/gevent/_threading.pyo
20${PYSITELIB}/gevent/_util.so 49${PYSITELIB}/gevent/_util.py
 50${PYSITELIB}/gevent/_util.pyc
 51${PYSITELIB}/gevent/_util.pyo
 52${PYSITELIB}/gevent/_util_py2.py
 53${PYSITELIB}/gevent/ares.pyx
21${PYSITELIB}/gevent/ares.so 54${PYSITELIB}/gevent/ares.so
22${PYSITELIB}/gevent/backdoor.py 55${PYSITELIB}/gevent/backdoor.py
23${PYSITELIB}/gevent/backdoor.pyc 56${PYSITELIB}/gevent/backdoor.pyc
24${PYSITELIB}/gevent/backdoor.pyo 57${PYSITELIB}/gevent/backdoor.pyo
25${PYSITELIB}/gevent/baseserver.py 58${PYSITELIB}/gevent/baseserver.py
26${PYSITELIB}/gevent/baseserver.pyc 59${PYSITELIB}/gevent/baseserver.pyc
27${PYSITELIB}/gevent/baseserver.pyo 60${PYSITELIB}/gevent/baseserver.pyo
28${PYSITELIB}/gevent/core.so 61${PYSITELIB}/gevent/builtins.py
29${PYSITELIB}/gevent/coros.py 62${PYSITELIB}/gevent/builtins.pyc
30${PYSITELIB}/gevent/coros.pyc 63${PYSITELIB}/gevent/builtins.pyo
31${PYSITELIB}/gevent/coros.pyo 64${PYSITELIB}/gevent/cares.pxd
 65${PYSITELIB}/gevent/cares_ntop.h
 66${PYSITELIB}/gevent/cares_pton.h
 67${PYSITELIB}/gevent/core.py
 68${PYSITELIB}/gevent/core.pyc
 69${PYSITELIB}/gevent/core.pyo
 70${PYSITELIB}/gevent/dnshelper.c
32${PYSITELIB}/gevent/event.py 71${PYSITELIB}/gevent/event.py
33${PYSITELIB}/gevent/event.pyc 72${PYSITELIB}/gevent/event.pyc
34${PYSITELIB}/gevent/event.pyo 73${PYSITELIB}/gevent/event.pyo
35${PYSITELIB}/gevent/fileobject.py 74${PYSITELIB}/gevent/fileobject.py
36${PYSITELIB}/gevent/fileobject.pyc 75${PYSITELIB}/gevent/fileobject.pyc
37${PYSITELIB}/gevent/fileobject.pyo 76${PYSITELIB}/gevent/fileobject.pyo
 77${PYSITELIB}/gevent/gevent._semaphore.c
 78${PYSITELIB}/gevent/gevent.ares.c
 79${PYSITELIB}/gevent/gevent.ares.h
38${PYSITELIB}/gevent/greenlet.py 80${PYSITELIB}/gevent/greenlet.py
39${PYSITELIB}/gevent/greenlet.pyc 81${PYSITELIB}/gevent/greenlet.pyc
40${PYSITELIB}/gevent/greenlet.pyo 82${PYSITELIB}/gevent/greenlet.pyo
41${PYSITELIB}/gevent/hub.py 83${PYSITELIB}/gevent/hub.py
42${PYSITELIB}/gevent/hub.pyc 84${PYSITELIB}/gevent/hub.pyc
43${PYSITELIB}/gevent/hub.pyo 85${PYSITELIB}/gevent/hub.pyo
 86${PYSITELIB}/gevent/libev/__init__.py
 87${PYSITELIB}/gevent/libev/__init__.pyc
 88${PYSITELIB}/gevent/libev/__init__.pyo
 89${PYSITELIB}/gevent/libev/_corecffi.abi3.so
 90${PYSITELIB}/gevent/libev/_corecffi_build.py
 91${PYSITELIB}/gevent/libev/_corecffi_build.pyc
 92${PYSITELIB}/gevent/libev/_corecffi_build.pyo
 93${PYSITELIB}/gevent/libev/_corecffi_cdef.c
 94${PYSITELIB}/gevent/libev/_corecffi_source.c
 95${PYSITELIB}/gevent/libev/callbacks.c
 96${PYSITELIB}/gevent/libev/callbacks.h
 97${PYSITELIB}/gevent/libev/corecext.ppyx
 98${PYSITELIB}/gevent/libev/corecext.pyx
 99${PYSITELIB}/gevent/libev/corecext.so
 100${PYSITELIB}/gevent/libev/corecffi.py
 101${PYSITELIB}/gevent/libev/corecffi.pyc
 102${PYSITELIB}/gevent/libev/corecffi.pyo
 103${PYSITELIB}/gevent/libev/gevent.corecext.c
 104${PYSITELIB}/gevent/libev/libev.h
 105${PYSITELIB}/gevent/libev/libev.pxd
 106${PYSITELIB}/gevent/libev/libev_vfd.h
 107${PYSITELIB}/gevent/libev/stathelper.c
44${PYSITELIB}/gevent/local.py 108${PYSITELIB}/gevent/local.py
45${PYSITELIB}/gevent/local.pyc 109${PYSITELIB}/gevent/local.pyc
46${PYSITELIB}/gevent/local.pyo 110${PYSITELIB}/gevent/local.pyo
47${PYSITELIB}/gevent/lock.py 111${PYSITELIB}/gevent/lock.py
48${PYSITELIB}/gevent/lock.pyc 112${PYSITELIB}/gevent/lock.pyc
49${PYSITELIB}/gevent/lock.pyo 113${PYSITELIB}/gevent/lock.pyo
50${PYSITELIB}/gevent/monkey.py 114${PYSITELIB}/gevent/monkey.py
51${PYSITELIB}/gevent/monkey.pyc 115${PYSITELIB}/gevent/monkey.pyc
52${PYSITELIB}/gevent/monkey.pyo 116${PYSITELIB}/gevent/monkey.pyo
53${PYSITELIB}/gevent/os.py 117${PYSITELIB}/gevent/os.py
54${PYSITELIB}/gevent/os.pyc 118${PYSITELIB}/gevent/os.pyc
55${PYSITELIB}/gevent/os.pyo 119${PYSITELIB}/gevent/os.pyo
56${PYSITELIB}/gevent/pool.py 120${PYSITELIB}/gevent/pool.py
57${PYSITELIB}/gevent/pool.pyc 121${PYSITELIB}/gevent/pool.pyc
58${PYSITELIB}/gevent/pool.pyo 122${PYSITELIB}/gevent/pool.pyo
 123${PYSITELIB}/gevent/python.pxd
59${PYSITELIB}/gevent/pywsgi.py 124${PYSITELIB}/gevent/pywsgi.py
60${PYSITELIB}/gevent/pywsgi.pyc 125${PYSITELIB}/gevent/pywsgi.pyc
61${PYSITELIB}/gevent/pywsgi.pyo 126${PYSITELIB}/gevent/pywsgi.pyo
62${PYSITELIB}/gevent/queue.py 127${PYSITELIB}/gevent/queue.py
63${PYSITELIB}/gevent/queue.pyc 128${PYSITELIB}/gevent/queue.pyc
64${PYSITELIB}/gevent/queue.pyo 129${PYSITELIB}/gevent/queue.pyo
65${PYSITELIB}/gevent/resolver_ares.py 130${PYSITELIB}/gevent/resolver_ares.py
66${PYSITELIB}/gevent/resolver_ares.pyc 131${PYSITELIB}/gevent/resolver_ares.pyc
67${PYSITELIB}/gevent/resolver_ares.pyo 132${PYSITELIB}/gevent/resolver_ares.pyo
68${PYSITELIB}/gevent/resolver_thread.py 133${PYSITELIB}/gevent/resolver_thread.py
69${PYSITELIB}/gevent/resolver_thread.pyc 134${PYSITELIB}/gevent/resolver_thread.pyc
70${PYSITELIB}/gevent/resolver_thread.pyo 135${PYSITELIB}/gevent/resolver_thread.pyo
71${PYSITELIB}/gevent/select.py 136${PYSITELIB}/gevent/select.py
72${PYSITELIB}/gevent/select.pyc 137${PYSITELIB}/gevent/select.pyc
73${PYSITELIB}/gevent/select.pyo 138${PYSITELIB}/gevent/select.pyo
74${PYSITELIB}/gevent/server.py 139${PYSITELIB}/gevent/server.py
75${PYSITELIB}/gevent/server.pyc 140${PYSITELIB}/gevent/server.pyc
76${PYSITELIB}/gevent/server.pyo 141${PYSITELIB}/gevent/server.pyo
 142${PYSITELIB}/gevent/signal.py
 143${PYSITELIB}/gevent/signal.pyc
 144${PYSITELIB}/gevent/signal.pyo
77${PYSITELIB}/gevent/socket.py 145${PYSITELIB}/gevent/socket.py
78${PYSITELIB}/gevent/socket.pyc 146${PYSITELIB}/gevent/socket.pyc
79${PYSITELIB}/gevent/socket.pyo 147${PYSITELIB}/gevent/socket.pyo
80${PYSITELIB}/gevent/ssl.py 148${PYSITELIB}/gevent/ssl.py
81${PYSITELIB}/gevent/ssl.pyc 149${PYSITELIB}/gevent/ssl.pyc
82${PYSITELIB}/gevent/ssl.pyo 150${PYSITELIB}/gevent/ssl.pyo
83${PYSITELIB}/gevent/subprocess.py 151${PYSITELIB}/gevent/subprocess.py
84${PYSITELIB}/gevent/subprocess.pyc 152${PYSITELIB}/gevent/subprocess.pyc
85${PYSITELIB}/gevent/subprocess.pyo 153${PYSITELIB}/gevent/subprocess.pyo
86${PYSITELIB}/gevent/thread.py 154${PYSITELIB}/gevent/thread.py
87${PYSITELIB}/gevent/thread.pyc 155${PYSITELIB}/gevent/thread.pyc
88${PYSITELIB}/gevent/thread.pyo 156${PYSITELIB}/gevent/thread.pyo
89${PYSITELIB}/gevent/threading.py 157${PYSITELIB}/gevent/threading.py

File Deleted: pkgsrc/net/py-gevent/Attic/buildlink3.mk

cvs diff -r1.4 -r1.5 pkgsrc/net/py-gevent/distinfo (expand / switch to unified diff)

--- pkgsrc/net/py-gevent/distinfo 2015/11/08 09:20:06 1.4
+++ pkgsrc/net/py-gevent/distinfo 2017/07/14 10:19:36 1.5
@@ -1,7 +1,6 @@ @@ -1,7 +1,6 @@
1$NetBSD: distinfo,v 1.4 2015/11/08 09:20:06 wiz Exp $ 1$NetBSD: distinfo,v 1.5 2017/07/14 10:19:36 adam Exp $
2 2
3SHA1 (gevent-1.0.2.tar.gz) = fbe647a565fa88a78f7d382005b527037bb990ea 3SHA1 (gevent-1.2.2.tar.gz) = 3a2ab5f982db6d2ebe8f3763f1563b40343c782e
4RMD160 (gevent-1.0.2.tar.gz) = 23b65838002182a435cfa68e63efc36883d185a7 4RMD160 (gevent-1.2.2.tar.gz) = 7221750d65f0a185b6a3348467b739987de6e194
5SHA512 (gevent-1.0.2.tar.gz) = 95b8a24e53ad1ac135e63cb13942c5af6f7efb0fdb4fc2737759d07b09c2408b0d569dd30f63b45a342f81501211e98b5b6116ba9574c8a7801b9c551c14bd53 5SHA512 (gevent-1.2.2.tar.gz) = 1e2dd544cffea62ee32de2e4066b3f4c121058a1211b89da281ec3882f3763217fe2d346ce38b66e27df9f59cfe05bb137d1608a681dd10eaf06a33dc22f531c
6Size (gevent-1.0.2.tar.gz) = 1735721 bytes 6Size (gevent-1.2.2.tar.gz) = 3108671 bytes
7SHA1 (patch-libev_ev.c) = c62c0babc31c89ec8e2fd945ec0042e65c8e016e 

File Deleted: pkgsrc/net/py-gevent/patches/Attic/patch-libev_ev.c