Ravenports generated: 17 Sep 2022 15:25
[ravenports.git] / bucket_47 / python-pyzmq
1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
2
3 NAMEBASE=               python-pyzmq
4 VERSION=                24.0.0
5 KEYWORDS=               python
6 VARIANTS=               py39 py310
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]
11
12 DOWNLOAD_GROUPS=        main
13 SITES[main]=            PYPI/p/pyzmq
14 DISTFILE[1]=            pyzmq-24.0.0.tar.gz:main
15 DF_INDEX=               1
16 SPKGS[py310]=           single
17 SPKGS[py39]=            single
18
19 OPTIONS_AVAILABLE=      PY39 PY310
20 OPTIONS_STANDARD=       none
21 VOPTS[py310]=           PY39=OFF PY310=ON
22 VOPTS[py39]=            PY39=ON PY310=OFF
23
24 BUILD_DEPENDS=          python-packaging:single:python_used
25 BUILDRUN_DEPENDS=       zeromq:single:standard
26
27 DISTNAME=               pyzmq-24.0.0
28
29 PYD_CONFIGUREARGS=      --zmq={{LOCALBASE}}
30 GENERATED=              yes
31
32 INSTALL_REQ_TOOLCHAIN=  yes
33
34 [PY39].USES_ON=                         python:py39,sutools
35
36 [PY310].USES_ON=                        python:py310,sutools
37
38 post-patch:
39         ${ECHO_CMD} "Replace with dummy ASCII" > ${WRKSRC}/README.md
40
41 [FILE:2722:descriptions/desc.single]
42 # PyZMQ: Python bindings for ØMQ
43
44 This package contains Python bindings for [ZeroMQ].
45 ØMQ is a lightweight and fast messaging implementation.
46
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
50 3.2.x and 4.x),
51 but the CFFI backend used by PyPy only supports libzmq ≥ 3.2.2 (including
52 4.x).
53
54 For a summary of changes to pyzmq, see our
55 [changelog].
56
57 ### ØMQ 3.x, 4.x
58
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.
63
64 PyZMQ does not support the old libzmq 2 API on PyPy.
65
66 ## Documentation
67
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
74 [wiki].
75
76 ## Downloading
77
78 Unless you specifically want to develop PyZMQ, we recommend downloading
79 the PyZMQ source code or wheels from
80 [PyPI],
81 or install with conda.
82
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.
85
86 ## Building and installation
87
88 For more detail on building pyzmq, see [our Wiki].
89
90 We build wheels for macOS, Windows, and Linux, so you can get a binary on
91 those platforms with:
92
93 `
94 pip install pyzmq
95 `
96
97 but compiling from source with `pip install pyzmq` should work in most
98 environments.
99 Especially on macOS, make sure you are using the latest pip (≥ 8), or it
100 may not find the right wheels.
101
102 If the wheel doesn't work for some reason, or you want to force pyzmq to be
103 compiled
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:
107
108 ```
109 pip install --no-binary=:all: pyzmq
110 ```
111
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:
115
116 ```
117 # Debian-based
118 sudo apt-get install libzmq3-dev
119
120 # RHEL-based
121 sudo yum install libzmq3-devel
122 ```
123
124 If this is not available, pyzmq will _try_ to build libzmq as a Python
125 Extension,
126 though this is not guaranteed to work.
127
128 Building pyzmq from the git repo (including release tags on GitHub)
129 requires Cython.
130
131 ## Old versions
132
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:
136
137 ```
138 pip install 'pyzmq<16'
139 ```
140
141 For libzmq 2.0.x, use 'pyzmq\<2.1'
142
143
144 [FILE:98:distinfo]
145 13b008bd142c9f6079ad75a30504eef2291502e9eac90e722b16fcf9ce856147      1218949 pyzmq-24.0.0.tar.gz
146