diff --git a/recipes/qh3/conda_build_config.yaml b/recipes/qh3/conda_build_config.yaml new file mode 100644 index 0000000000000..b5f411790ca29 --- /dev/null +++ b/recipes/qh3/conda_build_config.yaml @@ -0,0 +1,4 @@ +c_stdlib_version: # [osx and x86] + - '10.15' # [osx and x86] +MACOSX_SDK_VERSION: # [osx and x86] + - '10.15' # [osx and x86] diff --git a/recipes/qh3/meta.yaml b/recipes/qh3/meta.yaml new file mode 100644 index 0000000000000..685caaa8af1c5 --- /dev/null +++ b/recipes/qh3/meta.yaml @@ -0,0 +1,54 @@ +{% set name = "qh3" %} +{% set version = "1.0.7" %} + +package: + name: {{ name|lower }} + version: {{ version }} + +source: + url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/qh3-{{ version }}.tar.gz + sha256: eb527d8317746209509b9c575527577cdc9b3cfb0f49294fc1cd109b0570362c + +build: + skip: True # [py<37] + script: + - export OPENSSL_DIR=$PREFIX # [osx] + - export AWS_LC_SYS_CMAKE_BUILDER=1 + - {{ PYTHON }} -m pip install . -vv --no-deps --no-build-isolation + number: 0 + +requirements: + build: + - {{ stdlib('c') }} + - {{ compiler('c') }} + - {{ compiler('cxx') }} + - {{ compiler('rust') }} + - cmake + - make + - nasm # [win] + host: + - python + - maturin >=1.2,<2.0 + - pip + - openssl # [osx] + - clangdev # [linux] + run: + - python + +test: + imports: + - qh3 + commands: + - pip check + requires: + - pip + +about: + home: https://github.com/jawah/qh3 + summary: A lightway and fast implementation of QUIC and HTTP/3 + license: BSD-3-Clause + license_file: LICENSE + +extra: + recipe-maintainers: + - thewchan