Current File : /home/inlingua/miniconda3/pkgs/truststore-0.10.0-py312h06a4308_0/info/recipe/meta.yaml.template
{% set name = "truststore" %}
{% set version = "0.10.0" %}

package:
  name: {{ name|lower }}
  version: {{ version }}

source:
  url: https://github.com/sethmlarson/{{ name }}/archive/refs/tags/v{{ version }}.tar.gz
  fn: {{ name }}-{{ version }}.tar.gz
  sha256: 12e89641dba78a9427f782ad2d824bed93583a9465002fe59b63c3fd12cbe8f5

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

requirements:
  host:
    - python
    - flit-core >=3.2,<4
    - pip
  run:
    - 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
    - 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/
  license: MIT
  license_file: LICENSE
  license_family: MIT

extra:
  recipe-maintainers:
    - wolfv