mirror of
https://github.com/ivabus/pantry
synced 2024-11-23 00:45:07 +03:00
0bfec00a12
use new tooling (old depended on `which`) closes #5078
32 lines
676 B
YAML
32 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
|