pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/net/py-gevent



Module Name:    pkgsrc
Committed By:   adam
Date:           Fri Jul 14 10:19:36 UTC 2017

Modified Files:
        pkgsrc/net/py-gevent: Makefile PLIST distinfo
Removed Files:
        pkgsrc/net/py-gevent: buildlink3.mk
        pkgsrc/net/py-gevent/patches: patch-libev_ev.c

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 pkgsrc/net/py-gevent/Makefile
cvs rdiff -u -r1.2 -r1.3 pkgsrc/net/py-gevent/PLIST
cvs rdiff -u -r1.2 -r0 pkgsrc/net/py-gevent/buildlink3.mk
cvs rdiff -u -r1.4 -r1.5 pkgsrc/net/py-gevent/distinfo
cvs rdiff -u -r1.1 -r0 pkgsrc/net/py-gevent/patches/patch-libev_ev.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/net/py-gevent/Makefile
diff -u pkgsrc/net/py-gevent/Makefile:1.6 pkgsrc/net/py-gevent/Makefile:1.7
--- pkgsrc/net/py-gevent/Makefile:1.6   Sun Jan  1 14:43:51 2017
+++ pkgsrc/net/py-gevent/Makefile       Fri Jul 14 10:19:36 2017
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.6 2017/01/01 14:43:51 wiz Exp $
+# $NetBSD: Makefile,v 1.7 2017/07/14 10:19:36 adam Exp $
 
-DISTNAME=      gevent-1.0.2
+DISTNAME=      gevent-1.2.2
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
-PKGREVISION=   1
 CATEGORIES=    net python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=g/gevent/}
 
@@ -11,17 +10,17 @@ HOMEPAGE=   http://www.gevent.org/
 COMMENT=       Python-gevent a coroutine-based Python networking library
 LICENSE=       mit
 
-DEPENDS+=      ${PYPKGPREFIX}-greenlet>=0.4.1:../../devel/py-greenlet
+DEPENDS+=      ${PYPKGPREFIX}-greenlet>=0.4.10:../../devel/py-greenlet
+MAKE_ENV+=     CARES_EMBED=0 LIBEV_EMBED=0
 
 USE_LANGUAGES= c c++
 
-PYTHON_VERSIONS_INCOMPATIBLE=  34 35 36
-
 do-test:
-       ${RUN} cd ${WRKSRC}/greentest; ${SETENV} ${TEST_ENV} ${PYTHONBIN} testrunner.py
+       cd ${WRKSRC}/src/greentest && \
+               ${SETENV} ${TEST_ENV} ${PYTHONBIN} testrunner.py --config known_failures.py
 
 .include "../../devel/py-cython/buildlink3.mk"
-BUILDLINK_API_DEPENDS.libevent+=       libevent>=0.6
-.include "../../devel/libevent/buildlink3.mk"
+.include "../../devel/libev/buildlink3.mk"
 .include "../../lang/python/egg.mk"
+.include "../../net/libcares/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/net/py-gevent/PLIST
diff -u pkgsrc/net/py-gevent/PLIST:1.2 pkgsrc/net/py-gevent/PLIST:1.3
--- pkgsrc/net/py-gevent/PLIST:1.2      Sun Nov  8 09:20:06 2015
+++ pkgsrc/net/py-gevent/PLIST  Fri Jul 14 10:19:36 2017
@@ -1,23 +1,56 @@
-@comment $NetBSD: PLIST,v 1.2 2015/11/08 09:20:06 wiz Exp $
+@comment $NetBSD: PLIST,v 1.3 2017/07/14 10:19:36 adam Exp $
 ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
 ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
 ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/not-zip-safe
 ${PYSITELIB}/${EGG_INFODIR}/requires.txt
 ${PYSITELIB}/${EGG_INFODIR}/top_level.txt
 ${PYSITELIB}/gevent/__init__.py
 ${PYSITELIB}/gevent/__init__.pyc
 ${PYSITELIB}/gevent/__init__.pyo
+${PYSITELIB}/gevent/_compat.py
+${PYSITELIB}/gevent/_compat.pyc
+${PYSITELIB}/gevent/_compat.pyo
+${PYSITELIB}/gevent/_fileobjectcommon.py
+${PYSITELIB}/gevent/_fileobjectcommon.pyc
+${PYSITELIB}/gevent/_fileobjectcommon.pyo
+${PYSITELIB}/gevent/_fileobjectposix.py
+${PYSITELIB}/gevent/_fileobjectposix.pyc
+${PYSITELIB}/gevent/_fileobjectposix.pyo
+${PYSITELIB}/gevent/_semaphore.pxd
+${PYSITELIB}/gevent/_semaphore.py
+${PYSITELIB}/gevent/_semaphore.pyc
+${PYSITELIB}/gevent/_semaphore.pyo
 ${PYSITELIB}/gevent/_semaphore.so
+${PYSITELIB}/gevent/_socket2.py
+${PYSITELIB}/gevent/_socket2.pyc
+${PYSITELIB}/gevent/_socket2.pyo
+${PYSITELIB}/gevent/_socket3.py
+${PYSITELIB}/gevent/_socket3.pyc
+${PYSITELIB}/gevent/_socket3.pyo
+${PYSITELIB}/gevent/_socketcommon.py
+${PYSITELIB}/gevent/_socketcommon.pyc
+${PYSITELIB}/gevent/_socketcommon.pyo
 ${PYSITELIB}/gevent/_ssl2.py
 ${PYSITELIB}/gevent/_ssl2.pyc
 ${PYSITELIB}/gevent/_ssl2.pyo
+${PYSITELIB}/gevent/_ssl3.py
+${PYSITELIB}/gevent/_ssl3.pyc
+${PYSITELIB}/gevent/_ssl3.pyo
 ${PYSITELIB}/gevent/_sslgte279.py
 ${PYSITELIB}/gevent/_sslgte279.pyc
 ${PYSITELIB}/gevent/_sslgte279.pyo
+${PYSITELIB}/gevent/_tblib.py
+${PYSITELIB}/gevent/_tblib.pyc
+${PYSITELIB}/gevent/_tblib.pyo
 ${PYSITELIB}/gevent/_threading.py
 ${PYSITELIB}/gevent/_threading.pyc
 ${PYSITELIB}/gevent/_threading.pyo
-${PYSITELIB}/gevent/_util.so
+${PYSITELIB}/gevent/_util.py
+${PYSITELIB}/gevent/_util.pyc
+${PYSITELIB}/gevent/_util.pyo
+${PYSITELIB}/gevent/_util_py2.py
+${PYSITELIB}/gevent/ares.pyx
 ${PYSITELIB}/gevent/ares.so
 ${PYSITELIB}/gevent/backdoor.py
 ${PYSITELIB}/gevent/backdoor.pyc
@@ -25,22 +58,53 @@ ${PYSITELIB}/gevent/backdoor.pyo
 ${PYSITELIB}/gevent/baseserver.py
 ${PYSITELIB}/gevent/baseserver.pyc
 ${PYSITELIB}/gevent/baseserver.pyo
-${PYSITELIB}/gevent/core.so
-${PYSITELIB}/gevent/coros.py
-${PYSITELIB}/gevent/coros.pyc
-${PYSITELIB}/gevent/coros.pyo
+${PYSITELIB}/gevent/builtins.py
+${PYSITELIB}/gevent/builtins.pyc
+${PYSITELIB}/gevent/builtins.pyo
+${PYSITELIB}/gevent/cares.pxd
+${PYSITELIB}/gevent/cares_ntop.h
+${PYSITELIB}/gevent/cares_pton.h
+${PYSITELIB}/gevent/core.py
+${PYSITELIB}/gevent/core.pyc
+${PYSITELIB}/gevent/core.pyo
+${PYSITELIB}/gevent/dnshelper.c
 ${PYSITELIB}/gevent/event.py
 ${PYSITELIB}/gevent/event.pyc
 ${PYSITELIB}/gevent/event.pyo
 ${PYSITELIB}/gevent/fileobject.py
 ${PYSITELIB}/gevent/fileobject.pyc
 ${PYSITELIB}/gevent/fileobject.pyo
+${PYSITELIB}/gevent/gevent._semaphore.c
+${PYSITELIB}/gevent/gevent.ares.c
+${PYSITELIB}/gevent/gevent.ares.h
 ${PYSITELIB}/gevent/greenlet.py
 ${PYSITELIB}/gevent/greenlet.pyc
 ${PYSITELIB}/gevent/greenlet.pyo
 ${PYSITELIB}/gevent/hub.py
 ${PYSITELIB}/gevent/hub.pyc
 ${PYSITELIB}/gevent/hub.pyo
+${PYSITELIB}/gevent/libev/__init__.py
+${PYSITELIB}/gevent/libev/__init__.pyc
+${PYSITELIB}/gevent/libev/__init__.pyo
+${PYSITELIB}/gevent/libev/_corecffi.abi3.so
+${PYSITELIB}/gevent/libev/_corecffi_build.py
+${PYSITELIB}/gevent/libev/_corecffi_build.pyc
+${PYSITELIB}/gevent/libev/_corecffi_build.pyo
+${PYSITELIB}/gevent/libev/_corecffi_cdef.c
+${PYSITELIB}/gevent/libev/_corecffi_source.c
+${PYSITELIB}/gevent/libev/callbacks.c
+${PYSITELIB}/gevent/libev/callbacks.h
+${PYSITELIB}/gevent/libev/corecext.ppyx
+${PYSITELIB}/gevent/libev/corecext.pyx
+${PYSITELIB}/gevent/libev/corecext.so
+${PYSITELIB}/gevent/libev/corecffi.py
+${PYSITELIB}/gevent/libev/corecffi.pyc
+${PYSITELIB}/gevent/libev/corecffi.pyo
+${PYSITELIB}/gevent/libev/gevent.corecext.c
+${PYSITELIB}/gevent/libev/libev.h
+${PYSITELIB}/gevent/libev/libev.pxd
+${PYSITELIB}/gevent/libev/libev_vfd.h
+${PYSITELIB}/gevent/libev/stathelper.c
 ${PYSITELIB}/gevent/local.py
 ${PYSITELIB}/gevent/local.pyc
 ${PYSITELIB}/gevent/local.pyo
@@ -56,6 +120,7 @@ ${PYSITELIB}/gevent/os.pyo
 ${PYSITELIB}/gevent/pool.py
 ${PYSITELIB}/gevent/pool.pyc
 ${PYSITELIB}/gevent/pool.pyo
+${PYSITELIB}/gevent/python.pxd
 ${PYSITELIB}/gevent/pywsgi.py
 ${PYSITELIB}/gevent/pywsgi.pyc
 ${PYSITELIB}/gevent/pywsgi.pyo
@@ -74,6 +139,9 @@ ${PYSITELIB}/gevent/select.pyo
 ${PYSITELIB}/gevent/server.py
 ${PYSITELIB}/gevent/server.pyc
 ${PYSITELIB}/gevent/server.pyo
+${PYSITELIB}/gevent/signal.py
+${PYSITELIB}/gevent/signal.pyc
+${PYSITELIB}/gevent/signal.pyo
 ${PYSITELIB}/gevent/socket.py
 ${PYSITELIB}/gevent/socket.pyc
 ${PYSITELIB}/gevent/socket.pyo

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



Home | Main Index | Thread Index | Old Index