new file: projects/palletsprojects.com/click/package.yml

This commit is contained in:
Andrii Riabchenko 2024-01-22 18:17:40 +02:00 committed by Jacob Heider
parent f4a1b94625
commit 7b1d0a97b0

View file

@ -0,0 +1,22 @@
distributable:
url: git+https://github.com/pallets/click.git
ref: ${{version.tag}}
display-name: python-click
versions:
github: pallets/click
dependencies:
python.org: '>=3.11'
runtime:
env:
PYTHONPATH: ${{prefix}}/lib/python3/site-packages:$PYTHONPATH
build:
- python -m pip install --prefix={{prefix}} .
- run: ln -s python{{deps.python.org.version.marketing}} python{{deps.python.org.version.major}}
working-directory: ${{prefix}}/lib
test: python -c "import click; print(click.__version__)" | grep {{version}}