diff options
author | adam <adam@pkgsrc.org> | 2018-08-19 09:44:28 +0000 |
---|---|---|
committer | adam <adam@pkgsrc.org> | 2018-08-19 09:44:28 +0000 |
commit | b6af765995049312714b7b512d6f1794bc03377a (patch) | |
tree | 144c98bfdff272b8080e41186e63089eb2e6ce47 /net/py-gevent | |
parent | 0349a45746e372e3501a08cf166d4e649c1f4708 (diff) | |
download | pkgsrc-b6af765995049312714b7b512d6f1794bc03377a.tar.gz |
py-gevent: updated to 1.3.6
1.3.6:
- gevent now depends on greenlet 0.4.14 or above. gevent binary wheels
for 1.3.5 and below must have greenlet 0.4.13 installed on Python
3.7 or they will crash.
- :class:gevent.local.local subclasses correctly supports @staticmethod functions.
1.3.5:
- Update the bundled libuv from 1.20.1 to 1.22.0.
- Test Python 3.7 on Appveyor. Fix the handling of Popen's
close_fds argument on 3.7.
- Update Python versions tested on Travis, including PyPy to 6.0.
- :mod:gevent.queue imports _PySimpleQueue instead of
SimpleQueue so that it doesn't block the event loop.
:func:gevent.monkey.patch_all makes this same substitution in
:mod:queue. This fixes issues with
:class:concurrent.futures.ThreadPoolExecutor as well.
- :meth:gevent.socket.socket.connect doesn't pass the port (service)
to :func:socket.getaddrinfo when it resolves an AF_INET or
AF_INET6 address. (The standard library doesn't either.) This
fixes an issue on Solaris.
- :meth:gevent.socket.socket.connect works with more address
families, notably AF_TIPC, AF_NETLINK, AF_BLUETOOTH, AF_ALG and AF_VSOCK.
Diffstat (limited to 'net/py-gevent')
-rw-r--r-- | net/py-gevent/Makefile | 20 | ||||
-rw-r--r-- | net/py-gevent/PLIST | 6 | ||||
-rw-r--r-- | net/py-gevent/distinfo | 10 |
3 files changed, 24 insertions, 12 deletions
diff --git a/net/py-gevent/Makefile b/net/py-gevent/Makefile index 74ce08d7533..43ed604a49f 100644 --- a/net/py-gevent/Makefile +++ b/net/py-gevent/Makefile @@ -1,6 +1,6 @@ -# $NetBSD: Makefile,v 1.10 2018/07/09 07:51:16 adam Exp $ +# $NetBSD: Makefile,v 1.11 2018/08/19 09:44:28 adam Exp $ -DISTNAME= gevent-1.3.4 +DISTNAME= gevent-1.3.6 PKGNAME= ${PYPKGPREFIX}-${DISTNAME} CATEGORIES= net python MASTER_SITES= ${MASTER_SITE_PYPI:=g/gevent/} @@ -11,7 +11,19 @@ COMMENT= Python-gevent a coroutine-based Python networking library LICENSE= mit DEPENDS+= ${PYPKGPREFIX}-cffi>=1.11.5:../../devel/py-cffi -DEPENDS+= ${PYPKGPREFIX}-greenlet>=0.4.13:../../devel/py-greenlet +DEPENDS+= ${PYPKGPREFIX}-greenlet>=0.4.14:../../devel/py-greenlet +TEST_DEPENDS+= ${PYPKGPREFIX}-ZopeEvent-[0-9]*:../../devel/py-ZopeEvent +TEST_DEPENDS+= ${PYPKGPREFIX}-ZopeInterface-[0-9]*:../../devel/py-ZopeInterface +TEST_DEPENDS+= ${PYPKGPREFIX}-objgraph-[0-9]*:../../graphics/py-objgraph +TEST_DEPENDS+= ${PYPKGPREFIX}-psutil-[0-9]*:../../sysutils/py-psutil +TEST_DEPENDS+= ${PYPKGPREFIX}-requests-[0-9]*:../../devel/py-requests + +.include "../../lang/python/pyversion.mk" +.if "${_PYTHON_VERSION}" == "27" +TEST_DEPENDS+= ${PYPKGPREFIX}-futures-[0-9]*:../../devel/py-futures +TEST_DEPENDS+= ${PYPKGPREFIX}-mock-[0-9]*:../../devel/py-mock +.endif + MAKE_ENV+= CARES_EMBED=0 LIBEV_EMBED=0 USE_LANGUAGES= c c++ @@ -21,7 +33,7 @@ MAKE_ENV.SunOS+= ac_cv_header_sys_inotify_h=no do-test: cd ${WRKSRC}/src/greentest && \ - ${SETENV} ${TEST_ENV} ${PYTHONBIN} testrunner.py --config known_failures.py + ${PYTHONBIN} testrunner.py --config known_failures.py .include "../../devel/py-cython/buildlink3.mk" .include "../../devel/libev/buildlink3.mk" diff --git a/net/py-gevent/PLIST b/net/py-gevent/PLIST index 30a63ce18b5..9a956022e4c 100644 --- a/net/py-gevent/PLIST +++ b/net/py-gevent/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.7 2018/07/09 07:51:16 adam Exp $ +@comment $NetBSD: PLIST,v 1.8 2018/08/19 09:44:28 adam Exp $ ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt @@ -122,8 +122,8 @@ ${PYSITELIB}/gevent/_util.py ${PYSITELIB}/gevent/_util.pyc ${PYSITELIB}/gevent/_util.pyo ${PYSITELIB}/gevent/_util_py2.py -${PLIST.py2x}${PYSITELIB}/gevent/_util_py2.pyc -${PLIST.py2x}${PYSITELIB}/gevent/_util_py2.pyo +${PYSITELIB}/gevent/_util_py2.pyc +${PYSITELIB}/gevent/_util_py2.pyo ${PYSITELIB}/gevent/_waiter.c ${PYSITELIB}/gevent/_waiter.py ${PYSITELIB}/gevent/_waiter.pyc diff --git a/net/py-gevent/distinfo b/net/py-gevent/distinfo index 893148ac16b..7c1a8825e14 100644 --- a/net/py-gevent/distinfo +++ b/net/py-gevent/distinfo @@ -1,6 +1,6 @@ -$NetBSD: distinfo,v 1.6 2018/07/09 07:51:16 adam Exp $ +$NetBSD: distinfo,v 1.7 2018/08/19 09:44:28 adam Exp $ -SHA1 (gevent-1.3.4.tar.gz) = 755c11da60e502fce6be3ab45431d98ce7623fa2 -RMD160 (gevent-1.3.4.tar.gz) = 84a2ce20a6019254d29df84a394bfa6262f49911 -SHA512 (gevent-1.3.4.tar.gz) = dcebb78c471046a7de3cd557d35877f915d7801e3dcdeaee2f3205af2e59dee071108015ec895105ea91deeb35c6a5bb7e91cf06664a31276b53bc85434f80ca -Size (gevent-1.3.4.tar.gz) = 4600973 bytes +SHA1 (gevent-1.3.6.tar.gz) = 686dbb43474bf80efd9af3c07ba2dbd242aa123e +RMD160 (gevent-1.3.6.tar.gz) = 6f67ab944348e3aa9d8c7e39105df2e8b1ba7f37 +SHA512 (gevent-1.3.6.tar.gz) = 9ad6bf8a939a3cf812fd33c9f55813c0a3ee281ccb38e42ec8c68c3fbb4ba07623d7dfb7104d3e343713ee93b4b4d7e29de06a2992b171166b003985f2b49e2a +Size (gevent-1.3.6.tar.gz) = 4500128 bytes |