new file: projects/oracle.com/oci-cli/package.yml

This commit is contained in:
Andrii Riabchenko 2024-03-09 20:46:23 +02:00 committed by Jacob Heider
parent a5075008fe
commit 37807ded29

View file

@ -0,0 +1,30 @@
distributable:
url: https://github.com/oracle/oci-cli/archive/v{{version}}.tar.gz
strip-components: 1
versions:
github: oracle/oci-cli
dependencies:
certifi.io/python-certifi: ^2024
pyyaml.org/libyaml: ^0.2
cryptography.io: ^42
python.org: ^3.11
build:
dependencies:
cmake.org: '*'
rust-lang.org: '*'
script:
- bkpyvenv stage {{prefix}} {{version}}
- ${{prefix}}/venv/bin/pip install .
- bkpyvenv seal {{prefix}} oci
provides:
- bin/oci
test:
- oci --version | grep {{version}}
- oci --help
- oci session validate 2>out.log || true
- cat out.log | grep 'ConfigFileNotFound'