[BACK]Return to patch-buildutils_detect.py CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / net / py-zmq / patches

File: [cvs.NetBSD.org] / pkgsrc / net / py-zmq / patches / patch-buildutils_detect.py (download)

Revision 1.2, Thu Feb 22 10:03:25 2018 UTC (6 years, 1 month ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2021Q3-base, pkgsrc-2021Q3, pkgsrc-2021Q2-base, pkgsrc-2021Q2, pkgsrc-2021Q1-base, pkgsrc-2021Q1, pkgsrc-2020Q4-base, pkgsrc-2020Q4, pkgsrc-2020Q3-base, pkgsrc-2020Q3, pkgsrc-2020Q2-base, pkgsrc-2020Q2, pkgsrc-2020Q1-base, pkgsrc-2020Q1, pkgsrc-2019Q4-base, pkgsrc-2019Q4, pkgsrc-2019Q3-base, pkgsrc-2019Q3, pkgsrc-2019Q2-base, pkgsrc-2019Q2, pkgsrc-2019Q1-base, pkgsrc-2019Q1, pkgsrc-2018Q4-base, pkgsrc-2018Q4, pkgsrc-2018Q3-base, pkgsrc-2018Q3, pkgsrc-2018Q2-base, pkgsrc-2018Q2, pkgsrc-2018Q1-base, pkgsrc-2018Q1
Changes since 1.1: +4 -4 lines

py-zmq: updated to 17.0.0

17.0.0
Add zmq.Socket.send_serialized() and zmq.Socket.recv_serialized() for sending/receiving messages with custom serialization.
Add zmq.Socket.copy_threshold and zmq.COPY_THRESHOLD. Messages smaller than this are always copied, regardless of copy=False, to avoid overhead of zero-copy bookkeeping on small messages.
Added visible deprecation warnings to bundled tornado IOLoop. Tornado eventloop integration shouldnãàÑÕ be used without a proper tornado install since pyzmq 14.
Allow pyzmq asyncio/tornado integration to run without installing zmq_poll() implementation. The following methods and classes are deprecated and no longer required:
- zmq.eventloop.ioloop.install()
- zmq.eventloop.ioloop.IOLoop
- zmq.asyncio.install()
- zmq.asyncio.ZMQEventLoop
Set RPATH correctly when building on macOS.
Compatibility fixes with tornado 5.0.dev (may not be quite enough for 5.0 final, which is not yet released as of pyzmq 17).
Draft support for CLIENT-SERVER routing_id and group.

$NetBSD: patch-buildutils_detect.py,v 1.2 2018/02/22 10:03:25 adam Exp $

Let compiler decide what's best.

--- buildutils/detect.py.orig	2018-02-10 13:02:35.000000000 +0000
+++ buildutils/detect.py
@@ -47,11 +47,6 @@ def test_compilation(cfile, compiler=Non
         else:
             # allow for missing UB arch, since it will still work:
             lpreargs = ['-undefined', 'dynamic_lookup']
-    if sys.platform == 'sunos5':
-        if platform.architecture()[0]=='32bit':
-            lpreargs = ['-m32']
-        else: 
-            lpreargs = ['-m64']
     extra = compiler_attrs.get('extra_compile_args', None)
     extra_link = compiler_attrs.get('extra_link_args', [])
     lpreargs.extend(extra_link)