pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/net/py-gevent 1.2.2:
details: https://anonhg.NetBSD.org/pkgsrc/rev/d4be0b37a9fa
branches: trunk
changeset: 365343:d4be0b37a9fa
user: adam <adam%pkgsrc.org@localhost>
date: Fri Jul 14 10:19:36 2017 +0000
description:
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.
diffstat:
net/py-gevent/Makefile | 17 +++---
net/py-gevent/PLIST | 80 +++++++++++++++++++++++++++++++--
net/py-gevent/buildlink3.mk | 19 --------
net/py-gevent/distinfo | 11 ++--
net/py-gevent/patches/patch-libev_ev.c | 13 -----
5 files changed, 87 insertions(+), 53 deletions(-)
diffs (232 lines):
diff -r 1c4e69679bb0 -r d4be0b37a9fa net/py-gevent/Makefile
--- a/net/py-gevent/Makefile Fri Jul 14 10:17:02 2017 +0000
+++ b/net/py-gevent/Makefile Fri Jul 14 10:19:36 2017 +0000
@@ -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 @@
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"
diff -r 1c4e69679bb0 -r d4be0b37a9fa net/py-gevent/PLIST
--- a/net/py-gevent/PLIST Fri Jul 14 10:17:02 2017 +0000
+++ b/net/py-gevent/PLIST Fri Jul 14 10:19:36 2017 +0000
@@ -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/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/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/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
diff -r 1c4e69679bb0 -r d4be0b37a9fa net/py-gevent/buildlink3.mk
--- a/net/py-gevent/buildlink3.mk Fri Jul 14 10:17:02 2017 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,19 +0,0 @@
-# $NetBSD: buildlink3.mk,v 1.2 2016/03/05 11:27:53 jperkin Exp $
-
-BUILDLINK_TREE+= py-gevent
-
-.if !defined(PY_GEVENT_BUILDLINK3_MK)
-PY_GEVENT_BUILDLINK3_MK:=
-
-.include "../../lang/python/pyversion.mk"
-
-BUILDLINK_API_DEPENDS.py-gevent+= ${PYPKGPREFIX}-gevent>=0.13.0
-BUILDLINK_ABI_DEPENDS.py-gevent?= ${PYPKGPREFIX}-gevent>=1.0.2nb1
-BUILDLINK_PKGSRCDIR.py-gevent?= ../../net/py-gevent
-
-.include "../../devel/py-cython/buildlink3.mk"
-.include "../../devel/libevent/buildlink3.mk"
-
-.endif # PY_GEVENT_BUILDLINK3_MK
-
-BUILDLINK_TREE+= -py-gevent
diff -r 1c4e69679bb0 -r d4be0b37a9fa net/py-gevent/distinfo
--- a/net/py-gevent/distinfo Fri Jul 14 10:17:02 2017 +0000
+++ b/net/py-gevent/distinfo Fri Jul 14 10:19:36 2017 +0000
@@ -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
diff -r 1c4e69679bb0 -r d4be0b37a9fa net/py-gevent/patches/patch-libev_ev.c
--- a/net/py-gevent/patches/patch-libev_ev.c Fri Jul 14 10:17:02 2017 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,13 +0,0 @@
-$NetBSD: patch-libev_ev.c,v 1.1 2014/11/10 18:09:11 joerg Exp $
-
---- libev/ev.c.orig 2014-11-10 12:40:39.000000000 +0000
-+++ libev/ev.c
-@@ -963,7 +963,7 @@ ecb_inline uint64_t ecb_rotr64 (uint64_t
- }
- #endif
-
--#if ECB_GCC_VERSION(4,5)
-+#if ECB_GCC_VERSION(4,5) || defined(__clang__)
- #define ecb_unreachable() __builtin_unreachable ()
- #else
- /* this seems to work fine, but gcc always emits a warning for it :/ */
Home |
Main Index |
Thread Index |
Old Index