master
/ miniconda3 / pkgs / pyzmq-25.1.0-py310h6a678d5_0 / info / recipe / meta.yaml.template

meta.yaml.template @a663dc1 raw · history · blame

{% set version = "25.1.0" %}

package:
  name: pyzmq
  version: {{ version }}

source:
  # We use the pypi URL as it includes the prepared Cython files.
  url: https://pypi.io/packages/source/p/pyzmq/pyzmq-{{ version }}.tar.gz
  sha256: 80c41023465d36280e801564a69cbfce8ae85ff79b080e1913f6e90481fb8957

build:
  number: 0
  skip: True  # [py<36]
  ignore_run_exports:
    - zeromq  # [win]
  missing_dso_whitelist:
    - $RPATH/libzmq.cp*-win_amd64.pyd  # [win]

requirements:
  build:
    - pkg-config 0.29.2  # [not win]
    - {{ compiler('c') }}
    - {{ compiler('cxx') }}
  host:
    - python
    - packaging
    - pip
    - setuptools
    - setuptools_scm
    - toml
    - wheel
    - cython 0.29  # [py<=311]
    - cython 3.0.0 # [py==312]
    - libsodium 1.0.18
    - zeromq 4.3.4
  run:
    - python
    - libsodium >=1.0.18,<1.0.19.0a0
    - zeromq >=4.3.4,<4.4.0a0

test:
  imports:
    - zmq
    - zmq.backend.cython.socket
    - zmq.backend.cython.utils
    - zmq.devices.monitoredqueue
  requires:
    - pip
    - pytest
  # We run the zmq tests on all platforms except Windows.
  # The only reason not to run the tests on Windows is that
  # they terminate with an interactive prompt. See also
  # https://github.com/conda-forge/staged-recipes/pull/292#issuecomment-208080893.
  commands:
    - pip check
    - py.test --pyargs zmq.tests.test_socket

about:
  home: https://github.com/zeromq/pyzmq
  summary: Python bindings for zeromq
  license: BSD-3-Clause AND LGPL-3.0-or-later
  license_file:
     - LICENSE.BSD
     - LICENSE.LESSER
  license_family: BSD
  description: |
    PyZMQ contains Python bindings for 0MQ. 0MQ is a lightweight and fast
    messaging implementation.
  doc_source_url: https://github.com/zeromq/pyzmq/blob/master/docs/source/index.rst
  dev_url: https://github.com/zeromq/pyzmq

extra:
  recipe-maintainers:
    - jakirkham
    - minrk
    - msarahan
    - pelson
    - SylvainCorlay
    - JohanMabille
    - ocefpaf
    - mingwandroid
    - chenghlee