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

add recipe for uv-dynamic-versioning #29005

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Changes from all commits
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
49 changes: 49 additions & 0 deletions recipes/uv-dynamic-versioning/meta.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
{% set name = "uv-dynamic-versioning" %}
{% set version = "0.4.1" %}
{% set python_min = "3.9" %}

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

source:
url: https://pypi.org/packages/source/{{ name[0] }}/{{ name }}/uv_dynamic_versioning-{{ version }}.tar.gz
sha256: 2e0e4f6fbd9ae4507a9f5bbbc2c55266afce1042ee9c77358c1e4c1ae6453a1e

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

requirements:
host:
- python {{ python_min }}
- hatchling
- pip
run:
- python >={{ python_min }}
- dunamai >=1.23,<2.dev0
- eval-type-backport >=0.2,<1.dev0
- hatchling >=1.26,<2.dev0
- pydantic >=2.10,<3.dev0
- returns >=0.23,<1.dev0
- tomlkit >=0.13,<1.dev0

test:
imports:
- uv_dynamic_versioning
commands:
- pip check
requires:
- python {{ python_min }}
- pip

about:
home: https://github.com/ninoseki/uv-dynamic-versioning
summary: Dynamic versioning based on VCS tags for uv/hatch project
license: MIT
license_file: LICENSE

extra:
recipe-maintainers:
- ninoseki