Skip to content

Commit

Permalink
add recipe for basedpyright
Browse files Browse the repository at this point in the history
  • Loading branch information
lucascolley committed Nov 26, 2024
1 parent b2dc561 commit b5cce71
Showing 1 changed file with 57 additions and 0 deletions.
57 changes: 57 additions & 0 deletions recipes/basedpyright/meta.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
{% set name = "basedpyright" %}
{% set version = "1.22.0" %}

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

source:
url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/basedpyright-{{ version }}.tar.gz
sha256: 457e97ac4c3f694b900453d3f8824af36d17b9cef3d76c623e665dd4c7872d9c

build:
entry_points:
- basedpyright = basedpyright.pyright:main
- basedpyright-langserver = basedpyright.langserver:main
noarch: python
script: {{ PYTHON }} -m pip install . -vv --no-deps --no-build-isolation
number: 0

requirements:
host:
- python >=3.8
- pdm-backend >=2.3.0
- nodejs-wheel >=20.13.1
- typing_extensions >=4.12.2
- docify >=1.0.0
- pip
run:
- python >=3.8
- nodejs-wheel-binaries >=20.13.1

test:
imports:
- basedpyright
commands:
- pip check
- basedpyright --help
- basedpyright-langserver --help
requires:
- pip

about:
summary: static type checking for Python (but based)
license: MIT AND Apache-2.0
license_file:
- LICENSE.txt
- basedpyright/dist/typeshed-fallback/LICENSE
- docstubs/LICENSE
- packages/pyright/LICENSE.txt
- packages/pyright/dist/typeshed-fallback/LICENSE
- packages/pyright-internal/node_modules/@types/lodash/LICENSE
- packages/pyright-internal/typeshed-fallback/LICENSE

extra:
recipe-maintainers:
- lucascolley
- DetachHead

0 comments on commit b5cce71

Please sign in to comment.