pantry/projects/opendev.org/openstack/python-openstackclient/package.yml
Jacob Heider 0bfec00a12 fix(openstack)
use new tooling (old depended on `which`)

closes #5078
2024-02-01 12:43:37 -05:00

33 lines
676 B
YAML

distributable:
url: https://opendev.org/openstack/python-openstackclient/archive/{{version}}.tar.gz
strip-components: 1
versions:
url: https://opendev.org/api/v1/repos/openstack/python-openstackclient/tags
match: /"name":"\d+\.\d+\.\d+"/
strip:
- /^"name":"/
- /"$/
dependencies:
pkgx.sh: ^1
build:
dependencies:
python.org: ^3
script:
- bkpyvenv stage {{prefix}} {{version}}
- ${{prefix}}/venv/bin/pip install .
- bkpyvenv seal {{prefix}} openstack openstack-inventory
provides:
- bin/openstack
- bin/openstack-inventory
test:
env:
TERM: vt100
script:
- openstack help server list
- openstack-inventory --help