2023-10-22 16:47:13 +03:00
|
|
|
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
|
2023-10-22 16:47:13 +03:00
|
|
|
build:
|
|
|
|
dependencies:
|
2024-01-08 19:18:51 +03:00
|
|
|
python.org: ^3.12
|
2023-10-22 16:47:13 +03:00
|
|
|
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
|
2023-10-22 16:47:13 +03:00
|
|
|
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}}
|