mirror of
https://github.com/ivabus/pantry
synced 2024-11-10 02:25:18 +03:00
826feb6074
closes #4774
24 lines
586 B
YAML
24 lines
586 B
YAML
distributable:
|
|
url: https://github.com/Kaggle/kaggle-api/archive/refs/tags/{{version}}.tar.gz
|
|
strip-components: 1
|
|
versions:
|
|
github: Kaggle/kaggle-api
|
|
dependencies:
|
|
pkgx.sh: ^1
|
|
build:
|
|
dependencies:
|
|
python.org: ^3.12
|
|
linux:
|
|
llvm.org: '*'
|
|
script:
|
|
- bkpyvenv stage {{prefix}} {{version}}
|
|
- ${{prefix}}/venv/bin/pip install .
|
|
- bkpyvenv seal {{prefix}} kaggle
|
|
provides:
|
|
- bin/kaggle
|
|
test:
|
|
script:
|
|
- mkdir -p $HOME/.kaggle
|
|
- echo '{"username":"testname","key":"testkey"}' > $HOME/.kaggle/kaggle.json
|
|
- kaggle --version | grep {{version}}
|