mirror of
https://github.com/ivabus/pantry
synced 2024-11-22 08:25:07 +03:00
+opendev.org/openstack/python-openstackclient (#3679)
* +github/jetporch/jetporch * try fixing pkg-config dependency of openssl * fixing libz dependency * fixing libz dependency * fixing zlib dependency (typo in previous commit) * fixing dependencies versions * fixing dependencies versions * try with static linking of openssl and zlib * wip * wip * github/jetporch/jetporch -> jetporch.com * use ^major * reuse static linking * clean old stuff * add package file * +opendev.org/openstack/python-openstackclient * fix tests
This commit is contained in:
parent
32f389ded3
commit
9fe4eab04d
1 changed files with 33 additions and 0 deletions
|
@ -0,0 +1,33 @@
|
||||||
|
distributable:
|
||||||
|
url: https://opendev.org/openstack/python-openstackclient/archive/{{version}}.tar.gz
|
||||||
|
strip-components: 1
|
||||||
|
|
||||||
|
# if there’s a github then we can parse the versions
|
||||||
|
versions:
|
||||||
|
url: https://opendev.org/api/v1/repos/openstack/python-openstackclient/tags
|
||||||
|
match: /"name":"\d+\.\d+\.\d+"/
|
||||||
|
|
||||||
|
# often maintainers prepend or append junk, this can be a single or an array of regexes.
|
||||||
|
# almost always required with web scraping.
|
||||||
|
strip:
|
||||||
|
- /^"name":"/
|
||||||
|
- /"$/
|
||||||
|
|
||||||
|
dependencies:
|
||||||
|
python.org: ^3
|
||||||
|
|
||||||
|
build:
|
||||||
|
script: |
|
||||||
|
python-venv.py {{prefix}}/bin/openstack
|
||||||
|
python-venv.py {{prefix}}/bin/openstack-inventory
|
||||||
|
|
||||||
|
provides:
|
||||||
|
- bin/openstack
|
||||||
|
- bin/openstack-inventory
|
||||||
|
|
||||||
|
test:
|
||||||
|
env:
|
||||||
|
TERM: vt100
|
||||||
|
script:
|
||||||
|
- openstack help server list
|
||||||
|
- openstack-inventory --help
|
Loading…
Reference in a new issue