mirror of
https://github.com/ivabus/pantry
synced 2024-11-10 02:25:18 +03:00
parent
f39be11032
commit
0bfec00a12
|
@ -2,24 +2,23 @@ distributable:
|
||||||
url: https://opendev.org/openstack/python-openstackclient/archive/{{version}}.tar.gz
|
url: https://opendev.org/openstack/python-openstackclient/archive/{{version}}.tar.gz
|
||||||
strip-components: 1
|
strip-components: 1
|
||||||
|
|
||||||
# if there’s a github then we can parse the versions
|
|
||||||
versions:
|
versions:
|
||||||
url: https://opendev.org/api/v1/repos/openstack/python-openstackclient/tags
|
url: https://opendev.org/api/v1/repos/openstack/python-openstackclient/tags
|
||||||
match: /"name":"\d+\.\d+\.\d+"/
|
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:
|
strip:
|
||||||
- /^"name":"/
|
- /^"name":"/
|
||||||
- /"$/
|
- /"$/
|
||||||
|
|
||||||
dependencies:
|
dependencies:
|
||||||
python.org: ^3
|
pkgx.sh: ^1
|
||||||
|
|
||||||
build:
|
build:
|
||||||
script: |
|
dependencies:
|
||||||
python-venv.py {{prefix}}/bin/openstack
|
python.org: ^3
|
||||||
python-venv.py {{prefix}}/bin/openstack-inventory
|
script:
|
||||||
|
- bkpyvenv stage {{prefix}} {{version}}
|
||||||
|
- ${{prefix}}/venv/bin/pip install .
|
||||||
|
- bkpyvenv seal {{prefix}} openstack openstack-inventory
|
||||||
|
|
||||||
provides:
|
provides:
|
||||||
- bin/openstack
|
- bin/openstack
|
||||||
|
|
Loading…
Reference in a new issue