Skip to content

Commit

Permalink
add types-cffi
Browse files Browse the repository at this point in the history
  • Loading branch information
bollwyvl committed Nov 12, 2024
1 parent 6084c93 commit 6b7ab80
Showing 1 changed file with 50 additions and 0 deletions.
50 changes: 50 additions & 0 deletions recipes/types-cffi/meta.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
{% set version = "1.16.0.20240331" %}

{% set python_min = python_min | default("3.9") %}

package:
name: types-cffi
version: {{ version }}

source:
- url: https://pypi.org/packages/source/t/types-cffi/types-cffi-{{ version }}.tar.gz
sha256: b8b20d23a2b89cfed5f8c5bc53b0cb8677c3aac6d970dbc771e28b9c698f5dee
- url: https://raw.githubusercontent.com/python/typeshed/main/LICENSE
sha256: 295f8538c94ae5c3043301cf7cff1c852dab6a786a8ddee471e061b40d5ecabe

build:
number: 0
noarch: python
script:
- {{ PYTHON }} -m pip install . -vv --no-deps --no-build-isolation --disable-pip-version-check

requirements:
host:
- pip
- python {{ python_min }}
- setuptools
run:
- python >={{ python_min }}
- types-setuptools

test:
requires:
- pip
- python {{ python_min }}
commands:
- pip check
- ls "$SP_DIR/cffi-stubs/__init__.pyi" || dir "%SP_DIR%\cffi-stubs\__init__.pyi"
- ls "$SP_DIR/_cffi_backend-stubs/__init__.pyi" || dir "%SP_DIR%\_cffi_backend-stubs\__init__.pyi"

about:
home: https://github.com/python/typeshed
summary: Typing stubs for cffi
license: Apache-2.0
license_file: LICENSE
dev_url: https://github.com/python/typeshed/tree/main/stubs/cffi

extra:
recipe-maintainers:
- bollwyvl
# TODO
# - conda-forge/mypy

0 comments on commit 6b7ab80

Please sign in to comment.