Skip to content

Commit

Permalink
feat: add dependency-groups recipe
Browse files Browse the repository at this point in the history
Signed-off-by: Henry Schreiner <[email protected]>
  • Loading branch information
henryiii committed Feb 10, 2025
1 parent 5d0550e commit 0286ee7
Showing 1 changed file with 57 additions and 0 deletions.
57 changes: 57 additions & 0 deletions recipes/dependency-groups/recipe.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
schema_version: 1

context:
name: dependency-groups
version: 1.3.0

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

source:
url: https://pypi.org/packages/source/${{ name[0] }}/${{ name }}/dependency_groups-${{ version }}.tar.gz
sha256: 5b9751d5d98fbd6dfd038a560a69c8382e41afcbf7ffdbcc28a2a3f85498830f

build:
noarch: python
number: 0
script: ${{ PYTHON }} -m pip install . -vv
python:
entry_points:
- lint-dependency-groups = dependency_groups._lint_dependency_groups:main
- pip-install-dependency-groups = dependency_groups._pip_wrapper:main
- dependency-groups = dependency_groups.__main__:main

requirements:
host:
- python ${{ python_min }}.*
- flit-core
- pip
run:
- python >=${{ python_min }}
- packaging
- tomli

tests:
- python:
imports:
- dependency_groups
pip_check: true
- requirements:
run:
- pip
- python ${{ python_min }}.*
script:
- lint-dependency-groups --help
- pip-install-dependency-groups --help
- dependency-groups --help

about:
summary: A tool for resolving PEP 735 Dependency Group data
license: MIT
license_file: LICENSE.txt
homepage: https://dependency-groups.readthedocs.io

extra:
recipe-maintainers:
- henryiii

0 comments on commit 0286ee7

Please sign in to comment.