Skip to content

Commit

Permalink
Merge pull request #29077 from henryiii/henryiii/feat/dependency-grou…
Browse files Browse the repository at this point in the history
…ps-feedstock

feat: add dependency-groups recipe
  • Loading branch information
synapticarbors authored Feb 11, 2025
2 parents cc5981e + a2fc599 commit 94ef1f1
Showing 1 changed file with 58 additions and 0 deletions.
58 changes: 58 additions & 0 deletions recipes/dependency-groups/recipe.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
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
python_version: ${{ python_min }}.*
- 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 94ef1f1

Please sign in to comment.