mirror of
https://github.com/ivabus/pantry
synced 2024-11-14 04:25:08 +03:00
new file: projects/pypa.io/hatch/package.yml
This commit is contained in:
parent
ced302b84c
commit
7f2ac3e0f7
1 changed files with 26 additions and 0 deletions
26
projects/pypa.io/hatch/package.yml
Normal file
26
projects/pypa.io/hatch/package.yml
Normal file
|
@ -0,0 +1,26 @@
|
||||||
|
distributable:
|
||||||
|
# Make sure you're either building from a fully intact git repository
|
||||||
|
url: git+https://github.com/pypa/hatch.git
|
||||||
|
ref: ${{version.tag}}
|
||||||
|
|
||||||
|
versions:
|
||||||
|
github: pypa/hatch
|
||||||
|
strip: /hatchling-v/
|
||||||
|
|
||||||
|
dependencies:
|
||||||
|
python.org: ~3.12
|
||||||
|
|
||||||
|
runtime:
|
||||||
|
env:
|
||||||
|
PYTHONPATH: ${{prefix}}/lib/python3.12/site-packages:$PYTHONPATH
|
||||||
|
|
||||||
|
build:
|
||||||
|
python -m pip install --prefix={{prefix}} .
|
||||||
|
|
||||||
|
provides:
|
||||||
|
- bin/hatch
|
||||||
|
- bin/hatchling
|
||||||
|
|
||||||
|
test:
|
||||||
|
- hatch env create 2>&1 | grep 'Creating environment'
|
||||||
|
- python -c 'import hatchling'
|
Loading…
Reference in a new issue