pantry/projects/kaggle.com/package.yml

24 lines
586 B
YAML
Raw Normal View History

distributable:
url: https://github.com/Kaggle/kaggle-api/archive/refs/tags/{{version}}.tar.gz
strip-components: 1
versions:
github: Kaggle/kaggle-api
dependencies:
2024-01-08 19:18:51 +03:00
pkgx.sh: ^1
build:
dependencies:
2024-01-08 19:18:51 +03:00
python.org: ^3.12
linux:
llvm.org: '*'
script:
2024-01-08 19:18:51 +03:00
- bkpyvenv stage {{prefix}} {{version}}
- ${{prefix}}/venv/bin/pip install .
- bkpyvenv seal {{prefix}} kaggle
provides:
- bin/kaggle
test:
script:
2024-01-08 19:18:51 +03:00
- mkdir -p $HOME/.kaggle
- echo '{"username":"testname","key":"testkey"}' > $HOME/.kaggle/kaggle.json
- kaggle --version | grep {{version}}