-
-
Notifications
You must be signed in to change notification settings - Fork 5k
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
Added qh3 as a package #25193
Changes from 9 commits
d7fcf6f
7f6f02c
eefd751
4cf3838
046a42d
4a09d3e
931ecd9
d821452
2c2d153
e47773f
9c4a4f4
f65dea4
a1c9de4
1220724
8d4f10c
88790c3
7444f9e
d041ae1
938f06a
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
c_stdlib_version: # [osx and x86] | ||
- '10.12' # [osx and x86] | ||
Original file line number | Diff line number | Diff line change | ||||||
---|---|---|---|---|---|---|---|---|
@@ -0,0 +1,48 @@ | ||||||||
{% 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: {{ PYTHON }} -m pip install . -vv --no-deps --no-build-isolation | ||||||||
number: 0 | ||||||||
|
||||||||
requirements: | ||||||||
build: | ||||||||
- {{ stdlib('c') }} | ||||||||
- {{ compiler('c') }} | ||||||||
- {{ compiler('rust') }} | ||||||||
- cmake | ||||||||
- libclang # [linux] | ||||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
This is something on PyPI only to reduce the size of binary artifacts (mostly?). In all recipes I have seen it, I just patched it out as a requirement. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I'll try Clang instead then There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Or maybe I need to use Clang as the C compiler and not gcc? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @xhochy It seems that it's during the rust/cargo build phase it needs libclang, but not sure why it's not detecting it |
||||||||
- nasm # [win] | ||||||||
host: | ||||||||
- python | ||||||||
- maturin >=1.2,<2.0 | ||||||||
- pip | ||||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
This is probably what you need There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. got it, let me try |
||||||||
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 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
10.13 is now the new default/minimum