mirror of
https://github.com/ivabus/pantry
synced 2024-11-10 10:35:17 +03:00
26 lines
493 B
YAML
26 lines
493 B
YAML
distributable:
|
|
url: https://github.com/huggingface/huggingface_hub/archive/refs/tags/v{{version}}.tar.gz
|
|
strip-components: 1
|
|
|
|
display-name: huggingface/cli
|
|
|
|
versions:
|
|
github: huggingface/huggingface_hub
|
|
|
|
dependencies:
|
|
pkgx.sh: ^1
|
|
|
|
build:
|
|
dependencies:
|
|
python.org: ~3.11
|
|
script:
|
|
- bkpyvenv stage {{prefix}} {{version}}
|
|
- ${{prefix}}/venv/bin/pip install .
|
|
- bkpyvenv seal {{prefix}} huggingface-cli
|
|
|
|
provides:
|
|
- bin/huggingface-cli
|
|
|
|
test:
|
|
huggingface-cli --help
|