1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
7 SDESC[py310]= Python bindings for 0MQ (3.10)
8 SDESC[py39]= Python bindings for 0MQ (3.9)
9 HOMEPAGE= https://pyzmq.readthedocs.org
10 CONTACT= Python_Automaton[python@ironwolf.systems]
13 SITES[main]= PYPI/p/pyzmq
14 DISTFILE[1]= pyzmq-24.0.0.tar.gz:main
19 OPTIONS_AVAILABLE= PY39 PY310
20 OPTIONS_STANDARD= none
21 VOPTS[py310]= PY39=OFF PY310=ON
22 VOPTS[py39]= PY39=ON PY310=OFF
24 BUILD_DEPENDS= python-packaging:single:python_used
25 BUILDRUN_DEPENDS= zeromq:single:standard
27 DISTNAME= pyzmq-24.0.0
29 PYD_CONFIGUREARGS= --zmq={{LOCALBASE}}
32 INSTALL_REQ_TOOLCHAIN= yes
34 [PY39].USES_ON= python:py39,sutools
36 [PY310].USES_ON= python:py310,sutools
39 ${ECHO_CMD} "Replace with dummy ASCII" > ${WRKSRC}/README.md
41 [FILE:2722:descriptions/desc.single]
42 # PyZMQ: Python bindings for ØMQ
44 This package contains Python bindings for [ZeroMQ].
45 ØMQ is a lightweight and fast messaging implementation.
47 PyZMQ should work with any reasonable version of Python (≥ 3.4),
48 as well as Python 2.7 and 3.3, as well as PyPy.
49 The Cython backend used by CPython supports libzmq ≥ 2.1.4 (including
51 but the CFFI backend used by PyPy only supports libzmq ≥ 3.2.2 (including
54 For a summary of changes to pyzmq, see our
59 PyZMQ fully supports the 3.x and 4.x APIs of libzmq,
60 developed at [zeromq/libzmq].
61 No code to change, no flags to pass,
62 just build pyzmq against the latest and it should work.
64 PyZMQ does not support the old libzmq 2 API on PyPy.
68 See PyZMQ's Sphinx-generated
69 documentation [on Read the Docs] for API
70 details, and some notes on Python and Cython development. If you want to
71 learn about using ØMQ in general, the excellent [ØMQ
72 Guide] is the place to start, which has a
73 Python version of every example. We also have some information on our
78 Unless you specifically want to develop PyZMQ, we recommend downloading
79 the PyZMQ source code or wheels from
81 or install with conda.
83 You can also get the latest source code from our GitHub repository, but
84 building from the repository will require that you install recent Cython.
86 ## Building and installation
88 For more detail on building pyzmq, see [our Wiki].
90 We build wheels for macOS, Windows, and Linux, so you can get a binary on
97 but compiling from source with `pip install pyzmq` should work in most
99 Especially on macOS, make sure you are using the latest pip (≥ 8), or it
100 may not find the right wheels.
102 If the wheel doesn't work for some reason, or you want to force pyzmq to be
104 (this is often preferable if you already have libzmq installed and
105 configured the way you want it),
106 you can force installation with:
109 pip install --no-binary=:all: pyzmq
112 When compiling pyzmq (e.g. installing with pip on Linux),
113 it is generally recommended that zeromq be installed separately,
114 via homebrew, apt, yum, etc:
118 sudo apt-get install libzmq3-dev
121 sudo yum install libzmq3-devel
124 If this is not available, pyzmq will _try_ to build libzmq as a Python
126 though this is not guaranteed to work.
128 Building pyzmq from the git repo (including release tags on GitHub)
133 pyzmq 16 drops support Python 2.6 and 3.2.
134 If you need to use one of those Python versions, you can pin your pyzmq
135 version to before 16:
138 pip install 'pyzmq<16'
141 For libzmq 2.0.x, use 'pyzmq\<2.1'
145 13b008bd142c9f6079ad75a30504eef2291502e9eac90e722b16fcf9ce856147 1218949 pyzmq-24.0.0.tar.gz