pantry/projects/kaggle.com/package.yml
Jacob Heider 826feb6074 fix(kaggle)
closes #4774
2024-01-08 12:09:26 -05:00

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}}