-
-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
add unishox2-py3 recipe #20798
add unishox2-py3 recipe #20798
Changes from 9 commits
73a57f8
3ac1b62
06260b9
9e1e6f5
809a55f
80be97b
93eacaa
d31e97d
ded9c65
64a74cb
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,46 @@ | ||
{% set name = "unishox2-py3" %} | ||
{% set version = "1.0.0" %} | ||
|
||
package: | ||
name: {{ name|lower }} | ||
version: {{ version }} | ||
|
||
source: | ||
url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/unishox2-py3-{{ version }}.tar.gz | ||
sha256: cd2595de196ffd8b93bea7a76f5796d8293f32d1f7c9d3660af0b764ab917963 | ||
|
||
build: | ||
script: {{ PYTHON }} -m pip install . -vv | ||
skip: True # [win or arm64] | ||
number: 1 | ||
oschwengers marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
||
requirements: | ||
build: | ||
- python | ||
- pip | ||
- {{ compiler('cxx') }} | ||
host: | ||
- python | ||
- pip | ||
run: | ||
- python | ||
|
||
test: | ||
imports: | ||
- unishox2 | ||
commands: | ||
- pip check | ||
requires: | ||
- pip | ||
|
||
about: | ||
home: https://github.com/tweedge/unishox2-py3 | ||
summary: A package for Unicode-friendly string compression using Unishox2 | ||
dev_url: https://github.com/tweedge/unishox2-py3 | ||
license: Apache-2.0 | ||
license_file: | ||
- LICENSE | ||
Comment on lines
+41
to
+42
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. This library is revendoring unishox2 which is not allowed. Typically, we would ask you to devendor unishox2 into its own package and dynamically link, but since unishox2 is so small we will treat it as a header-only library. In this case, as explicitly mentioned in the checklist, you must include the license of the statically-linked/revendored library. The license of unishox2 and unishox2-py3 are different because the license holders are not the same, so please include both. |
||
|
||
extra: | ||
recipe-maintainers: | ||
- tweedge |
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.
Because the standard library isn't used.