Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added qh3 as a package #25193

Merged
merged 19 commits into from
Jul 1, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions recipes/qh3/conda_build_config.yaml
Original file line number Diff line number Diff line change
@@ -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]
54 changes: 54 additions & 0 deletions recipes/qh3/meta.yaml
Original file line number Diff line number Diff line change
@@ -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
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
- pip
- pip
- clangdev

This is probably what you need

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

got it, let me try

- 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