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

feat: add dependency-groups recipe #29077

Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
henryiii marked this conversation as resolved.
Show resolved Hide resolved
- 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