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

PKG-2849: initial build for defaults #2

Merged
merged 4 commits into from
Sep 20, 2023
Merged
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
38 changes: 29 additions & 9 deletions recipe/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,37 +6,57 @@ package:
version: {{ version }}

source:
url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/truststore-{{ version }}.tar.gz
sha256: dc70da89634944a579bfeec70a7a4523c53ffdb3cf52d1bb4a431fda278ddb96
url: https://github.com/sethmlarson/{{ name }}/archive/refs/tags/v{{ version }}.tar.gz
fn: {{ name }}-{{ version }}.tar.gz
sha256: c862292f8d136bfcf2a7827a1fd1c1b27944a982741205fb466005673b570df8

build:
noarch: python
script: {{ PYTHON }} -m pip install . -vv
skip: True # [py<310]
script: {{ PYTHON }} -m pip install . -vv --no-deps --no-build-isolation
number: 0

requirements:
host:
- python >=3.10
- python
- flit-core >=3.2,<4
- pip
- wheel
rafaelmartins marked this conversation as resolved.
Show resolved Hide resolved
run:
- python >=3.10
- python

test:
requires:
- pip
- aiohttp # [not (linux and s390x)]
- pyopenssl # [not (linux and s390x)]
- pytest # [not (linux and s390x)]
- pytest-asyncio # [not (linux and s390x)]
- pytest-httpserver # [not (linux and s390x)]
- urllib3 # [not (linux and s390x)]
- trustme # [not (linux and s390x)]
- requests # [not (linux and s390x)]
- flaky # [not (linux and s390x)]
- httpx # [not (linux and s390x)]
imports:
- truststore
source_files:
- tests # [not (linux and s390x)]
commands:
- pip check
requires:
- pip
- pytest -v -s -rs --no-flaky-report --max-runs=3 tests/ # [not (linux and s390x)]

about:
home: https://github.com/sethmlarson/truststore
summary: Verify certificates using native system trust stores
description: |
A library which exposes native system certificate stores (ie “trust stores”)
through an ssl.SSLContext-like API. This means that Python applications no
longer need to rely on certifi as a root certificate store.
dev_url: https://github.com/sethmlarson/truststore
doc_url: https://truststore.readthedocs.io/en/latest/
doc_url: https://truststore.readthedocs.io/
license: MIT
license_file: LICENSE
license_family: MIT

extra:
recipe-maintainers:
Expand Down